PluginProbe
CSS & JavaScript Toolbox / 6.0.6
CSS & JavaScript Toolbox v6.0.6
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | views/blocks/manager/view.php +5 -19 116.0.6 View file →
@@ -39,18 +39,8 @@
39 39 * put your comment there...
40 40 *
41 41 * @var mixed
42 42 */
43 - protected static $onloadglobalcomponents = array(
44 - 'hookType' => CJTWordpressEvents::HOOK_FILTER,
45 - 'parameters' => array('content')
46 - );
47 -
48 - /**
49 - * put your comment there...
50 - *
51 - * @var mixed
52 - */
53 43 public $order;
54 44
55 45 /**
56 46 * put your comment there...
@@ -140,17 +130,13 @@
140 130 */
141 131 public static function enququeStyles() {
142 132 // Enquque single block styles.
143 133 CJTBlocksCjtBlockView::enqueueStyles();
144 - // Styles list.
145 - $styles = array('framework:css:{CJT-}toolbox', 'views:blocks:manager:public:css:{CJT-}blocks');
146 - // IF WP < 3.8 add compatibility CSS file.
147 - $wpVersion = new CJT_Framework_Wordpress_Currentversion();
148 - if ($wpVersion->isLess('3.8')) {
149 - $styles[] = 'views:blocks:manager:public:css:{CJT-}blocks-wp-lt-3.8';
150 - }
151 - // Include styles.
152 - self::useStyles(__CLASS__, $styles);
134 + // Use blocks page styles.
135 + self::useStyles(__CLASS__,
136 + 'framework:css:{CJT-}toolbox',
137 + 'views:blocks:manager:public:css:{CJT-}blocks'
138 + );
153 139 }
154 140
155 141 } // End class.
156 142