Skip to content

Commit c4d6dae

Browse files
committed
Merge commit '61be2a39d1515b7e223dafa9b6738ff303a5fdf4' into release/v2.1.0
2 parents bca192b + 61be2a3 commit c4d6dae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1108
-738
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Keep develop in sync with main
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
merge-main-back-to-develop:
10+
timeout-minutes: 2
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
with:
15+
token: ${{ secrets.SYNC_TOKEN }}
16+
- name: Set Git config
17+
run: |
18+
git config --local user.email "[email protected]"
19+
git config --local user.name "Github Actions"
20+
- name: Merge main back to develop
21+
run: |
22+
git fetch --unshallow
23+
git checkout develop
24+
git pull
25+
git merge --no-ff origin/main -m "Auto-merge main back to develop"
26+
git push

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
# WPGraphQL for Advanced Custom Fields
22

3+
![WPGraphQL for ACF plugin banner](/.wordpress-org/banner-1544x500.png)
4+
35
WPGraphQL for Advanced Custom Fields is a free, open-source WordPress plugin that adds ACF Fields and Field Groups to the WPGraphQL Schema.
46

7+
The plugin is [now available on WordPress.org!](https://wordpress.org/plugins/wpgraphql-acf/)
8+
59
Development of this plugin has been made possible by [WP Engine Atlas](https://wpengine.com/atlas)
610

11+
Learn more at [https://acf.wpgraphql.com](https://acf.wpgraphql.com)
12+
713
## Table of Contents
814

915
- [Upgrade Notice](#upgrade-notice)

access-functions.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
<?php
22

33
/**
4-
* @param string $acf_field_type
5-
* @param array|callable $config
6-
*
7-
* @return void
4+
* @param string $acf_field_type
5+
* @param array<mixed>|callable $config
86
*/
97
function register_graphql_acf_field_type( string $acf_field_type, $config = [] ): void {
108
add_action(
119
'wpgraphql/acf/register_field_types',
1210
static function ( \WPGraphQL\Acf\FieldTypeRegistry $registry ) use ( $acf_field_type, $config ) {
1311
$registry->register_field_type( $acf_field_type, $config );
14-
}
12+
}
1513
);
1614
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"appsero/client": "1.2.1"
1515
},
1616
"require-dev": {
17-
"automattic/vipwpcs": "^2.3",
17+
"automattic/vipwpcs": "^3.0",
1818
"lucatume/wp-browser": "3.1.0",
1919
"codeception/module-asserts": "^1.3",
2020
"codeception/module-phpbrowser": "^1.0",

composer.lock

Lines changed: 200 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)