WordPress.org

Support

Support » Plugins and Hacks » Ultimate Blogroll » [Resolved] Error in UbLinkpartnerMapper.php, i think..

[Resolved] Error in UbLinkpartnerMapper.php, i think..

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author jensg

    @jensg

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

    Plugin Author jensg

    @jensg

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Error in UbLinkpartnerMapper.php, i think..’ is closed to new replies.
Skip to toolbar