Forums

[Plugin: Compact Archives] Bug with version_check (1 post)

  1. prometh
    Member
    Posted 3 weeks ago #

    On line 99, we have this:

    $below21 = version_compare($wp_version, '2.1','<');

    But it always returns false, even in my 2.8.5 installation. I found that the problem is in the '<'. It needs a space at the end.

    $below21 = version_compare($wp_version, '2.1','< ');

    Because of this bug, I was getting posts from other post_type's.

    If this could get implemented into an official release, that'd be great for everyone.

    http://wordpress.org/extend/plugins/compact-archives/

Reply

You must log in to post.

About this Topic