Make WordPress Core

Ticket #16834: 16834.patch

File 16834.patch, 2.3 KB (added by ramiy, 14 years ago)

patch to fix the problem

  • options-permalink.php

     
    175175<table class="form-table">
    176176        <tr>
    177177                <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>
    179179        </tr>
    180180        <tr>
    181181                <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>
    183183        </tr>
    184184        <tr>
    185185                <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>
    187187        </tr>
    188188        <tr>
    189189                <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>
    191191        </tr>
    192192        <tr>
    193193                <th>
     
    195195                        <?php _e('Custom Structure'); ?>
    196196                        </label>
    197197                </th>
    198                 <td>
     198                <td class="textleft">
    199199                        <?php echo $blog_prefix; ?>
    200200                        <input name="permalink_structure" id="permalink_structure" type="text" value="<?php echo esc_attr($permalink_structure); ?>" class="regular-text code" />
    201201                </td>