[wp-trac] [WordPress Trac] #10722: Allow filtering of whether or not 404 should be handled.

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 2 12:50:53 UTC 2009


#10722: Allow filtering of whether or not 404 should be handled.
-------------------------+--------------------------------------------------
 Reporter:  prettyboymp  |       Owner:            
     Type:  enhancement  |      Status:  new       
 Priority:  normal       |   Milestone:  Unassigned
Component:  General      |     Version:  2.8.5     
 Severity:  normal       |    Keywords:  has-patch 
-------------------------+--------------------------------------------------
Changes (by prettyboymp):

  * version:  => 2.8.5


Comment:

 Replying to [comment:1 miqrogroove]:
 > How about situations where a template finds no posts and wants to force
 a 404?

 The template can issue a 404 at anytime as long as no content has been
 sent yet.  This patch just allows plugins to keep a 404 from being thrown
 before the template or plugin has had a chance to handle it how it wants.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10722#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list