[wp-trac] [WordPress Trac] #30640: Order/sort of attachments logic
WordPress Trac
noreply at wordpress.org
Tue Dec 9 13:19:46 UTC 2014
#30640: Order/sort of attachments logic
--------------------------+------------------------------
Reporter: Stagger Lee | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.0.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by Stagger Lee):
I just tested to rise number of attachemnts plulled by Ajax, even risking
server limits. Easy to revert it back. First i C/P code from media-
models.js to media-models.min.js for easier troubleshooting. And changed
line 1144 to:
{{{
defaultArgs: {
posts_per_page: 300
},
}}}
Just for quick test, any number above my number of images uploaded to this
post.
Guess what ? Of course order of images are exactly as in "All media
items". Can someone says a word about it ?
Is it complicated to solve in core.
As it is now "Uploaded to this post" can only be used for gallerier with
5-10-20-40 images. It is shame. because Media Manager has undergone nice
code change, became very powerfull, and native WP gallery now can replace
very powerfull gallery plugins.
With custom post types and custom fields there would be absolutely no need
for any other media plugin.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30640#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list