Changeset 56514 for trunk/src/wp-includes/functions.php
- Timestamp:
- 09/05/2023 12:22:44 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r56510 r56514 5626 5626 * @since 6.4.0 5627 5627 * 5628 * @param string $class The class being instantiated.5628 * @param string $class_name The name of the class being instantiated. 5629 5629 * @param string $version The version of WordPress that deprecated the class. 5630 5630 * @param string $replacement Optional. The class or function that should have been called. 5631 5631 * Default empty string. 5632 5632 */ 5633 function _deprecated_class( $class , $version, $replacement = '' ) {5633 function _deprecated_class( $class_name, $version, $replacement = '' ) { 5634 5634 5635 5635 /** … … 5638 5638 * @since 6.4.0 5639 5639 * 5640 * @param string $class The class being instantiated.5640 * @param string $class_name The name of the class being instantiated. 5641 5641 * @param string $replacement The class or function that should have been called. 5642 5642 * @param string $version The version of WordPress that deprecated the class. 5643 5643 */ 5644 do_action( 'deprecated_class_run', $class , $replacement, $version );5644 do_action( 'deprecated_class_run', $class_name, $replacement, $version ); 5645 5645 5646 5646 /** … … 5658 5658 /* translators: 1: PHP class name, 2: Version number, 3: Alternative class or function name. */ 5659 5659 __( 'Class %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ), 5660 $class ,5660 $class_name, 5661 5661 $version, 5662 5662 $replacement … … 5669 5669 /* translators: 1: PHP class name, 2: Version number. */ 5670 5670 __( 'Class %1$s is <strong>deprecated</strong> since version %2$s with no alternative available.' ), 5671 $class ,5671 $class_name, 5672 5672 $version 5673 5673 ), … … 5680 5680 sprintf( 5681 5681 'Class %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.', 5682 $class ,5682 $class_name, 5683 5683 $version, 5684 5684 $replacement … … 5690 5690 sprintf( 5691 5691 'Class %1$s is <strong>deprecated</strong> since version %2$s with no alternative available.', 5692 $class ,5692 $class_name, 5693 5693 $version 5694 5694 ),
Note: See TracChangeset
for help on using the changeset viewer.