From 77f48b5d8b50eaabd72c9257037aad8cc4ecf2f4 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 15 Oct 2013 18:00:28 +0000 Subject: [PATCH] Twenty Fourteen: minor fixes to docs, props celloexpressions. See #25257 git-svn-id: https://develop.svn.wordpress.org/trunk@25792 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/functions.php | 2 +- src/wp-content/themes/twentyfourteen/inc/customizer.php | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php index 13bc2210ea..5acb1bb796 100644 --- a/src/wp-content/themes/twentyfourteen/functions.php +++ b/src/wp-content/themes/twentyfourteen/functions.php @@ -279,7 +279,7 @@ function twentyfourteen_continue_reading_link() { /** * Replace "[...]" (appended to automatically generated excerpts) with an - * ellipsis and twentyeleven_continue_reading_link(). + * ellipsis and twentyfourteen_continue_reading_link(). * * @since Twenty Fourteen 1.0 * diff --git a/src/wp-content/themes/twentyfourteen/inc/customizer.php b/src/wp-content/themes/twentyfourteen/inc/customizer.php index 051dea5628..04bd944af8 100644 --- a/src/wp-content/themes/twentyfourteen/inc/customizer.php +++ b/src/wp-content/themes/twentyfourteen/inc/customizer.php @@ -8,16 +8,18 @@ */ /** - * Add postMessage support for site title and description for the Theme Customizer. + * Implement Theme Customizer additions and adjustments. * * @since Twenty Fourteen 1.0 * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ function twentyfourteen_customize_register( $wp_customize ) { + // Add postMessage support for site title and description. $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; - + + // Add the custom accent color setting and control. $wp_customize->add_setting( 'accent_color', array( 'default' => '#24890d', 'sanitize_callback' => 'twentyfourteen_generate_accent_colors',