Ticket #20172: options-permalink.php.patch
File options-permalink.php.patch, 1.2 KB (added by , 13 years ago) |
---|
-
options-permalink.php
187 187 2 => $prefix . '/%year%/%monthnum%/%postname%/', 188 188 3 => $prefix . '/' . _x( 'archives', 'sample permalink base' ) . '/%post_id%', 189 189 4 => $prefix . '/%postname%/', 190 5 => $prefix . '/%category%/%postname%/%post_id%/', 190 191 ); 191 192 ?> 192 193 <h3><?php _e('Common Settings'); ?></h3> … … 212 213 <td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td> 213 214 </tr> 214 215 <tr> 216 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[5]); ?>" class="tog" <?php checked($structures[5], $permalink_structure); ?> /> <?php _e('Category Post Name ID'); ?></label></th> 217 <td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' .$category_base . _x( 'sample-post', 'sample permalink structure' ).'/123'; ?></code></td> 218 </tr> 219 <tr> 215 220 <th> 216 221 <label><input name="selection" id="custom_selection" type="radio" value="custom" class="tog" <?php checked( !in_array($permalink_structure, $structures) ); ?> /> 217 222 <?php _e('Custom Structure'); ?>