PluginProbe
Customify / 1.2.3
Customify v1.2.3
2.10.9 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.7.1 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.6.0 1.6.0.1 1.6.5 1.7.0 1.7.1 All 77 releases
← All changes | core/core.php +8 -6 1.5.51.2.3 View file →
@@ -1,6 +1,10 @@
1 1 <?php defined('ABSPATH') or die;
2 2
3 +/* This file is property of Pixel Grade Media. You may NOT copy, or redistribute
4 + * it. Please see the license that came with your copy for more information.
5 + */
6 +
3 7 /**
4 8 * @package pixcustomify
5 9 * @category core
6 10 * @author Pixel Grade Team
@@ -186,9 +190,9 @@
186 190 }
187 191 }
188 192
189 193 /** @var string the translation text domain */
190 - protected static $textdomain = 'customify';
194 + protected static $textdomain = 'pixcustomify_txtd';
191 195
192 196 /**
193 197 * @return string text domain
194 198 */
@@ -205,9 +209,9 @@
205 209 self::$textdomain = $textdomain;
206 210 }
207 211 else { // null or otherwise empty value
208 212 // revert to default
209 - self::$textdomain = 'customify';
213 + self::$textdomain = 'pixcustomify_txtd';
210 214 }
211 215 }
212 216
213 217 /**
@@ -263,9 +267,9 @@
263 267 asort($priority_list, SORT_ASC);
264 268
265 269 foreach ($priority_list as $file => $priority) {
266 270 if (strpos($file, EXT)) {
267 - require_once $file;
271 + require $file;
268 272 }
269 273 }
270 274 }
271 275
@@ -282,12 +286,10 @@
282 286 return strlen($path) + substr_count($path, '/') * 100;
283 287 }
284 288
285 289 static function option( $option, $default = null ) {
286 - /** @var PixCustomifyPlugin $local_plugin */
287 - $local_plugin = PixCustomifyPlugin();
288 290
289 - return $local_plugin->get_option($option, $default = null);
291 + return PixCustomifyPlugin::get_option($option, $default = null);
290 292
291 293 }
292 294
293 295 } # class