Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    *Looks*

    Huh. That’s not cool.

    @jeffparker and @shareaholic Admin notices need to be dismissible without any conditions. Your options are for that admin notice are

    1. OK, you deserve it
    2. No, maybe later
    3. I already did

    You left out this choice.

    “I do not want to leave a review, I do not want to say I did and lie about it, I just want this admin notice to go away and never return. This is a requirement in the Detailed Plugin Guideline. The user (you) have that option as compliance with the Plugin Guidelines is required or my plugin (YARPP) would risk being de-listed in the WordPress plugin repo.”

    See this item.

    https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/#11-plugins-should-not-hijack-the-admin-dashboard

    *Drinks coffee*

    How soon will you fix this?

    Thread Starter S o f t f u l l y

    (@softfully)

    I mean to say that I already liked this plugin and so in admin dashboard doesn’t display but displaying on our subscriber’s dashboard is thing that we don’t like.
    We have more than 500 hundred subscriber’s and how to stop that message in bulk?
    Thank you.

    Plugin Support Michael Nelson

    (@mnelson4)

    Ya I’m sure the YARPP team will address Jan’s request soon.

    Softfully, I’m guessing it was an oversight that this is getting displayed to subscribers, as they probably don’t even know what YARPP is. I bet the YARPP team will get that fixed soon too.

    In the meantime, you can stop the message entirely with the following code snippet:

    function no_yarpp_review(){
        remove_action('admin_notices', array('YARPP_Admin', 'display_review_notice'));
    }
    add_action('admin_init', 'no_yarpp_review', 11);

    You’d need to add that to your theme’s functions.php or in a custom plugin.

    ✌️

    • This reply was modified 6 years, 8 months ago by Michael Nelson. Reason: clarify which "they" I meant
    Thread Starter S o f t f u l l y

    (@softfully)

    Hi, Michael Nelson
    This works very well. (Resolved)
    Thank you very much by Softfully.com Team…

    Plugin Author YARPP

    (@jeffparker)

    v5.1.1, released today, addresses this:

    – Instructions have been added to the Readme (thank you @mnelson4)
    – The notice was/is only displayed to those that have Post Edit rights (edit_posts). So it is a bit surprising that subscribers were seeing this. (they should not have)
    – A fourth clearer option to “Dismiss” the notice has been added.

    Thank you all for making YARPP better!

    dimal

    (@dimalifragis)

    Subsribers DO see the message for sure even with the update. And it doesn’t go away for users. If you press any options it doesn’t do anything, if you press X it appears again after a while.

    Please fix that for real.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Remove this message’ is closed to new replies.