[wp-trac] [WordPress Trac] #34515: Edit tags PHP notice and admin notice

WordPress Trac noreply at wordpress.org
Fri Dec 11 22:48:53 UTC 2015


#34515: Edit tags PHP notice and admin notice
---------------------------------------+----------------------
 Reporter:  afercia                    |       Owner:  afercia
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:  4.5
Component:  Administration             |     Version:  4.4
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-patch has-screenshots  |     Focuses:  ui
---------------------------------------+----------------------
Changes (by afercia):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35875"]:
 {{{
 #!CommitTicketReference repository="" revision="35875"
 When editing terms, properly display an admin `notice-warning` when
 `tag_ID` is empty.

 Also, avoids two related PHP notices when empty or not set (and thus the
 global `$tag` is a WP_Error object).

 Fixes: #34515.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34515#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list