WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/31/2015 08:49:26 PM (6 years ago)
Author:
wonderboymusic
Message:

Media: add a new image size, medium_large. Bumps db version to add new options.

Adds unit tests.

Props DH-Shredder, joemcgill, azaozz.
Fixes #34196.

File:
1 edited

Legend:

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

    r35366 r35479  
    514514                'option'        => 'medium_size_h'
    515515            ),
     516            'medium_large_size_w'   => array(
     517                'desc'          => __( 'Medium-Large size image width' ),
     518                'readonly'      => false,
     519                'option'        => 'medium_large_size_w'
     520            ),
     521            'medium_large_size_h'   => array(
     522                'desc'          => __( 'Medium-Large size image height' ),
     523                'readonly'      => false,
     524                'option'        => 'medium_large_size_h'
     525            ),
    516526            'large_size_w'      => array(
    517527                'desc'          => __( 'Large size image width' ),
Note: See TracChangeset for help on using the changeset viewer.