Ticket #16834: 16834.patch
File 16834.patch, 2.3 KB (added by , 14 years ago) |
---|
-
options-permalink.php
175 175 <table class="form-table"> 176 176 <tr> 177 177 <th><label><input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></th> 178 <td ><code><?php echo get_option('home'); ?>/?p=123</code></td>178 <td class="textleft"><code><?php echo get_option('home'); ?>/?p=123</code></td> 179 179 </tr> 180 180 <tr> 181 181 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[1]); ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Day and name'); ?></label></th> 182 <td ><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/sample-post/'; ?></code></td>182 <td class="textleft"><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/sample-post/'; ?></code></td> 183 183 </tr> 184 184 <tr> 185 185 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[2]); ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Month and name'); ?></label></th> 186 <td ><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/sample-post/'; ?></code></td>186 <td class="textleft"><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/sample-post/'; ?></code></td> 187 187 </tr> 188 188 <tr> 189 189 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[3]); ?>" class="tog" <?php checked($structures[3], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></th> 190 <td ><code><?php echo get_option('home') . $blog_prefix . $prefix; ?>/archives/123</code></td>190 <td class="textleft"><code><?php echo get_option('home') . $blog_prefix . $prefix; ?>/archives/123</code></td> 191 191 </tr> 192 192 <tr> 193 193 <th> … … 195 195 <?php _e('Custom Structure'); ?> 196 196 </label> 197 197 </th> 198 <td >198 <td class="textleft"> 199 199 <?php echo $blog_prefix; ?> 200 200 <input name="permalink_structure" id="permalink_structure" type="text" value="<?php echo esc_attr($permalink_structure); ?>" class="regular-text code" /> 201 201 </td>