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

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 30 02:08:54 UTC 2009


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

Comment(by hakre):

 Since the last patch was created the function did change. I placed the
 filter now as it was intended in the old patch.

 Additionally it was possible to remove duplicate code.

 As an improvement compared to the old patch, now, if 404 was de-filtered,
 200 is given if !is_404() which was the standard behaviour of the function
 in pre-filter times.

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


More information about the wp-trac mailing list