Merge pull request #1417 from roots/remove-content_width
Remove $content_width
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user