modules/custom-css/custom-css.php 1 location
|
@@ 529-536 (lines=8) @@
|
526 |
|
* 'template_redirect' action and |
527 |
|
* 'admin_init' action |
528 |
|
*/ |
529 |
|
static function set_content_width(){ |
530 |
|
// Don't apply this filter on the Edit CSS page |
531 |
|
if ( isset( $_GET ) && isset( $_GET['page'] ) && 'editcss' == $_GET['page'] && is_admin() ) { |
532 |
|
return; |
533 |
|
} |
534 |
|
|
535 |
|
$GLOBALS['content_width'] = Jetpack::get_content_width(); |
536 |
|
} |
537 |
|
|
538 |
|
/* |
539 |
|
* False when the site has the Custom Design upgrade. |
modules/custom-css/custom-css-4.7.php 1 location
|
@@ 993-1000 (lines=8) @@
|
990 |
|
* 'template_redirect' action and |
991 |
|
* 'admin_init' action |
992 |
|
*/ |
993 |
|
static function set_content_width() { |
994 |
|
// Don't apply this filter on the Edit CSS page. |
995 |
|
if ( isset( $_GET['page'] ) && 'editcss' === $_GET['page'] && is_admin() ) { |
996 |
|
return; |
997 |
|
} |
998 |
|
|
999 |
|
$GLOBALS['content_width'] = Jetpack::get_content_width(); |
1000 |
|
} |
1001 |
|
|
1002 |
|
/** |
1003 |
|
* Make sure the preprocessor we're saving is one we know about. |