Ensure [23122] gets parsed as context. props TobiasBg. fixes #22808.
git-svn-id: https://develop.svn.wordpress.org/trunk@23123 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
53f230b982
commit
8198998a83
@ -111,7 +111,7 @@ final class _WP_Editors {
|
|||||||
$switch_class = 'tmce-active';
|
$switch_class = 'tmce-active';
|
||||||
}
|
}
|
||||||
|
|
||||||
$buttons .= '<a id="' . $editor_id . '-html" class="wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . __( 'Text', 'Name for the Text editor tab (formerly HTML)' ) . "</a>\n";
|
$buttons .= '<a id="' . $editor_id . '-html" class="wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . _x( 'Text', 'Name for the Text editor tab (formerly HTML)' ) . "</a>\n";
|
||||||
$buttons .= '<a id="' . $editor_id . '-tmce" class="wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">' . __('Visual') . "</a>\n";
|
$buttons .= '<a id="' . $editor_id . '-tmce" class="wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">' . __('Visual') . "</a>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user