Changeset 61440 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 01/05/2026 04:02:03 PM (9 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r61412 r61440 2139 2139 wp_enqueue_style( 'colors' ); 2140 2140 ?> 2141 <script type="text/javascript">2141 <script> 2142 2142 addLoadEvent = function(func){if(typeof jQuery!=='undefined')jQuery(function(){func();});else if(typeof wpOnload!=='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}; 2143 2143 function tb_close(){var win=window.dialogArguments||opener||parent||top;win.tb_remove();} … … 2188 2188 ?> 2189 2189 <body <?php echo $admin_body_id; ?>class="wp-admin wp-core-ui no-js iframe <?php echo esc_attr( $admin_body_classes ); ?>"> 2190 <script type="text/javascript">2190 <script> 2191 2191 (function(){ 2192 2192 var c = document.body.className; … … 2227 2227 ?> 2228 2228 </div> 2229 <script type="text/javascript">if(typeof wpOnload==='function')wpOnload();</script>2229 <script>if(typeof wpOnload==='function')wpOnload();</script> 2230 2230 </body> 2231 2231 </html> … … 2496 2496 function compression_test() { 2497 2497 ?> 2498 <script type="text/javascript">2498 <script> 2499 2499 var compressionNonce = <?php echo wp_json_encode( wp_create_nonce( 'update_can_compress_scripts' ), JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ); ?>; 2500 2500 var testCompression = {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)