Changeset 41598 for trunk/src/wp-admin/includes/deprecated.php
- Timestamp:
- 09/26/2017 08:23:07 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/deprecated.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/deprecated.php
r41275 r41598 1492 1492 } 1493 1493 } 1494 1495 /** 1496 * Display JavaScript on the page. 1497 * 1498 * @since 3.5.0 1499 * @deprecated 4.9.0 1500 */ 1501 function options_permalink_add_js() { 1502 ?> 1503 <script type="text/javascript"> 1504 jQuery(document).ready(function() { 1505 jQuery('.permalink-structure input:radio').change(function() { 1506 if ( 'custom' == this.value ) 1507 return; 1508 jQuery('#permalink_structure').val( this.value ); 1509 }); 1510 jQuery( '#permalink_structure' ).on( 'click input', function() { 1511 jQuery( '#custom_selection' ).prop( 'checked', true ); 1512 }); 1513 }); 1514 </script> 1515 <?php 1516 }
Note: See TracChangeset
for help on using the changeset viewer.