Skip to content

Commit 09e8886

Browse files
committed
Blogs: Handle missing config for blog themes.
1 parent 83e63ce commit 09e8886

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

themes/jquery/functions.jquery.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ function jq_post_heirarchy() {
168168
}
169169

170170
function jq_logo_link() {
171+
// TODO: remove when blog.jquery.com-theme is gone
172+
if ( !function_exists( 'jquery_sites' ) ) {
173+
return '/';
174+
}
175+
171176
$sites = jquery_sites();
172177
return empty( $sites[ JQUERY_LIVE_SITE ][ 'logo_link' ] ) ? '/' :
173178
$sites[ JQUERY_LIVE_SITE ][ 'logo_link' ];

0 commit comments

Comments
 (0)