File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -199,23 +199,23 @@ public function delete( $args, $assoc_args ) {
199199 * Determines the type of transients implementation.
200200 *
201201 * Indicates whether the transients API is using an object cache or the
202- * options table .
202+ * database .
203203 *
204204 * For a more complete explanation of the transient cache, including the
205205 * network|site cache, please see docs for `wp transient`.
206206 *
207207 * ## EXAMPLES
208208 *
209209 * $ wp transient type
210- * Transients are saved to the wp_options table .
210+ * Transients are saved to the database .
211211 */
212212 public function type () {
213- global $ _wp_using_ext_object_cache, $ wpdb ;
213+ global $ _wp_using_ext_object_cache ;
214214
215215 if ( $ _wp_using_ext_object_cache )
216216 $ message = 'Transients are saved to the object cache. ' ;
217217 else
218- $ message = 'Transients are saved to the ' . $ wpdb -> prefix . ' options table . ' ;
218+ $ message = 'Transients are saved to the database . ' ;
219219
220220 WP_CLI ::line ( $ message );
221221 }
You can’t perform that action at this time.
0 commit comments