Changeset 4689
- Timestamp:
- 01/15/2017 05:21:46 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/functions.php
r4662 r4689 57 57 58 58 function inline_scripts() { 59 $current_site = get_site(); 59 60 ?> 60 61 <script type="text/javascript"> … … 62 63 if ( el ) { 63 64 el.addEventListener( 'click', function( e ) { 64 document.cookie = el.dataset.cookie + '=' + el.dataset.hash + '; expires=Fri, 31 Dec 9999 23:59:59 GMT'; 65 document.cookie = el.dataset.cookie + '=' + el.dataset.hash + 66 '; expires=Fri, 31 Dec 9999 23:59:59 GMT' + 67 '; domain=<?php echo esc_js( $current_site->domain ); ?>' + 68 '; path=<?php echo esc_js( $current_site->path ); ?>'; 65 69 jQuery( '.make-welcome' ).slideUp(); 66 70 } );
Note: See TracChangeset
for help on using the changeset viewer.