[wp-trac] [WordPress Trac] #53765: Media Library shows only the selected image

WordPress Trac noreply at wordpress.org
Tue Nov 30 19:06:07 UTC 2021


#53765: Media Library shows only the selected image
--------------------------+-----------------------------
 Reporter:  benitolopez   |       Owner:  hellofromTonya
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.9
Component:  Media         |     Version:  5.8
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-----------------------------
Changes (by hellofromTonya):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52288" 52288]:
 {{{
 #!CommitTicketReference repository="" revision="52288"
 Media: Use `infiniteScrolling` global setting in `js/media/controllers
 /featured-image.js` and `js/media/controllers/replace-image.js`.

 Follow-up to [52287] which added an undefined variable. The variable
 should have been the global `wp.media.view.settings.infiniteScrolling`.
 This commit brings that global setting into each of the functions and
 renames the variable using camelCase to comply with JS coding standards.

 Follow-up to [52287].

 Props SergeyBiryukov.
 Fixes #53765.
 }}}

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


More information about the wp-trac mailing list