PluginProbe
Code Engine – PHP Snippets, AI Functions & Automation for WordPress / 0.4.2
Code Engine – PHP Snippets, AI Functions & Automation for WordPress v0.4.2
0.5.6 0.5.5 0.5.4 0.5.3 0.5.2 0.5.1 0.5.0 0.4.9 0.4.8 0.4.7 0.4.6 trunk 0.0.1 0.0.2 0.2.8 0.2.9 0.3.0 0.3.1 0.3.2 0.3.3 0.3.4 0.3.5 0.3.6 0.3.7 0.3.8 All 32 releases
← All changes | common/rest.php +4 -4 0.3.50.4.2 View file →
@@ -1,13 +1,13 @@
1 1 <?php
2 2
3 -class MeowCommon_Rest {
3 +class MeowKit_MWCODE_Rest {
4 4 private $namespace = 'meow-common/v1';
5 5 public static $instance = null;
6 6
7 7 public static function init_once() {
8 - if ( !MeowCommon_Rest::$instance ) {
9 - MeowCommon_Rest::$instance = new self();
8 + if ( !MeowKit_MWCODE_Rest::$instance ) {
9 + MeowKit_MWCODE_Rest::$instance = new self();
10 10 }
11 11 }
12 12
13 13 private function __construct() {
@@ -128,8 +128,8 @@
128 128 }
129 129 }
130 130
131 131 public function rest_error_logs( $request ) {
132 - return new WP_REST_Response( [ 'success' => true, 'data' => MeowCommon_Helpers::php_error_logs() ], 200 );
132 + return new WP_REST_Response( [ 'success' => true, 'data' => MeowKit_MWCODE_Helpers::php_error_logs() ], 200 );
133 133 }
134 134
135 135 }