Unsure what to do with WP notice to update PHP file
-
Hi,
I updated all of my plug-ins, backed up my site and then installed the latest version of WordPress (4.5.1) for http://theadventuresofflapjack.com./br
However, after doing so, I saw the following notice posted on my dashboard, but I’m unsure if I’ve understood exactly what to do with it since my actions haven’t resulted in it no longer appearing. The notice reads:
Notice: add_object_page is deprecated since version 4.5! Use add_menu_page() instead. in /home4/wsbydesi/public_html/theadventuresofflapjack.com/wp-includes/functions.php on line 3658
/br
I downloaded the PHP file and changed line 3658 from:
trigger_error( sprintf( __(‘%1$s is deprecated since version %2$s! Use %3$s instead.’), $function, $version, $replacement ) );
/br
to:
trigger_error( sprintf( __(‘%1$s is deprecated since version %2$s! Use add_menu_page() instead.’), $function, $version, $replacement ) );
/br
But the notice is still showing up on my dashboard. What have I missed? Please help!
/br
Thanks!
- The topic ‘Unsure what to do with WP notice to update PHP file’ is closed to new replies.