Changeset 618623
- Timestamp:
- 10/29/2012 01:11:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jetpack/trunk/modules/notes.php
r617154 r618623 7 7 */ 8 8 9 if ( !defined( 'JETPACK_NOTES__CACHE_BUSTER' ) ) define( 'JETPACK_NOTES__CACHE_BUSTER', gmdate( 'oW' ) );9 if ( !defined( 'JETPACK_NOTES__CACHE_BUSTER' ) ) define( 'JETPACK_NOTES__CACHE_BUSTER', gmdate( 'oW' ) ); 10 10 11 11 class Jetpack_Notifications { … … 66 66 $i = hexdec( substr( md5( $file ), -1 ) ) % 2; 67 67 $http = is_ssl() ? 'https' : 'http'; 68 $url = $http . '://s' . $i . '.w ordpress.com' . $file;68 $url = $http . '://s' . $i . '.w.com' . $file; 69 69 return $url; 70 70 } 71 71 72 72 function action_init() { 73 if ( ! is_user_logged_in() )73 if ( !is_user_logged_in() ) 74 74 return; 75 75 wp_enqueue_style( 'notes-admin-bar-rest', $this->wpcom_static_url( '/wp-content/mu-plugins/notes/admin-bar-rest.css' ), array(), JETPACK_NOTES__CACHE_BUSTER );
Note: See TracChangeset
for help on using the changeset viewer.