Changeset 640003
- Timestamp:
- 12/16/2012 12:49:26 PM (13 years ago)
- Location:
- context-manager
- Files:
-
- 50 added
- 4 edited
-
tags/1.0.2 (added)
-
tags/1.0.2/admin (added)
-
tags/1.0.2/admin/admin.php (added)
-
tags/1.0.2/admin/meta-box-conditions.php (added)
-
tags/1.0.2/admin/meta-box-reactions.php (added)
-
tags/1.0.2/libs (added)
-
tags/1.0.2/libs/pb-framework (added)
-
tags/1.0.2/libs/pb-framework/assets (added)
-
tags/1.0.2/libs/pb-framework/assets/css (added)
-
tags/1.0.2/libs/pb-framework/assets/css/meta-box.css (added)
-
tags/1.0.2/libs/pb-framework/assets/js (added)
-
tags/1.0.2/libs/pb-framework/assets/js/init-chosen.js (added)
-
tags/1.0.2/libs/pb-framework/assets/js/tabs.js (added)
-
tags/1.0.2/libs/pb-framework/assets/vendor (added)
-
tags/1.0.2/libs/pb-framework/assets/vendor/chosen (added)
-
tags/1.0.2/libs/pb-framework/assets/vendor/chosen/chosen-sprite.png (added)
-
tags/1.0.2/libs/pb-framework/assets/vendor/chosen/chosen.css (added)
-
tags/1.0.2/libs/pb-framework/assets/vendor/chosen/chosen.jquery.min.js (added)
-
tags/1.0.2/libs/pb-framework/base.php (added)
-
tags/1.0.2/libs/pb-framework/forms.php (added)
-
tags/1.0.2/libs/pb-framework/meta-box2.php (added)
-
tags/1.0.2/libs/scb-framework (added)
-
tags/1.0.2/libs/scb-framework/example.php (added)
-
tags/1.0.2/libs/scb-framework/plugin.php (added)
-
tags/1.0.2/libs/scb-framework/readme.txt (added)
-
tags/1.0.2/libs/scb-framework/scb (added)
-
tags/1.0.2/libs/scb-framework/scb-debug.php (added)
-
tags/1.0.2/libs/scb-framework/scb-info.php (added)
-
tags/1.0.2/libs/scb-framework/scb-load.php (added)
-
tags/1.0.2/libs/scb-framework/scb/AdminPage.php (added)
-
tags/1.0.2/libs/scb-framework/scb/BoxesPage.php (added)
-
tags/1.0.2/libs/scb-framework/scb/Cron.php (added)
-
tags/1.0.2/libs/scb-framework/scb/Forms.php (added)
-
tags/1.0.2/libs/scb-framework/scb/Hooks.php (added)
-
tags/1.0.2/libs/scb-framework/scb/Options.php (added)
-
tags/1.0.2/libs/scb-framework/scb/Table.php (added)
-
tags/1.0.2/libs/scb-framework/scb/Util.php (added)
-
tags/1.0.2/libs/scb-framework/scb/Widget.php (added)
-
tags/1.0.2/libs/scb-framework/scb/load.php (added)
-
tags/1.0.2/plugin.php (added)
-
tags/1.0.2/reactions (added)
-
tags/1.0.2/reactions/base.php (added)
-
tags/1.0.2/reactions/body_class.php (added)
-
tags/1.0.2/reactions/menu (added)
-
tags/1.0.2/reactions/menu.php (added)
-
tags/1.0.2/reactions/menu/active-parent.php (added)
-
tags/1.0.2/reactions/menu/child-page.php (added)
-
tags/1.0.2/reactions/menu/inactive-parent.php (added)
-
tags/1.0.2/reactions/widgets.php (added)
-
tags/1.0.2/readme.txt (added)
-
trunk/plugin.php (modified) (1 diff)
-
trunk/reactions/body_class.php (modified) (1 diff)
-
trunk/reactions/widgets.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
context-manager/trunk/plugin.php
r640002 r640003 5 5 Author: Phill Brown 6 6 Author URI: http://pbweb.co.uk 7 Version: 1.0. 17 Version: 1.0.2 8 8 9 9 Copyright 2012 Phill Brown (email: wp@pbweb.co.uk) -
context-manager/trunk/reactions/body_class.php
r639694 r640003 26 26 function add_classes( $classes ) { 27 27 28 if ( ! $context_rules = $this->get_rules() ) return ;28 if ( ! $context_rules = $this->get_rules() ) return $classes; 29 29 foreach ( $context_rules as $context_rule ) { 30 30 if ( ! $this->plugin->conditions_match( $context_rule ) ) continue; -
context-manager/trunk/reactions/widgets.php
r639694 r640003 55 55 // As we're calling wp_get_sidebars_widgets() in form() - we need a hack to stop PHP getting into an infinite loop 56 56 $this->form_skip_get_values = true; 57 if ( ! $context_rules = $this->get_rules() ) return ;57 if ( ! $context_rules = $this->get_rules() ) return $sidebars_widgets; 58 58 $this->form_skip_get_values = false; 59 59 -
context-manager/trunk/readme.txt
r640002 r640003 5 5 Requires at least: 3.2 6 6 Tested up to: 3.5 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 9 9 Make your site react to contextual conditions using a point and click interface … … 56 56 == Changelog == 57 57 58 = 1.0.2 = 59 * [Bugfix]: Body class and widget reactions caused an error when no rules were set up 60 58 61 = 1.0.1 = 59 62 * [Bugfix]: Invalid foreach warning when no rules were added in get_rules()
Note: See TracChangeset
for help on using the changeset viewer.