X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/699231ae09f7057a4d0000cdf32e50a3df6a04ca..58f607a1de715c9bca69340a4d6fb9e1b9c2bed2:/wp-includes/theme.php diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 6268f452..10195c81 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -1023,7 +1023,7 @@ function get_comments_popup_template() { // Backward compat code will be removed in a future release if ('' == $template) - $template = WPINC . '/theme-compat/comments-popup.php'; + $template = ABSPATH . WPINC . '/theme-compat/comments-popup.php'; return apply_filters('comments_popup_template', $template); } @@ -1629,7 +1629,7 @@ function add_theme_support( $feature ) { */ function remove_theme_support( $feature ) { // Blacklist: for internal registrations not used directly by themes. - if ( in_array( $feature, array( 'custom-background', 'custom-header', 'editor-style', 'widgets' ) ) ) + if ( in_array( $feature, array( 'custom-background', 'custom-header', 'editor-style', 'widgets', 'menus' ) ) ) return false; global $_wp_theme_features;