WordPress.org

Make WordPress Core

Ticket #23824: alter-content-width-fire

File alter-content-width-fire, 505 bytes (added by philiparthurmoore, 13 months ago)
Line 
1Index: wp-content/themes/twentythirteen/functions.php
2===================================================================
3--- wp-content/themes/twentythirteen/functions.php      (revision 23759)
4+++ wp-content/themes/twentythirteen/functions.php      (working copy)
5@@ -514,7 +514,7 @@
6                $content_width = 724;
7        }
8 }
9-add_action( 'template_redirect', 'twentythirteen_content_width' );
10+add_action( 'after_setup_theme', 'twentythirteen_content_width' );
11 
12 /**
13  * Adds entry date to aside posts after the content.