| @@ -250,9 +250,8 @@ | ||
| 250 | 250 | |
| 251 | 251 | update_option('berqwp_raw_home', $raw_home); |
| 252 | 252 | delete_transient('berq_lic_response_cache'); |
| 253 | 253 | delete_transient('berqwp_lic_response_cache'); |
| 254 | - delete_transient('berqwp_warmup_running'); | |
| 255 | 254 | } |
| 256 | 255 | } |
| 257 | 256 | |
| 258 | 257 | function post_type_action_links($actions, $post) |
| @@ -943,8 +942,9 @@ | ||
| 943 | 942 | if (strpos($page_url, '?') !== false) { |
| 944 | 943 | self::miss_cache_headers(); |
| 945 | 944 | return; |
| 946 | 945 | } |
| 946 | + | |
| 947 | 947 | |
| 948 | 948 | // Redirect non-canonical URLs (wrong trailing slash) the same way WordPress would, |
| 949 | 949 | // before ever touching the cache — works for both trailing-slash and non-trailing-slash |
| 950 | 950 | // permalink structures. |