Skip to content

Commit c7743d6

Browse files
pkevankraftbj
andauthoredMar 10, 2025··
Fix typos in PHP files (#78)
* fix typos * phpcs * PHPCS * Update docs, see #77 --------- Co-authored-by: Brandon Kraft <public@brandonkraft.com>
1 parent 31670e3 commit c7743d6

File tree

73 files changed

+227
-244
lines changed

Some content is hidden

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

73 files changed

+227
-244
lines changed
 

‎docs/code-reference/acf-field-group-functions-file.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ acf_get_raw_field_groups
9292

9393
acf_filter_field_groups
9494

95-
* Returns a filtered aray of field groups based on the given $args.
95+
* Returns a filtered array of field groups based on the given $args.
9696
* @date 29/11/2013
9797
* @since ACF 5.0.0
9898
* @param array $field_groups An array of field groups.
@@ -259,7 +259,7 @@ acf_prepare_field_group_for_import
259259

260260
acf_import_field_group
261261

262-
* Imports a field group into the databse.
262+
* Imports a field group into the database.
263263
* @date 11/03/2014
264264
* @since ACF 5.0.0
265265
* @param array $field_group The field group array.

‎docs/code-reference/acf-helper-functions-file.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ acf_enable_filter
7474
* Enables a filter with the given name.
7575
* @date 14/7/16
7676
* @since ACF 5.4.0
77-
* @param string name The modifer name.
77+
* @param string $name The modifier name.
7878
* @return void
7979

8080
## `acf_disable_filter()`
@@ -84,7 +84,7 @@ acf_disable_filter
8484
* Disables a filter with the given name.
8585
* @date 14/7/16
8686
* @since ACF 5.4.0
87-
* @param string name The modifer name.
87+
* @param string $name The modifier name.
8888
* @return void
8989

9090
## `acf_is_filter_enabled()`
@@ -94,7 +94,7 @@ acf_is_filter_enabled
9494
* Returns the state of a filter for the given name.
9595
* @date 14/7/16
9696
* @since ACF 5.4.0
97-
* @param string name The modifer name.
97+
* @param string $name The modifier name.
9898
* @return array
9999

100100
## `acf_get_filters()`
@@ -113,7 +113,7 @@ acf_set_filters
113113
* Sets an array of filter states.
114114
* @date 14/7/16
115115
* @since ACF 5.4.0
116-
* @param array $filters An Array of modifers
116+
* @param array $filters An Array of modifiers.
117117
* @return array
118118

119119
## `acf_disable_filters()`
@@ -132,7 +132,7 @@ acf_enable_filters
132132
* Enables all or an array of specific filters and returns the previous state.
133133
* @date 14/7/16
134134
* @since ACF 5.4.0
135-
* @param array $filters An Array of modifers
135+
* @param array $filters An Array of modifiers.
136136
* @return array
137137

138138
## `acf_idval()`
@@ -221,7 +221,7 @@ Returns the length of a string that has been submitted via $_POST.
221221
1. Unslash the string because posted values will be slashed.
222222
2. Decode special characters because wp_kses() will normalize entities.
223223
3. Treat line-breaks as a single character instead of two.
224-
4. Use mb_strlen() to accomodate special characters.
224+
4. Use mb_strlen() to accommodate special characters.
225225

226226
* @date 04/06/2020
227227
* @since ACF 5.9.0

0 commit comments

Comments
 (0)
Please sign in to comment.