Clarify packaging dotorg instructions.

This commit is contained in:
Jeff Ong 2020-11-04 12:58:38 -05:00 committed by GitHub
parent cec7fd6e7e
commit 916a0c6e04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,9 +54,9 @@ Now when you commit changes to a file PHPCBF will attempt to fix any issues with
## Packaging for WordPress.org Themes Showcase
The code in this repository mirrors the code needed to function correctly on WordPress.com. To prepare a theme.zip that passes the theme review automated test, do the following:
The code in this repository mirrors the code needed for the theme to function correctly on _WordPress.com_. To prepare a theme.zip that passes the _WordPress.org_ theme review automated test, do the following:
- From the top-level directory: `./package-dotorg [theme-slug]`
- From the top-level directory, run `./package-dotorg.sh [theme-slug]`
- View the generated zip in the respective theme's sub-directory
Note that this script rebuilds the theme stripping it of .com-specific functionality, and discards any changes via git after doing so. I.e. make sure that you have any working changes committed before running this script.
Note that this script rebuilds the theme to strip it of .com-specific functionality, and discards any changes via git after doing so. _Make sure you have committed any working changes before running this script._