diff --git a/CHANGELOG.md b/CHANGELOG.md index dff037cb1c..23095cae3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)) diff --git a/lib/config.php b/lib/config.php index dbf2af9e56..80da720e4e 100644 --- a/lib/config.php +++ b/lib/config.php @@ -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; -}