PluginProbe
Lasso Lite – Affiliate Link Manager & Product Displays / 116
Lasso Lite – Affiliate Link Manager & Product Displays v116
158 157 155 156 154 153 152 151 150 149 148 trunk 0.9.9 104 105 106 107 108 109 110 111 112 113 114 115 All 57 releases
← All changes | classes/class-config.php +0 -13 158116 View file →
@@ -11,20 +11,11 @@
11 11 * Config
12 12 */
13 13 class Config {
14 14 /**
15 - * Track whether we opened the layout wrapper in get_header().
16 - *
17 - * @var bool
18 - */
19 - private static $layout_wrapper_open = false;
20 -
21 - /**
22 15 * Print header html
23 16 */
24 17 public static function get_header() {
25 - self::$layout_wrapper_open = true;
26 - echo '<div class="lasso-lite-layout">';
27 18 require_once SIMPLE_URLS_DIR . '/admin/views/header.php';
28 19 }
29 20
30 21 /**
@@ -31,10 +22,6 @@
31 22 * Print footer html
32 23 */
33 24 public static function get_footer() {
34 25 require_once SIMPLE_URLS_DIR . '/admin/views/footer.php';
35 - if ( self::$layout_wrapper_open ) {
36 - echo '</div>';
37 - self::$layout_wrapper_open = false;
38 - }
39 26 }
40 27 }