From c5ddeaee5fa3f102165f6f75aa0c535fbcda9f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mickae=CC=88l=20Perrin?= Date: Thu, 25 Jul 2024 11:34:36 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Oxygen=20meta=20key=20changed=20?= =?UTF-8?q?in=204.8.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ commands/class-oxygenregeneratecsscache.php | 4 ++-- commands/class-oxygensignshortcode.php | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b8f12d8..3858c24 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,10 @@ 5. Activate Plugin in WP Backend ## Tested Oxygen versions + +- 4.8.3 + +### Versions before 1.2.0 - 4 - 3.9 - 3.8 diff --git a/commands/class-oxygenregeneratecsscache.php b/commands/class-oxygenregeneratecsscache.php index 31ae945..a357006 100644 --- a/commands/class-oxygenregeneratecsscache.php +++ b/commands/class-oxygenregeneratecsscache.php @@ -52,12 +52,12 @@ private function regenerateEverything():void { 'meta_query' => [ 'relation' => 'OR', [ - 'key' => 'ct_builder_shortcodes', + 'key' => '_ct_builder_shortcodes', 'value' => '', 'compare' => '!=', ], [ - 'key' => 'ct_builder_json', + 'key' => '_ct_builder_json', 'value' => '', 'compare' => '!=', ], diff --git a/commands/class-oxygensignshortcode.php b/commands/class-oxygensignshortcode.php index 7df8a26..d212929 100644 --- a/commands/class-oxygensignshortcode.php +++ b/commands/class-oxygensignshortcode.php @@ -33,7 +33,7 @@ function sign_shortcode($args, $assoc_args) { 'numberposts' => -1, 'orderby' => 'ID', 'order' => 'ASC', - 'meta_key' => 'ct_builder_shortcodes', + 'meta_key' => '_ct_builder_shortcodes', ) );