Deprecated doc cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -430,7 +430,7 @@ function get_linksbyname($cat_name = "noname", $before = '', $after = '<br />',
|
||||
* @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' => '<br />',
|
||||
@@ -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;
|
||||
|
||||
@@ -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 ) ) {
|
||||
|
||||
Reference in New Issue
Block a user