mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 05:10:18 +00:00
Docs: Use 3-digit, x.x.x-style semantic versioning for _doing_it_wrong(), _deprecated_function(), _deprecated_argument(), and _deprecated_file() throughout core.
Props metodiew. Fixes #36495. git-svn-id: https://develop.svn.wordpress.org/trunk@37985 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -29,7 +29,7 @@ $theme_field_defaults = array( 'description' => true, 'sections' => false, 'test
|
||||
* @return array
|
||||
*/
|
||||
function install_themes_feature_list() {
|
||||
_deprecated_function( __FUNCTION__, '3.1', 'get_theme_feature_list()' );
|
||||
_deprecated_function( __FUNCTION__, '3.1.0', 'get_theme_feature_list()' );
|
||||
|
||||
if ( !$cache = get_transient( 'wporg_theme_feature_list' ) )
|
||||
set_transient( 'wporg_theme_feature_list', array(), 3 * HOUR_IN_SECONDS );
|
||||
@@ -160,7 +160,7 @@ function install_themes_upload() {
|
||||
* @param object $theme
|
||||
*/
|
||||
function display_theme( $theme ) {
|
||||
_deprecated_function( __FUNCTION__, '3.4' );
|
||||
_deprecated_function( __FUNCTION__, '3.4.0' );
|
||||
global $wp_list_table;
|
||||
if ( ! isset( $wp_list_table ) ) {
|
||||
$wp_list_table = _get_list_table('WP_Theme_Install_List_Table');
|
||||
|
||||
Reference in New Issue
Block a user