Twenty Fourteen: fix tabs to spaces in two files. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26154 git-svn-id: http://core.svn.wordpress.org/trunk@26065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
254bdd6bc9
commit
2b1c6c8ba4
|
@ -20,8 +20,8 @@ function twentyfourteen_customize_register( $wp_customize ) {
|
|||
$wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
|
||||
|
||||
// Add custom description to Colors and Background sections.
|
||||
$wp_customize->get_section( 'colors' )->description = __( 'Background may only be visible on wide screens.', 'twentyfourteen' );
|
||||
$wp_customize->get_section( 'background_image' )->description = __( 'Background may only be visible on wide screens.', 'twentyfourteen' );
|
||||
$wp_customize->get_section( 'colors' )->description = __( 'Background may only be visible on wide screens.', 'twentyfourteen' );
|
||||
$wp_customize->get_section( 'background_image' )->description = __( 'Background may only be visible on wide screens.', 'twentyfourteen' );
|
||||
|
||||
// Add the custom accent color setting and control.
|
||||
$wp_customize->add_setting( 'accent_color', array(
|
||||
|
|
|
@ -134,7 +134,7 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
|
|||
if ( function_exists( 'get_post_galleries' ) ) {
|
||||
$galleries = get_post_galleries( get_the_ID(), false );
|
||||
if ( isset( $galleries[0]['ids'] ) )
|
||||
$images = explode( ',', $galleries[0]['ids'] );
|
||||
$images = explode( ',', $galleries[0]['ids'] );
|
||||
} else {
|
||||
$pattern = get_shortcode_regex();
|
||||
preg_match( "/$pattern/s", get_the_content(), $match );
|
||||
|
|
Loading…
Reference in New Issue