Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7499217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:45:06+00:00 2026-05-29T19:45:06+00:00

I am making a loginform in WORDPRESS and i want to have a validation

  • 0

I am making a loginform in WORDPRESS and i want to have a validation on it, so i tried to look at the wp-login.php to see how they validate things. But i did not find what i am looking for. I would like to know how they validate things or what input do they need to validate things. I tried to search the wordpress forums all i can find is plugin, plugin and more plugin. I dont want a plugin. I want to hardcode it. So please help me.

  1. I want to know where you can find the part that searches for the users username and password.
  2. Or if not , know what is needed for a successful login. example username or password or others.

by the way here is the wp-login.php. THanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T19:45:13+00:00Added an answer on May 29, 2026 at 7:45 pm

    Indeed the auth logic is not located in wp-login.php.

    WordPress relies a lot on hooks (actions and filters). For authentication, this article explain some of the process in wordpress 2.8+. AFAIK this is still the same in 3.x.

    Authentication process is based on the authenticate filter. Two hooks are added in the filter queue :

    • wp_authenticate_username_password() (priority 20) in wp-includes/user.php (line 68)

    • wp_authenticate_cookie() (priority 30) in wp-includes/user.php (line 117)

    See the article for more details.

    I encourage you not to hack the core directly but add some hooks on this filter with higher priorities.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a login form in VB.NET, and I have a table in mysql
I use the Auth component. I have an Ajax login form and I want
Making UI programmatically is very powerful. But is there a way I would have
I've been making this login form in C# and I wanted to 'submit' all
When making relations between tables (in mysql), I have encountered a naming dilemma. For
Im making a login/logout class that logs users in, sets cookies based on user's
I have a login form that is hidden on every page and shows itself
Making a mobile friendly site, I have a single field and a submit button.
I am currently working on a site and i'm making a login system. I
Im making a login form for a webbased game, Styled it very pretty etc.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.