Changeset 1369980
- Timestamp:
- 03/13/2016 12:01:20 AM (10 years ago)
- Location:
- wtg-portal-manager/trunk
- Files:
-
- 4 edited
-
classes/class-requests.php (modified) (1 diff)
-
classes/class-wtgportalmanager.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
wtg-portal-manager.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wtg-portal-manager/trunk/classes/class-requests.php
r1369945 r1369980 50 50 51 51 $this->CONFIG = new WTGPORTALMANAGER_Configuration(); 52 $this->WTGPORTALMANAGER = $this->CONFIG->load_class( 'WTGPORTALMANAGER', 'class-wtgportalmanager.php', 'classes' ); # plugin specific functions 52 53 $this->UI = $this->CONFIG->load_class( 'WTGPORTALMANAGER_ADMINUI', 'class-adminui.php', 'classes' ); # interface, mainly notices 53 54 $this->DB = $this->CONFIG->load_class( 'WTGPORTALMANAGER_DB', 'class-wpdb.php', 'classes' ); # database interaction -
wtg-portal-manager/trunk/classes/class-wtgportalmanager.php
r1369945 r1369980 48 48 */ 49 49 static $instance = false; 50 51 /**52 * Singleton approach as used in Jetpack53 * @static54 */55 public static function init() {56 if ( ! self::$instance ) {57 self::$instance = new WTGPORTALMANAGER;58 }59 60 return self::$instance;61 }62 50 63 51 public function __construct() { -
wtg-portal-manager/trunk/readme.txt
r1369945 r1369980 101 101 102 102 == Changelog == 103 = 1.0.8 = 104 * Feature Changes 105 * None 106 * Technical Changes 107 * Bug fixed. 108 103 109 = 1.0.7 = 104 110 * Feature Changes -
wtg-portal-manager/trunk/wtg-portal-manager.php
r1369945 r1369980 2 2 /* 3 3 Plugin Name: WTG Portal Manager Beta 4 Version: 1.0. 74 Version: 1.0.8 5 5 Plugin URI: http://www.webtechglobal.co.uk/ 6 6 Description: Every service and product can have a portal on your WordPress site. … … 42 42 43 43 // define constants, feel free to add some of your own... 44 if(!defined( "WTGPORTALMANAGER_VERSION") ){define( "WTGPORTALMANAGER_VERSION", '1.0. 7' );}44 if(!defined( "WTGPORTALMANAGER_VERSION") ){define( "WTGPORTALMANAGER_VERSION", '1.0.8' );} 45 45 if(!defined( "WTGPORTALMANAGER_NAME") ){define( "WTGPORTALMANAGER_NAME", 'WTG Portal Manager' );} 46 46 if(!defined( "WTGPORTALMANAGER__FILE__") ){define( "WTGPORTALMANAGER__FILE__", __FILE__);} … … 78 78 79 79 // call the Daddy methods here or remove some lines as a quick configuration approach... 80 //add_action( 'init', array( 'WTGPORTALMANAGER', 'init' ) );81 80 $WTGPORTALMANAGER = new WTGPORTALMANAGER(); 82 81 //$WTGPORTALMANAGER->custom_post_types();
Note: See TracChangeset
for help on using the changeset viewer.