modules/custom-css/custom-css.php 1 location
|
@@ 539-546 (lines=8) @@
|
| 536 |
|
* 'template_redirect' action and |
| 537 |
|
* 'admin_init' action |
| 538 |
|
*/ |
| 539 |
|
static function set_content_width(){ |
| 540 |
|
// Don't apply this filter on the Edit CSS page |
| 541 |
|
if ( isset( $_GET ) && isset( $_GET['page'] ) && 'editcss' == $_GET['page'] && is_admin() ) { |
| 542 |
|
return; |
| 543 |
|
} |
| 544 |
|
|
| 545 |
|
$GLOBALS['content_width'] = Jetpack::get_content_width(); |
| 546 |
|
} |
| 547 |
|
|
| 548 |
|
/* |
| 549 |
|
* False when the site has the Custom Design upgrade. |
modules/custom-css/custom-css-4.7.php 1 location
|
@@ 890-897 (lines=8) @@
|
| 887 |
|
* 'template_redirect' action and |
| 888 |
|
* 'admin_init' action |
| 889 |
|
*/ |
| 890 |
|
static function set_content_width(){ |
| 891 |
|
// Don't apply this filter on the Edit CSS page |
| 892 |
|
if ( isset( $_GET['page'] ) && 'editcss' === $_GET['page'] && is_admin() ) { |
| 893 |
|
return; |
| 894 |
|
} |
| 895 |
|
|
| 896 |
|
$GLOBALS['content_width'] = Jetpack::get_content_width(); |
| 897 |
|
} |
| 898 |
|
|
| 899 |
|
/** |
| 900 |
|
* Make sure the preprocessor we're saving is one we know about. |