[wp-trac] [WordPress Trac] #20509: Theme idea - generic.php

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 25 13:24:13 UTC 2012


#20509: Theme idea - generic.php
--------------------------------------+------------------------------
 Reporter:  johnjamesjacoby           |       Owner:
     Type:  feature request           |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Themes                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |
--------------------------------------+------------------------------

Comment (by scribu):

 My argument is that `register_generic_plugin_file()` is a bad idea because
 it creates confusion.

 The assumption should be that, once you've set `is_generic_request =
 true`, the 'generic_content' hook should fire no matter what. It's up to
 Core to figure out how to do that.

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


More information about the wp-trac mailing list