Theme: Update $content_width to 960

This matches the width of the content in the global header and
the About page.
This commit is contained in:
Corey McKrill 2019-10-24 21:16:16 -07:00
parent 4bf4f9a1f0
commit 5402cdd3f7
No known key found for this signature in database
GPG key ID: C2C0746F7BF17E38

View file

@ -113,7 +113,7 @@ add_action( 'after_setup_theme', __NAMESPACE__ . '\setup' );
* @global int $content_width * @global int $content_width
*/ */
function content_width() { function content_width() {
$GLOBALS['content_width'] = apply_filters( 'wporg_plugins_content_width', 640 ); $GLOBALS['content_width'] = 960;
} }
add_action( 'after_setup_theme', __NAMESPACE__ . '\content_width', 0 ); add_action( 'after_setup_theme', __NAMESPACE__ . '\content_width', 0 );