• Especially for anyone using WordPress in a professional context, e.g. for clients, this plugin is unusable without manually patching out some code

    Particularly in the file wp-content/plugins/disable-xml-rpc-api/admin/admin.php, you will find the following:

    add_action( 'admin_notices', 'dsxmlrpc_admin_notice_wpsg' );

    Which repeatedly, without any way to disable it permanently, shows an advertisement for a different plugin called WP Security Guard.

    The ad says the following:

    Did you know?
    You can improve your website security by using WP Security Guard!

    Learn more
    Remind Me Later
    Not Intrested!

    The option Not Intrested! did not disable the notification permanently. It came back.

    I’m personally not against being contacted by the author of a plugin I actively use, in order to ask whether I might be interested in a more fully-featured professional product – because I legitimately might be interested, and we pay for a lot of our plugins – but nagging everyone in the admin panel, without being able to turn it off, for a product that isn’t even the same one, without mentioning it at the top of the plugin’s description page as a disclaimer before we install, crossed a line.

    It comes across as unprofessional, without warning, so unusable in a professional context.

    For users with a personal website looking to disable the notification permanently, they can do so via functions.php or a plugin for PHP code snippets with:

    add_action( 'init', function() {
        remove_action( 'admin_notices', 'dsxmlrpc_admin_notice_wpsg' );
    }, 11);

    With this, I hope others are informed.

    Three stars because, without this advertisement, it does what it says.

    • This topic was modified 1 year, 10 months ago by sebastienvercammen.
    • This topic was modified 1 year, 10 months ago by sebastienvercammen.
    • This topic was modified 1 year, 10 months ago by sebastienvercammen. Reason: Clarify title so people don't think advertising happens everywhere on the website
    • This topic was modified 1 year, 10 months ago by sebastienvercammen. Reason: Proper English title
    • This topic was modified 1 year, 10 months ago by sebastienvercammen. Reason: Clarify that we tried the Not Intrested! option
  • The topic ‘Uses your WP to advertise in admin panel’ is closed to new replies.