]> _ Git - physioassist-de.git/commitdiff
WIP #5342 @0.5
authorStephen Cameron <stephen@cubedesigners.com>
Wed, 27 Jul 2022 17:28:08 +0000 (19:28 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Wed, 27 Jul 2022 17:28:08 +0000 (19:28 +0200)
wp-config.php
wp-content/mu-plugins/physioassist/src/Common/Setup.php
wp-content/themes/physioassist/resources/views/404.blade.php

index 883c41c08e437a844ea6d1e5ba5c3cf005b389d6..225b9164ebd0e92e3cf647d0b18a6875a7224284 100644 (file)
@@ -1,4 +1,6 @@
 <?php
+define( 'WP_CACHE', true ); // Added by WP Rocket
+
 
 // Include local configuration
 if (file_exists(dirname(__FILE__) . '/local-config.php')) {
index 179bda2b63608506fe4a388d637cf68aa07babfe..055210847e26218a0dbb1345404f43fd5679324b 100644 (file)
@@ -22,7 +22,7 @@ class Setup {
             return 'PhysioAssist';
         });
 
-        add_action('plugins_loaded', [$this, 'debug']);
+        // add_action('plugins_loaded', [$this, 'debug']);
 
     }
 
index 61e8753bb932732e43e27789258e2fdaed36709c..5cfe53e11dfa99faa74539ea8725331992a33963 100644 (file)
@@ -8,7 +8,7 @@
     $post = get_page_by_path('404-template');
 
     if ($post) {
-      echo \Elementor\Plugin::instance()->frontend->get_builder_content_for_display(wpml_object_id_filter($post->ID, 'page', true));
+      echo \Elementor\Plugin::instance()->frontend->get_builder_content_for_display($post->ID);
     }
   @endphp