www-Redirect plugin updated for WordPress 3.4.2+ [DOWNLOAD]
1 Attachment(s)
www-Redirect Update:
A lot of popular WordPress plugins have not been properly updated for several years now, and contain deprecated code. While the plugin may seem "fine" when its activated in wp-admin, deprecated code often means that it's not functioning properly. This tends to only be noticed when you enable debug mode in the wp-config.php file. www-Redirect gives the following error when activated: Code:
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in X:\...\wp-includes\functions.php on line 2722 Where to Download ? You can either download our ready-to-use files...
What Was Changed ? ... or you can make the edits yourself. Line 40 of www-redirect.php refers to user level 1: Code:
add_submenu_page('plugins.php', __('Redirect Options'), __('Redirect Options'), 1, __FILE__, 'ro_subpanel'); Code:
add_submenu_page('plugins.php', __('Redirect Options'), __('Redirect Options'), 'activate_plugins', __FILE__, 'ro_subpanel'); ________
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.