WordPress.org

Ready to get started?Download WordPress

Forums

WP-CMS Post Control
restrictions on pages not working with WP 3.0 multisites? (7 posts)

  1. zawiw
    Member
    Posted 4 years ago #

    Hi,

    I installed wp-cms-post-control on a fresh install of WP 3.0 with multisites enabled.

    The post control restrictions on articles work fine (except that I have to set them for every new blog again, but that's ok). On pages, wp-cms-post-control seems to have no effect, every controls are available no matter what I configure in wp-cms-post control.

    Can anyone reproduce this issue and tell me what to do?

    Thanks in advance.

    http://wordpress.org/extend/plugins/wp-cms-post-control/

  2. Gunu
    Member
    Posted 4 years ago #

    Same problem here all works for postst but not for pages in WP 3.

    Tested it with the same theme in WP 2.9.1 and then it works for posts and pages.

  3. ben_allison
    Member
    Posted 3 years ago #

    Same for me. Posts, fine. Pages, no go.

  4. Gunu
    Member
    Posted 3 years ago #

    Found this:

    change in wp-cms-control.php the following lines:

    line 48 and line 49

    add_action('load-page.php', array $wpcms_pcontrol_doit, 'pccore_page'));
    	add_action('load-page-new.php', array($wpcms_pcontrol_doit, 'pccore_page'));

    into

    add_action('load-post.php', array($wpcms_pcontrol_doit, 'pccore_page'));
    	add_action('load-post-new.php', array($wpcms_pcontrol_doit, 'pccore_page'));

    Here it works

  5. jonnyauk
    Member
    Plugin Author

    Posted 3 years ago #

    Indeed it does (one of first things I tried!) Strange quick fix - I was working on something much more complex to fix this;)

    I've now updated the plugin to v2.3 which should fix the page issue and also a couple of other bugs and refinements.

  6. zawiw
    Member
    Posted 3 years ago #

    Thanks for your help.

    Unfortunaterly, WordPress thinks v2.3 is older than v2.22 which I've installed (2.2.2 < 2.3 but 2.22 > 2.3) so I had to update manually.

  7. jonnyauk
    Member
    Plugin Author

    Posted 3 years ago #

    Zawiw - just following up on this, I've just updated the plugin to v2.4, I'm hoping this will fix the automatic WordPress update moving forward for everyone (and your manual update issue).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic