Twenty Fourteen: Use correct function prefix. props Jayjdk. fixes #24898.

git-svn-id: http://core.svn.wordpress.org/trunk@24990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-08-06 09:45:29 +00:00
parent 809761c430
commit dec0f1279e
1 changed files with 2 additions and 2 deletions

View File

@ -13,12 +13,12 @@
if ( ! isset( $content_width ) )
$content_width = 474; /* pixels */
function futher_set_content_width() {
function twentyfourteen_set_content_width() {
global $content_width;
if ( is_page_template( 'full-width-page.php' ) || is_attachment() )
$content_width = 895;
}
add_action( 'template_redirect', 'futher_set_content_width' );
add_action( 'template_redirect', 'twentyfourteen_set_content_width' );
if ( ! function_exists( 'twentyfourteen_setup' ) ) :
/**