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

Only load s4w_options_init if 'solr-for-wordpress/solr-for-wordpress.php' is equal to $_GET['page'] #56

Merged
merged 4 commits into from Mar 26, 2014

Conversation

alxvallejo
Copy link

's4w_options_init' action will only trigger on the solr options page. The function still immediately looks for $_GET['method'], which on 'init' will be null.

shaksi added a commit that referenced this pull request Mar 26, 2014
Only load s4w_options_init if 'solr-for-wordpress/solr-for-wordpress.php' is equal to $_GET['page']
@shaksi shaksi merged commit 76537e2 into mattweber:master Mar 26, 2014
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