[wp-trac] [WordPress Trac] #43703: Edit Category screen - Error shown in green and admin notice not dismissible.

WordPress Trac noreply at wordpress.org
Thu Apr 5 17:39:24 UTC 2018


#43703: Edit Category screen - Error shown in green and admin notice not
dismissible.
----------------------------+---------------------------------------
 Reporter:  birgire         |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Taxonomy        |    Version:
 Severity:  normal          |   Keywords:  has-patch has-screenshots
  Focuses:  administration  |
----------------------------+---------------------------------------
 When we edit a category, on the ''Edit Category'' screen, then there are
 two things that need adjustments:

 1. The {{{"Category updated."}}} admin notice is currently not
 dismissible.
 2. The {{{"Category not updated."}}} admin notice is currently shown in
 green (not red).

 To replicate part 2, one can e.g. disable JS and update the term without a
 name.

 Example location:

 {{{
 /wp-admin/term.php?taxonomy=category&tag_ID=123

 }}}

 The corresponding part that displays the message for categories, tags and
 other terms:

 https://core.trac.wordpress.org/browser/tags/4.9.5/src/wp-admin/edit-tag-
 form.php#L73-L82

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


More information about the wp-trac mailing list