[wp-trac] [WordPress Trac] #12563: New action on body open

WordPress Trac noreply at wordpress.org
Tue Aug 27 01:02:03 UTC 2013


#12563: New action on body open
-----------------------------------------+-----------------------------
 Reporter:  joostdevalk                  |       Owner:  joostdevalk
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Future Release
Component:  Themes                       |     Version:  3.1
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch 2nd-opinion close  |
-----------------------------------------+-----------------------------

Comment (by Willscrlt):

 Replying to [comment:15 jorbin]:
 > I agree with Nacin.  The only way this becomes useful is if themes start
 using that and I don't see that as likely.  Plenty of people still use
 themes that lack wp_footer() and wp_head().  You can use JS or have users
 insert your custom action to fix this.

 JavaScript is not a solution for this. First, the obvious problem... it's
 JS dependent! We're talking about PHP that runs on the backend relying
 upon a browser plugin that a number of people disable for security or
 performance reasons. Kind of messes up the whole thing.

 Also, having users insert anything into a template is more effort than
 they should be required to do. It might be easier than slicing bread for
 you, but I think the majority of WP uses prefer plugins that just plain
 work out of the box. Sure, it's a feature that the theme has to support,
 but once the hook is in place, more themes will support it, and that
 increases the likelihood that the plugins using this hook will work
 without any modifications required.

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


More information about the wp-trac mailing list