mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Docs: Use 3-digit, x.x.x-style semantic versioning for _doing_it_wrong(), _deprecated_function(), _deprecated_argument(), and _deprecated_file() throughout core.
Props metodiew. Fixes #36495. git-svn-id: https://develop.svn.wordpress.org/trunk@37985 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -647,7 +647,7 @@ function get_bloginfo( $show = '', $filter = 'raw' ) {
|
||||
switch( $show ) {
|
||||
case 'home' : // DEPRECATED
|
||||
case 'siteurl' : // DEPRECATED
|
||||
_deprecated_argument( __FUNCTION__, '2.2', sprintf(
|
||||
_deprecated_argument( __FUNCTION__, '2.2.0', sprintf(
|
||||
/* translators: 1: 'siteurl'/'home' argument, 2: bloginfo() function name, 3: 'url' argument */
|
||||
__( 'The %1$s option is deprecated for the family of %2$s functions. Use the %3$s option instead.' ),
|
||||
'<code>' . $show . '</code>',
|
||||
@@ -720,7 +720,7 @@ function get_bloginfo( $show = '', $filter = 'raw' ) {
|
||||
}
|
||||
break;
|
||||
case 'text_direction':
|
||||
_deprecated_argument( __FUNCTION__, '2.2', sprintf(
|
||||
_deprecated_argument( __FUNCTION__, '2.2.0', sprintf(
|
||||
/* translators: 1: 'text_direction' argument, 2: bloginfo() function name, 3: is_rtl() function name */
|
||||
__( 'The %1$s option is deprecated for the family of %2$s functions. Use the %3$s function instead.' ),
|
||||
'<code>' . $show . '</code>',
|
||||
|
||||
Reference in New Issue
Block a user