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
|
@@ 978-985 (lines=8) @@
|
975 |
|
* 'template_redirect' action and |
976 |
|
* 'admin_init' action |
977 |
|
*/ |
978 |
|
static function set_content_width() { |
979 |
|
// Don't apply this filter on the Edit CSS page. |
980 |
|
if ( isset( $_GET['page'] ) && 'editcss' === $_GET['page'] && is_admin() ) { |
981 |
|
return; |
982 |
|
} |
983 |
|
|
984 |
|
$GLOBALS['content_width'] = Jetpack::get_content_width(); |
985 |
|
} |
986 |
|
|
987 |
|
/** |
988 |
|
* Make sure the preprocessor we're saving is one we know about. |