[wp-trac] [WordPress Trac] #20409: XML-RPC returns only full-size URL for featured image
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 25 22:09:05 UTC 2012
#20409: XML-RPC returns only full-size URL for featured image
-------------------------+------------------
Reporter: koke | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.4
Component: XML-RPC | Version: 3.4
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------
Comment (by maxcutler):
Refreshed patch after comments in IRC:
* Replaced `get_post_meta` calls with `get_post_thumbnail_id`
* Removed 'wp_post_thumbnail_url' from the legacy methods.
* Replaced one-line if statement with a ternary statement.
Will create another ticket for the extra underscores that ryan mentioned.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20409#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list