Use home URL instead of example.org on Permalink Settings screen.

props voldemortensen, jesin.
fixes #29509.

git-svn-id: https://develop.svn.wordpress.org/trunk@29716 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-09-07 09:43:48 +00:00
parent ad0b20ad09
commit 12bffd9665
1 changed files with 2 additions and 7 deletions

View File

@ -234,14 +234,9 @@ $structures = array(
</table>
<h3 class="title"><?php _e('Optional'); ?></h3>
<?php
$suffix = $prefix;
if ( $suffix )
$suffix = ltrim( $suffix, '/' ) . '/';
?>
<p><?php
/* translators: %s is a placeholder that must come at the start of the URL path. */
printf( __('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>
/* translators: %s is a placeholder that must come at the start of the URL. */
printf( __('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>%s/topics/uncategorized/</code>. If you leave these blank the defaults will be used.'), get_option('home') . $blog_prefix . $prefix ); ?></p>
<table class="form-table">
<tr>