Make WordPress Core


Ignore:
Timestamp:
08/10/2014 02:38:52 AM (11 years ago)
Author:
DrewAPicture
Message:

Improve the wp_set_password() PHPDoc with a note to guard against executing the function on every page load, such as through a theme's functions.php file.

See #28316.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r29397 r29461  
    20532053 * instead use the other package password checking algorithm.
    20542054 *
     2055 * Please note: This function should be used sparingly and is really only meant for single-time
     2056 * application. Leveraging this improperly in a plugin or theme could result in an endless loop
     2057 * of password resets if precautions are not taken to ensure it does execute on every page load.
     2058 *
    20552059 * @since 2.5.0
    20562060 *
Note: See TracChangeset for help on using the changeset viewer.