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

Nefukční register activation hook #24

Closed
jakubboucek opened this issue Oct 13, 2019 · 0 comments · Fixed by #26
Closed

Nefukční register activation hook #24

jakubboucek opened this issue Oct 13, 2019 · 0 comments · Fixed by #26
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jakubboucek
Copy link
Member

jakubboucek commented Oct 13, 2019

V kódu se nastavuje register activation hook, ale v argumentu $file se posílá jméno souboru, které nesplňuje požadavek na main plugin file, jak uvádí dokumentace.

register_activation_hook( __FILE__, [ $this, 'ssc_activation_hook' ] );

@jakubboucek jakubboucek added the bug Something isn't working label Oct 13, 2019
@jakubboucek jakubboucek self-assigned this Oct 13, 2019
jakubboucek added a commit that referenced this issue Oct 13, 2019
jakubboucek added a commit that referenced this issue Oct 13, 2019
jakubboucek added a commit that referenced this issue Oct 13, 2019
jakubboucek added a commit that referenced this issue Oct 14, 2019
@jakubboucek jakubboucek added this to the v2.1.0 milestone Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant