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

wrapped get_permalink in filter to make it possible to manipulate url #12

Closed
wants to merge 1 commit into from

Conversation

stephan10
Copy link

Changed all get_permalink() calls to apply_filters( 'the_permalink', get_permalink() ).

This was necessary as we were manipulating the url via this filter but this plugin wouldn't change the permalink.

Thanks

@duracelltomi
Copy link
Owner

Code for 1.5 has been finalized, some testing still has to be done.

Would you mind if I would only merge this to v1.6? This means that after v1.5 has been released, you will still need to patch the plugin but after this I am open to merge this into the core.

@stephan10
Copy link
Author

Yeah that is fine. thanks

@duracelltomi duracelltomi added this to the v1.6 milestone Nov 17, 2016
@duracelltomi duracelltomi self-assigned this Nov 17, 2016
@duracelltomi
Copy link
Owner

Since a lot has been changed in woocommerce.php since your commit, I added this filter manually:

ff572de

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