Outdated, uses Deprecated functions
-
PHP Notice: Use of undefined constant thickbox_init – assumed ‘thickbox_init’ in ACCOUNTFOLDER\wwwroot\wp-content\plugins\thickbox\thickbox.php on line 185
// should be string not constant
// add_action(‘init’, thickbox_init);
add_action(‘init’, ‘thickbox_init’);PHP Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in ACCOUNTFOLDER\wwwroot\wp-includes\functions.php on line 3510
PHP Notice: Array
(
[0] => Array
(
[file] => ACCOUNTFOLDER\wwwroot\wp-includes\l10n.php
[line] => 598
[function] => _deprecated_argument
[args] => Array
(
[0] => load_plugin_textdomain
[1] => 2.7
))
[1] => Array
(
[file] => ACCOUNTFOLDER\wwwroot\wp-content\plugins\thickbox\thickbox.php
[line] => 171
[function] => load_plugin_textdomain
[args] => Array
(
[0] => thickbox
[1] => wp-content/plugins/thickbox/messages
))
[2] => Array
(
[function] => thickbox_init
[args] => Array
(
[0] =>
))
[3] => Array
(
[file] => ACCOUNTFOLDER\wwwroot\wp-includes\plugin.php
[line] => 496
[fun in ACCOUNTFOLDER\wwwroot\wp-includes\functions.php on line 3517https://codex.www.ads-software.com/Function_Reference/load_plugin_textdomain shows the proper usage of the function
line 171 of thickbox.php should be:
load_plugin_textdomain(‘thickbox’, ”, ‘wp-content/plugins/thickbox/messages’);
- The topic ‘Outdated, uses Deprecated functions’ is closed to new replies.