WordPress.org

Make WordPress Core

Changeset 41696


Ignore:
Timestamp:
10/03/17 02:59:03 (3 months ago)
Author:
joemcgill
Message:

Widgets: Default to "custom URL" in the image widget.

This changes the default value for link_type in the image widget
schema to 'custom'.

Props bor0, desrosj.
Fixes #41629.

File:
1 edited

Legend:

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

    r41640 r41696  
    9393                    'type' => 'string', 
    9494                    'enum' => array( 'none', 'file', 'post', 'custom' ), 
    95                     'default' => 'none', 
     95                    'default' => 'custom', 
    9696                    'media_prop' => 'link', 
    9797                    'description' => __( 'Link To' ), 
Note: See TracChangeset for help on using the changeset viewer.