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:
parent
5522be31e7
commit
aee690fd84
|
@ -310,7 +310,15 @@ function wp_print_file_editor_templates() {
|
||||||
</p>
|
</p>
|
||||||
<pre>{{ data.message }}</pre>
|
<pre>{{ data.message }}</pre>
|
||||||
<# } else if ( 'file_not_writable' === data.code ) { #>
|
<# } else if ( 'file_not_writable' === data.code ) { #>
|
||||||
<p><?php _e( 'You need to make this file writable before you can save your changes. See <a href="https://codex.wordpress.org/Changing_File_Permissions">the Codex</a> for more information.' ); ?></p>
|
<p>
|
||||||
|
<?php
|
||||||
|
printf(
|
||||||
|
/* translators: %s: Documentation URL */
|
||||||
|
__( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
|
||||||
|
__( 'https://wordpress.org/support/article/changing-file-permissions/' )
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</p>
|
||||||
<# } else { #>
|
<# } else { #>
|
||||||
<p>{{ data.message || data.code }}</p>
|
<p>{{ data.message || data.code }}</p>
|
||||||
|
|
||||||
|
|
|
@ -326,10 +326,10 @@ printf( __( 'If you like, you may enter custom structures for your category and
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
printf(
|
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’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.' ),
|
__( 'If your %1$s file was <a href="%2$s">writable</a>, 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.' ),
|
||||||
'<code>web.config</code>',
|
'<code>web.config</code>',
|
||||||
__( 'https://codex.wordpress.org/Changing_File_Permissions' ),
|
__( 'https://wordpress.org/support/article/changing-file-permissions/' ),
|
||||||
'<kbd>CTRL + a</kbd>',
|
'<kbd>CTRL + a</kbd>',
|
||||||
'<code>/<configuration>/<system.webServer>/<rewrite>/<rules></code>'
|
'<code>/<configuration>/<system.webServer>/<rewrite>/<rules></code>'
|
||||||
);
|
);
|
||||||
|
@ -352,9 +352,9 @@ printf( __( 'If you like, you may enter custom structures for your category and
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
printf(
|
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’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.' ),
|
__( 'If the root directory of your site was <a href="%1$s">writable</a>, 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' ),
|
__( 'https://wordpress.org/support/article/changing-file-permissions/' ),
|
||||||
'<code>web.config</code>',
|
'<code>web.config</code>',
|
||||||
'<kbd>CTRL + a</kbd>'
|
'<kbd>CTRL + a</kbd>'
|
||||||
);
|
);
|
||||||
|
@ -384,10 +384,10 @@ else :
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
printf(
|
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’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.' ),
|
__( 'If your %1$s file was <a href="%2$s">writable</a>, 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.' ),
|
||||||
'<code>.htaccess</code>',
|
'<code>.htaccess</code>',
|
||||||
__( 'https://codex.wordpress.org/Changing_File_Permissions' ),
|
__( 'https://wordpress.org/support/article/changing-file-permissions/' ),
|
||||||
'<kbd>CTRL + a</kbd>'
|
'<kbd>CTRL + a</kbd>'
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -280,7 +280,15 @@ foreach ( $plugins as $plugin_key => $a_plugin ) {
|
||||||
<span class="spinner"></span>
|
<span class="spinner"></span>
|
||||||
</p>
|
</p>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<p><em><?php _e( 'You need to make this file writable before you can save your changes. See <a href="https://codex.wordpress.org/Changing_File_Permissions">the Codex</a> for more information.' ); ?></em></p>
|
<p><em>
|
||||||
|
<?php
|
||||||
|
printf(
|
||||||
|
/* translators: %s: Documentation URL */
|
||||||
|
__( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
|
||||||
|
__( 'https://wordpress.org/support/article/changing-file-permissions/' )
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</em></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php wp_print_file_editor_templates(); ?>
|
<?php wp_print_file_editor_templates(); ?>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -313,7 +313,15 @@ else :
|
||||||
<span class="spinner"></span>
|
<span class="spinner"></span>
|
||||||
</p>
|
</p>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<p><em><?php _e( 'You need to make this file writable before you can save your changes. See <a href="https://codex.wordpress.org/Changing_File_Permissions">the Codex</a> for more information.' ); ?></em></p>
|
<p><em>
|
||||||
|
<?php
|
||||||
|
printf(
|
||||||
|
/* translators: %s: Documentation URL */
|
||||||
|
__( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
|
||||||
|
__( 'https://wordpress.org/support/article/changing-file-permissions/' )
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</em></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php wp_print_file_editor_templates(); ?>
|
<?php wp_print_file_editor_templates(); ?>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45668';
|
$wp_version = '5.3-alpha-45669';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue