• Resolved ArtGoddess

    (@artgoddess)


    Hello!

    I can see this warning in my WP frontend test site. Debug is activated.

    Notice: screen_icon is <strong>deprecated</strong> since version 3.8.0 with no alternative available. in /home/***/public_html/wp/wp-includes/functions.php on line 4438
    
    Notice: get_screen_icon is <strong>deprecated</strong> since version 3.8.0 with no alternative available. in /home/***/public_html/wp/wp-includes/functions.php on line 4438

    Just in case you want to replace these functions. Thank you for your plugin!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author phbernard

    (@phbernard)

    Hi Diana,

    What makes you think these warnings are from Favicon by RealFaviconGenerator? Apparently there are no reference to get_screen_icon or screen_icon in the plugin’s code.

    Regards,
    Philippe

    Hello Philippe,

    Thank you for your useful plugin. I have recently just updated a site from WP 4.9 to 5.3 and reinstalled your Favicons plugin. At the top of the plugin Favicon Settings page, I have the following notices:

    Notice: screen_icon is deprecated since version 3.8.0 with no alternative available.
    
    Notice: get_screen_icon is deprecated since version 3.8.0 with no alternative available.

    These are thrown by /wp-includes/functions.php line 4651.

    I searched and found the following:
    /favicon-by-realfavicongenerator/admin/views/settings.php line 7 <?php screen_icon() ?>
    Perhaps there is the get_screen_icon code in another file.

    Can you please check.

    Plugin Author phbernard

    (@phbernard)

    Hello Diana,

    Oh wow, you are absolutely right! I don’t understand how I could miss the reference to screen_icon when I looked for it a few days ago.

    The issue is completely harmless, yet it should be fixed. This is done in plugin v1.3.18, which will be released in a few days.

    Thank you for reporting this issue!

    Regards,
    Philippe

    R3dRidl3

    (@r3dridl3)

    If this is fixed, we probably gonna use the plugin ??

    Plugin Author phbernard

    (@phbernard)

    Hello Diana,

    Done, plugin v1.3.18 has no reference to screen_icon. It was released a minute ago.

    Would you confirm there is no more warning message on your side?

    Regards,
    Philippe

    Thread Starter ArtGoddess

    (@artgoddess)

    Hi @phbernard, with all errors displayed, after your last update, these warnings disappeared. Many thanks for your time.

    Sorry for late reply, I am not receiving threads updates.

    • This reply was modified 4 years, 10 months ago by ArtGoddess. Reason: Sorry for late reply
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘get_screen_icon and screen_icon are deprecated since version 3.8.0’ is closed to new replies.