Slight Coding standards update

git-svn-id: http://svn.automattic.com/wordpress/trunk@13866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32 2010-03-28 06:05:50 +00:00
parent f3e9d332d2
commit 8ad6b78d44
1 changed files with 4 additions and 2 deletions

View File

@ -61,8 +61,10 @@ function redirect_canonical($requested_url=null, $do_redirect=true) {
$redirect_url = false;
// Notice fixing
if ( !isset($redirect['path']) ) $redirect['path'] = '';
if ( !isset($redirect['query']) ) $redirect['query'] = '';
if ( !isset($redirect['path']) )
$redirect['path'] = '';
if ( !isset($redirect['query']) )
$redirect['query'] = '';
if ( is_singular() && 1 > $wp_query->post_count && ($id = get_query_var('p')) ) {