Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function stubs for deprecated hook calls #69

Merged

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Oct 29, 2019

Function set completeness.

This allows for calls to do_action_deprecated() and apply_filters_deprecated() to be registered and expectations set for these.

This does not include testing that the deprecation notices are being thrown correctly, but as that's WP Core functionality, that shouldn't be tested here anyway.

Refs:

Function set completeness.

This allows for calls to `do_action_deprecated()` and `apply_filters_deprecated()` to be registered and expectations set for these.

This does not include testing that the deprecation notices are being thrown correctly.

Refs:
* https://developer.wordpress.org/reference/functions/do_action_deprecated/
* https://developer.wordpress.org/reference/functions/apply_filters_deprecated/
@jrfnl jrfnl mentioned this pull request Nov 12, 2019
@gmazzap
Copy link
Collaborator

gmazzap commented Nov 24, 2019

Love it. Thanks!

@gmazzap gmazzap merged commit c916d1e into Brain-WP:master Nov 24, 2019
@jrfnl jrfnl deleted the feature/add-deprecated-hook-function-stubs branch November 24, 2019 17:43
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.

None yet

2 participants