- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
15 lines
368 B
PHP
Executable File
15 lines
368 B
PHP
Executable File
<?php
|
|
// include the required file
|
|
require_once BWFAN_PLUGIN_DIR . '/includes/plugin_helpers/class-bwfan-plugin-silent-upgrader-skin.php';
|
|
|
|
/**
|
|
* Class BWFAN_Plugin_Install_Skin
|
|
*/
|
|
class BWFAN_Plugin_Install_Skin extends BWFAN_Plugin_Silent_Upgrader_Skin {
|
|
public function error( $errors ) {
|
|
if ( ! empty( $errors ) ) {
|
|
wp_send_json_error( $errors );
|
|
}
|
|
}
|
|
}
|