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

WordPress Trac noreply at wordpress.org
Mon Jan 18 13:47:57 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:  needs-screenshots needs-patch  |     Focuses:  ui,
                                           |  administration
-------------------------------------------+-------------------------------
Changes (by hellofromTonya):

 * keywords:  reporter-feedback needs-screenshots => needs-screenshots
     needs-patch


Comment:

 Thanks @SergeyBiryukov for identifying the issue with a locked state. And
 yes, I was now able to reproduce.

 Steps to reproduce:
 1. Log into one browser as one user, e.g. user `admin`.
 2. Go to "Posts".
 3. Click the checkbox next a post.
 4. Click "Bulk actions" and then "Edit".
 5. Switch to another browser and log in as different user, e.g. user
 `tester1`.
 6. Go to "Posts".
 7. Click on the above post title to open the editor.
 8. Switch back to the `admin` browser.
 9. Edit something like selecting a category and/or changing the post's
 author.
 10. Click the "Update" button.

 An error message appears, but is shown in a green border:
 >1 post not updated, somebody is editing it.

 Here is the HTML for the message:
 {{{
 <div id="message" class="updated notice is-dismissible">
      <p>1 post not updated, somebody is editing it.</p>
      <button type="button" class="notice-dismiss"><span class="screen-
 reader-text">Dismiss this notice.</span></button>
 </div>
 }}}

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


More information about the wp-trac mailing list