Permalinks: Update URLs for "Changing File Permissions" documentation article.

Props patilswapnilv, ianbelanger, SergeyBiryukov.
Fixes #47768.
Built from https://develop.svn.wordpress.org/trunk@45669


git-svn-id: http://core.svn.wordpress.org/trunk@45480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2019-07-25 01:18:55 +00:00
parent 5522be31e7
commit aee690fd84
5 changed files with 34 additions and 10 deletions

View File

@@ -326,10 +326,10 @@ printf( __( 'If you like, you may enter custom structures for your category and
<p>
<?php
printf(
/* translators: 1: web.config, 2: Codex URL, 3: CTRL + a, 4: element code */
/* translators: 1: web.config, 2: Documentation URL, 3: CTRL + a, 4: element code */
__( 'If your %1$s file was <a href="%2$s">writable</a>, we could do this automatically, but it isn&#8217;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.' ),
'<code>web.config</code>',
__( 'https://codex.wordpress.org/Changing_File_Permissions' ),
__( 'https://wordpress.org/support/article/changing-file-permissions/' ),
'<kbd>CTRL + a</kbd>',
'<code>/&lt;configuration&gt;/&lt;system.webServer&gt;/&lt;rewrite&gt;/&lt;rules&gt;</code>'
);
@@ -352,9 +352,9 @@ printf( __( 'If you like, you may enter custom structures for your category and
<p>
<?php
printf(
/* translators: 1: Codex URL, 2: web.config, 3: CTRL + a */
/* translators: 1: Documentation URL, 2: web.config, 3: CTRL + a */
__( 'If the root directory of your site was <a href="%1$s">writable</a>, we could do this automatically, but it isn&#8217;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' ),
__( 'https://wordpress.org/support/article/changing-file-permissions/' ),
'<code>web.config</code>',
'<kbd>CTRL + a</kbd>'
);
@@ -384,10 +384,10 @@ else :
<p>
<?php
printf(
/* translators: 1: .htaccess, 2: Codex URL, 3: CTRL + a */
/* translators: 1: .htaccess, 2: Documentation URL, 3: CTRL + a */
__( 'If your %1$s file was <a href="%2$s">writable</a>, we could do this automatically, but it isn&#8217;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.' ),
'<code>.htaccess</code>',
__( 'https://codex.wordpress.org/Changing_File_Permissions' ),
__( 'https://wordpress.org/support/article/changing-file-permissions/' ),
'<kbd>CTRL + a</kbd>'
);
?>