WordPress.org

Forums

Ultimate Blogroll
[resolved] Error in UbLinkpartnerMapper.php, i think.. (3 posts)

  1. syndrael
    Member
    Posted 2 years ago #

    Line 162, why constant variables instead of:
    $data = array(
    'website_owner_name' => $your_name,
    'website_owner_email' => $your_email,
    'website_name' => $website_title,
    'website_description' => $website_description,
    'website_domein' => str_replace('www.', '', $domain),
    'website_url' => $website_url,
    'website_backlink' => $reciprocal,
    'website_last_update' => time(),
    'website_change_id' => UbMapper::getInstance(UbMapper::Install)->makeRandom(50),
    'website_date_added' => time(),
    'website_has_backlink' => $has_link_back,
    'website_ip' => $_SERVER['REMOTE_ADDR'],
    'website_image' => $image
    );

    Best regards
    S.

    http://wordpress.org/extend/plugins/ultimate-blogroll/

  2. jensg
    Member
    Plugin Author

    Posted 2 years ago #

    It is some sort of legacy code, I refactored it a couple of times. Could you elaborate more on what you mean?

  3. jensg
    Member
    Plugin Author

    Posted 2 years ago #

    I thought you were talking about the values, but indeed the keys should have been strings.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ultimate Blogroll
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.