Skip to content

Commit ce5e6f9

Browse files
committed
Update to support WP 6.3
1 parent 2a15bc7 commit ce5e6f9

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

UPDATING.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Update guide
2+
3+
- change WordPress version in Dockerfile (Major version only)
4+
- run `docker-compose up`
5+
-- installs and sets up the WordPress, database and plugins
6+
-- creates a dev login for WP dashboard
7+
- enable API by changing permalink
8+
- add a custom ACF field
9+
- confirm the outcome from JSON endpoint http://localhost:8080/wp-json/acf/v3/posts
10+
- update version and change log in `readme.txt` and `index.php`
11+
- merge to master
12+
- install SVN (brew install svn) (if required)
13+
- run sh ./release.sh {new version}
14+
-- creates version in SVN
15+
-- pushes new tags into WordPress SVN
16+
-- creates new git tag
17+
-- pushes the change to GitHub

release.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ svn cp svn/trunk "svn/tags/$1"
2929
echo "- Release to SVN remote";
3030
cd svn/
3131
svn ci -m "Release version $1" --username jabranr
32+
33+
echo "- Tag the release and push";
34+
git tag $1 -m "Release v$1"
35+
git push --tags

src/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Plugin URI: https://github.com/jabranr/nullify-empty-fields-for-acf
66
* Description: Set Advanced Custom Fields (ACF) empty field value as <code>null</code> instead of <code>false</code> to avoid GraphQL error in GatsbyJS.
77
* Author: Jabran Rafique <hello@jabran.me>
8-
* Version: 1.2.3
8+
* Version: 1.2.4
99
* Author URI: https://jabran.me?utm_source=nullify-empty-fields-for-acf
1010
* License: MIT License
1111
*

src/readme.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Contributors: jabranr
33
Donate link: https://paypal.me/jabranr
44
Tags: gatsby, graphql, acf, advanced-custom-fields, wordpress
55
Requires at least: 5.0
6-
Tested up to: 6
7-
Stable tag: 1.2.3
6+
Tested up to: 6.3
7+
Stable tag: 1.2.4
88
Requires PHP: 7.1
99
License: MIT License
1010
License URI: https://opensource.org/licenses/MIT
@@ -27,6 +27,9 @@ Set Advanced Custom Fields (ACF) empty field value as `null` instead of `false`
2727

2828
== Changelog ==
2929

30+
= 1.2.4 =
31+
* Support for WordPress 6.3 as previous attempt to support major version only did not work
32+
3033
= 1.2.3 =
3134
* Support for WordPress 6.x
3235

0 commit comments

Comments
 (0)