From ffddfb573bb259f78f20d4a32a9fbb38501252a1 Mon Sep 17 00:00:00 2001
From: Sergey Biryukov
Date: Tue, 24 Oct 2017 10:51:52 +0000
Subject: [PATCH] I18N: Remove `` and `` tags from translatable
strings on Settings screens.
Move URLs to separate strings.
Props ramiy.
Fixes #40763.
Built from https://develop.svn.wordpress.org/trunk@41986
git-svn-id: http://core.svn.wordpress.org/trunk@41820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
wp-admin/options-general.php | 9 +++++-
wp-admin/options-permalink.php | 57 +++++++++++++++++++++++++++++-----
wp-admin/options-writing.php | 21 ++++++++++---
wp-includes/version.php | 2 +-
4 files changed, 76 insertions(+), 13 deletions(-)
diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php
index e1f7d219d9..f26c826f5e 100644
--- a/wp-admin/options-general.php
+++ b/wp-admin/options-general.php
@@ -79,8 +79,15 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
class="regular-text code" />
-
want your site home page to be different from your WordPress installation directory.' ); ?>
+
want your site home page to be different from your WordPress installation directory.' ),
+ __( 'https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory' )
+ );
+?>
+
diff --git a/wp-admin/options-permalink.php b/wp-admin/options-permalink.php
index c97c639546..00d58c56be 100644
--- a/wp-admin/options-permalink.php
+++ b/wp-admin/options-permalink.php
@@ -156,7 +156,13 @@ require( ABSPATH . 'wp-admin/admin-header.php' );
as your category base would make your category links like %s/topics/uncategorized/. If you leave these blank the defaults will be used.' ), get_option( 'home' ) . $blog_prefix . $prefix ); ?>
@@ -296,26 +302,63 @@ printf( __( 'If you like, you may enter custom structures for your category and
-
web.config file were writable, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your web.config file. Click in the field and press CTRL + a to select all. Then insert this rule inside of the /<configuration>/<system.webServer>/<rewrite>/<rules> element in web.config file.') ?>
+
writable, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your %1$s file. Click in the field and press %3$s to select all. Then insert this rule inside of the %4$s element in %1$s file.' ),
+ 'web.config',
+ __( 'https://codex.wordpress.org/Changing_File_Permissions' ),
+ 'CTRL + a',
+ '/<configuration>/<system.webServer>/<rewrite>/<rules>'
+ );
+?>
-
web.config file writable for us to generate rewrite rules automatically, do not forget to revert the permissions after rule has been saved.') ?>
+
web.config'
+ );
+?>
-
writable, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your web.config file. Create a new file, called web.config in the root directory of your site. Click in the field and press CTRL + a to select all. Then insert this code into the web.config file.') ?>
+
writable, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your %2$s file. Create a new file, called %2$s in the root directory of your site. Click in the field and press %3$s to select all. Then insert this code into the %2$s file.' ),
+ __( 'https://codex.wordpress.org/Changing_File_Permissions' ),
+ 'web.config',
+ 'CTRL + a'
+ );
+?>
-
web.config file automatically, do not forget to revert the permissions after the file has been created.') ?>
+
web.config'
+ );
+?>
Documentation on Nginx configuration.' ); ?>
-
.htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.') ?>
+
writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your %1$s file. Click in the field and press %3$s to select all.' ),
+ '.htaccess',
+ __( 'https://codex.wordpress.org/Changing_File_Permissions' ),
+ 'CTRL + a'
+ );
+?>