Deprecated doc cleanup.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-06-28 10:11:41 +00:00
parent 67aafc648c
commit 1017822b6f
3 changed files with 12 additions and 12 deletions

View File

@ -32,7 +32,7 @@ function tinymce_include() {
* *
*/ */
function documentation_link() { function documentation_link() {
_deprecated_function( __FUNCTION__, '2.5', '' ); _deprecated_function( __FUNCTION__, '2.5' );
return; return;
} }
@ -58,7 +58,7 @@ function wp_shrink_dimensions( $width, $height, $wmax = 128, $hmax = 96 ) {
* {@internal Missing Short Description}} * {@internal Missing Short Description}}
* *
* @since unknown * @since unknown
* @deprecated unknown * @deprecated 2.6.0
* @deprecated Use wp_category_checklist() * @deprecated Use wp_category_checklist()
* @see 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 * @param unknown_type $popular_ids
*/ */
function dropdown_categories( $default = 0, $parent = 0, $popular_ids = array() ) { 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; global $post_ID;
wp_category_checklist( $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}} * {@internal Missing Short Description}}
* *
* @since unknown * @since unknown
* @deprecated unknown * @deprecated 2.6.0
* @deprecated Use wp_link_category_checklist() * @deprecated Use wp_link_category_checklist()
* @see wp_link_category_checklist() * @see wp_link_category_checklist()
* *
* @param unknown_type $default * @param unknown_type $default
*/ */
function dropdown_link_categories( $default = 0 ) { 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; global $link_id;
wp_link_category_checklist( $link_id ); wp_link_category_checklist( $link_id );
} }

View File

@ -430,7 +430,7 @@ function get_linksbyname($cat_name = "noname", $before = '', $after = '<br />',
* @return bool|null * @return bool|null
*/ */
function wp_get_linksbyname($category, $args = '') { function wp_get_linksbyname($category, $args = '') {
_deprecated_function(__FUNCTION__, '0.0', 'wp_list_bookmarks()'); _deprecated_function(__FUNCTION__, '2.1', 'wp_list_bookmarks()');
$defaults = array( $defaults = array(
'after' => '<br />', 'after' => '<br />',
@ -875,7 +875,7 @@ function permalink_link() {
* @param string $file * @param string $file
*/ */
function permalink_single_rss($deprecated = '') { function permalink_single_rss($deprecated = '') {
_deprecated_function( __FUNCTION__, '0.0', 'the_permalink_rss()' ); _deprecated_function( __FUNCTION__, '2.3', 'the_permalink_rss()' );
the_permalink_rss(); the_permalink_rss();
} }
@ -892,7 +892,7 @@ function permalink_single_rss($deprecated = '') {
* @return null|string * @return null|string
*/ */
function wp_get_links($args = '') { 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 ) { if ( strpos( $args, '=' ) === false ) {
$cat_id = $args; $cat_id = $args;

View File

@ -141,10 +141,10 @@ function validate_email( $email, $check_domain = true) {
/** /**
* @since MU * @since MU
* @deprecated 3.0.0 * @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 = '' ) { 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; 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 ); $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 * @since MU
* @deprecated 3.0.0 * @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 ) { 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 $blogs = get_blog_list( 0, 'all', false ); // $blog_id -> $details
if ( is_array( $blogs ) ) { if ( is_array( $blogs ) ) {