Skip to content

Commit 6662f25

Browse files
Merge pull request #47 from wp-cli/scaffold-readme-github-11-20
Update scaffolded README and GitHub configuration
2 parents 1268214 + fb35bdc commit 6662f25

File tree

4 files changed

+43
-6
lines changed

4 files changed

+43
-6
lines changed

.github/PULL_REQUEST_TEMPLATE

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

33
Thanks for submitting a pull request!
44

5+
Please review our contributing guidelines if you haven't recently: https://make.wordpress.org/cli/handbook/contributing/#creating-a-pull-request
6+
57
Here's an overview to our process:
68

7-
1. One of the project committers will soon provide a code review.
8-
2. You are expected to address the code review comments in a timely manner.
9+
1. One of the project committers will soon provide a code review: https://make.wordpress.org/cli/handbook/code-review/
10+
2. You are expected to address the code review comments in a timely manner (if we don't hear from you in two weeks, we'll consider your pull request abandoned).
911
3. Please make sure to include functional tests for your changes.
1012
4. The reviewing committer will merge your pull request as soon as it passes code review (and provided it fits within the scope of the project).
1113

.github/settings.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Used by Probot Settings: https://probot.github.io/apps/settings/
2+
repository:
3+
description: Download, install, update and manage a WordPress install.
4+
labels:
5+
- name: scope:documentation
6+
color: 0e8a16
7+
- name: scope:testing
8+
color: 5319e7
9+
- name: good-first-issue
10+
color: eb6420
11+
- name: state:unconfirmed
12+
color: bfe5bf
13+
- name: state:unsupported
14+
color: bfe5bf
15+
- name: command:core-check-update
16+
color: c5def5
17+
- name: command:core-download
18+
color: c5def5
19+
- name: command:core-install
20+
color: c5def5
21+
- name: command:core-is-installed
22+
color: c5def5
23+
- name: command:core-multisite-convert
24+
color: c5def5
25+
- name: command:core-multisite-install
26+
color: c5def5
27+
- name: command:core-update
28+
color: c5def5
29+
- name: command:core-update-db
30+
color: c5def5
31+
- name: command:core-version
32+
color: c5def5

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ to communicate whether WordPress is installed.
183183

184184
### wp core multisite-convert
185185

186-
Transform a single-site install into a WordPress multisite install.
186+
Transforms an existing single-site install into a multisite install.
187187

188188
~~~
189189
wp core multisite-convert [--title=<network-title>] [--base=<url-path>] [--subdomains]
@@ -195,6 +195,9 @@ to wp-config.php.
195195
For those using WordPress with Apache, remember to update the `.htaccess`
196196
file with the appropriate multisite rewrite rules.
197197

198+
[Review the multisite documentation](https://codex.wordpress.org/Create_A_Network)
199+
for more details about how multisite works.
200+
198201
**OPTIONS**
199202

200203
[--title=<network-title>]
@@ -319,7 +322,7 @@ update isn't actually running.
319322
Downloading update from https://downloads.wordpress.org/release/wordpress-4.5.2-no-content.zip...
320323
Unpacking the update...
321324
Cleaning up files...
322-
No files found that need cleaned up
325+
No files found that need cleaning up
323326
Success: WordPress updated successfully.
324327

325328
# Update WordPress to latest version of 3.8 release
@@ -338,7 +341,7 @@ update isn't actually running.
338341
Updating to version 3.1 (en_US)...
339342
Downloading update from https://wordpress.org/wordpress-3.1.zip...
340343
Unpacking the update...
341-
Warning: Failed to fetch checksums. Please cleanup files manually.
344+
Warning: Checksums not available for WordPress 3.1/en_US. Please cleanup files manually.
342345
Success: WordPress updated successfully.
343346

344347

src/WP_CLI/CoreUpgrader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function upgrade( $current, $args = array() ) {
124124
/**
125125
* Error handler to ignore failures on accessing SSL "https://api.wordpress.org/core/checksums/1.0/" in `get_core_checksums()` which seem to occur intermittently.
126126
*/
127-
static public function error_handler( int $errno, string $errstr, string $errfile, int $errline, array $errcontext = null ) {
127+
static public function error_handler( $errno, $errstr, $errfile, $errline, $errcontext = null ) {
128128
// If ignoring E_USER_WARNING | E_USER_NOTICE, default.
129129
if ( ! ( error_reporting() & $errno ) ) {
130130
return false;

0 commit comments

Comments
 (0)