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
This commit is contained in:
Andrew Nacin 2012-08-01 17:03:29 +00:00
parent 2a7834f801
commit 936b693f9f
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ add_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' );
* @param string $sep Optional separator. * @param string $sep Optional separator.
* @return string Filtered title. * @return string Filtered title.
*/ */
function twentytwelve_wp_title( $title = '', $sep = '' ) { function twentytwelve_wp_title( $title, $sep ) {
global $paged, $page; global $paged, $page;
if ( is_feed() ) if ( is_feed() )