diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index d56bde20a3..65bb796176 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -134,7 +134,7 @@ $tech_features = array( // Image. else: ?> - +

@@ -147,7 +147,7 @@ $tech_features = array(
- +

diff --git a/src/wp-admin/custom-header.php b/src/wp-admin/custom-header.php index fdb9cbaab1..dfb90cb0be 100644 --- a/src/wp-admin/custom-header.php +++ b/src/wp-admin/custom-header.php @@ -771,7 +771,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>

- +
diff --git a/src/wp-admin/includes/class-wp-theme-install-list-table.php b/src/wp-admin/includes/class-wp-theme-install-list-table.php index a6a2c2c779..c2b0b6d581 100644 --- a/src/wp-admin/includes/class-wp-theme-install-list-table.php +++ b/src/wp-admin/includes/class-wp-theme-install-list-table.php @@ -302,7 +302,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table { ?> - +

@@ -412,7 +412,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table {

screenshot_url ) ): ?> - +
$theme->rating, 'type' => 'percent', 'number' => $theme->num_ratings ) ); ?> diff --git a/src/wp-admin/includes/image-edit.php b/src/wp-admin/includes/image-edit.php index 3977c4335f..4015f30cf8 100644 --- a/src/wp-admin/includes/image-edit.php +++ b/src/wp-admin/includes/image-edit.php @@ -184,7 +184,7 @@ function wp_image_editor($post_id, $msg = false) {
- + <?php esc_attr_e( 'Image preview' ); ?>
diff --git a/src/wp-admin/includes/plugin-install.php b/src/wp-admin/includes/plugin-install.php index f9c359f61a..bb450e12ef 100644 --- a/src/wp-admin/includes/plugin-install.php +++ b/src/wp-admin/includes/plugin-install.php @@ -605,9 +605,9 @@ function install_plugin_information() { } $contrib_username = sanitize_user( $contrib_username ); if ( empty( $contrib_profile ) ) { - echo "
  • {$contrib_username}
  • "; + echo "
  • {$contrib_username}
  • "; } else { - echo "
  • {$contrib_username}
  • "; + echo "
  • {$contrib_username}
  • "; } } ?> diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php index 4e2bc39793..14831080b2 100644 --- a/src/wp-admin/includes/post.php +++ b/src/wp-admin/includes/post.php @@ -1615,7 +1615,7 @@ function _admin_notice_post_locked() {


    - +

    ') + img = $( '' ) .on('load', function() { var max1, max2, parent = $('#imgedit-crop-' + postid), t = imageEdit; diff --git a/src/wp-admin/js/inline-edit-post.js b/src/wp-admin/js/inline-edit-post.js index a07e8ec9b8..2011e7ba36 100644 --- a/src/wp-admin/js/inline-edit-post.js +++ b/src/wp-admin/js/inline-edit-post.js @@ -332,7 +332,7 @@ $( document ).on( 'heartbeat-tick.wp-check-locked-posts', function( e, data ) { row.find('.check-column checkbox').prop('checked', false); if ( lock_data.avatar_src ) { - avatar = $('').attr( 'src', lock_data.avatar_src.replace(/&/g, '&') ); + avatar = $( '' ).attr( 'src', lock_data.avatar_src.replace( /&/g, '&' ) ); row.find('.column-title .locked-avatar').empty().append( avatar ); } row.addClass('wp-locked'); diff --git a/src/wp-admin/js/post.js b/src/wp-admin/js/post.js index 4e70250508..e6d2ca2ea0 100644 --- a/src/wp-admin/js/post.js +++ b/src/wp-admin/js/post.js @@ -131,7 +131,7 @@ $(document).on( 'heartbeat-send.refresh-lock', function( e, data ) { } if ( received.lock_error.avatar_src ) { - avatar = $('').attr( 'src', received.lock_error.avatar_src.replace(/&/g, '&') ); + avatar = $( '' ).attr( 'src', received.lock_error.avatar_src.replace( /&/g, '&' ) ); wrap.find('div.post-locked-avatar').empty().append( avatar ); } diff --git a/src/wp-admin/js/press-this.js b/src/wp-admin/js/press-this.js index 48004869c8..bf2e8300df 100644 --- a/src/wp-admin/js/press-this.js +++ b/src/wp-admin/js/press-this.js @@ -323,7 +323,7 @@ link = src; } - newContent = ''; + newContent = ''; } else { newContent = '[embed]' + src + '[/embed]'; } diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index d52b415e6e..0e698a57c2 100644 --- a/src/wp-admin/update-core.php +++ b/src/wp-admin/update-core.php @@ -360,7 +360,7 @@ function list_theme_updates() { echo " - " . $theme->display('Name') . ' ' . sprintf( __( 'You have version %1$s installed. Update to %2$s.' ), $theme->display('Version'), $theme->update['new_version'] ) . " + " . $theme->display('Name') . ' ' . sprintf( __( 'You have version %1$s installed. Update to %2$s.' ), $theme->display('Version'), $theme->update['new_version'] ) . " "; } ?> diff --git a/src/wp-includes/customize/class-wp-customize-media-control.php b/src/wp-includes/customize/class-wp-customize-media-control.php index cfd075e82b..c99fd986f2 100644 --- a/src/wp-includes/customize/class-wp-customize-media-control.php +++ b/src/wp-includes/customize/class-wp-customize-media-control.php @@ -157,14 +157,14 @@ class WP_Customize_Media_Control extends WP_Customize_Control {
    <# if ( 'image' === data.attachment.type && data.attachment.sizes && data.attachment.sizes.medium ) { #> - + <# } else if ( 'image' === data.attachment.type && data.attachment.sizes && data.attachment.sizes.full ) { #> - + <# } else if ( 'audio' === data.attachment.type ) { #> <# if ( data.attachment.image && data.attachment.image.src && data.attachment.image.src !== data.attachment.icon ) { #> - + <# } else { #> - + <# } #>

    “{{ data.attachment.title }}”

    <# if ( data.attachment.album || data.attachment.meta.album ) { #> @@ -184,7 +184,7 @@ class WP_Customize_Media_Control extends WP_Customize_Control {
    <# } else { #> - +

    {{ data.attachment.title }}

    <# } #>
    diff --git a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js index 2d4cb3027e..f425b234d8 100644 --- a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js +++ b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js @@ -100,7 +100,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { event.content = event.content.replace( //g, function( match, moretext ) { return ''; + 'class="wp-more-tag mce-wp-more" alt="" title="' + title + '" data-mce-resize="false" data-mce-placeholder="1" />'; }); } @@ -109,7 +109,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { event.content = event.content.replace( //g, '' ); + 'alt="" title="' + title + '" data-mce-resize="false" data-mce-placeholder="1" />' ); } if ( event.load && event.format !== 'raw' && hasWpautop ) { @@ -162,7 +162,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { classname += ' mce-wp-' + tag; title = tag === 'more' ? 'Read more...' : 'Next page'; title = __( title ); - html = ''; // Most common case diff --git a/src/wp-includes/js/tinymce/plugins/wpgallery/plugin.js b/src/wp-includes/js/tinymce/plugins/wpgallery/plugin.js index 41dcfe5789..d9723f2db5 100644 --- a/src/wp-includes/js/tinymce/plugins/wpgallery/plugin.js +++ b/src/wp-includes/js/tinymce/plugins/wpgallery/plugin.js @@ -10,7 +10,7 @@ tinymce.PluginManager.add('wpgallery', function( editor ) { function html( cls, data ) { data = window.encodeURIComponent( data ); return ''; + 'data-wp-media="' + data + '" data-mce-resize="false" data-mce-placeholder="1" alt="" />'; } function restoreMediaShortcodes( content ) { diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index f1c83f6d72..8d7c758c50 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -291,11 +291,11 @@ function wp_print_media_templates() { <# if ( data.uploading ) { #>
    <# } else if ( 'image' === data.type && data.sizes && data.sizes.large ) { #> - + <# } else if ( 'image' === data.type && data.sizes && data.sizes.full ) { #> - + <# } else if ( -1 === jQuery.inArray( data.type, [ 'audio', 'video' ] ) ) { #> - + <# } #> <# if ( 'audio' === data.type ) { #> @@ -453,9 +453,9 @@ function wp_print_media_templates() { <# } else { #>
    <# if ( data.image && data.image.src && data.image.src !== data.icon ) { #> - + <# } else { #> - + <# } #>
    @@ -502,9 +502,9 @@ function wp_print_media_templates() { <# if ( data.uploading ) { #>
    <# } else if ( 'image' === data.type && data.sizes ) { #> - + <# } else { #> - + <# } #>
    @@ -820,7 +820,7 @@ function wp_print_media_templates() { @@ -1240,7 +1240,7 @@ function wp_print_media_templates() {

    - +
    <?php esc_attr_e( 'Preview as a browser icon' ); ?> diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 23d813f512..fac23852ba 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -1672,7 +1672,7 @@ function wp_underscore_playlist_templates() { ?>