[wp-trac] [WordPress Trac] #18126: Expose image options on XML-RPC
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 4 10:07:28 UTC 2012
#18126: Expose image options on XML-RPC
------------------------------+------------------------------
Reporter: koke | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: 3.2.1
Severity: normal | Resolution:
Keywords: mobile has-patch |
------------------------------+------------------------------
Comment (by koke):
Defaults look like this to me:
{{{
mysql> select * from wp_options where option_name LIKE 'image%';
+-----------+---------+-------------------------+--------------+----------+
| option_id | blog_id | option_name | option_value | autoload
|
+-----------+---------+-------------------------+--------------+----------+
| 76 | 0 | image_default_align | | yes
|
| 74 | 0 | image_default_link_type | file | yes
|
| 75 | 0 | image_default_size | | yes
|
+-----------+---------+-------------------------+--------------+----------+
}}}
For {{{image_default_size}}}, [source:trunk/wp-
admin/includes/media.php#L730]:
{{{
// if $check is not enabled, default to the first available size that's
bigger than a thumbnail
}}}
For {{{image_default_align}}}, defaults to 'none' in [source:trunk/wp-
admin/includes/media.php#L682]
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18126#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list