[wp-trac] [WordPress Trac] #18966: Notice when HTTP_USER_AGENT not set

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 17 00:58:16 UTC 2011


#18966: Notice when HTTP_USER_AGENT not set
----------------------------+------------------
 Reporter:  scribu          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.3
Component:  Administration  |     Version:  3.3
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------
Changes (by scribu):

 * keywords:   => has-patch


Comment:

 While attempting to fix this, I noticed two things:

 * $wp_htmltag_class is only used once per page load, so having it as a
 global doesn't help performance at all
 * the beginning HTML for all the places where it's used is the same.

 Hence, the _wp_admin_html_begin() function in [attachment:18966.diff].

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


More information about the wp-trac mailing list