Make WordPress Core

Ticket #41841: 41841.2.patch

File 41841.2.patch, 1.6 KB (added by birgire, 6 years ago)

Fix the "to to" cases - skipped the one in wp-includes/js/tinymce/tinymce.js

  • src/wp-admin/js/widgets/text-widgets.js

     
    181181
    182182                                        /*
    183183                                         * Account for race condition in customizer where user clicks Save & Publish while
    184                                          * focus was just previously given to to the editor. Since updates to the editor
     184                                         * focus was just previously given to the editor. Since updates to the editor
    185185                                         * are debounced at 1 second and since widget input changes are only synced to
    186186                                         * settings after 250ms, the customizer needs to be put into the processing
    187187                                         * state during the time between the change event is triggered and updateWidget
  • src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php

     
    301301                 * @since 4.7.0
    302302                 *
    303303                 * @param (mixed) $result The revision object (if it was deleted or moved to the trash successfully)
    304                  *                        or false (failure). If the revision was moved to to the trash, $result represents
     304                 *                        or false (failure). If the revision was moved to the trash, $result represents
    305305                 *                        its new state; if it was deleted, $result represents its state before deletion.
    306306                 * @param WP_REST_Request $request The request sent to the API.
    307307                 */