Ticket #21978: 21978.patch
File 21978.patch, 397 bytes (added by , 12 years ago) |
---|
-
wp-includes/class-wp.php
505 505 } 506 506 } 507 507 508 // Let plugins hook in and possibly abort the 404 509 do_action( 'pre_send_404_header' ); 510 508 511 // Guess it's time to 404. 509 512 $wp_query->set_404(); 510 513 status_header( 404 );