WordPress.org

Ready to get started?Download WordPress

Forums

WP-Login.php Line 505 esc_attr() error (1 post)

  1. Granite
    Member
    Posted 5 years ago #

    Hello Folks-
    moved a site over from another domain (different URL) had to change database password and add new db user. modified the wp-config.php file with new user/id. can't log into wp-config.php and when I log into
    mysite.com/wp-login.php

    I get this error

    Fatal error: Call to undefined function esc_attr() in /home/netgurl1/public_html/wp-login.php on line 505

    In ny wp-login.php file, this is what is coded:

    Line 503-506
    <p>
    <label><?php _e('Username') ?>
    <input type="text" name="log" id="user_login" class="input" escvalue="<?php echo esc_attr($user_login); ?>" size="20" tabindex="10" /></label>
    </p>

    Any ideas what might be wrong?

    Can I provide further background on how I may have got here?
    Thanks in advance,
    Lisa

Topic Closed

This topic has been closed to new replies.

About this Topic