WordPress/wp-content/themes/twentyeleven/inc
Sergey Biryukov 3e622b1d75 Twenty Eleven: Replace deprecated function calls on theme options page.
This includes:
* Removing the deprecated `screen_icon()` function call.
* Replacing the deprecated `get_current_theme()` function call with `get_option( 'current_theme' )`.
* Using `wp_get_theme()->display( 'Name' )` explicitly instead of relying on `WP_Theme`'s `__toString()` method, for clarity.

Follow-up to [6334], [20039], [20040], [20042], [20508], [26537], [41274].

Props Presskopp, cu121, viralsampat, costdev, tomjdv, sabernhardt, SergeyBiryukov.
Fixes #54833.
Built from https://develop.svn.wordpress.org/trunk@53626


git-svn-id: http://core.svn.wordpress.org/trunk@53185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-01 14:26:15 +00:00
..
images Twenty Eleven, minor cleanup: remove extra spaces in CSS file and crush a few more kilobytes from a PNG file. 2013-04-29 21:02:25 +00:00
block-patterns.php Bundled Themes: Use correct path for loading images in block patterns. 2021-07-24 12:42:00 +00:00
theme-customizer.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
theme-options.css Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603 2011-06-02 22:19:58 +00:00
theme-options.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-11-30 17:18:01 +00:00
theme-options.php Twenty Eleven: Replace deprecated function calls on theme options page. 2022-07-01 14:26:15 +00:00
widgets.php Coding Standards: Add public visibility to methods in src directory. 2021-10-18 17:52:58 +00:00