Skip to content

Commit 49ecee0

Browse files
committed
prep readme's for plugin update
1 parent 5932f8b commit 49ecee0

File tree

2 files changed

+30
-11
lines changed

2 files changed

+30
-11
lines changed

README.md

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,30 @@ From your WordPress dashboard
2929
## Where do I get the field data from?
3030

3131
### Webhook Build
32+
3233
1. **Visit** Netlify > Site-Name > Settings > Build & Deploy
3334
2. **Create** A Build Hook (or use an existing hook)
3435
3. **Copy** The Build Hook URL into the `Webhook Build URL` field
3536

3637
[![Webhook Build URL](https://github.com/lukethacoder/wp-netlify-webhook-deploy/blob/master/assets/screenshot-2.png)](https://github.com/lukethacoder/wp-netlify-webhook-deploy)
3738

3839
### Netlify site_id
40+
3941
1. **Visit** Netlify > Site-Name > Settings
4042
2. **Copy** APP_ID and paste into the `Netlify site_id` field
4143

4244
[![Netlify Site Info](https://github.com/lukethacoder/wp-netlify-webhook-deploy/blob/master/assets/screenshot-3.png)](https://github.com/lukethacoder/wp-netlify-webhook-deploy)
4345

4446
### Netlify API Key
47+
4548
1. **Visit** Netlify > User Settings > Applications > Personal Access Tokens
4649
2. **Create** A Personal Access Token (or use an existing one)
4750
3. **Copy** The token and paste into the `Netlify API Key` field
4851

4952
[![Netlify OAuth Applications](https://github.com/lukethacoder/wp-netlify-webhook-deploy/blob/master/assets/screenshot-1.png)](https://github.com/lukethacoder/wp-netlify-webhook-deploy)
5053

5154
### User-Agent Site Value
55+
5256
1. **Visit** Netlify > Site-Name > Settings
5357
2. **Copy** The Site Name and paste into the `User-Agent Site Value` field
5458
3. **Add** The site url in brackets to the `User-Agent Site Value` field
@@ -62,7 +66,7 @@ From your WordPress dashboard
6266

6367
A deploy button and the status badge of the last build is added to the admin bar. By default this will only be displayed to users that can `manage_options`.
6468

65-
You may allow other user roles with these two filters:
69+
You may allow other user roles with these three filters:
6670

6771
```
6872
add_filter('netlify_status_capability', function() {
@@ -72,9 +76,11 @@ add_filter('netlify_status_capability', function() {
7276
add_filter('netlify_deploy_capability', function() {
7377
return 'edit_pages';
7478
});
75-
```
76-
7779
80+
add_filter('netlify_adjust_settings_capability', function() {
81+
return 'edit_pages';
82+
});
83+
```
7884

7985
---
8086

@@ -86,24 +92,31 @@ Main Plugin page
8692

8793
[![User Page](https://github.com/lukethacoder/wp-netlify-webhook-deploy/blob/master/assets/screenshot-5.jpg)](https://github.com/lukethacoder/wp-netlify-webhook-deploy)
8894

89-
90-
9195
---
9296

9397
## Links
94-
* [Website](https://github.com/lukethacoder/wp-netlify-webhook-deploy)
95-
* [Documentation](https://github.com/lukethacoder/wp-netlify-webhook-deploy)
9698

97-
---
99+
- [Website](https://github.com/lukethacoder/wp-netlify-webhook-deploy)
100+
- [Documentation](https://github.com/lukethacoder/wp-netlify-webhook-deploy)
98101

102+
---
99103

100104
## Changelog
101105

106+
#### 1.1.0
107+
108+
- Add Deploy Button and Deploy Status to admin bar
109+
- Add `manage_options` for devs to manage permissions
110+
- Nice comments in `php` code
111+
- Remove un-needed `add_submenu_items()` params
112+
102113
#### 1.0.0
103-
* Fixed UI
104-
* Seperate Developer Settings and User Build Screen
114+
115+
- Fixed UI
116+
- Seperate Developer Settings and User Build Screen
105117

106118
#### 0.1.0
107-
* Initial Release
119+
120+
- Initial Release
108121

109122
View full changelog: [here](https://github.com/lukethacoder/deploy-webhook-button)

readme.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ From your WordPress dashboard
4141

4242
== Changelog ==
4343

44+
= 1.1.0 =
45+
* Add Deploy Button and Deploy Status to admin bar
46+
* Add `manage_options` for devs to manage permissions
47+
* Nice comments in `php` code
48+
* Remove un-needed `add_submenu_items()` params
49+
4450
= 1.0.0 =
4551
* Fixed UI
4652
* Seperate Developer Settings and User Build Screen

0 commit comments

Comments
 (0)