Make WordPress Core

Ticket #22645: 22645.diff

File 22645.diff, 883 bytes (added by nacin, 12 years ago)
  • wp-admin/options-permalink.php

     
    5656<script type="text/javascript">
    5757//<![CDATA[
    5858jQuery(document).ready(function() {
    59         jQuery('input:radio.tog').change(function() {
     59        jQuery('.permalink-structure input:radio').change(function() {
    6060                if ( 'custom' == this.value )
    6161                        return;
    6262                jQuery('#permalink_structure').val( this.value );
     
    189189);
    190190?>
    191191<h3><?php _e('Common Settings'); ?></h3>
    192 <table class="form-table">
     192<table class="form-table permalink-structure">
    193193        <tr>
    194194                <th><label><input name="selection" type="radio" value="" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></th>
    195195                <td><code><?php echo get_option('home'); ?>/?p=123</code></td>