[wp-trac] [WordPress Trac] #24116: Set post format when arriving to post-new.php?format={post_format}
WordPress Trac
noreply at wordpress.org
Thu Apr 18 10:15:05 UTC 2013
#24116: Set post format when arriving to post-new.php?format={post_format}
----------------------------+--------------------
Reporter: markjaquith | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.6
Component: Post Formats | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+--------------------
Comment (by kovshenin):
I always found it irritating when I put something in the query string, and
then !WordPress unsets it somewhere along the way, so it never reaches my
plugin. We don't do that in `get_default_post_to_edit` and I don't think
we should do it for post formats either.
Also, `format` sounds too generic, I think we should use `post_format`,
like we do with `post_type`.
[attachment:24116.3.diff] addresses the above.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24116#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list