Skip to content

Activation and deactivation hooks use __FILE__. - #5

Merged
michaelryanmcneill merged 1 commit into
michaelryanmcneill:masterfrom
jrchamp:fix_activation_hooks
Aug 24, 2017
Merged

michaelryanmcneill merged 1 commit into
michaelryanmcneill:masterfrom
jrchamp:fix_activation_hooks

Conversation

@jrchamp

@jrchamp jrchamp commented Aug 24, 2017

Copy link
Copy Markdown
Collaborator

This is a simpler/cleaner way to provide the first parameter to register_activiation_hook().

Documentation: https://codex.wordpress.org/Function_Reference/register_activation_hook

@michaelryanmcneill

Copy link
Copy Markdown
Owner

This looks good to me.

@michaelryanmcneill
michaelryanmcneill merged commit cc44090 into michaelryanmcneill:master Aug 24, 2017
@michaelryanmcneill michaelryanmcneill self-assigned this Aug 25, 2017
@michaelryanmcneill
michaelryanmcneill self-requested a review August 25, 2017 03:49
@michaelryanmcneill michaelryanmcneill added this to the 1.9 milestone Aug 25, 2017
@michaelryanmcneill
michaelryanmcneill removed their request for review August 25, 2017 03:49
@michaelryanmcneill michaelryanmcneill modified the milestones: 1.8.1, 1.9 Sep 8, 2017
@jrchamp
jrchamp deleted the fix_activation_hooks branch August 7, 2020 14:16
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.

3 participants