- Timestamp:
- 09/15/2019 10:41:03 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-bulk-upgrader-skin.php
r45932 r46125 51 51 /** 52 52 * @param string $string 53 * @param mixed ...$args Optional text replacements. 53 54 */ 54 public function feedback( $string ) {55 public function feedback( $string, ...$args ) { 55 56 if ( isset( $this->upgrader->strings[ $string ] ) ) { 56 57 $string = $this->upgrader->strings[ $string ]; … … 58 59 59 60 if ( strpos( $string, '%' ) !== false ) { 60 $args = func_get_args();61 $args = array_splice( $args, 1 );62 61 if ( $args ) { 63 62 $args = array_map( 'strip_tags', $args );
Note: See TracChangeset
for help on using the changeset viewer.