- Timestamp:
- 07/28/2020 05:54:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-theme-installer-skin.php
r48666 r48676 341 341 $overwrite = $this->is_downgrading ? 'downgrade-theme' : 'update-theme'; 342 342 343 $install_actions['ove write_theme'] = sprintf(343 $install_actions['overwrite_theme'] = sprintf( 344 344 '<a class="button button-primary update-from-upload-overwrite" href="%s" target="_parent">%s</a>', 345 345 wp_nonce_url( add_query_arg( 'overwrite', $overwrite, $this->url ), 'theme-upload' ), … … 359 359 360 360 /** 361 * Filters the list of action links available following a single theme installation failed but ove write is allowed.361 * Filters the list of action links available following a single theme installation failed but overwrite is allowed. 362 362 * 363 363 * @since 5.5.0 … … 367 367 * @param array $new_theme_data Array with uploaded theme data. 368 368 */ 369 $install_actions = apply_filters( 'install_theme_ove write_actions', $install_actions, $this->api, $new_theme_data );369 $install_actions = apply_filters( 'install_theme_overwrite_actions', $install_actions, $this->api, $new_theme_data ); 370 370 371 371 if ( ! empty( $install_actions ) ) {
Note: See TracChangeset
for help on using the changeset viewer.