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

  1. giadrago
    Posted 5 years 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.


  2. Brandon Wamboldt
    Plugin Author

    Posted 5 years 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
    Posted 5 years ago #

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


  4. giadrago
    Posted 5 years 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
    Plugin Author

    Posted 5 years 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
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Access Control
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic