Title: wefreema's Replies | WordPress.org

---

# wefreema

  [  ](https://wordpress.org/support/users/wefreema/)

 *   [Profile](https://wordpress.org/support/users/wefreema/)
 *   [Topics Started](https://wordpress.org/support/users/wefreema/topics/)
 *   [Replies Created](https://wordpress.org/support/users/wefreema/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/wefreema/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/wefreema/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/wefreema/engagements/)
 *   [Favorites](https://wordpress.org/support/users/wefreema/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to login to WP admin with no password](https://wordpress.org/support/topic/how-to-login-to-wp-admin-with-no-password/)
 *  [wefreema](https://wordpress.org/support/users/wefreema/)
 * (@wefreema)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/how-to-login-to-wp-admin-with-no-password/#post-1988069)
 * Apart from security concerns, if all users have admin access to your demo, some
   clever jerk will probably ruin the demo by changing some settings unless you 
   really secure your installation. At best, they’ll change your theme/settings 
   or upload images. At worst, they’ll hack your server or database. I would recommend
   screenshots as a better option.
 * If you do insist on doing this, be sure you set your files to at least 644 and
   your folders to at least 755 on your host. Don’t allow write access to anything.
   I would also disable uploading through php. Also, only allow “select” access 
   to the database. I’ve never tried doing it, but I think after the initial configuration,
   it should work–as long as you don’t ever need to post or change anything.
 * That nologin plugin will probably work–it’s only 6 lines of code. Basically, 
   it overwrites the wp_validate_auth_cookie() function, always returning true. 
   You’ll note it says “only for local installations”, citing security concerns.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to login to WP admin with no password](https://wordpress.org/support/topic/how-to-login-to-wp-admin-with-no-password/)
 *  [wefreema](https://wordpress.org/support/users/wefreema/)
 * (@wefreema)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/how-to-login-to-wp-admin-with-no-password/#post-1988057)
 * There are security concerns with this idea. Can you explain why you want to do
   this?
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Fatal error after upgrade](https://wordpress.org/support/topic/fatal-error-after-upgrade-6/)
 *  [wefreema](https://wordpress.org/support/users/wefreema/)
 * (@wefreema)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-after-upgrade-6/page/2/#post-1941589)
 * Are you guys still stuck on this?
 * add_query_var is located in wp-includes/class-wp.php
 * Does that file exist? Does the function exist? (should be line 93)
 * Wes

Viewing 3 replies - 1 through 3 (of 3 total)