From eff1a3d24bc5308604992c11effc26ef2a6c6cbf Mon Sep 17 00:00:00 2001 From: Colin Stewart Date: Wed, 10 Jan 2024 11:55:04 +0000 Subject: [PATCH] Docs: Correct some typos in docblocks and inline comments. This corrects several typos in documentation, including: - "imput" -> "input" - "proessing" -> "processing" - "instantating" -> "instantiating" - "filtersing" -> "filtering" - "officaly" -> "officially" Follow-up to [8852], [25307], [26191], [37488], [54416]. Props benniledl, mukesh27, jayadevankbh, Presskopp. Fixes #60069. See #59651. git-svn-id: https://develop.svn.wordpress.org/trunk@57263 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-filesystem-ssh2.php | 2 +- src/wp-admin/includes/class-wp-users-list-table.php | 2 +- src/wp-admin/includes/deprecated.php | 4 ++-- src/wp-includes/formatting.php | 2 +- src/wp-includes/media.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/includes/class-wp-filesystem-ssh2.php b/src/wp-admin/includes/class-wp-filesystem-ssh2.php index 6979a92c2f2f1..b8daad1ab1c3f 100644 --- a/src/wp-admin/includes/class-wp-filesystem-ssh2.php +++ b/src/wp-admin/includes/class-wp-filesystem-ssh2.php @@ -6,7 +6,7 @@ * * {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes} * - * Compile libssh2 (Note: Only 0.14 is officaly working with PHP 5.2.6+ right now, But many users have found the latest versions work) + * Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work) * * cd /usr/src * wget https://www.libssh2.org/download/libssh2-0.14.tar.gz diff --git a/src/wp-admin/includes/class-wp-users-list-table.php b/src/wp-admin/includes/class-wp-users-list-table.php index ecb8eb4b6d292..8dfe3ce1a3e14 100644 --- a/src/wp-admin/includes/class-wp-users-list-table.php +++ b/src/wp-admin/includes/class-wp-users-list-table.php @@ -163,7 +163,7 @@ public function no_items() { * with this table. * * Provides a list of roles and user count for that role for easy - * Filtersing of the user table. + * filtering of the user table. * * @since 3.1.0 * diff --git a/src/wp-admin/includes/deprecated.php b/src/wp-admin/includes/deprecated.php index d588ad4f54fc2..f7805b4cc7034 100644 --- a/src/wp-admin/includes/deprecated.php +++ b/src/wp-admin/includes/deprecated.php @@ -1152,7 +1152,7 @@ function wp_nav_menu_locations_meta_box() { /** * This was once used to kick-off the Core Updater. * - * Deprecated in favor of instantating a Core_Upgrader instance directly, + * Deprecated in favor of instantiating a Core_Upgrader instance directly, * and calling the 'upgrade' method. * * @since 2.7.0 @@ -1174,7 +1174,7 @@ function wp_update_core($current, $feedback = '') { /** * This was once used to kick-off the Plugin Updater. * - * Deprecated in favor of instantating a Plugin_Upgrader instance directly, + * Deprecated in favor of instantiating a Plugin_Upgrader instance directly, * and calling the 'upgrade' method. * Unused since 2.8.0. * diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index bc150c8a537cb..83938306b0774 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -3506,7 +3506,7 @@ function convert_smilies( $text ) { $textarr = preg_split( '/(<.*>)/U', $text, -1, PREG_SPLIT_DELIM_CAPTURE ); // Capture the tags as well as in between. $stop = count( $textarr ); // Loop stuff. - // Ignore proessing of specific tags. + // Ignore processing of specific tags. $tags_to_ignore = 'code|pre|style|script|textarea'; $ignore_block_element = ''; diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 224d8a18caf98..9cf301e95c11a 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -4133,7 +4133,7 @@ function _wp_image_editor_choose( $args = array() ) { ! call_user_func( array( $implementation, 'supports_mime_type' ), $args['output_mime_type'] ) ) { /* - * This implementation supports the imput type but not the output type. + * This implementation supports the input type but not the output type. * Keep looking to see if we can find an implementation that supports both. */ $supports_input = $implementation;