Plugin Directory

Changeset 1369980


Ignore:
Timestamp:
03/13/2016 12:01:20 AM (10 years ago)
Author:
WebTechGlobal
Message:

Bug fix.

Location:
wtg-portal-manager/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wtg-portal-manager/trunk/classes/class-requests.php

    r1369945 r1369980  
    5050
    5151        $this->CONFIG = new WTGPORTALMANAGER_Configuration();
     52        $this->WTGPORTALMANAGER = $this->CONFIG->load_class( 'WTGPORTALMANAGER', 'class-wtgportalmanager.php', 'classes' ); # plugin specific functions       
    5253        $this->UI = $this->CONFIG->load_class( 'WTGPORTALMANAGER_ADMINUI', 'class-adminui.php', 'classes' ); # interface, mainly notices
    5354        $this->DB = $this->CONFIG->load_class( 'WTGPORTALMANAGER_DB', 'class-wpdb.php', 'classes' ); # database interaction
  • wtg-portal-manager/trunk/classes/class-wtgportalmanager.php

    r1369945 r1369980  
    4848     */
    4949    static $instance = false;
    50 
    51     /**
    52      * Singleton approach as used in Jetpack
    53      * @static
    54      */
    55     public static function init() {
    56         if ( ! self::$instance ) {
    57             self::$instance = new WTGPORTALMANAGER;
    58         }
    59 
    60         return self::$instance;
    61     }
    6250   
    6351    public function __construct() {
  • wtg-portal-manager/trunk/readme.txt

    r1369945 r1369980  
    101101
    102102== Changelog ==
     103= 1.0.8 = 
     104* Feature Changes   
     105    * None
     106* Technical Changes
     107    * Bug fixed.
     108   
    103109= 1.0.7 = 
    104110* Feature Changes   
  • wtg-portal-manager/trunk/wtg-portal-manager.php

    r1369945 r1369980  
    22/*
    33Plugin Name: WTG Portal Manager Beta
    4 Version: 1.0.7
     4Version: 1.0.8
    55Plugin URI: http://www.webtechglobal.co.uk/
    66Description: Every service and product can have a portal on your WordPress site.
     
    4242
    4343// define constants, feel free to add some of your own...                             
    44 if(!defined( "WTGPORTALMANAGER_VERSION") ){define( "WTGPORTALMANAGER_VERSION", '1.0.7' );}
     44if(!defined( "WTGPORTALMANAGER_VERSION") ){define( "WTGPORTALMANAGER_VERSION", '1.0.8' );}
    4545if(!defined( "WTGPORTALMANAGER_NAME") ){define( "WTGPORTALMANAGER_NAME", 'WTG Portal Manager' );}
    4646if(!defined( "WTGPORTALMANAGER__FILE__") ){define( "WTGPORTALMANAGER__FILE__", __FILE__);}
     
    7878
    7979// call the Daddy methods here or remove some lines as a quick configuration approach...
    80 //add_action( 'init', array( 'WTGPORTALMANAGER', 'init' ) );
    8180$WTGPORTALMANAGER = new WTGPORTALMANAGER();
    8281//$WTGPORTALMANAGER->custom_post_types();
Note: See TracChangeset for help on using the changeset viewer.