Changeset 45926 for trunk/src/wp-includes/functions.php
- Timestamp:
- 09/01/2019 05:12:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r45917 r45926 2526 2526 $ifp = @fopen( $new_file, 'wb' ); 2527 2527 if ( ! $ifp ) { 2528 return array( 'error' => sprintf( __( 'Could not write file %s' ), $new_file ) ); 2528 return array( 2529 /* translators: %s: file name */ 2530 'error' => sprintf( __( 'Could not write file %s' ), $new_file ), 2531 ); 2529 2532 } 2530 2533 … … 4631 4634 if ( function_exists( '__' ) ) { 4632 4635 if ( ! empty( $parent_class ) ) { 4633 /* translators: 1: PHP class name, 2: PHP parent class name, 3: version number, 4: __construct() method */4634 4636 trigger_error( 4635 4637 sprintf( 4638 /* translators: 1: PHP class name, 2: PHP parent class name, 3: version number, 4: __construct() method */ 4636 4639 __( 'The called constructor method for %1$s in %2$s is <strong>deprecated</strong> since version %3$s! Use %4$s instead.' ), 4637 4640 $class, … … 4642 4645 ); 4643 4646 } else { 4644 /* translators: 1: PHP class name, 2: version number, 3: __construct() method */4645 4647 trigger_error( 4646 4648 sprintf( 4649 /* translators: 1: PHP class name, 2: version number, 3: __construct() method */ 4647 4650 __( 'The called constructor method for %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ), 4648 4651 $class, … … 4902 4905 $version = sprintf( __( '(This message was added in version %s.)' ), $version ); 4903 4906 } 4904 /* translators: %s: Documentation URL */4905 4907 $message .= ' ' . sprintf( 4908 /* translators: %s: Documentation URL */ 4906 4909 __( 'Please see <a href="%s">Debugging in WordPress</a> for more information.' ), 4907 4910 __( 'https://wordpress.org/support/article/debugging-in-wordpress/' ) … … 6757 6760 'headers' => '', 6758 6761 ); 6762 6759 6763 // get site name 6760 6764 $site_name = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
Note: See TracChangeset
for help on using the changeset viewer.