diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index dbc9055360..8fc0fe1205 100644 --- a/src/wp-admin/includes/file.php +++ b/src/wp-admin/includes/file.php @@ -36,7 +36,6 @@ $wp_file_descriptions = array( 'video.php' => __('Video Attachment Template'), 'audio.php' => __('Audio Attachment Template'), 'application.php' => __('Application Attachment Template'), - 'my-hacks.php' => __( 'my-hacks.php (legacy hacks support)' ), '.htaccess' => __( '.htaccess (for rewrite rules )' ), // Deprecated files 'wp-layout.css' => __( 'Stylesheet' ), diff --git a/src/wp-admin/includes/schema.php b/src/wp-admin/includes/schema.php index 4eb6bca715..7129300436 100644 --- a/src/wp-admin/includes/schema.php +++ b/src/wp-admin/includes/schema.php @@ -412,7 +412,6 @@ function populate_options() { 'moderation_notify' => 1, 'permalink_structure' => '', 'gzipcompression' => 0, - 'hack_file' => 0, 'blog_charset' => 'UTF-8', 'moderation_keys' => '', 'active_plugins' => array(), diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php index 7ffac2f662..0b34456ab0 100644 --- a/src/wp-includes/load.php +++ b/src/wp-includes/load.php @@ -527,13 +527,6 @@ function wp_get_mu_plugins() { function wp_get_active_and_valid_plugins() { $plugins = array(); $active_plugins = (array) get_option( 'active_plugins', array() ); - - // Check for hacks file if the option is enabled - if ( get_option( 'hack_file' ) && file_exists( ABSPATH . 'my-hacks.php' ) ) { - _deprecated_file( 'my-hacks.php', '1.5' ); - array_unshift( $plugins, ABSPATH . 'my-hacks.php' ); - } - if ( empty( $active_plugins ) || defined( 'WP_INSTALLING' ) ) return $plugins;