From 17d281fab9df6139989cb5f090f0890d6189a420 Mon Sep 17 00:00:00 2001 From: Mickey Kay Date: Mon, 20 Jan 2014 10:27:30 -0800 Subject: [PATCH] Moved respond.js from recommended to required plugins. Added title="" to read more links. --- lib/admin/admin-functions.php | 12 ++++++------ lib/functions/theme-functions.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/admin/admin-functions.php b/lib/admin/admin-functions.php index 1d63179..f0407ce 100644 --- a/lib/admin/admin-functions.php +++ b/lib/admin/admin-functions.php @@ -261,6 +261,12 @@ function trestle_register_required_plugins() { 'required' => true, ), + array( + 'name' => 'Respond.js', + 'slug' => 'respondjs', + 'required' => true, + ), + // Optional plugins array( 'name' => 'Black Studio TinyMCE Widget', @@ -346,12 +352,6 @@ function trestle_register_required_plugins() { 'required' => false, ), - array( - 'name' => 'Respond.js', - 'slug' => 'respondjs', - 'required' => false, - ), - array( 'name' => 'Simple Image Sizes', 'slug' => 'simple-image-sizes', diff --git a/lib/functions/theme-functions.php b/lib/functions/theme-functions.php index 5cbd056..78f8d3b 100644 --- a/lib/functions/theme-functions.php +++ b/lib/functions/theme-functions.php @@ -310,7 +310,7 @@ function trestle_read_more_link( $default_text ) { $custom_text = esc_attr( genesis_get_option( 'trestle_read_more_text' ) ); if ( $custom_text ) - return '… ' . $custom_text . ''; + return '… ' . $custom_text . ''; else return $default_text; } \ No newline at end of file