[wp-trac] [WordPress Trac] #44900: add post lock display to Media Library

WordPress Trac noreply at wordpress.org
Wed Sep 5 17:06:25 UTC 2018


#44900: add post lock display to Media Library
-------------------------------------------------+-------------------------
 Reporter:  pbiron                               |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-design has-patch has-          |     Focuses:  ui,
  screenshots                                    |  administration
-------------------------------------------------+-------------------------

Comment (by pbiron):

 [[https://core.trac.wordpress.org/attachment/ticket/44900/44900-list-
 mode.diff|44900-list-mode.diff]] covers the needed changes for list mode.

 Of note is that the new `/wp-admin/js/post-lock.js` file (heartbeat API
 code to update the display when post locks change) is extracted from `/wp-
 admin/js/inline-edit-post.js`.  If this ticket is accepted I would suggest
 removing that code from `inline-edit-post.js` (so that it only truly
 handles the inline editing stuff) and having `/wp-admin/edit.php` enqueue
 the new `post-lock.js` file in addition to `inline-edit-post.js`.

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


More information about the wp-trac mailing list