Skip to content

Commit 9f6c300

Browse files
committed
Improve comment about deleting transients only from the database
1 parent de85f5a commit 9f6c300

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Transient_Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public function type() {
225225
/**
226226
* Deletes all expired transients.
227227
*
228-
* Always deletes the transients from the database too.
228+
* Only deletes the expired transients from the database.
229229
*/
230230
private function delete_expired() {
231231
global $wpdb;
@@ -297,7 +297,7 @@ private function delete_expired() {
297297
/**
298298
* Deletes all transients.
299299
*
300-
* Always deletes the transients from the database too.
300+
* Only deletes the transients from the database.
301301
*/
302302
private function delete_all() {
303303
global $wpdb;

0 commit comments

Comments
 (0)