[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 13:41:03 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 commit |
------------------------------+--------------------
Comment (by nacin):
I agree with not unsetting items from superglobals. Sometimes we do it to
avoid clashes with the WP class, though.
I'd prefer 'format' over 'post_format'. 'post_format' (and, yes,
'post_type') are crufty. Why not go simple when we have the chance?
This must also only apply (I can't tell looking at just the patch) when
the post type supports post formats.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24116#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list