[wp-trac] [WordPress Trac] #54833: Twenty Eleven: screen_icon() and get_current_theme() are deprecated

WordPress Trac noreply at wordpress.org
Thu Mar 31 12:01:01 UTC 2022


#54833: Twenty Eleven: screen_icon() and get_current_theme() are deprecated
--------------------------------------+------------------------------
 Reporter:  Presskopp                 |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Bundled Theme             |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------------------
Changes (by viralsampat):

 * Attachment "54833.2.diff" added.

 Removed the deprecated screen_size(), since it does produce any output
 during render, get_current_theme() replaced with static value, since a
 theme name is static. Also, made small changes based on coding standard.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54833>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list