mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
Widgets: Update default link_type
for Gallery widget from none
to post
for consistency with wp.media.galleryDefaults
.
Props bor0. See #41914. Fixes #41985. Built from https://develop.svn.wordpress.org/trunk@41840 git-svn-id: http://core.svn.wordpress.org/trunk@41674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
434e3aba82
commit
663c20388b
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-beta1-41839';
|
||||
$wp_version = '4.9-beta1-41840';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
@ -75,8 +75,8 @@ class WP_Widget_Media_Gallery extends WP_Widget_Media {
|
||||
),
|
||||
'link_type' => array(
|
||||
'type' => 'string',
|
||||
'enum' => array( 'none', 'file', 'post' ),
|
||||
'default' => 'none',
|
||||
'enum' => array( 'post', 'file', 'none' ),
|
||||
'default' => 'post',
|
||||
'media_prop' => 'link',
|
||||
'should_preview_update' => false,
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user