[Plugin: J Shortcodes] Fix get_settings is deprecated notice in the settings page.
-
If you have installed WP version 3.2 and J Shortcodes version 1.405 and you have set WP_DEBUG to True, you will get the following warning in the J Shortcodes Setting page.
Notice: get_settings is deprecated since version 2.1! Use get_option() instead. in D:\HostingSpaces\adorefo1\tallydev.com\wwwroot\wp-includes\functions.php on line 3382To fix this, edit j-admin.php page found in the j-shortcodes folder.
Change the following line(Found in line no. 207)$admin_email = get_settings('admin_email');
to
$admin_email = get_option('admin_email');
and you will stop getting this warning.
- The topic ‘[Plugin: J Shortcodes] Fix get_settings is deprecated notice in the settings page.’ is closed to new replies.