Forums

WordPress Access Control
[resolved] Upgrade to 3.0.4 (6 posts)

  1. giadrago
    Member
    Posted 12 months ago #

    I get the same 2 errors with version 3.0.3.

    I see that version 3.0.4 will “Fix a PHP issue if a second argument wasn’t supplied to several functions”, but when I download http://downloads.wordpress.org/plugin/wordpress-access-control.3.0.4.zip, I find still version 3.0.3 inside the packet.

    So I temporarily edited the plugin code:

    line 496
    from: function posts_join_paged( $join, $query )
    to: function posts_join_paged( $join )

    line 509
    from: function posts_where_paged( $where, $query )
    to: function posts_where_paged( $where )

    I hope this doesn't hurt too much other functions.

    http://wordpress.org/extend/plugins/wordpress-access-control/

  2. Brandon Wamboldt
    Member
    Posted 12 months ago #

    This issue has been fixed in 3.0.4 (You may have to wait several minutes for the update to show in the plugin directory). Those two functions were only introduced in 3.0.3 and for some reason I didn't catch those errors.

  3. Navjot Singh
    Member
    Posted 12 months ago #

    Checked the download and the file. Plugin File says version 3.0.4 but the bug is still there. Please recheck.

    http://plugins.trac.wordpress.org/browser/wordpress-access-control/tags/3.0.4/wordpress-access-control.php?rev=393667

  4. giadrago
    Member
    Posted 12 months ago #

    The update appeared in the plugin directory, but as I said the update contains the same files of version 3.0.3.

    I tried updating the plugin in both ways: by direct download from http://downloads.wordpress.org/plugin/wordpress-access-control.3.0.4.zip and via WordPress administrative interface... but the 2 errors are still there and there is no diff between the old file and the new one.

    Brandon, I suppose that in wordpress-access-control.3.0.4.zip you mistakenly packed wordpress-access-control.3.0.3 files.

  5. Brandon Wamboldt
    Member
    Posted 12 months ago #

    You are completely correct. Something messed up when I was copying files over for SVN. 3.0.5 has the correct files.

  6. giadrago
    Member
    Posted 12 months ago #

    Thank you, Brandon! Now it works like a charm.
    [solved]

Reply

You must log in to post.

About this Plugin

About this Topic