Adds "select all" shortcut for Mac on permalinks page when `.htaccess` is not writable.
This change improves the description of the "select all" shortcut for Mac users in Permalink Settings screen. Props Valer1e, ajoah, audrasjb, SergeyBiryukov. Fixes #54633. Built from https://develop.svn.wordpress.org/trunk@53047 git-svn-id: http://core.svn.wordpress.org/trunk@52636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f9c1c14c76
commit
5c6a8e9826
|
@ -367,11 +367,12 @@ printf( __( 'If you like, you may enter custom structures for your category and
|
|||
<p id="iis-description-a">
|
||||
<?php
|
||||
printf(
|
||||
/* 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 is not 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.' ),
|
||||
/* translators: 1: web.config, 2: Documentation URL, 3: Ctrl + A, 4: ⌘ + A, 5: Element code. */
|
||||
__( 'If your %1$s file was <a href="%2$s">writable</a>, we could do this automatically, but it is not so this is the url rewrite rule you should have in your %1$s file. Click in the field and press %3$s (or %4$s on Mac) to select all. Then insert this rule inside of the %5$s element in %1$s file.' ),
|
||||
'<code>web.config</code>',
|
||||
__( 'https://wordpress.org/support/article/changing-file-permissions/' ),
|
||||
'<kbd>Ctrl + A</kbd>',
|
||||
'<kbd>⌘ + A</kbd>',
|
||||
'<code>/<configuration>/<system.webServer>/<rewrite>/<rules></code>'
|
||||
);
|
||||
?>
|
||||
|
@ -393,11 +394,12 @@ printf( __( 'If you like, you may enter custom structures for your category and
|
|||
<p id="iis-description-b">
|
||||
<?php
|
||||
printf(
|
||||
/* 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 is not 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.' ),
|
||||
/* translators: 1: Documentation URL, 2: web.config, 3: Ctrl + A, 4: ⌘ + A */
|
||||
__( 'If the root directory of your site was <a href="%1$s">writable</a>, we could do this automatically, but it is not 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 (or %4$s on Mac) to select all. Then insert this code into the %2$s file.' ),
|
||||
__( 'https://wordpress.org/support/article/changing-file-permissions/' ),
|
||||
'<code>web.config</code>',
|
||||
'<kbd>Ctrl + A</kbd>'
|
||||
'<kbd>Ctrl + A</kbd>',
|
||||
'<kbd>⌘ + A</kbd>'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
@ -423,11 +425,12 @@ else :
|
|||
<p id="htaccess-description">
|
||||
<?php
|
||||
printf(
|
||||
/* 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 is not 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.' ),
|
||||
/* translators: 1: .htaccess, 2: Documentation URL, 3: Ctrl + A, 4: ⌘ + A */
|
||||
__( 'If your %1$s file was <a href="%2$s">writable</a>, we could do this automatically, but it is not so these are the mod_rewrite rules you should have in your %1$s file. Click in the field and press %3$s (or %4$s on Mac) to select all.' ),
|
||||
'<code>.htaccess</code>',
|
||||
__( 'https://wordpress.org/support/article/changing-file-permissions/' ),
|
||||
'<kbd>Ctrl + A</kbd>'
|
||||
'<kbd>Ctrl + A</kbd>',
|
||||
'<kbd>⌘ + A</kbd>'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
|
|
@ -253,7 +253,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
|
|||
|
||||
editor.addCommand( 'WP_Help', function() {
|
||||
var access = tinymce.Env.mac ? __( 'Ctrl + Alt + letter:' ) : __( 'Shift + Alt + letter:' ),
|
||||
meta = tinymce.Env.mac ? __( 'Cmd + letter:' ) : __( 'Ctrl + letter:' ),
|
||||
meta = tinymce.Env.mac ? __( '⌘ + letter:' ) : __( 'Ctrl + letter:' ),
|
||||
table1 = [],
|
||||
table2 = [],
|
||||
row1 = {},
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.0-alpha-53046';
|
||||
$wp_version = '6.0-alpha-53047';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue