Make WordPress Core

Ticket #45634: 45634.diff

File 45634.diff, 4.4 KB (added by garrett-eclipse, 6 years ago)

Converting 'Block Editor' and 'Classic Editor', where not in reference to the plugin, to lowercase.

  • src/js/_enqueues/vendor/tinymce/plugins/wordpress/plugin.js

     
    666666                        }
    667667                } );
    668668
    669                 // Alt+Shift+Z removes a block in the Block Editor, don't add it to the Classic Block.
     669                // Alt+Shift+Z removes a block in the block editor, don't add it to the Classic Block.
    670670                if ( ! editor.settings.classic_block_editor ) {
    671671                        editor.addShortcut( 'access+z', '', 'WP_Adv' );
    672672                }
    673673
    674                 // Workaround for not triggering the global help modal in the Block Editor by the Classic Block shortcut.
     674                // Workaround for not triggering the global help modal in the block editor by the Classic Block shortcut.
    675675                editor.on( 'keydown', function( event ) {
    676676                        if ( event.shiftKey && event.altKey && event.code === 'KeyH' ) {
    677677                                editor.execCommand( 'WP_Help' );
  • src/wp-admin/about.php

     
    136136
    137137                        <div class="feature-section one-col" id="classic-editor">
    138138                                <div class="col">
    139                                         <p><?php _e( 'Prefer to stick with the familiar Classic Editor? No problem! Support for the Classic Editor plugin will remain in WordPress through 2021.' ); ?></p>
     139                                        <p><?php _e( 'Prefer to stick with the familiar classic editor? No problem! Support for the Classic Editor plugin will remain in WordPress through 2021.' ); ?></p>
    140140                                        <p><?php _e( 'The Classic Editor plugin restores the previous WordPress editor and the Edit Post screen. It lets you keep using plugins that extend it, add old-style meta boxes, or otherwise depend on the previous editor. To install, visit your plugins page and click the &#8220;Install Now&#8221; button next to &#8220;Classic Editor&#8221;. After the plugin finishes installing, click &#8220;Activate&#8221;. That’s it!' ); ?></p>
    141                                         <p><?php _e( 'Note to users of assistive technology: if you experience usability issues with the block editor, we recommend you continue to use the Classic Editor.' ); ?></p>
     141                                        <p><?php _e( 'Note to users of assistive technology: if you experience usability issues with the block editor, we recommend you continue to use the Classic Editor plugin.' ); ?></p>
    142142                                        <?php if ( current_user_can( 'install_plugins' ) ) { ?>
    143143                                                <div class="col cta">
    144                                                         <a class="button button-primary button-hero" href="<?php echo esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg&save=0' ), 'save_wporg_username_' . get_current_user_id() ) ); ?>"><?php _e( 'Install the Classic Editor' ); ?></a>
     144                                                        <a class="button button-primary button-hero" href="<?php echo esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg&save=0' ), 'save_wporg_username_' . get_current_user_id() ) ); ?>"><?php _e( 'Install the Classic Editor plugin' ); ?></a>
    145145                                                </div>
    146146                                        <?php } ?>
    147147                                </div>
  • src/wp-admin/edit-form-blocks.php

     
    11<?php
    22/**
    3  * The Block Editor page.
     3 * The block editor page.
    44 *
    55 * @since 5.0.0
    66 *
  • src/wp-includes/class-wp-editor.php

     
    12841284                                'Link options'                         => __( 'Link options' ), // Tooltip for the 'link options' button in the inline link dialog
    12851285                                'Visual'                               => _x( 'Visual', 'Name for the Visual editor tab' ), // Editor switch tab label
    12861286                                'Text'                                 => _x( 'Text', 'Name for the Text editor tab (formerly HTML)' ), // Editor switch tab label
    1287                                 'Add Media'                            => array( __( 'Add Media' ), 'accessM' ), // Tooltip for the 'Add Media' button in the Block Editor Classic block
     1287                                'Add Media'                            => array( __( 'Add Media' ), 'accessM' ), // Tooltip for the 'Add Media' button in the block editor Classic Block
    12881288
    12891289                                // Shortcuts help modal
    12901290                                'Keyboard Shortcuts'                   => array( __( 'Keyboard Shortcuts' ), 'accessH' ),