[wp-trac] [WordPress Trac] #31254: Post errors show success borders

WordPress Trac noreply at wordpress.org
Mon Jan 18 07:10:26 UTC 2021


#31254: Post errors show success borders
-------------------------------------------------+-------------------------
 Reporter:  ninnypants                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Posts, Post Types                    |     Version:  3.7
 Severity:  normal                               |  Resolution:
 Keywords:  reporter-feedback needs-screenshots  |     Focuses:  ui,
                                                 |  administration
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:5 hellofromTonya]:
 > I'm not able to reproduce this problem.

 I can reproduce by visiting `/wp-admin/edit.php?locked=1`, which would be
 the same as opening a post as one user and then trying to update it from
 the list table as another user.

 This displays a "1 post not updated, somebody is editing it" message with
 a green border, same as a success message.

 I think the fix would be to display the `locked` error separately from
 other messages, with the `error` class instead of `updated`.

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


More information about the wp-trac mailing list