Plugin Directory

Changeset 664376


Ignore:
Timestamp:
02/06/2013 04:20:28 PM (13 years ago)
Author:
phill_brown
Message:

1.1.4 release

Location:
context-manager
Files:
51 added
3 edited

Legend:

Unmodified
Added
Removed
  • context-manager/trunk/libs/pb-framework/base.php

    r639694 r664376  
    33abstract class PB_Framework_Base {
    44
     5    static $instance;
    56    protected $vars;
     7
     8    function __construct() {
     9        self::$instance =& $this;
     10    }
    611
    712    function __get( $name ) {
  • context-manager/trunk/plugin.php

    r648422 r664376  
    55Author: Phill Brown
    66Author URI: http://pbweb.co.uk
    7 Version: 1.1.3
     7Version: 1.1.4
    88
    99Copyright 2012 Phill Brown (email: wp@pbweb.co.uk)
     
    2626require_once dirname( __FILE__ ) . '/libs/pb-framework/base.php';
    2727
    28 // On plugins_loaded
    29 add_action( 'plugins_loaded', create_function( '', '$menu_rules = new Context_Manager();' ) );
    30 
    3128class Context_Manager extends PB_Framework_Base {
    3229
     
    3936        // Setup reactions
    4037        require_once dirname( __FILE__ ) . '/reactions/base.php';
    41         foreach ( array( 'Assets', 'Menu', 'Widgets', 'Body_Class' ) as $reaction ) {
     38        foreach ( array( 'Menu', 'Assets', 'Widgets', 'Body_Class' ) as $reaction ) {
    4239
    4340            // Include reaction
     
    6764        require_once dirname( __FILE__ ) . '/admin/meta-box-conditions.php';
    6865        require_once dirname( __FILE__ ) . '/admin/meta-box-reactions.php';
     66
     67        parent::__construct();
    6968    }
    7069
     
    115114    }
    116115}
     116
     117// On plugins_loaded
     118new Context_Manager();
  • context-manager/trunk/readme.txt

    r648422 r664376  
    55Requires at least: 3.2
    66Tested up to: 3.5
    7 Stable tag: 1.1.3
     7Stable tag: 1.1.4
    88
    99Make your site react to users' context by changing your theme's CSS and JavaScript files, navigation menus, sidebars and the HTML body tag.
     
    6464== Changelog ==
    6565
     66= 1.1.4 =
     67* [Bugfix]: Some environments were triggering a fatal error related to html() due to an action being added to a hook too late
     68
    6669= 1.1.3 =
    6770* [Bugfix]: Asset reaction generating a global site error if not logged in
Note: See TracChangeset for help on using the changeset viewer.