Ticket #54658: 54658.diff
File 54658.diff, 4.7 KB (added by , 3 years ago) |
---|
-
src/wp-includes/functions.php
5308 5308 trigger_error( 5309 5309 sprintf( 5310 5310 /* translators: 1: PHP function name, 2: Version number, 3: Alternative function name. */ 5311 _ _( '%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ),5311 _x( '%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.', 'function' ), 5312 5312 $function, 5313 5313 $version, 5314 5314 $replacement … … 5319 5319 trigger_error( 5320 5320 sprintf( 5321 5321 /* translators: 1: PHP function name, 2: Version number. */ 5322 _ _( '%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.' ),5322 _x( '%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.', 'function' ), 5323 5323 $function, 5324 5324 $version 5325 5325 ), … … 5400 5400 trigger_error( 5401 5401 sprintf( 5402 5402 /* translators: 1: PHP class name, 2: PHP parent class name, 3: Version number, 4: __construct() method. */ 5403 _ _( 'The called constructor method for %1$s in %2$s is <strong>deprecated</strong> since version %3$s! Use %4$s instead.' ),5403 _x( 'The called constructor method for %1$s in %2$s is <strong>deprecated</strong> since version %3$s! Use %4$s instead.', 'class' ), 5404 5404 $class, 5405 5405 $parent_class, 5406 5406 $version, … … 5412 5412 trigger_error( 5413 5413 sprintf( 5414 5414 /* translators: 1: PHP class name, 2: Version number, 3: __construct() method. */ 5415 _ _( 'The called constructor method for %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ),5415 _x( 'The called constructor method for %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.', 'class' ), 5416 5416 $class, 5417 5417 $version, 5418 5418 '<code>__construct()</code>' … … 5498 5498 trigger_error( 5499 5499 sprintf( 5500 5500 /* translators: 1: PHP file name, 2: Version number, 3: Alternative file name. */ 5501 _ _( '%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ),5501 _x( '%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.', 'file' ), 5502 5502 $file, 5503 5503 $version, 5504 5504 $replacement … … 5509 5509 trigger_error( 5510 5510 sprintf( 5511 5511 /* translators: 1: PHP file name, 2: Version number. */ 5512 _ _( '%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.' ),5512 _x( '%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.', 'file' ), 5513 5513 $file, 5514 5514 $version 5515 5515 ) . $message, … … 5592 5592 trigger_error( 5593 5593 sprintf( 5594 5594 /* translators: 1: PHP function name, 2: Version number, 3: Optional message regarding the change. */ 5595 _ _( '%1$s was called with an argument that is <strong>deprecated</strong> since version %2$s! %3$s' ),5595 _x( '%1$s was called with an argument that is <strong>deprecated</strong> since version %2$s! %3$s', 'function' ), 5596 5596 $function, 5597 5597 $version, 5598 5598 $message … … 5603 5603 trigger_error( 5604 5604 sprintf( 5605 5605 /* translators: 1: PHP function name, 2: Version number. */ 5606 _ _( '%1$s was called with an argument that is <strong>deprecated</strong> since version %2$s with no alternative available.' ),5606 _x( '%1$s was called with an argument that is <strong>deprecated</strong> since version %2$s with no alternative available.', 'function' ), 5607 5607 $function, 5608 5608 $version 5609 5609 ), … … 5683 5683 trigger_error( 5684 5684 sprintf( 5685 5685 /* translators: 1: WordPress hook name, 2: Version number, 3: Alternative hook name. */ 5686 _ _( '%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ),5686 _x( '%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.', 'hook' ), 5687 5687 $hook, 5688 5688 $version, 5689 5689 $replacement … … 5694 5694 trigger_error( 5695 5695 sprintf( 5696 5696 /* translators: 1: WordPress hook name, 2: Version number. */ 5697 _ _( '%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.' ),5697 _x( '%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.', 'hook' ), 5698 5698 $hook, 5699 5699 $version 5700 5700 ) . $message, … … 5760 5760 trigger_error( 5761 5761 sprintf( 5762 5762 /* translators: Developer debugging message. 1: PHP function name, 2: Explanatory message, 3: WordPress version number. */ 5763 _ _( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s' ),5763 _x( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s', 'function' ), 5764 5764 $function, 5765 5765 $message, 5766 5766 $version