[wp-trac] [WordPress Trac] #11312: Add 'handle_404' hook to allow plugins to route URLs

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 3 06:06:19 UTC 2009


#11312: Add 'handle_404' hook to allow plugins to route URLs
---------------------------+------------------------------------------------
 Reporter:  mikeschinkel   |       Owner:  ryan                                        
     Type:  enhancement    |      Status:  new                                         
 Priority:  normal         |   Milestone:  2.9                                         
Component:  Rewrite Rules  |     Version:  2.9                                         
 Severity:  normal         |    Keywords:  handle_404, hooks, 404, rewrite, url routing
---------------------------+------------------------------------------------
 The method $wp->handle_404() in /wp-includes/classes.php does not provide
 a way for plugins to tell it that a URL is a valid URL. I have uploaded a
 simple 2 line patch that implements a call to a 'handle_404' hook to allow
 a plugin to indicate that it will handle a given URL and not to set 404
 and reset all query variables.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11312>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list