[wp-trac] [WordPress Trac] #24062: Force gallery state for gallery post format
WordPress Trac
noreply at wordpress.org
Sun May 19 00:06:52 UTC 2013
#24062: Force gallery state for gallery post format
-------------------------------------+--------------------------
Reporter: lessbloat | Owner: markjaquith
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.6
Component: Post Formats | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------
Comment (by adamsilverstein):
Replying to [comment:5 programmin]:
> Are you certain it is necessary to remove the
> {{{
> if ( workflow )
> return workflow
> }}}
> from the add function? Without this, current modifications that depend
on getting a reference from the wp.media.editor.add function will break
the uploading functionality, since other calls to add will create it
again.
>
> I have detailed the problem in this posting, if this can't be fixed I
hope we can document a workaround.
>
> http://lists.automattic.com/pipermail/wp-hackers/2013-May/046124.html
[attachment:24062.3.diff 24062.3.diff] reintroduces the {{{ if (
workflow )}}} check & return
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24062#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list