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

Make it easier to add new WP Super Cache plugins by outside code. #574

Merged
merged 3 commits into from Aug 7, 2018

Commits on Jul 24, 2018

  1. Put plugins in wp-content/plugins/wp-super-cache-plugins/

    Adding new plugins to WP Super Cache to extend it is complicated but
    where they should go should be easy. This patch makes the plugin check
    in a particular directory if it exists and load the PHP files there.
    The files there won't be deleted when WP Super Cache is updated.
    donnchawp committed Jul 24, 2018
    Copy the full SHA
    bbffde0 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2018

  1. Add $wpsc_plugins array with plugins to be loaded

    Add helper functions to add and delete plugin files from the list to be
    loaded by WP Super Cache:
    wpsc_add_plugin( $file );
    wpsc_delete_plugin( $file );
    And this function to return the list of plugins:
    wpsc_get_plugins();
    donnchawp committed Jul 25, 2018
    Copy the full SHA
    e19e505 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2018

  1. Copy the full SHA
    f998270 View commit details
    Browse the repository at this point in the history