Ticket #36173: 36173.19.diff
File 36173.19.diff, 3.4 KB (added by , 8 years ago) |
---|
-
src/wp-admin/about.php
106 106 <hr /> 107 107 108 108 <div class="changelog"> 109 <h 3><?php _e( 'Under the Hood' ); ?></h3>109 <h2><?php _e( 'Under the Hood' ); ?></h2> 110 110 111 111 <div class="under-the-hood three-col"> 112 112 <div class="col"> 113 <h 4><?php _e( 'Smart Image Resizing' ); ?></h4>113 <h3><?php _e( 'Smart Image Resizing' ); ?></h3> 114 114 <p><?php printf( __( 'Generated images now load up to 50% faster with no noticeable quality loss. <a href="%s">It’s really cool</a>.' ), 'https://make.wordpress.org/core/2016/03/12/performance-improvements-for-images-in-wordpress-4-5/' ); ?></p> 115 115 </div> 116 116 <div class="col"> 117 <h 4><?php _e( 'Selective Refresh' ); ?></h4>118 <p><?php 117 <h3><?php _e( 'Selective Refresh' ); ?></h3> 118 <p><?php 119 119 printf( __( 'The customizer now supports a <a href="%s">comprehensive framework</a> for rendering parts of the preview without rewriting your PHP code in JavaScript.' ), 'https://make.wordpress.org/core/2016/02/16/selective-refresh-in-the-customizer/' ); 120 120 if ( current_user_can( 'customize' ) && current_user_can( 'edit_theme_options' ) ) { 121 121 if ( current_theme_supports( 'menus' ) && ! current_theme_supports( 'customize-selective-refresh-widgets' ) ) { … … 127 127 ?></p> 128 128 </div> 129 129 <div class="col"> 130 <h 4><?php _e( 'JavaScript Library Updates' ); ?></h4>130 <h3><?php _e( 'JavaScript Library Updates' ); ?></h3> 131 131 <p><?php _e( 'jQuery 1.12.3, jQuery Migrate 1.4.0, Backbone 1.2.3, and Underscore 1.8.3 are bundled.' ); ?></p> 132 132 </div> 133 133 </div> … … 134 134 135 135 <div class="under-the-hood two-col"> 136 136 <div class="col"> 137 <h 4><?php _e( 'Script Loader Improvements' ); ?></h4>137 <h3><?php _e( 'Script Loader Improvements' ); ?></h3> 138 138 <p><?php printf( __( 'Better support has been added for script header/footer dependencies. New <code><a href="%s">wp_add_inline_script()</a></code> enables adding extra code to registered scripts.' ), 'https://make.wordpress.org/core/2016/03/08/enhanced-script-loader-in-wordpress-4-5/' ); ?></p> 139 139 </div> 140 140 <div class="col"> 141 <h 4><?php _e( 'Better Embed Templates' ); ?></h4>141 <h3><?php _e( 'Better Embed Templates' ); ?></h3> 142 142 <p><?php printf( __( 'Embed templates have been split into parts and can be <a href="%s">directly overridden by themes</a> via the template hierarchy.' ), 'https://make.wordpress.org/core/2016/03/11/embeds-changes-in-wordpress-4-5/' ); ?></p> 143 143 </div> 144 144 </div> -
src/wp-admin/css/about.css
109 109 text-align: center; 110 110 } 111 111 112 .about-wrap .changelog h2, 112 113 .about-wrap h3 { 113 114 margin: 1.25em 0 .6em; 114 115 font-size: 1.25em; … … 115 116 line-height: 1.5em; 116 117 } 117 118 118 .about-wrap .changelog h 3{119 .about-wrap .changelog h2 { 119 120 margin-top: 40px; 121 font-weight: 600; 122 text-align: left; 120 123 } 121 124 122 125 .about-wrap h4 { … … 123 126 color: #23282d; 124 127 } 125 128 129 .about-wrap .changelog h3 { 130 margin: 1.33em 0; 131 font-size: 1em; 132 line-height: inherit; 133 color: #23282d; 134 } 135 126 136 .about-wrap code, 127 137 .about-wrap ol li p { 128 138 font-size: 14px;