Skip to content

Commit ccbe7dd

Browse files
authored
Merge pull request #598 from Dhruval-678/main
2 parents d24ce0c + a64e441 commit ccbe7dd

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

commands/cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Adds, removes, fetches, and flushes the WP Object Cache object.
44

55
By default, the WP Object Cache exists in PHP memory for the length of the request (and is emptied at the end). Use a persistent object cache drop-in to persist the object cache between requests.
66

7-
[Read the codex article](https://codex.wordpress.org/Class_Reference/WP_Object_Cache) for more detail.
7+
[Read the codex article](https://developer.wordpress.org/reference/classes/wp_object_cache) for more detail.
88

99
### EXAMPLES
1010

commands/cap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Adds, removes, and lists capabilities of a user role.
44

5-
See references for [Roles and Capabilities](https://codex.wordpress.org/Roles_and_Capabilities) and [WP User class](https://codex.wordpress.org/Class_Reference/WP_User).
5+
See references for [Roles and Capabilities](https://wordpress.org/documentation/article/roles-and-capabilities) and [WP User class](https://developer.wordpress.org/reference/classes/wp_user).
66

77
### EXAMPLES
88

commands/rewrite.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Lists or flushes the site's rewrite rules, updates the permalink structure.
44

5-
See the WordPress [Rewrite API](https://codex.wordpress.org/Rewrite_API) and
6-
[WP Rewrite](https://codex.wordpress.org/Class_Reference/WP_Rewrite) class reference.
5+
See the WordPress [Rewrite API](https://developer.wordpress.org/apis/rewrite) and
6+
[WP Rewrite](https://developer.wordpress.org/reference/classes/wp_rewrite) class reference.
77

88
### EXAMPLES
99

commands/role.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Manages user roles, including creating new roles and resetting to defaults.
44

5-
See references for [Roles and Capabilities](https://codex.wordpress.org/Roles_and_Capabilities) and [WP User class](https://codex.wordpress.org/Class_Reference/WP_User).
5+
See references for [Roles and Capabilities](https://wordpress.org/documentation/article/roles-and-capabilities) and [WP User class](https://developer.wordpress.org/reference/classes/wp_user).
66

77
### EXAMPLES
88

commands/term.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Manages taxonomy terms and term meta, with create, delete, and list commands.
44

5-
See reference for [taxonomies and their terms](https://codex.wordpress.org/Taxonomies).
5+
See reference for [taxonomies and their terms](https://wordpress.org/documentation/article/taxonomies).
66

77
### EXAMPLES
88

commands/user.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Manages users, along with their roles, capabilities, and meta.
44

5-
See references for [Roles and Capabilities](https://codex.wordpress.org/Roles_and_Capabilities) and [WP User class](https://codex.wordpress.org/Class_Reference/WP_User).
5+
See references for [Roles and Capabilities](https://wordpress.org/documentation/article/roles-and-capabilities) and [WP User class](https://developer.wordpress.org/reference/classes/wp_user).
66

77
### EXAMPLES
88

guides/common-issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ $ wp core check-update
5858
PHP Fatal error: Call to undefined function add_filter() in phar:///usr/local/bin/wp/php/WP_CLI/Runner.php(952) : eval()'d code on line N
5959
```
6060
61-
Modifying `wp-config.php` beyond constant definitions is not best practice. You should move any modifications to a [WordPress mu-plugin](https://codex.wordpress.org/Must_Use_Plugins), which will retain the functionality of your modifications while allowing wp-cli to parse your wp-config.php without throwing a PHP error, as well as preventing other errors.
61+
Modifying `wp-config.php` beyond constant definitions is not best practice. You should move any modifications to a [WordPress mu-plugin](https://developer.wordpress.org/advanced-administration/plugins/mu-plugins/), which will retain the functionality of your modifications while allowing wp-cli to parse your wp-config.php without throwing a PHP error, as well as preventing other errors.
6262
6363
See: [#1631](https://github.com/wp-cli/wp-cli/issues/1631)
6464

0 commit comments

Comments
 (0)