-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed README.md and readme.txt; new screenshots #415
Conversation
Documentation for the plugin resides in mulitple places - auth0.com docs, wp.org readme, GitHub readme - and this commit is part of an on- going effort to consolidate and clarify. This commit removes the installation instructions on wp.org, pointing to the docs site instead. It also updates the screenshots and adds information about support to the FAQs. This commit also clearly points the GitHub readme to docs in a few cases and updates the dev instructions.
README.md
Outdated
Authorization: Bearer ##jwt## | ||
``` | ||
We're happy to review and approve new filters and actions that help you integrate even further in this plugin. Please | ||
see the **Contributing** section below for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra whitespace before see
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably unwanted new line too.
README.md
Outdated
|
||
Thank you in advance! | ||
1. `mkdir wp-doc-root; cd wp-doc-root; mkdir wp;` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might want to put them all inside a code block to highlight the syntax
mkdir wp-doc-root; cd wp-doc-root; mkdir wp;
mkdir wp-content; mkdir wp-content/themes; mkdir wp-content/plugins;
git clone https://github.com/WordPress/WordPress.git wp; # takes a while
cp ./wp/wp-config-sample.php ./wp-config.php; # edit to add MySQL DB info and set "WP_DEBUG" to TRUE
# You can even have one comment per line to be more clear about what the command is doing
cp ./wp/index.php ./index.php; # replace "/wp-blog-header.php" with "/wp/wp-blog-header.php"
git clone https://github.com/joshcanhelp/auth0-wp-test.git ./wp-content/themes/auth0-wp-test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just had this as a list for order-of-ops but I like the block better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also comments are ignored in the shell so copy pasting the whole block would work OOTB if you keep line comments.
README.md
Outdated
## Issue Reporting | ||
|
||
If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues. | ||
If you find a bug or if you have a feature request, please report them in [Issues for this repo](https://github.com/auth0/wp-auth0/issues). Please do not report security vulnerabilities in a public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it looks better this way:
...report them in the issues tab
readme.txt
Outdated
1. On the Settings of the Auth0 application change the Callback URL to be: `http:https://your-domain/index.php?auth0=1`. Using **TLS/SSL** is **recommended for production**. | ||
1. Go back to WordPress `Settings` - `Auth0 Settings` edit the *Domain*, *Client ID* and *Client Secret* with the ones you copied from Auth0 Dashboard. | ||
Please see the Auth0 Docs site for [complete installation and configuration instructions](https://auth0 | ||
.com/docs/cms/wordpress/installation). | ||
|
||
== Screenshots == |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this section for, if you have removed the embedded ones above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Standard section folks look for on the WP.org repo
e2a2fca
to
67c7707
Compare
67c7707
to
0fef41e
Compare
0fef41e
to
6264e02
Compare
README.md
Outdated
@@ -66,7 +73,7 @@ $ stylus -w -o initial-setup.css initial-setup/main.styl | |||
|
|||
## Issue Reporting | |||
|
|||
If you find a bug or if you have a feature request, please report them in [Issues for this repo](https://github.com/auth0/wp-auth0/issues). Please do not report security vulnerabilities in a public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues. | |||
If you find a bug or if you have a feature request, please report them in the [Issues tab](issues). Please do not report security vulnerabilities in a public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this link is going to work. Better put the full URL here.
README.md
Outdated
@@ -34,18 +31,28 @@ We're happy to review and approve new filters and actions that help you integrat | |||
with a feature add or bug fix are difficult to review and may be rejected | |||
* Use the latest version of WordPress and turn `WP_DEBUG` on | |||
* If other plugins are installed during testing that might affect behavior, please list those in the PR description | |||
* Make sure to test against the lowest PHP version supported (see `Requires PHP:` [here](https://github.com/auth0/wp-auth0/blob/master/readme.txt#L5)) | |||
* Make sure to test against the lowest PHP version supported (see `Requires PHP:` [here](blob/master/readme.txt#L5)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work. Either full URL or relative from the root like this -> readme.txt
. Note using "relative" won't work for different branches than the default one.
6264e02
to
b54ce64
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Let's test the links once merged just to be sure 👍
README.md (used here on GH):
readme.txt (used on WP.org plugin page):