From 936b693f9ff61b60363ce8bab041da441d032ad3 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 1 Aug 2012 17:03:29 +0000 Subject: [PATCH] Revert parameter changes in [21394] as these are unnecessary. Our plugin API always passes the requested number arguments to a callback, even if previous callbacks asked for less arguments than later callbacks. see #21264. git-svn-id: https://develop.svn.wordpress.org/trunk@21395 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentytwelve/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 9751353e3e..c1d8d37696 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -143,7 +143,7 @@ add_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' ); * @param string $sep Optional separator. * @return string Filtered title. */ -function twentytwelve_wp_title( $title = '', $sep = '' ) { +function twentytwelve_wp_title( $title, $sep ) { global $paged, $page; if ( is_feed() )