| @@ -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 | } |