WordPress.org

Forums

Pagerank tools
[resolved] Globals defined in the wrong place! (2 posts)

  1. Steve
    Member
    Posted 4 years ago #

    The pagerank-tools.php contains the following:

    $prtools_url_table=$wpdb->prefix."prtools_url";
    $prtools_pr_table=$wpdb->prefix."prtools_pr";
    
    global $prtools_url_table;
    global $prtools_pr_table;

    which basically defines the variables - and then sets them as globals : which redefines them as null;

    The code needs to be :

    global $prtools_url_table;
    global $prtools_pr_table;
    
    $prtools_url_table=$wpdb->prefix."prtools_url";
    $prtools_pr_table=$wpdb->prefix."prtools_pr"

    http://wordpress.org/extend/plugins/pagerank-tools/

  2. mahype
    Member
    Plugin Author

    Posted 4 years ago #

    Thank you! The changes will be inserted in the next version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pagerank tools
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic