@@ -106,7 +106,7 @@ public function purge_url( $url, $feed = true ) {
106
106
/**
107
107
* Filters the URL to be purged.
108
108
*
109
- * @since 2.0.4
109
+ * @since 2.1.0
110
110
*
111
111
* @param string $url URL to be purged.
112
112
*/
@@ -136,7 +136,7 @@ public function purge_url( $url, $feed = true ) {
136
136
*
137
137
* Regardless of what key / suffix is being to store `$device_type` cache , it will be deleted.
138
138
*
139
- * @since 2.0.4
139
+ * @since 2.1.0
140
140
*/
141
141
if ( strpos ( $ _url_purge_base , '* ' ) === false ) {
142
142
@@ -198,9 +198,9 @@ public function custom_purge_urls() {
198
198
$ status = $ this ->delete_single_key ( $ purge_url );
199
199
200
200
if ( $ status ) {
201
- $ this ->log ( '- [phpredis] Purge URL | ' . $ purge_url );
201
+ $ this ->log ( '- Purge URL | ' . $ purge_url );
202
202
} else {
203
- $ this ->log ( '- [phpredis] Cache Not Found | ' . $ purge_url , 'ERROR ' );
203
+ $ this ->log ( '- Cache Not Found | ' . $ purge_url , 'ERROR ' );
204
204
}
205
205
206
206
} else {
@@ -209,9 +209,9 @@ public function custom_purge_urls() {
209
209
$ status = $ this ->delete_keys_by_wildcard ( $ purge_url );
210
210
211
211
if ( $ status ) {
212
- $ this ->log ( '- [phpredis] Purge Wild Card URL | ' . $ purge_url . ' | ' . $ status . ' url purged ' );
212
+ $ this ->log ( '- Purge Wild Card URL | ' . $ purge_url . ' | ' . $ status . ' url purged ' );
213
213
} else {
214
- $ this ->log ( '- [phpredis] Cache Not Found | ' . $ purge_url , 'ERROR ' );
214
+ $ this ->log ( '- Cache Not Found | ' . $ purge_url , 'ERROR ' );
215
215
}
216
216
217
217
}
0 commit comments