WordPress.org

Ready to get started?Download WordPress

Forums

Page Tagger
[resolved] Plugin changes global $wp_version (3 posts)

  1. ttrl
    Member
    Posted 1 year ago #

    Hi,

    I#m not sure, but on my WordPress installation the line 51 in page-tagger.php: "$wp_version = floatval(get_bloginfo('version'));" changes $wp_version globally to a float. Other plugins have issues with this.

    Am I right?

    Best
    Tino

    http://wordpress.org/extend/plugins/page-tagger/

  2. Ov3rfly
    Member
    Posted 1 year ago #

    You are right, this should be fixed asap!

    It breaks the version display in backend footer and "Right Now" panel, the revision is not visible any more, e.g. shows 3.4 instead of 3.4.2

    Old:

    $wp_version = floatval(get_bloginfo('version'));
    if (3 <= $wp_version)

    Suggested quick-fix:

    // $wp_version = floatval(get_bloginfo('version'));
    if (3 <= floatval(get_bloginfo('version')))

    Actually that whole version compare mechanism should be rewritten...

  3. hiddentao
    Member
    Plugin Author

    Posted 1 year ago #

    This is now fixed in the latest release. Thanks for reporting it!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic