[wp-trac] [WordPress Trac] #17144: Editor API enhancement
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 19 23:38:15 UTC 2011
#17144: Editor API enhancement
-------------------------+------------------
Reporter: azaozz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.3
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------
Comment (by nacin):
Replying to [comment:54 azaozz]:
> In [18574]:
> {{{
> #!CommitTicketReference repository="" revision="18574"
> Another fix for Press This, see #17144
> }}}
While this prevents the fatal error, we should go ahead and convert all
array references to a post object. Building an array makes sense if you
want to wp_insert_post(), but if we have a post object available, we
should use it. (Especially if they one day become decorated.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17144#comment:55>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list