Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-phpass.php

    r13429 r17678  
    44 * @package phpass
    55 * @since 2.5
    6  * @version 0.2 / genuine.
     6 * @version 0.3 / WordPress
    77 * @link http://www.openwall.com/phpass/
    88 */
     
    1010#
    1111# Written by Solar Designer <solar at openwall.com> in 2004-2006 and placed in
    12 # the public domain.
     12# the public domain.  Revised in subsequent years, still public domain.
    1313#
    1414# There's absolutely no warranty.
     
    3030 *
    3131 * @package phpass
    32  * @version 0.2 / genuine.
     32 * @version 0.3 / WordPress
    3333 * @link http://www.openwall.com/phpass/
    3434 * @since 2.5
     
    115115            $output = '*1';
    116116
    117         if (substr($setting, 0, 3) != '$P$')
     117        $id = substr($setting, 0, 3);
     118        # We use "$P$", phpBB3 uses "$H$" for the same thing
     119        if ($id != '$P$' && $id != '$H$')
    118120            return $output;
    119121
Note: See TracChangeset for help on using the changeset viewer.