Skip to content

Commit 52d58a6

Browse files
committed
IMPORT jquery/menu-header.php.
1 parent c8db7e2 commit 52d58a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

jquery/menu-header.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ function menu_header_irc_jquery_org() {
114114
);
115115
}
116116

117+
// Temporary hack to make blogs work since they run outside of jquery-wp-content
118+
if ( !defined( 'JQUERY_LIVE_SITE' ) ) {
119+
define( 'JQUERY_LIVE_SITE', $_SERVER['HTTP_HOST'] );
120+
}
121+
117122
/*
118123
* Avert your eyes.
119124
*/

0 commit comments

Comments
 (0)