diff --git a/wp-admin/comment.php b/wp-admin/comment.php index 3c54321dc..1f1553f49 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -159,7 +159,7 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved - + comment_content; ?> diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 84203c1c3..31c31eab6 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -316,12 +316,12 @@ $page_links = paginate_links( array( - + - + @@ -416,7 +416,7 @@ if ( $page_links ) - + @@ -424,7 +424,7 @@ if ( $page_links ) - + diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index d701ac2ad..42f3e9d84 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -47,9 +47,9 @@ $comment->comment_author_email = esc_attr($comment->comment_author_email);
-
-
- +
+
+
diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php index b250a81a5..56674de00 100644 --- a/wp-admin/edit-tag-form.php +++ b/wp-admin/edit-tag-form.php @@ -33,20 +33,20 @@ do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?> - + - + - + - + diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index fc9b8cfde..510244f6a 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -348,20 +348,20 @@ if ( current_user_can($tax->cap->edit_terms) ) {
- +

- +

- + 0, 'hide_if_empty' => false, 'taxonomy' => $taxonomy, 'name' => 'parent', 'orderby' => 'name', 'hierarchical' => true, 'show_option_none' => __('None'))); ?>

@@ -369,7 +369,7 @@ if ( current_user_can($tax->cap->edit_terms) ) {
- +

diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index ee3d09990..6f8c0ace5 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -1719,7 +1719,7 @@ jQuery(function($){ | | - + diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index 821db020d..39c7f7400 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -169,7 +169,7 @@ function install_search_form(){ diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index aeb2ef803..f2cdbf37e 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -3602,7 +3602,7 @@ function screen_meta($screen) { - + @@ -414,8 +414,8 @@ switch ( $action ) { @@ -665,8 +665,8 @@ switch ( $action ) { diff --git a/wp-admin/ms-users.php b/wp-admin/ms-users.php index 0ab450e3d..f422466f7 100644 --- a/wp-admin/ms-users.php +++ b/wp-admin/ms-users.php @@ -130,8 +130,8 @@ if ( isset( $_GET['updated'] ) && $_GET['updated'] == 'true' && ! empty( $_GET[' @@ -324,8 +324,8 @@ if ( isset( $_GET['updated'] ) && $_GET['updated'] == 'true' && ! empty( $_GET[' diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index 6400ff4d9..1657e3dac 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -172,7 +172,7 @@ if ($allowed_files) :
  • &theme=&dir=theme">
  • -

    +

    - - - + + + @@ -373,9 +373,9 @@ if ( isset($_GET['detached']) ) { ?> - - - + + + diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index 4daff90f2..ac8fe4855 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -190,6 +190,21 @@ function _x( $single, $context, $domain = 'default' ) { return translate_with_gettext_context( $single, $context, $domain ); } +/** + * Displays translated string with gettext context + * + * @see _x + * @since 3.0.0 + * + * @param string $text Text to translate + * @param string $context Context information for the translators + * @param string $domain Optional. Domain to retrieve the translated text + * @return string Translated context string without pipe + */ +function _ex( $single, $context, $domain = 'default' ) { + echo _x( $single, $context, $domain ); +} + function esc_attr_x( $single, $context, $domain = 'default' ) { return esc_attr( translate_with_gettext_context( $single, $context, $domain ) ); }

    0, 'hide_if_empty' => false, 'name' => 'parent', 'orderby' => 'name', 'taxonomy' => $taxonomy, 'selected' => $tag->parent, 'exclude' => $tag->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?>
    @@ -56,7 +56,7 @@ do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?>