WordPress.org

Ready to get started?Download WordPress

Ideas

For Ajax need a method to get User Auth/User ID without wp-config.php

  1. Byron
    Member

    To really set WordPress loose as a CMS, we need a method to make Ajax calls and even to have pages that don't load the entire WordPress application (as calling wp-config does), but yet can give you whether user is logged in or not and give you the User's ID.

    I have done this for my to-do list site that is built on WordPress authentication, but I fear that future upgrades will break my hack. I also use CodeIgniter's Active Record implementation for the DB layer. Works great, but not future proof.
    Cheers!
    Byron

    Posted: 5 years ago #
  2. Jen Mylo
    Key Master

    Closing because a year has passed without any community feedback/interest.

    Posted: 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    0 Votes
  • Status

    Sorry, not right now