Skip to content

sanitize_text_field_by_reference is a method, not a function.#344

Open
david-binda wants to merge 1 commit into
developfrom
fix/343-invalid-callback-for-array-walk
Open

sanitize_text_field_by_reference is a method, not a function.#344
david-binda wants to merge 1 commit into
developfrom
fix/343-invalid-callback-for-array-walk

Conversation

@david-binda
Copy link
Copy Markdown

using array( $this, 'sanitize_text_field_by_reference' ) instead of sanitize_text_field_by_reference as a callback param of array_walk_recursive

This bug was introduced while addressing the VIP code review feedback

fixes #343

using `array( $this, 'sanitize_text_field_by_reference' )` instead of `sanitize_text_field_by_reference` as a callback param of `array_walk_recursive`

fixes #343
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants