s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: http://svn.automattic.com/wordpress/trunk@6777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
500c8f1ab8
commit
1edf014a54
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* Portable PHP password hashing framework.
|
||||
* @package phpass
|
||||
* @since 2.4
|
||||
* @since 2.5
|
||||
* @version 0.1
|
||||
* @link http://www.openwall.com/phpass/
|
||||
*/
|
||||
|
|
|
@ -524,7 +524,7 @@ function get_trackback_url() {
|
|||
* @since 0.71
|
||||
* @uses get_trackback_url() Gets the trackback url for the current post
|
||||
*
|
||||
* @param bool $deprecated Remove backwards compat in 2.4
|
||||
* @param bool $deprecated Remove backwards compat in 2.5
|
||||
* @return void|string Should only be used to echo the trackback URL, use get_trackback_url() for the result instead.
|
||||
*/
|
||||
function trackback_url($deprecated = true) {
|
||||
|
|
|
@ -1267,10 +1267,10 @@ function create_user($username, $password, $email) {
|
|||
* documentation_link() - Unused Admin function
|
||||
* @since 2.0
|
||||
* @param string $deprecated Unknown
|
||||
* @deprecated 2.4
|
||||
* @deprecated 2.5
|
||||
*/
|
||||
function documentation_link( $deprecated = '' ) {
|
||||
_deprecated_function( __FUNCTION__, '2.4', '' );
|
||||
_deprecated_function( __FUNCTION__, '2.5', '' );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -200,7 +200,7 @@ function atom_enclosure() {
|
|||
*
|
||||
* @package WordPress
|
||||
* @subpackage Feed
|
||||
* @since 2.4
|
||||
* @since 2.5
|
||||
*
|
||||
* @param string $data input string
|
||||
* @return array $result array(type, value)
|
||||
|
|
|
@ -1614,7 +1614,7 @@ function atom_service_url_filter($url)
|
|||
*
|
||||
* @package WordPress
|
||||
* @package Debug
|
||||
* @since 2.4
|
||||
* @since 2.5
|
||||
* @access private
|
||||
*
|
||||
* @uses do_action() Calls 'deprecated_function_run' and passes the function name and what to use instead.
|
||||
|
@ -1649,7 +1649,7 @@ function _deprecated_function($function, $version, $replacement=null) {
|
|||
*
|
||||
* @package WordPress
|
||||
* @package Debug
|
||||
* @since 2.4
|
||||
* @since 2.5
|
||||
* @access private
|
||||
*
|
||||
* @uses do_action() Calls 'deprecated_file_included' and passes the file name and what to use instead.
|
||||
|
|
|
@ -294,7 +294,7 @@ function get_post_comments_feed_link($post_id = '', $feed = '') {
|
|||
*
|
||||
* @package WordPress
|
||||
* @subpackage Feed
|
||||
* @since 2.4
|
||||
* @since 2.5
|
||||
*
|
||||
* @param string Descriptive text
|
||||
* @param int Optional post ID. Default to current post.
|
||||
|
@ -334,7 +334,7 @@ function get_author_feed_link( $author_id, $feed = '' ) {
|
|||
*
|
||||
* @package WordPress
|
||||
* @subpackage Feed
|
||||
* @since 2.4
|
||||
* @since 2.5
|
||||
*
|
||||
* @param int $cat_id ID of a category
|
||||
* @param string $feed Feed type
|
||||
|
|
|
@ -1228,7 +1228,7 @@ if ( !function_exists('wp_setcookie') ) :
|
|||
* @param bool $remember Optional. Remember that the user is logged in
|
||||
*/
|
||||
function wp_setcookie($username, $password = '', $already_md5 = false, $home = '', $siteurl = '', $remember = false) {
|
||||
_deprecated_function( __FUNCTION__, '2.4', 'wp_set_auth_cookie()' );
|
||||
_deprecated_function( __FUNCTION__, '2.5', 'wp_set_auth_cookie()' );
|
||||
$user = get_userdatabylogin($username);
|
||||
wp_set_auth_cookie($user->ID, $remember);
|
||||
}
|
||||
|
@ -1243,7 +1243,7 @@ if ( !function_exists('wp_clearcookie') ) :
|
|||
* @see wp_clear_auth_cookie()
|
||||
*/
|
||||
function wp_clearcookie() {
|
||||
_deprecated_function( __FUNCTION__, '2.4', 'wp_clear_auth_cookie()' );
|
||||
_deprecated_function( __FUNCTION__, '2.5', 'wp_clear_auth_cookie()' );
|
||||
wp_clear_auth_cookie();
|
||||
}
|
||||
endif;
|
||||
|
@ -1261,7 +1261,7 @@ if ( !function_exists('wp_get_cookie_login') ):
|
|||
* @return bool Always returns false
|
||||
*/
|
||||
function wp_get_cookie_login() {
|
||||
_deprecated_function( __FUNCTION__, '2.4', '' );
|
||||
_deprecated_function( __FUNCTION__, '2.5', '' );
|
||||
return false;
|
||||
}
|
||||
endif;
|
||||
|
|
|
@ -268,7 +268,7 @@ function get_post_status($ID = '') {
|
|||
*
|
||||
* @package WordPress
|
||||
* @subpackage Post
|
||||
* @since 2.4
|
||||
* @since 2.5
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
@ -291,7 +291,7 @@ function get_post_statuses( ) {
|
|||
*
|
||||
* @package WordPress
|
||||
* @subpackage Page
|
||||
* @since 2.4
|
||||
* @since 2.5
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
@ -341,7 +341,7 @@ function get_post_type($post = false) {
|
|||
*
|
||||
* @package WordPress
|
||||
* @subpackage Post
|
||||
* @since 2.4
|
||||
* @since 2.5
|
||||
*
|
||||
* @uses $wpdb
|
||||
* @uses $posts {@internal Missing Description}}
|
||||
|
|
Loading…
Reference in New Issue