Changeset 48676
- Timestamp:
- 07/28/2020 05:54:52 PM (4 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-plugin-installer-skin.php
r48661 r48676 252 252 * @param array $new_plugin_data Array with uploaded plugin data. 253 253 */ 254 echo apply_filters( 'install_plugin_ove write_comparison', $table, $current_plugin_data, $new_plugin_data );254 echo apply_filters( 'install_plugin_overwrite_comparison', $table, $current_plugin_data, $new_plugin_data ); 255 255 256 256 $install_actions = array(); … … 308 308 $overwrite = $this->is_downgrading ? 'downgrade-plugin' : 'update-plugin'; 309 309 310 $install_actions['ove write_plugin'] = sprintf(310 $install_actions['overwrite_plugin'] = sprintf( 311 311 '<a class="button button-primary update-from-upload-overwrite" href="%s" target="_parent">%s</a>', 312 312 wp_nonce_url( add_query_arg( 'overwrite', $overwrite, $this->url ), 'plugin-upload' ), … … 326 326 327 327 /** 328 * Filters the list of action links available following a single plugin installation failed but ove write is allowed.328 * Filters the list of action links available following a single plugin installation failed but overwrite is allowed. 329 329 * 330 330 * @since 5.5.0 … … 334 334 * @param array $new_plugin_data Array with uploaded plugin data. 335 335 */ 336 $install_actions = apply_filters( 'install_plugin_ove write_actions', $install_actions, $this->api, $new_plugin_data );336 $install_actions = apply_filters( 'install_plugin_overwrite_actions', $install_actions, $this->api, $new_plugin_data ); 337 337 338 338 if ( ! empty( $install_actions ) ) { -
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.