| @@ -181,8 +181,9 @@ | ||
| 181 | 181 | $data[$this->blockname]["ignore_container"] = 0; |
| 182 | 182 | if (! isset($post['use_background']) && ! is_null($post)) |
| 183 | 183 | $data[$this->blockname]['use_background'] = 0; |
| 184 | 184 | |
| 185 | + | |
| 185 | 186 | if ( count ($post) == 0) |
| 186 | 187 | return $data; // don't run on default situations |
| 187 | 188 | |
| 188 | 189 | // Do the font here |
| @@ -325,9 +326,9 @@ | ||
| 325 | 326 | |
| 326 | 327 | <?php |
| 327 | 328 | // FONT SIZE |
| 328 | 329 | //global $maxbuttons_font_sizes; |
| 329 | - //$sizes = apply_filters('mb/editor/fontsizes', maxUtils::generate_font_sizes(10,50) ); | |
| 330 | + $sizes = apply_filters('mb/editor/fontsizes', maxUtils::generate_font_sizes(10,50) ); | |
| 330 | 331 | |
| 331 | 332 | // *** LABEL SIZE *** // |
| 332 | 333 | $field_size = new maxField('number'); |
| 333 | 334 | $field_size->label = __('Label Size', 'mbsocial'); |