PHP Notice: screen_icon is deprecated since 3.8.0 with no alternative available

Home Forums Calendar Products Events Calendar PRO PHP Notice: screen_icon is deprecated since 3.8.0 with no alternative available

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1438582
    Cynthia Lockley
    Participant

    Most plugins don’t use this anymore but I did a search of all my plugins and found one in The Events Calendar plugin. I found a note in the readme.txt for = [4.6.2] 2017-10-18 =

    • Tweak – Removed call to deprecated screen_icon() function [90985]

    but you missed one. Probably because it didn’t have a line break after it.
    Line 17 in the-events-calendar/src/io/csv/admin-views/header.php

    <?php screen_icon(); ?><h1><?php esc_html_e( 'Legacy Events Import', 'the-events-calendar' ) ?></h1>
    

    Delete the

    <?php screen_icon(); ?>
    
    • This topic was modified 8 years, 2 months ago by Cynthia Lockley. Reason: Have tried several times to get the code lines to show by using back ticks and by blockquote but they still don't show. So I will try using entities
    #1440627

    Hi Cynthia,

    Thanks for reaching out and for bringing this issue to our attention!

    Besides seeing the PHP notice, is this affecting your site in any way?

    Let me know if there’s anything further we can do to assist!

     

    Thanks,

    Jaime

    #1461020
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘PHP Notice: screen_icon is deprecated since 3.8.0 with no alternative available’ is closed to new replies.