Title: powers1's Replies | WordPress.org

---

# powers1

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [YouTube embed not working in 3.1](https://wordpress.org/support/topic/youtube-embed-not-working-in-31/)
 *  [powers1](https://wordpress.org/support/users/powers1/)
 * (@powers1)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/youtube-embed-not-working-in-31/page/3/#post-1937537)
 * The auto-embed does NOT work with 3.1.3 using the Youtube SHORT URLs. So if your
   link looks like this:
 * `http://youtu.be/Vw4KVoEVcr0`
 * It won’t work. You’ll need the full URL from address bar like this:
 * `http://www.youtube.com/watch?v=Vw4KVoEVcr0`
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Use wordpress database for other script](https://wordpress.org/support/topic/use-wordpress-database-for-other-script/)
 *  [powers1](https://wordpress.org/support/users/powers1/)
 * (@powers1)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/use-wordpress-database-for-other-script/#post-1605177)
 * The function to use when programmatically setting the password is `wp_hash_password`.
   I ran into a problem similar to mediabros – I’d update the `user_pass` column
   in the `wp_users` table to a `wp_hash_password` hashed string, but login with
   the new password was still _just not working._
 * The trick was to make a call to `wp_cache_delete($ID, 'users')` after setting
   the password programmatically, clearing the WordPress cache (which apparently
   stores hashed passwords along with other user details).
 * Of course, this only applies if you have enabled the WordPress object cache using`
   define('ENABLE_CACHE', true)` in `wp-config.php`

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