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

WordPress Trac noreply at wordpress.org
Fri Oct 30 23:02:09 UTC 2015


#34515: Edit tags PHP notice and admin notice
----------------------------+-----------------------------
 Reporter:  afercia         |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  4.3
 Severity:  normal          |   Keywords:
  Focuses:  ui              |
----------------------------+-----------------------------
 In `edit-tag-form.php` there's an initial check for an empty `$tag_ID`,
 when there's no ID a PHP notice is displayed and an admin notice too.

 The admin notice should probably have a red border since it's an error
 (currently it uses the CSS class `updated`) and probably shouldn't be
 dismissible since PHP returns and there's nothing else to display.

 To reproduce, just don't pass the tag_ID value in the query string:

 [[Image(https://cldup.com/jGyVgFHJh0.png)]]

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


More information about the wp-trac mailing list