From 5880e97bc6f691dd6af51f15bd712d2f0eb5523a Mon Sep 17 00:00:00 2001
From: Jb Audras
Date: Tue, 4 Apr 2023 22:50:43 +0000
Subject: [PATCH] Help/About: Use the new `/documentation/` URLs in
`options-permalink.php`.
As `https://wordpress.org/support/` was redirected to `https://wordpress.org/documentation/`, this changeset replaces various `/support/*` links with `/documentation/*` to avoid extra redirects.
Follow-up to [55412], [55413], [55414], [55624], [55625].
Props sabernhardt, audrasjb.
See #58052, #57726.
git-svn-id: https://develop.svn.wordpress.org/trunk@55626 602fd350-edb4-49c9-b593-d223f7449a82
---
src/wp-admin/options-permalink.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/wp-admin/options-permalink.php b/src/wp-admin/options-permalink.php
index b16b63b130..75ba6d23d1 100644
--- a/src/wp-admin/options-permalink.php
+++ b/src/wp-admin/options-permalink.php
@@ -224,7 +224,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
printf(
/* translators: %s: Documentation URL. */
__( 'WordPress offers you the ability to create a custom URL structure for your permalinks and archives. Custom URL structures can improve the aesthetics, usability, and forward-compatibility of your links. A number of tags are available, and here are some examples to get you started.' ),
- __( 'https://wordpress.org/support/article/using-permalinks/' )
+ __( 'https://wordpress.org/documentation/article/customize-permalinks/' )
);
?>
@@ -465,7 +465,7 @@ printf(
/* translators: 1: web.config, 2: Documentation URL, 3: Ctrl + A, 4: ⌘ + A, 5: Element code. */
__( 'Error: Your %1$s file is not writable, so updating it automatically was not possible. 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.' ),
'web.config',
- __( 'https://wordpress.org/support/article/changing-file-permissions/' ),
+ __( 'https://wordpress.org/documentation/article/changing-file-permissions/' ),
'Ctrl + A',
'⌘ + A',
'/<configuration>/<system.webServer>/<rewrite>/<rules>'
@@ -497,7 +497,7 @@ printf(
printf(
/* translators: 1: Documentation URL, 2: web.config, 3: Ctrl + A, 4: ⌘ + A */
__( 'Error: The root directory of your site is not writable, so creating a file automatically was not possible. 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/' ),
+ __( 'https://wordpress.org/documentation/article/changing-file-permissions/' ),
'web.config',
'Ctrl + A',
'⌘ + A'
@@ -533,7 +533,7 @@ printf(
/* translators: 1: .htaccess, 2: Documentation URL, 3: Ctrl + A, 4: ⌘ + A */
__( 'Error: Your %1$s file is not writable, so updating it automatically was not possible. 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.' ),
'.htaccess',
- __( 'https://wordpress.org/support/article/changing-file-permissions/' ),
+ __( 'https://wordpress.org/documentation/article/changing-file-permissions/' ),
'Ctrl + A',
'⌘ + A'
);