Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author WPChef

    (@wpchefgadget)

    Marcio, thank you for bringing this up to our attention. We are working on adding “Must Use” in the next release, which will be out very soon.

    Plugin Author WPChef

    (@wpchefgadget)

    Hey Marcio,

    Did you try pulling all plugin contents into the mu-plugins folder, like this?:
    – mu-plugins
    — assets
    — core
    — languages
    — views
    — limit-login-attempts-reloaded.php
    — readme.txt

    It should work this way. Do you have any issues with such a setup? Please let us know.

    Thread Starter Márcio Duarte

    (@pagelab)

    Yes, I tried, but it didn’t work. I got this error message:

    ( ! ) Parse error: syntax error, unexpected T_STRING in /app/public/wp-content/mu-plugins/limit-login-attempts-reloaded.php on line 35

    Thanks for the fast response!

    Plugin Author WPChef

    (@wpchefgadget)

    Marcio,

    What PHP version are you currently running?

    You just need to add a stub file in wp-content/mu-plugins in order for this to work, Marcio. Install the plugin itself in wp-content/mu-plugins/limit-login-attempts-reloaded/ and then create a file called wp-content/mu-plugins/limit-login-attempts-reloaded.php containing:

    <?php
    /**
     * Plugin Name:  Limit Login Attempts Reloaded Loader
     * Plugin URI:   https://www.ads-software.com/plugins/limit-login-attempts-reloaded/
     * Description:  Loads LLAR
     * Version:      2.0.0
     * Author:       wpchef
     * Author URI:   https://www.www.ads-software.com
     * License:      GPLv2 or later
     */
    
    require_once __DIR__ . '/limit-login-attempts-reloaded/limit-login-attempts-reloaded.php';
    Thread Starter Márcio Duarte

    (@pagelab)

    @wpchef I’m using PHP version 5.6.20

    @doug That did it, thanks! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Doesn't work as a "Must Use" plugin’ is closed to new replies.