[wp-trac] [WordPress Trac] #22673: QuickPress: Media modal doesn't use the new post id when a post is published
WordPress Trac
noreply at wordpress.org
Sat Dec 1 15:44:49 UTC 2012
#22673: QuickPress: Media modal doesn't use the new post id when a post is
published
--------------------------+--------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+--------------------
Comment (by nacin):
The templates are designed to be post-agnostic on render precisely for
situations like this.
So I suppose we need to set media.view.settings.postId on the fly. This
value also gets copied over to media.model.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22673#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list