WordPress.org

Make WordPress Core

Changeset 22931


Ignore:
Timestamp:
11/30/12 00:01:26 (17 months ago)
Author:
ryan
Message:

Update permalink structure input when selecting a structure with the radio buttons.

Props nacin
fixes #22645

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-permalink.php

    r22122 r22931  
    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; 
     
    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> 
Note: See TracChangeset for help on using the changeset viewer.