Skip to content

Commit 57e71da

Browse files
authored
Merge branch 'master' into changing-internal-api-link
2 parents 9286a86 + 2471d59 commit 57e71da

File tree

358 files changed

+846
-493
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

358 files changed

+846
-493
lines changed

bin/commands-manifest.json

+48-8
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,14 @@
447447
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/cli\/alias.md",
448448
"repo_url": "https:\/\/github.com\/wp-cli\/wp-cli"
449449
},
450+
"cli\/cache": {
451+
"title": "cli cache",
452+
"slug": "cache",
453+
"cmd_path": "cli\/cache",
454+
"parent": "cli",
455+
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/cli\/cache.md",
456+
"repo_url": "https:\/\/github.com\/wp-cli\/wp-cli"
457+
},
450458
"cli\/check-update": {
451459
"title": "cli check-update",
452460
"slug": "check-update",
@@ -983,6 +991,14 @@
983991
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/embed\/provider.md",
984992
"repo_url": "https:\/\/github.com\/wp-cli\/embed-command"
985993
},
994+
"i18n\/make-json": {
995+
"title": "i18n make-json",
996+
"slug": "make-json",
997+
"cmd_path": "i18n\/make-json",
998+
"parent": "i18n",
999+
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/i18n\/make-json.md",
1000+
"repo_url": "https:\/\/github.com\/wp-cli\/i18n-command"
1001+
},
9861002
"i18n\/make-pot": {
9871003
"title": "i18n make-pot",
9881004
"slug": "make-pot",
@@ -1351,6 +1367,14 @@
13511367
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/post\/edit.md",
13521368
"repo_url": "https:\/\/github.com\/wp-cli\/entity-command"
13531369
},
1370+
"post\/exists": {
1371+
"title": "post exists",
1372+
"slug": "exists",
1373+
"cmd_path": "post\/exists",
1374+
"parent": "post",
1375+
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/post\/exists.md",
1376+
"repo_url": "https:\/\/github.com\/wp-cli\/entity-command"
1377+
},
13541378
"post\/generate": {
13551379
"title": "post generate",
13561380
"slug": "generate",
@@ -1935,6 +1959,14 @@
19351959
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/transient\/get.md",
19361960
"repo_url": "https:\/\/github.com\/wp-cli\/cache-command"
19371961
},
1962+
"transient\/list": {
1963+
"title": "transient list",
1964+
"slug": "list",
1965+
"cmd_path": "transient\/list",
1966+
"parent": "transient",
1967+
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/transient\/list.md",
1968+
"repo_url": "https:\/\/github.com\/wp-cli\/cache-command"
1969+
},
19381970
"transient\/set": {
19391971
"title": "transient set",
19401972
"slug": "set",
@@ -2167,6 +2199,22 @@
21672199
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/widget\/update.md",
21682200
"repo_url": "https:\/\/github.com\/wp-cli\/widget-command"
21692201
},
2202+
"cli\/cache\/clear": {
2203+
"title": "cli cache clear",
2204+
"slug": "clear",
2205+
"cmd_path": "cli\/cache\/clear",
2206+
"parent": "cli\/cache",
2207+
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/cli\/cache\/clear.md",
2208+
"repo_url": "https:\/\/github.com\/wp-cli\/wp-cli"
2209+
},
2210+
"cli\/cache\/prune": {
2211+
"title": "cli cache prune",
2212+
"slug": "prune",
2213+
"cmd_path": "cli\/cache\/prune",
2214+
"parent": "cli\/cache",
2215+
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/cli\/cache\/prune.md",
2216+
"repo_url": "https:\/\/github.com\/wp-cli\/wp-cli"
2217+
},
21702218
"comment\/meta\/add": {
21712219
"title": "comment meta add",
21722220
"slug": "add",
@@ -2319,14 +2367,6 @@
23192367
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/language\/core\/activate.md",
23202368
"repo_url": "https:\/\/github.com\/wp-cli\/language-command"
23212369
},
2322-
"language\/core\/activate_language": {
2323-
"title": "language core activate_language",
2324-
"slug": "activate_language",
2325-
"cmd_path": "language\/core\/activate_language",
2326-
"parent": "language\/core",
2327-
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/language\/core\/activate_language.md",
2328-
"repo_url": "https:\/\/github.com\/wp-cli\/language-command"
2329-
},
23302370
"language\/core\/install": {
23312371
"title": "language core install",
23322372
"slug": "install",

commands/admin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
1313
| `--path=<path>` | Path to the WordPress files. |
1414
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
1515
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
16-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
16+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
1717
| `--user=<id\|login\|email>` | Set the WordPress user. |
1818
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
1919
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cache/add.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
3939
| `--path=<path>` | Path to the WordPress files. |
4040
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
4141
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
42-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
42+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
4343
| `--user=<id\|login\|email>` | Set the WordPress user. |
4444
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
4545
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cache/decr.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
3636
| `--path=<path>` | Path to the WordPress files. |
3737
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
3838
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
39-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
39+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
4040
| `--user=<id\|login\|email>` | Set the WordPress user. |
4141
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
4242
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cache/delete.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
3030
| `--path=<path>` | Path to the WordPress files. |
3131
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
3232
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
33-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
33+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
3434
| `--user=<id\|login\|email>` | Set the WordPress user. |
3535
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
3636
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cache/flush.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
2121
| `--path=<path>` | Path to the WordPress files. |
2222
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
2323
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
24-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
24+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
2525
| `--user=<id\|login\|email>` | Set the WordPress user. |
2626
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
2727
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cache/get.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
3030
| `--path=<path>` | Path to the WordPress files. |
3131
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
3232
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
33-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
33+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
3434
| `--user=<id\|login\|email>` | Set the WordPress user. |
3535
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
3636
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cache/incr.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
3636
| `--path=<path>` | Path to the WordPress files. |
3737
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
3838
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
39-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
39+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
4040
| `--user=<id\|login\|email>` | Set the WordPress user. |
4141
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
4242
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cache/replace.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
3939
| `--path=<path>` | Path to the WordPress files. |
4040
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
4141
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
42-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
42+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
4343
| `--user=<id\|login\|email>` | Set the WordPress user. |
4444
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
4545
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cache/set.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
3939
| `--path=<path>` | Path to the WordPress files. |
4040
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
4141
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
42-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
42+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
4343
| `--user=<id\|login\|email>` | Set the WordPress user. |
4444
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
4545
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cache/type.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
1919
| `--path=<path>` | Path to the WordPress files. |
2020
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
2121
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
22-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
22+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
2323
| `--user=<id\|login\|email>` | Set the WordPress user. |
2424
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
2525
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cap/add.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
3434
| `--path=<path>` | Path to the WordPress files. |
3535
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
3636
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
37-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
37+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
3838
| `--user=<id\|login\|email>` | Set the WordPress user. |
3939
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
4040
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cap/list.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
4545
| `--path=<path>` | Path to the WordPress files. |
4646
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
4747
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
48-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
48+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
4949
| `--user=<id\|login\|email>` | Set the WordPress user. |
5050
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
5151
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cap/remove.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
2525
| `--path=<path>` | Path to the WordPress files. |
2626
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
2727
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
28-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
28+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
2929
| `--user=<id\|login\|email>` | Set the WordPress user. |
3030
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
3131
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cli.md

+4
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ Review current WP-CLI info, check for updates, or see defined aliases.
1919
New version works. Proceeding to replace.
2020
Success: Updated WP-CLI to 0.24.1.
2121

22+
# Clear the internal WP-CLI cache.
23+
$ wp cli cache clear
24+
Success: Cache cleared.
25+
2226

commands/cli/alias.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
List available WP-CLI aliases.
44

5-
Aliases are shorthand references to WordPress installs. For instance, `@dev` could refer to a development install and `@prod` could refer to a production install. This command gives you visibility in what registered aliases you have available.
5+
Aliases are shorthand references to WordPress installations. For instance, `@dev` could refer to a development installation and `@prod` could refer to a production installation. This command gives you visibility in what registered aliases you have available.
66

77
### OPTIONS
88

@@ -21,6 +21,7 @@ options:
2121
# List all available aliases.
2222
$ wp cli alias
2323
---
24+
2425
@all: Run command against every registered alias.
2526
@prod:
2627
ssh: runcommand@runcommand.io~/webapps/production
@@ -39,7 +40,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
3940
| `--path=<path>` | Path to the WordPress files. |
4041
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
4142
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
42-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
43+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
4344
| `--user=<id\|login\|email>` | Set the WordPress user. |
4445
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
4546
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

commands/cli/cache.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# wp cli cache
2+
3+
Manages the internal WP-CLI cache,.
4+
5+
### EXAMPLES
6+
7+
# Remove all cached files.
8+
$ wp cli cache clear
9+
Success: Cache cleared.
10+
11+
# Remove all cached files except for the newest version of each one.
12+
$ wp cli cache prune
13+
Success: Cache pruned.
14+
15+
16+
17+

commands/language/core/activate_language.md commands/cli/cache/clear.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# wp language core activate_language
2-
1+
# wp cli cache clear
32

3+
Clear the internal cache.
44

5+
### EXAMPLES
56

7+
$ wp cli cache clear
8+
Success: Cache cleared.
69

710
### GLOBAL PARAMETERS
811

@@ -13,7 +16,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
1316
| `--path=<path>` | Path to the WordPress files. |
1417
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
1518
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
16-
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
19+
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
1720
| `--user=<id\|login\|email>` | Set the WordPress user. |
1821
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
1922
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |

0 commit comments

Comments
 (0)