[wp-trac] [WordPress Trac] #23205: New Media Uploader slow for sites with many images
WordPress Trac
noreply at wordpress.org
Wed May 1 20:22:56 UTC 2013
#23205: New Media Uploader slow for sites with many images
-------------------------+------------------
Reporter: salromano | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------
Comment (by adamsilverstein):
Replying to [comment:9 vickybiswas]:
> Here is the patch
> The state machine initializes by default in ALL state.
> A set of library default values helped there.
> Also the featured image part I did separately as we might at a later
time want to have a different default there.
>
> @salromano I know now why such a "simple" task was not done. It took me
time to understand however much I know JS I cant do it without
understanding backbone js. Also backbone js was not a piece of cake to
understand.
> However that I understand it now the solution looks simple.
i tested your patch and it works as expected; i get the 'attached to this
post' selection as the default; not certain this is the best approach, but
it works for me.
[attachment:23205.diff 23205.diff] is a slight cleanup of your patch -i
regenerated from the root - its best to create patches from there so they
are easier to apply; also cleaned up whitespace a tiny bit.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23205#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list