WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/25/2017 02:58:21 AM (2 years ago)
Author:
westonruter
Message:

Widgets: Supply missing descriptions for instance schema fields in media widgets.

Reuse translated strings from media templates.

Amends [40640].
See #32417.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-media-video.php

    r40812 r40835  
    6666                    'enum' => array( 'none', 'auto', 'metadata' ),
    6767                    'default' => 'metadata',
     68                    'description' => __( 'Preload' ),
    6869                    'should_preview_update' => false,
    6970                ),
     
    7172                    'type' => 'boolean',
    7273                    'default' => false,
     74                    'description' => __( 'Loop' ),
    7375                    'should_preview_update' => false,
    7476                ),
Note: See TracChangeset for help on using the changeset viewer.