[wp-trac] [WordPress Trac] #19196: PHP notices hidden under admin bar

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 30 02:03:19 UTC 2012


#19196: PHP notices hidden under admin bar
-----------------------------------+------------------------------
 Reporter:  sergiovieira           |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Toolbar                |     Version:  3.2.1
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch has-patch 2nd-opinion => has-patch 2nd-opinion


Comment:

 Refreshed and slightly adjusted the patch:

 * Switched to PHP-style error string (`<b>%s</b>: %s in <b>%s</b> on line
 <b>%d</b>`)
 * Used `compact()` to fill `$wp_php_errors`
 * Changed priority to 20 to include any notices from
 `admin_footer`/`wp_footer` hook.

 Attached screenshot.

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


More information about the wp-trac mailing list