Changeset 35433
- Timestamp:
- 10/29/2015 07:03:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/rest-functions.php
r35351 r35433 362 362 function rest_handle_deprecated_function( $function, $replacement, $version ) { 363 363 if ( ! empty( $replacement ) ) { 364 /* translators: 1: function name, 2: WordPress version number, 3: new function name */ 364 365 $string = sprintf( __( '%1$s (since %2$s; use %3$s instead)' ), $function, $version, $replacement ); 365 366 } else { 367 /* translators: 1: function name, 2: WordPress version number */ 366 368 $string = sprintf( __( '%1$s (since %2$s; no alternative available)' ), $function, $version ); 367 369 } … … 381 383 function rest_handle_deprecated_argument( $function, $replacement, $version ) { 382 384 if ( ! empty( $replacement ) ) { 385 /* translators: 1: function name, 2: WordPress version number, 3: new argument name */ 383 386 $string = sprintf( __( '%1$s (since %2$s; %3$s)' ), $function, $version, $replacement ); 384 387 } else { 388 /* translators: 1: function name, 2: WordPress version number */ 385 389 $string = sprintf( __( '%1$s (since %2$s; no alternative available)' ), $function, $version ); 386 390 }
Note: See TracChangeset
for help on using the changeset viewer.