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:
parent
2a7834f801
commit
936b693f9f
|
@ -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() )
|
||||||
|
|
Loading…
Reference in New Issue