Make WordPress Core

Ticket #42467: 42467-2.patch

File 42467-2.patch, 2.8 KB (added by johneckman, 6 years ago)

Attempt to address the second paragraph on developer experience as well as the coding enhancements section

  • wp-admin/about.php

     
    100100                                                <img src="https://s.w.org/images/core/4.9/syntax-highlighting.svg" alt="">
    101101                                        </div>
    102102                                        <h3><?php _e( 'Syntax Highlighting and Error Checking? Yes, Please!' ); ?></h3>
    103                                         <p><?php _e( 'You&#8217;ve got a display problem but can&#8217;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&#8217;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&#8217;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&#8217;s why we&#8217;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>
    104104                                </div>
    105105                                <div class="section-item">
    106106                                        <div class="inline-svg">
     
    221221                                </div>
    222222                                <div class="col">
    223223                                        <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&#8217;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&#8217;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>
    225233                                </div>
    226234                                <div class="col">
    227235                                        <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>