Thread Starter
mayuxi
(@mayuxi)
Also found a depricated call:
Function: wp_specialchars()
Used in wp-content/plugins/author-avatars/lib/FormHelper.class.php on line 242.
> Deprecated in version 2.8.
Use esc_html() instead.
Hope it will help to improve the plugin!
I will have look at both of these
did swooping for the esc_html() fix the undefined index?
Thanks for sending them to me
Paul
Thread Starter
mayuxi
(@mayuxi)
>> did swooping for the esc_html() fix the undefined index?
No, it’s not, because these are two separate problem. But of course it fixed this “depricated call” notice.
>> “Undefined index: action in /wp-content/plugins/author-avatars/lib/AuthorAvatarsEditorButton.class.php on line 46”
I fixed it like this, add
$action = isset($_GET['action']) ? $_GET['action'] : null;
before
if ($action == $p && !isset($_POST['action'])) {
at line 46
Notice is gone, so it’s solved, but not sure if reason is fixed.
I have added the fix’s to the head version of the plugin and it will be in the next update
Mayuxi send me a link so can include it in the credit for the fix
Thread Starter
mayuxi
(@mayuxi)
Thanks, I hope it helped.
It’s http://magazeta.com, but website will be open again on January 1st. I will post link to your plugin in /about/ page in “Special Thanks” section 😀