Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#44993 closed feature request (invalid)

Unable to log in

Reported by: aceman229's profile aceman229 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Privacy Keywords:
Focuses: Cc:

Description (last modified by allendav)

I have taken over admin duties for I was given the user name REDACTED and password REDACTED but that is not allowing me to log in. The pass administrator is no longer available to reset the password. Please reset the password and send to Aceisan@…

Change History (4)

#1 @garrett-eclipse
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi @aceman229 this Trac instance is for code issues, etc.

You'll want to make a post on the Support Forums to get assistance with this issue;

Sidenote... If you have FTP or cPanel access or access to files you can use PHP to create a new administrator;

// Update username/email/password and place into function.php
add_action('init', 'add_my_user');
function add_my_user() {
    $username = 'username';
    $email = '';
    $password = 'password';

    $user_id = username_exists( $username );
    if ( !$user_id && email_exists($email) == false ) {
        $user_id = wp_create_user( $username, $password, $email );
        if( !is_wp_error($user_id) ) {
            $user = new WP_User($user_id);
            $user->set_role( 'administrator' );

#2 @aceman229
6 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

I do have ftp access but do not see a function.php should I just create it. There is a idex.php

#3 @garrett-eclipse
6 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed

Please open a ticket on the Support Forums as there's numerous helpers there.

As to the functions.php file it will reside within your theme at .../wp-content/themes/<themefolder>/functions.php

Further assistance can be provided via the appropriate Support Forums channel.

#4 @allendav
6 years ago

  • Description modified (diff)

@aceman229 - when you do regain access, please don't use this password again - posts in this forum are NOT hidden from the public. In the meantime, I've REDACTED both your username and password above.

Note: See TracTickets for help on using tickets.