[wp-trac] [WordPress Trac] #23198: Pass post format as a class to TinyMCE init
WordPress Trac
noreply at wordpress.org
Sun Jan 20 22:43:09 UTC 2013
#23198: Pass post format as a class to TinyMCE init
--------------------------------+------------------
Reporter: helen | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: TinyMCE | Version:
Severity: normal | Resolution:
Keywords: easy-fix has-patch |
--------------------------------+------------------
Comment (by adamsilverstein):
updated phpdoc - $post is optional, since get_post_format calls get_post
immediately, get_post_format will work with a post id, a post object or no
post at all (uses the current post)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23198#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list