11<?php
22
33/**
4- * Manipulate the WordPress Transient Cache.
4+ * Manipulates the WordPress Transient Cache.
55 *
66 * By default, the transient cache uses the WordPress database to persist values
77 * between requests. When a persistent object cache drop-in is installed, the
3232class Transient_Command extends WP_CLI_Command {
3333
3434 /**
35- * Get a transient value.
35+ * Gets a transient value.
3636 *
3737 * ## OPTIONS
3838 *
@@ -76,7 +76,7 @@ public function get( $args, $assoc_args ) {
7676 }
7777
7878 /**
79- * Set a transient value.
79+ * Sets a transient value.
8080 *
8181 * `<expiration>` is the time until expiration, in seconds.
8282 *
@@ -113,7 +113,7 @@ public function set( $args, $assoc_args ) {
113113 }
114114
115115 /**
116- * Delete a transient value.
116+ * Deletes a transient value.
117117 *
118118 * ## OPTIONS
119119 *
@@ -176,7 +176,7 @@ public function delete( $args, $assoc_args ) {
176176 }
177177
178178 /**
179- * Determine type of transients implementation.
179+ * Determines the type of transients implementation.
180180 *
181181 * Indicates whether the transients API is using an object cache or the
182182 * options table.
@@ -198,7 +198,7 @@ public function type() {
198198 }
199199
200200 /**
201- * Delete all expired transients.
201+ * Deletes all expired transients.
202202 */
203203 private function delete_expired () {
204204 global $ wpdb , $ _wp_using_ext_object_cache ;
@@ -225,7 +225,7 @@ private function delete_expired() {
225225 }
226226
227227 /**
228- * Delete all transients.
228+ * Deletes all transients.
229229 */
230230 private function delete_all () {
231231 global $ wpdb , $ _wp_using_ext_object_cache ;
0 commit comments