Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing error in Custom Background context key name #549

Merged
merged 2 commits into from
May 23, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions connectors/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ class WP_Stream_Connector_Settings extends WP_Stream_Connector {
'admin_email',
);


/**
* Register all context hooks
*
Expand Down Expand Up @@ -113,17 +112,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' ),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'custom_background ' epic fail

);

if ( is_network_admin() ) {
Expand Down