- Timestamp:
- 04/02/2019 10:12:11 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-media-image.php
r44767 r45100 20 20 * Constructor. 21 21 * 22 * @since 22 * @since 4.8.0 23 23 */ 24 24 public function __construct() { … … 54 54 * Get schema for properties of a widget instance (item). 55 55 * 56 * @since 56 * @since 4.8.0 57 57 * 58 58 * @see WP_REST_Controller::get_item_schema() … … 63 63 public function get_instance_schema() { 64 64 return array_merge( 65 parent::get_instance_schema(),66 65 array( 67 66 'size' => array( … … 162 161 * - width (redundant when size is not custom) 163 162 */ 164 ) 163 ), 164 parent::get_instance_schema() 165 165 ); 166 166 } … … 169 169 * Render the media on the frontend. 170 170 * 171 * @since 171 * @since 4.8.0 172 172 * 173 173 * @param array $instance Widget instance props.
Note: See TracChangeset
for help on using the changeset viewer.