Skip to content

Commit b179739

Browse files
authored
Fix typos again (#888)
1 parent dbad247 commit b179739

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

cli/database.cls.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private function change_to_default() {
104104
/**
105105
* Show CLI response.
106106
*
107-
* @param boolean $result Flag if result is scuccess or failure.
107+
* @param boolean $result Flag if result is success or failure.
108108
* @param string $action Action name.
109109
*/
110110
private function show_response( $result, $action ) {
@@ -211,7 +211,7 @@ public function optimize_tables( $args ) {
211211
}
212212

213213
/**
214-
* Optimize database by running all possible opreations.
214+
* Optimize database by running all possible operations.
215215
* # Start optimizing all.
216216
* $ wp litespeed-database optimize_all
217217
* $ wp litespeed-database optimize_all blog 2

src/data.upgrade.func.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use LiteSpeed\Cloud;
1717

1818
/**
19-
* Table existance check function
19+
* Table existence check function
2020
*
2121
* @since 7.2
2222
*/

src/router.cls.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ public static function get_role( $uid = null ) {
359359
$user = get_userdata($uid);
360360
if (isset($user->roles) && is_array($user->roles)) {
361361
$tmp = array_values($user->roles);
362-
$role = implode(',', $tmp); // Combine for PHP5.3 const comaptibility
362+
$role = implode(',', $tmp); // Combine for PHP5.3 const compatibility
363363
}
364364
}
365365
Debug2::debug('[Router] get_role: ' . $role);

thirdparty/woocommerce.cls.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function add_hooks() {
8787
add_filter('litespeed_esi_params', array( $this, 'add_post_id' ), 10, 2);
8888
}
8989

90-
// #612331 - remove Woocommerce geolocation redirect on ESI page (PR#708)
90+
// #612331 - remove WooCommerce geolocation redirect on ESI page (PR#708)
9191
if (!empty($_GET[ESI::QS_ACTION]) && !empty($_GET[ESI::QS_PARAMS])) {
9292
remove_action( 'template_redirect', array( 'WC_Cache_Helper', 'geolocation_ajax_redirect' ), 10 );
9393
}

0 commit comments

Comments
 (0)