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

props voldemortensen, jesin.
fixes #29509.
Built from https://develop.svn.wordpress.org/trunk@29716


git-svn-id: http://core.svn.wordpress.org/trunk@29490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2014-09-07 09:44:15 +00:00
parent 93903a2a81
commit 62d51238ee

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>