Changeset 46125 for trunk/src/wp-admin/includes/class-wp-upgrader-skin.php
- Timestamp:
- 09/15/2019 10:41:03 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader-skin.php
r44964 r46125 141 141 /** 142 142 * @param string $string 143 */ 144 public function feedback( $string ) { 143 * @param mixed ...$args Optional text replacements. 144 */ 145 public function feedback( $string, ...$args ) { 145 146 if ( isset( $this->upgrader->strings[ $string ] ) ) { 146 147 $string = $this->upgrader->strings[ $string ]; … … 148 149 149 150 if ( strpos( $string, '%' ) !== false ) { 150 $args = func_get_args();151 $args = array_splice( $args, 1 );152 151 if ( $args ) { 153 152 $args = array_map( 'strip_tags', $args );
Note: See TracChangeset
for help on using the changeset viewer.