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:
ryan 2008-02-10 07:59:34 +00:00
parent 500c8f1ab8
commit 1edf014a54
8 changed files with 15 additions and 15 deletions

View File

@ -2,7 +2,7 @@
/** /**
* Portable PHP password hashing framework. * Portable PHP password hashing framework.
* @package phpass * @package phpass
* @since 2.4 * @since 2.5
* @version 0.1 * @version 0.1
* @link http://www.openwall.com/phpass/ * @link http://www.openwall.com/phpass/
*/ */

View File

@ -524,7 +524,7 @@ function get_trackback_url() {
* @since 0.71 * @since 0.71
* @uses get_trackback_url() Gets the trackback url for the current post * @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. * @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) { function trackback_url($deprecated = true) {

View File

@ -1267,10 +1267,10 @@ function create_user($username, $password, $email) {
* documentation_link() - Unused Admin function * documentation_link() - Unused Admin function
* @since 2.0 * @since 2.0
* @param string $deprecated Unknown * @param string $deprecated Unknown
* @deprecated 2.4 * @deprecated 2.5
*/ */
function documentation_link( $deprecated = '' ) { function documentation_link( $deprecated = '' ) {
_deprecated_function( __FUNCTION__, '2.4', '' ); _deprecated_function( __FUNCTION__, '2.5', '' );
return; return;
} }

View File

@ -200,7 +200,7 @@ function atom_enclosure() {
* *
* @package WordPress * @package WordPress
* @subpackage Feed * @subpackage Feed
* @since 2.4 * @since 2.5
* *
* @param string $data input string * @param string $data input string
* @return array $result array(type, value) * @return array $result array(type, value)

View File

@ -1614,7 +1614,7 @@ function atom_service_url_filter($url)
* *
* @package WordPress * @package WordPress
* @package Debug * @package Debug
* @since 2.4 * @since 2.5
* @access private * @access private
* *
* @uses do_action() Calls 'deprecated_function_run' and passes the function name and what to use instead. * @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 WordPress
* @package Debug * @package Debug
* @since 2.4 * @since 2.5
* @access private * @access private
* *
* @uses do_action() Calls 'deprecated_file_included' and passes the file name and what to use instead. * @uses do_action() Calls 'deprecated_file_included' and passes the file name and what to use instead.

View File

@ -294,7 +294,7 @@ function get_post_comments_feed_link($post_id = '', $feed = '') {
* *
* @package WordPress * @package WordPress
* @subpackage Feed * @subpackage Feed
* @since 2.4 * @since 2.5
* *
* @param string Descriptive text * @param string Descriptive text
* @param int Optional post ID. Default to current post. * @param int Optional post ID. Default to current post.
@ -334,7 +334,7 @@ function get_author_feed_link( $author_id, $feed = '' ) {
* *
* @package WordPress * @package WordPress
* @subpackage Feed * @subpackage Feed
* @since 2.4 * @since 2.5
* *
* @param int $cat_id ID of a category * @param int $cat_id ID of a category
* @param string $feed Feed type * @param string $feed Feed type

View File

@ -1228,7 +1228,7 @@ if ( !function_exists('wp_setcookie') ) :
* @param bool $remember Optional. Remember that the user is logged in * @param bool $remember Optional. Remember that the user is logged in
*/ */
function wp_setcookie($username, $password = '', $already_md5 = false, $home = '', $siteurl = '', $remember = false) { 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); $user = get_userdatabylogin($username);
wp_set_auth_cookie($user->ID, $remember); wp_set_auth_cookie($user->ID, $remember);
} }
@ -1243,7 +1243,7 @@ if ( !function_exists('wp_clearcookie') ) :
* @see wp_clear_auth_cookie() * @see wp_clear_auth_cookie()
*/ */
function wp_clearcookie() { 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(); wp_clear_auth_cookie();
} }
endif; endif;
@ -1261,7 +1261,7 @@ if ( !function_exists('wp_get_cookie_login') ):
* @return bool Always returns false * @return bool Always returns false
*/ */
function wp_get_cookie_login() { function wp_get_cookie_login() {
_deprecated_function( __FUNCTION__, '2.4', '' ); _deprecated_function( __FUNCTION__, '2.5', '' );
return false; return false;
} }
endif; endif;

View File

@ -268,7 +268,7 @@ function get_post_status($ID = '') {
* *
* @package WordPress * @package WordPress
* @subpackage Post * @subpackage Post
* @since 2.4 * @since 2.5
* *
* @return array * @return array
*/ */
@ -291,7 +291,7 @@ function get_post_statuses( ) {
* *
* @package WordPress * @package WordPress
* @subpackage Page * @subpackage Page
* @since 2.4 * @since 2.5
* *
* @return array * @return array
*/ */
@ -341,7 +341,7 @@ function get_post_type($post = false) {
* *
* @package WordPress * @package WordPress
* @subpackage Post * @subpackage Post
* @since 2.4 * @since 2.5
* *
* @uses $wpdb * @uses $wpdb
* @uses $posts {@internal Missing Description}} * @uses $posts {@internal Missing Description}}