Make the plugin run in WordPress 4.3.x
-
Hi there,
In order to make the plugin run in WordPress 4.3.x you have to change following line 33:
$dir = ABSPATH . UPLOADS;
to
$upload_dir = wp_upload_dir(); $dir = $upload_dir['basedir'];
You will still get some errors in the WordPress administration while it is active:
array() expects parameter 1 to be a valid callback, function 'register_dlthumbs_custom_options_settings' not found or invalid function name in /htdocs/wp-includes/plugin.php on line 503
Warning: Cannot modify header information - headers already sent by (output started at /htdocs/wp-includes/plugin.php:503) in /htdocs/wp-includes/option.php on line 787
Warning: Cannot modify header information - headers already sent by (output started at /htdocs/wp-includes/plugin.php:503) in /htdocs/wp-includes/option.php on line 788
But it will do the job.
Once you have deleted all thumbnails just deactivate the plugin.
- The topic ‘Make the plugin run in WordPress 4.3.x’ is closed to new replies.