diff --git a/wp-includes/class-wp-user.php b/wp-includes/class-wp-user.php
index 024777dabc..46c248ad92 100644
--- a/wp-includes/class-wp-user.php
+++ b/wp-includes/class-wp-user.php
@@ -269,7 +269,13 @@ class WP_User {
*/
public function __isset( $key ) {
if ( 'id' == $key ) {
- _deprecated_argument( 'WP_User->id', '2.1', __( 'Use WP_User->ID
instead.' ) );
+ _deprecated_argument( 'WP_User->id', '2.1',
+ sprintf(
+ /* translators: %s: WP_User->ID */
+ __( 'Use %s instead.' ),
+ 'WP_User->ID
'
+ )
+ );
$key = 'ID';
}
@@ -293,7 +299,13 @@ class WP_User {
*/
public function __get( $key ) {
if ( 'id' == $key ) {
- _deprecated_argument( 'WP_User->id', '2.1', __( 'Use WP_User->ID
instead.' ) );
+ _deprecated_argument( 'WP_User->id', '2.1',
+ sprintf(
+ /* translators: %s: WP_User->ID */
+ __( 'Use %s instead.' ),
+ 'WP_User->ID
'
+ )
+ );
return $this->ID;
}
@@ -326,7 +338,13 @@ class WP_User {
*/
public function __set( $key, $value ) {
if ( 'id' == $key ) {
- _deprecated_argument( 'WP_User->id', '2.1', __( 'Use WP_User->ID
instead.' ) );
+ _deprecated_argument( 'WP_User->id', '2.1',
+ sprintf(
+ /* translators: %s: WP_User->ID */
+ __( 'Use %s instead.' ),
+ 'WP_User->ID
'
+ )
+ );
$this->ID = $value;
return;
}
@@ -344,7 +362,13 @@ class WP_User {
*/
public function __unset( $key ) {
if ( 'id' == $key ) {
- _deprecated_argument( 'WP_User->id', '2.1', __( 'Use WP_User->ID
instead.' ) );
+ _deprecated_argument( 'WP_User->id', '2.1',
+ sprintf(
+ /* translators: %s: WP_User->ID */
+ __( 'Use %s instead.' ),
+ 'WP_User->ID
'
+ )
+ );
}
if ( isset( $this->data->$key ) ) {
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 1b8cd390a8..b7a252a94b 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
-$wp_version = '4.4-beta3-35547';
+$wp_version = '4.4-beta3-35548';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.