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 support for 3.9's handling of symlinked plugins #1019

merged 2 commits into from Feb 15, 2014


3 participants

johnpbloch commented Feb 15, 2014

This defines the $wp_plugin_paths global array and adds calls to wp_register_plugin_realpath() if the function exists.

This pull request is related to wp-cli/wp-cli#1015

johnpbloch added some commits Feb 15, 2014

Define the $wp_plugin_paths global array
This fixes the Invalid argument supplied for foreach() warnings generated by `plugin_basename()`. Related to wp-cli/wp-cli#1015
Add support for symlinking plugins if available
Adds support for the (new in 3.9) automatic detection and handling of symlinked plugins.

Related to wp-cli/wp-cli#1015

@danielbachhuber danielbachhuber added this to the next milestone Feb 15, 2014

scribu pushed a commit that referenced this pull request Feb 15, 2014

Cristi Burcă
Merge pull request #1019 from johnpbloch/wp_plugin_paths
Add support for 3.9's handling of symlinked plugins

@scribu scribu merged commit 4dfa003 into wp-cli:master Feb 15, 2014

1 check passed

default The Travis CI build passed

@johnpbloch johnpbloch deleted the johnpbloch:wp_plugin_paths branch Feb 18, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment