WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
Bulk Page Block Not Working (3 posts)

  1. kingcodefish
    Member
    Posted 1 month ago #

    Thank you for creating this plugin, it works great!
    I have found one issue with it though. If you try blocking several pages as a bulk action it will send you to the "All Posts" page saying this: "3(Or whatever number of pages you tried to block) posts 0.000000e+0d." Then if you go back to the "All Pages" page it will say those pages that you tried to block are now blocked. Then if you look at each of the pages that you just blocked they will say they aren't blocked.

    Trying to bulk action block pages currently doesn't work. You must go into each individual page to block them. Can you fix this problem?

    https://wordpress.org/plugins/wp-members/

  2. Chad Butler
    Member
    Plugin Author

    Posted 1 month ago #

    Thanks for mentioning this. It appears that in general the bulk blocking/unblocking is working. However, there are some cleanup issues that need to be addressed (and will be addressed in an update).

    First, the messaging is not working (which is why you are getting the exponential number as part of the message).

    The other, and more problematic issue is that one method is using "1" as a value and the other is using "true". So there is a compatibility problem with displaying whether a post is blocked or not.

    I'll probably address this in conjunction with another related "issue" - the "block" and "unblock" custom fields are legacy way back to very early versions of the plugin. While I don't usually like to change things like this, we really outgrew using two custom meta fields quite some time ago. I intend to do an update that will do away with "unblock" and simply rely on one meta field. There will be a db update as part of the update so users don't have to go update all their posts. But this will cleanup the plugin, standardize things in a manner compatible with other plugins (such as Advanced Custom Fields), and should also solve the issue in this post.

    So - it's on the list ;-)

  3. kingcodefish
    Member
    Posted 1 month ago #

    Thanks for all your help!

Reply

You must log in to post.

About this Plugin

About this Topic