Ticket #30210: 30210.patch
File 30210.patch, 465 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/functions.php
1130 1130 function do_feed() { 1131 1131 global $wp_query; 1132 1132 1133 if ( ! $wp_query->have_posts() ) 1134 wp_die( __( 'ERROR: This is not a valid feed.' ), '', array( 'response' => 404 ) ); 1135 1133 1136 $feed = get_query_var( 'feed' ); 1134 1137 1135 1138 // Remove the pad, if present.