Przeglądaj źródła

Merge pull request #1196 from Automattic/fix/issue-1195

Varia: Change content width to match width default content width
Allan Cole 6 lat temu
rodzic
commit
3dbcfec5da
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      varia/functions.php

+ 1 - 1
varia/functions.php

@@ -231,7 +231,7 @@ function varia_content_width() {
 	// This variable is intended to be overruled from themes.
 	// Open WPCS issue: {@link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1043}.
 	// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
-	$GLOBALS['content_width'] = apply_filters( 'varia_content_width', 640 );
+	$GLOBALS['content_width'] = apply_filters( 'varia_content_width', 750 );
 }
 add_action( 'after_setup_theme', 'varia_content_width', 0 );