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

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 22 20:00:21 UTC 2010


#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 tested
-------------------------+--------------------------------------------------
Changes (by chrisscott):

  * keywords:  has-patch => has-patch tested


Comment:

 Tested this against r13305 and it works. Used the following to test:
 {{{
 add_filter('handle_404', 'no_404');  function no_404(){return false;}
 }}}

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


More information about the wp-trac mailing list