Skip to content

Commit

Permalink
Merge pull request #47 from wp-cli/scaffold-readme-github-11-20
Browse files Browse the repository at this point in the history
Update scaffolded README and GitHub configuration
  • Loading branch information
danielbachhuber authored Nov 21, 2017
2 parents 1268214 + fb35bdc commit 6662f25
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

Thanks for submitting a pull request!

Please review our contributing guidelines if you haven't recently: https://make.wordpress.org/cli/handbook/contributing/#creating-a-pull-request

Here's an overview to our process:

1. One of the project committers will soon provide a code review.
2. You are expected to address the code review comments in a timely manner.
1. One of the project committers will soon provide a code review: https://make.wordpress.org/cli/handbook/code-review/
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).
3. Please make sure to include functional tests for your changes.
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).

Expand Down
32 changes: 32 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Used by Probot Settings: https://probot.github.io/apps/settings/
repository:
description: Download, install, update and manage a WordPress install.
labels:
- name: scope:documentation
color: 0e8a16
- name: scope:testing
color: 5319e7
- name: good-first-issue
color: eb6420
- name: state:unconfirmed
color: bfe5bf
- name: state:unsupported
color: bfe5bf
- name: command:core-check-update
color: c5def5
- name: command:core-download
color: c5def5
- name: command:core-install
color: c5def5
- name: command:core-is-installed
color: c5def5
- name: command:core-multisite-convert
color: c5def5
- name: command:core-multisite-install
color: c5def5
- name: command:core-update
color: c5def5
- name: command:core-update-db
color: c5def5
- name: command:core-version
color: c5def5
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ to communicate whether WordPress is installed.

### wp core multisite-convert

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

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

[Review the multisite documentation](https://codex.wordpress.org/Create_A_Network)
for more details about how multisite works.

**OPTIONS**

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

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


Expand Down
2 changes: 1 addition & 1 deletion src/WP_CLI/CoreUpgrader.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function upgrade( $current, $args = array() ) {
/**
* 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.
*/
static public function error_handler( int $errno, string $errstr, string $errfile, int $errline, array $errcontext = null ) {
static public function error_handler( $errno, $errstr, $errfile, $errline, $errcontext = null ) {
// If ignoring E_USER_WARNING | E_USER_NOTICE, default.
if ( ! ( error_reporting() & $errno ) ) {
return false;
Expand Down

0 comments on commit 6662f25

Please sign in to comment.