WordPress.org

Make WordPress Core

Changeset 19609


Ignore:
Timestamp:
12/20/11 21:15:13 (2 years ago)
Author:
nacin
Message:

Eliminate a string in options-permalink and end strings with full stops. fixes #19472.

File:
1 edited

Legend:

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

    r19596 r19609  
    149149    if ( $iis7_permalinks ) { 
    150150        if ( $permalink_structure && ! $usingpi && ! $writable ) 
    151             _e('You should update your web.config now'); 
     151            _e('You should update your web.config now.'); 
    152152        else if ( $permalink_structure && ! $usingpi && $writable ) 
    153153            _e('Permalink structure updated. Remove write access on web.config file now!'); 
    154154        else 
    155             _e('Permalink structure updated'); 
     155            _e('Permalink structure updated.'); 
    156156    } else { 
    157157        if ( $permalink_structure && ! $usingpi && ! $writable ) 
     
    227227 
    228228<h3><?php _e('Optional'); ?></h3> 
    229 <?php if ( $is_apache || $iis7_permalinks ) : ?> 
    230     <p><?php _e('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <kbd>topics</kbd> as your category base would make your category links like <code>http://example.org/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p> 
    231 <?php else : ?> 
    232     <p><?php _e('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>topics</code> as your category base would make your category links like <code>http://example.org/index.php/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p> 
    233 <?php endif; ?> 
     229<?php 
     230$suffix = ''; 
     231if ( ! $is_apache && ! $iis7_permalinks ) 
     232    $suffix = 'index.php/'; 
     233?> 
     234<p><?php 
     235/* translators: %s is a placeholder that must come at the start of the URL path. */ 
     236printf( __('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>topics</code> as your category base would make your category links like <code>http://example.org/%stopics/uncategorized/</code>. If you leave these blank the defaults will be used.'), $suffix ); ?></p> 
    234237 
    235238<table class="form-table"> 
Note: See TracChangeset for help on using the changeset viewer.