Twenty Fourteen: Use correct function prefix. props Jayjdk. fixes #24898.
git-svn-id: https://develop.svn.wordpress.org/trunk@24990 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c4b252b06f
commit
83a485738c
@ -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' ) ) :
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user