Ticket #34509: 34509.patch
File 34509.patch, 1.3 KB (added by , 5 years ago) |
---|
-
wp-admin/options-permalink.php
187 187 <h2 class="title"><?php _e('Common Settings'); ?></h2> 188 188 <table class="form-table permalink-structure"> 189 189 <tr> 190 <th><label><input name="selection" type="radio" value="" <?php checked('', $permalink_structure); ?> /> <?php _e(' Default'); ?></label></th>190 <th><label><input name="selection" type="radio" value="" <?php checked('', $permalink_structure); ?> /> <?php _e('Plain'); ?></label></th> 191 191 <td><code><?php echo get_option('home'); ?>/?p=123</code></td> 192 192 </tr> 193 193 <tr> 194 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[1]); ?>" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Day and name '); ?></label></th>194 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[1]); ?>" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Day and name (Default)'); ?></label></th> 195 195 <td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td> 196 196 </tr> 197 197 <tr>