Ticket #33741: 33741.patch
File 33741.patch, 1.6 KB (added by , 8 years ago) |
---|
-
src/wp-admin/includes/file.php
36 36 'video.php' => __('Video Attachment Template'), 37 37 'audio.php' => __('Audio Attachment Template'), 38 38 'application.php' => __('Application Attachment Template'), 39 'my-hacks.php' => __( 'my-hacks.php (legacy hacks support)' ),40 39 '.htaccess' => __( '.htaccess (for rewrite rules )' ), 41 40 // Deprecated files 42 41 'wp-layout.css' => __( 'Stylesheet' ), -
src/wp-admin/includes/schema.php
412 412 'moderation_notify' => 1, 413 413 'permalink_structure' => '', 414 414 'gzipcompression' => 0, 415 'hack_file' => 0,416 415 'blog_charset' => 'UTF-8', 417 416 'moderation_keys' => '', 418 417 'active_plugins' => array(), -
src/wp-includes/load.php
528 528 function wp_get_active_and_valid_plugins() { 529 529 $plugins = array(); 530 530 $active_plugins = (array) get_option( 'active_plugins', array() ); 531 532 // Check for hacks file if the option is enabled533 if ( get_option( 'hack_file' ) && file_exists( ABSPATH . 'my-hacks.php' ) ) {534 _deprecated_file( 'my-hacks.php', '1.5' );535 array_unshift( $plugins, ABSPATH . 'my-hacks.php' );536 }537 538 531 if ( empty( $active_plugins ) || defined( 'WP_INSTALLING' ) ) 539 532 return $plugins; 540 533