Remove $content_width

This commit is contained in:
Ben Word
2015-04-10 21:34:21 -05:00
parent e07cf54efd
commit c8693d858e
2 changed files with 1 additions and 11 deletions

View File

@@ -1,4 +1,5 @@
### HEAD
* Remove `$content_width` ([#1417](https://github.com/roots/sage/issues/1417))
* Lowercase `X-UA-Compatible` ([#1409](https://github.com/roots/sage/issues/1409))
* Remove mention of Google Analytics from the config ([#1384](https://github.com/roots/sage/issues/1384))

View File

@@ -63,14 +63,3 @@ function display_sidebar() {
return $display;
}
/**
* $content_width is a global variable used by WordPress for max image upload sizes
* and media embeds (in pixels).
*
* Example: If the content area is 640px wide, set $content_width = 620; so images and videos will not overflow.
* Default: 1140px is the default Bootstrap container width.
*/
if (!isset($content_width)) {
$content_width = 1140;
}