PluginProbe
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) / 1.3.2
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) v1.3.2
2.1.3 2.1.2 2.1.1 2.1.0 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 trunk 1.0.1 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 All 57 releases
← All changes | src/Admin/appsero/Client.php +1 -9 trunk1.3.2 View file →
@@ -1,19 +1,13 @@
1 1 <?php
2 2
3 3 namespace DarkifyAppSero;
4 4
5 -// Abort if this file is accessed directly, outside of WordPress.
6 -if (! defined('ABSPATH')) {
7 - exit;
8 -}
9 -
10 5 /**
11 6 * Appsero Client
12 7 *
13 8 * This class is necessary to set project data
14 9 */
15 -if (!class_exists('Client')) {
16 10 class Client
17 11 {
18 12
19 13 /**
@@ -20,9 +14,9 @@
20 14 * The client version
21 15 *
22 16 * @var string
23 17 */
24 - public $version = '2.0.4';
18 + public $version = '1.2.0';
25 19
26 20 /**
27 21 * Hash identifier of the plugin
28 22 *
@@ -117,9 +111,8 @@
117 111 * API Endpoint
118 112 *
119 113 * @return string
120 114 */
121 -
122 115 public function endpoint()
123 116 {
124 117 $endpoint = apply_filters('appsero_endpoint', 'https://api.appsero.com');
125 118
@@ -205,5 +198,4 @@
205 198 {
206 199 return call_user_func('__', $text, $this->textdomain);
207 200 }
208 201 }
209 -}