PluginProbe
Posts Table with Search & Sort / 1.4.11
Posts Table with Search & Sort v1.4.11
1.4.13 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2 1.3 1.3.1 1.3.1-v2 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 All 40 releases
← All changes | src/Plugin_Factory.php +9 -9 1.31.4.11 View file →
@@ -1,23 +1,23 @@
1 1 <?php
2 -
3 2 namespace Barn2\Plugin\Posts_Table_Search_Sort;
4 3
5 4 /**
6 5 * Factory to create/return the shared plugin instance.
7 6 *
8 - * @author Barn2 Media <info@barn2.co.uk>
7 + * @package Barn2\posts-table-search-sort
8 + * @author Barn2 Plugins <support@barn2.com>
9 9 * @license GPL-3.0
10 10 * @copyright Barn2 Media Ltd
11 11 */
12 12 class Plugin_Factory {
13 13
14 - private static $plugin = null;
14 + private static $plugin = null;
15 15
16 - public static function create( $file, $version ) {
17 - if ( null === self::$plugin ) {
18 - self::$plugin = new Plugin( $file, $version );
19 - }
20 - return self::$plugin;
21 - }
16 + public static function create( $file, $version ) {
17 + if ( null === self::$plugin ) {
18 + self::$plugin = new Plugin( $file, $version );
19 + }
20 + return self::$plugin;
21 + }
22 22
23 23 }