modules/custom-css/custom-css-4.7.php 1 location
|
@@ 953-960 (lines=8) @@
|
| 950 |
|
* 'template_redirect' action and |
| 951 |
|
* 'admin_init' action |
| 952 |
|
*/ |
| 953 |
|
static function set_content_width() { |
| 954 |
|
// Don't apply this filter on the Edit CSS page. |
| 955 |
|
if ( isset( $_GET['page'] ) && 'editcss' === $_GET['page'] && is_admin() ) { |
| 956 |
|
return; |
| 957 |
|
} |
| 958 |
|
|
| 959 |
|
$GLOBALS['content_width'] = Jetpack::get_content_width(); |
| 960 |
|
} |
| 961 |
|
|
| 962 |
|
/** |
| 963 |
|
* Make sure the preprocessor we're saving is one we know about. |
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. |