From c4e1f1b11de24a263eefde3d97e57462cb64fc49 Mon Sep 17 00:00:00 2001 From: Frankie Jarrett Date: Thu, 22 May 2014 23:19:57 -0500 Subject: [PATCH 1/2] Removing trailing space error in context key name --- connectors/settings.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/connectors/settings.php b/connectors/settings.php index 91a55e880..b3fb0623b 100644 --- a/connectors/settings.php +++ b/connectors/settings.php @@ -113,17 +113,17 @@ public static function get_action_labels() { */ public static function get_context_labels() { $context_labels = array( - 'settings' => __( 'Settings', 'default' ), - 'general' => __( 'General', 'default' ), - 'writing' => __( 'Writing', 'default' ), - 'reading' => __( 'Reading', 'default' ), - 'discussion' => __( 'Discussion', 'default' ), - 'media' => __( 'Media', 'default' ), - 'permalink' => __( 'Permalinks', 'default' ), - 'network' => __( 'Network', 'default' ), - 'wp_stream' => __( 'Stream', 'stream' ), - 'custom_background ' => __( 'Custom Background', 'default' ), - 'custom_header' => __( 'Custom Header', 'default' ), + 'settings' => __( 'Settings', 'default' ), + 'general' => __( 'General', 'default' ), + 'writing' => __( 'Writing', 'default' ), + 'reading' => __( 'Reading', 'default' ), + 'discussion' => __( 'Discussion', 'default' ), + 'media' => __( 'Media', 'default' ), + 'permalink' => __( 'Permalinks', 'default' ), + 'network' => __( 'Network', 'default' ), + 'wp_stream' => __( 'Stream', 'stream' ), + 'custom_background' => __( 'Custom Background', 'default' ), + 'custom_header' => __( 'Custom Header', 'default' ), ); if ( is_network_admin() ) { From f5aa8d58568a612244cab403c8cb6113916aff50 Mon Sep 17 00:00:00 2001 From: Frankie Jarrett Date: Thu, 22 May 2014 23:20:37 -0500 Subject: [PATCH 2/2] Code formatting, removing extra space --- connectors/settings.php | 1 - 1 file changed, 1 deletion(-) diff --git a/connectors/settings.php b/connectors/settings.php index b3fb0623b..5bee04020 100644 --- a/connectors/settings.php +++ b/connectors/settings.php @@ -65,7 +65,6 @@ class WP_Stream_Connector_Settings extends WP_Stream_Connector { 'admin_email', ); - /** * Register all context hooks *