diff --git a/wp-admin/includes/deprecated.php b/wp-admin/includes/deprecated.php index 653cd6592..b1caac83c 100644 --- a/wp-admin/includes/deprecated.php +++ b/wp-admin/includes/deprecated.php @@ -32,7 +32,7 @@ function tinymce_include() { * */ function documentation_link() { - _deprecated_function( __FUNCTION__, '2.5', '' ); + _deprecated_function( __FUNCTION__, '2.5' ); return; } @@ -58,7 +58,7 @@ function wp_shrink_dimensions( $width, $height, $wmax = 128, $hmax = 96 ) { * {@internal Missing Short Description}} * * @since unknown - * @deprecated unknown + * @deprecated 2.6.0 * @deprecated Use wp_category_checklist() * @see wp_category_checklist() * @@ -67,7 +67,7 @@ function wp_shrink_dimensions( $width, $height, $wmax = 128, $hmax = 96 ) { * @param unknown_type $popular_ids */ function dropdown_categories( $default = 0, $parent = 0, $popular_ids = array() ) { - _deprecated_function( __FUNCTION__, '0.0', 'wp_category_checklist()' ); + _deprecated_function( __FUNCTION__, '2.6', 'wp_category_checklist()' ); global $post_ID; wp_category_checklist( $post_ID ); } @@ -76,14 +76,14 @@ function dropdown_categories( $default = 0, $parent = 0, $popular_ids = array() * {@internal Missing Short Description}} * * @since unknown - * @deprecated unknown + * @deprecated 2.6.0 * @deprecated Use wp_link_category_checklist() * @see wp_link_category_checklist() * * @param unknown_type $default */ function dropdown_link_categories( $default = 0 ) { - _deprecated_function( __FUNCTION__, '0.0', 'wp_link_category_checklist()' ); + _deprecated_function( __FUNCTION__, '2.6', 'wp_link_category_checklist()' ); global $link_id; wp_link_category_checklist( $link_id ); } diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 77c3e1dfe..88118b0c1 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -430,7 +430,7 @@ function get_linksbyname($cat_name = "noname", $before = '', $after = '
', * @return bool|null */ function wp_get_linksbyname($category, $args = '') { - _deprecated_function(__FUNCTION__, '0.0', 'wp_list_bookmarks()'); + _deprecated_function(__FUNCTION__, '2.1', 'wp_list_bookmarks()'); $defaults = array( 'after' => '
', @@ -875,7 +875,7 @@ function permalink_link() { * @param string $file */ function permalink_single_rss($deprecated = '') { - _deprecated_function( __FUNCTION__, '0.0', 'the_permalink_rss()' ); + _deprecated_function( __FUNCTION__, '2.3', 'the_permalink_rss()' ); the_permalink_rss(); } @@ -892,7 +892,7 @@ function permalink_single_rss($deprecated = '') { * @return null|string */ function wp_get_links($args = '') { - _deprecated_function( __FUNCTION__, '0.0', 'wp_list_bookmarks()' ); + _deprecated_function( __FUNCTION__, '2.1', 'wp_list_bookmarks()' ); if ( strpos( $args, '=' ) === false ) { $cat_id = $args; diff --git a/wp-includes/ms-deprecated.php b/wp-includes/ms-deprecated.php index 4c3202d7c..9c907afd6 100644 --- a/wp-includes/ms-deprecated.php +++ b/wp-includes/ms-deprecated.php @@ -141,10 +141,10 @@ function validate_email( $email, $check_domain = true) { /** * @since MU * @deprecated 3.0.0 - * @deprecated Don't use this, really. + * @deprecated No alternative available. For performance reasons this function is not recommended. */ function get_blog_list( $start = 0, $num = 10, $deprecated = '' ) { - _deprecated_function( __FUNCTION__, '3.0', "Don't use this, really." ); + _deprecated_function( __FUNCTION__, '3.0' ); global $wpdb; $blogs = $wpdb->get_results( $wpdb->prepare("SELECT blog_id, domain, path FROM $wpdb->blogs WHERE site_id = %d AND public = '1' AND archived = '0' AND mature = '0' AND spam = '0' AND deleted = '0' ORDER BY registered DESC", $wpdb->siteid), ARRAY_A ); @@ -168,10 +168,10 @@ function get_blog_list( $start = 0, $num = 10, $deprecated = '' ) { /** * @since MU * @deprecated 3.0.0 - * @deprecated Don't use this, really. + * @deprecated No alternative available. For performance reasons this function is not recommended. */ function get_most_active_blogs( $num = 10, $display = true ) { - _deprecated_function( __FUNCTION__, '3.0', "Don't use this, really." ); + _deprecated_function( __FUNCTION__, '3.0' ); $blogs = get_blog_list( 0, 'all', false ); // $blog_id -> $details if ( is_array( $blogs ) ) {