Ticket #42467: 42467-2.patch
File 42467-2.patch, 2.8 KB (added by , 6 years ago) |
---|
-
wp-admin/about.php
100 100 <img src="https://s.w.org/images/core/4.9/syntax-highlighting.svg" alt=""> 101 101 </div> 102 102 <h3><?php _e( 'Syntax Highlighting and Error Checking? Yes, Please!' ); ?></h3> 103 <p><?php _e( ' You’ve got a display problem but can’t quite figure out exactly what went wrong in the CSS you lovingly wrote. With syntax highlighting and error checking for CSS editing and the Custom HTML widget introduced in WordPress 4.8.1, you’ll pinpoint coding errors quickly. Practically guaranteed to help you scan code more easily and suss out and fix code errors quickly.' ); ?></p>103 <p><?php _e( 'If you’ve ever had a need to edit CSS, HTML, or JavaScript from within the WordPress dashboard, you know how easy it can be to miss syntax errors or other problems. That’s why we’ve introduced a new code editing library which allows for syntax highlighting, error checking, and validation. You’ll be able to scan code, identify potential issues, and fix errors quickly. This new library is used by the Custom HTML widget (introduced in WordPress 4.8.1), but developers will also be able to use this library wherever they provide code writing or editing experiences.' ); ?></p> 104 104 </div> 105 105 <div class="section-item"> 106 106 <div class="inline-svg"> … … 221 221 </div> 222 222 <div class="col"> 223 223 <h3><a href="https://make.wordpress.org/core/2017/10/22/code-editing-improvements-in-wordpress-4-9/"><?php _e( 'CodeMirror available for use in your themes and plugins' ); ?></a></h3> 224 <p><?php _e( 'We’ve introduced a new code editing library, CodeMirror, for use within core. Use it to improve any code writing or editing experiences within your plugins, like CSS or JavaScript include fields.' ); ?></p> 224 <p> 225 <?php 226 printf( 227 /* translators: %s: https://developer.wordpress.org/reference/classes/wp_customize_code_editor_control/ */ 228 __( 'We’ve introduced a new code editing library, CodeMirror, for use within core. Use it to improve any code writing or editing experiences within your plugins. For example, as a theme author, you could provide a place in your theme settings for someone to add JavaScript or CSS to your theme output, so folks using your theme can include font files or tracking codes. Lean more about <a href="%s">WP_Customize_Code_Editor_Control</a>' ), 229 'https://developer.wordpress.org/reference/classes/wp_customize_code_editor_control/' 230 ); 231 ?> 232 </p> 225 233 </div> 226 234 <div class="col"> 227 235 <h3><a href="https://make.wordpress.org/core/2017/10/30/mediaelement-upgrades-in-wordpress-4-9/"><?php _e( 'MediaElement.js upgraded to 4.2.6' ); ?></a></h3>