WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. syndrael
    Member
    Posted 1 year 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 1 year 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 1 year 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

About this Topic

Tags

No tags yet.