Make WordPress Core

Changeset 15980


Ignore:
Timestamp:
10/26/2010 05:46:29 PM (14 years ago)
Author:
westi
Message:

Expose the media options over XML-RPC. Fixes #15153 props koke.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class.wp-xmlrpc-server.php

    r15975 r15980  
    334334                'readonly'      => false,
    335335                'option'        => 'users_can_register'
     336            ),
     337            'thumbnail_size_w'  => array(
     338                'desc'          => __( 'Thumbnail Width' ),
     339                'readonly'      => false,
     340                'option'        => 'thumbnail_size_w'
     341            ),
     342            'thumbnail_size_h'  => array(
     343                'desc'          => __( 'Thumbnail Height' ),
     344                'readonly'      => false,
     345                'option'        => 'thumbnail_size_h'
     346            ),
     347            'thumbnail_crop'    => array(
     348                'desc'          => __( 'Crop thumbnail to exact dimensions' ),
     349                'readonly'      => false,
     350                'option'        => 'thumbnail_crop'
     351            ),
     352            'medium_size_w' => array(
     353                'desc'          => __( 'Medium size image width' ),
     354                'readonly'      => false,
     355                'option'        => 'medium_size_w'
     356            ),
     357            'medium_size_h' => array(
     358                'desc'          => __( 'Medium size image height' ),
     359                'readonly'      => false,
     360                'option'        => 'medium_size_h'
     361            ),
     362            'large_size_w'  => array(
     363                'desc'          => __( 'Large size image width' ),
     364                'readonly'      => false,
     365                'option'        => 'large_size_w'
     366            ),
     367            'large_size_h'  => array(
     368                'desc'          => __( 'Large size image height' ),
     369                'readonly'      => false,
     370                'option'        => 'large_size_h'
    336371            )
    337372        );
Note: See TracChangeset for help on using the changeset viewer.