From 50ddbc99465a6329ec5022e551819ab821d65a03 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 9 Sep 2017 13:48:47 +0000 Subject: [PATCH] Docs: Remove "to to" dittography from inline comments. Props birgire. See #41841. git-svn-id: https://develop.svn.wordpress.org/trunk@41354 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/widgets/text-widgets.js | 2 +- .../rest-api/endpoints/class-wp-rest-revisions-controller.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/js/widgets/text-widgets.js b/src/wp-admin/js/widgets/text-widgets.js index 2584945f9a..e752569099 100644 --- a/src/wp-admin/js/widgets/text-widgets.js +++ b/src/wp-admin/js/widgets/text-widgets.js @@ -181,7 +181,7 @@ wp.textWidgets = ( function( $ ) { /* * Account for race condition in customizer where user clicks Save & Publish while - * focus was just previously given to to the editor. Since updates to the editor + * focus was just previously given to the editor. Since updates to the editor * are debounced at 1 second and since widget input changes are only synced to * settings after 250ms, the customizer needs to be put into the processing * state during the time between the change event is triggered and updateWidget diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php index fdb01dcbca..3ef6f79469 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php @@ -301,7 +301,7 @@ class WP_REST_Revisions_Controller extends WP_REST_Controller { * @since 4.7.0 * * @param (mixed) $result The revision object (if it was deleted or moved to the trash successfully) - * or false (failure). If the revision was moved to to the trash, $result represents + * or false (failure). If the revision was moved to the trash, $result represents * its new state; if it was deleted, $result represents its state before deletion. * @param WP_REST_Request $request The request sent to the API. */