WordPress.org

Make WordPress Core

Changeset 40389


Ignore:
Timestamp:
04/06/2017 06:22:32 PM (14 months ago)
Author:
swissspidy
Message:

Bootstrap/Load: Only load PasswordHash class once.

require_once prevents errors when loading WordPress and the class already exists.

See [40387].
Fixes #39445.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7/src/wp-settings.php

    r39370 r40389  
    101101require( ABSPATH . WPINC . '/class-wp-error.php' );
    102102require( ABSPATH . WPINC . '/pomo/mo.php' );
    103 require( ABSPATH . WPINC . '/class-phpass.php' );
     103require_once( ABSPATH . WPINC . '/class-phpass.php' );
    104104
    105105// Include the wpdb class and, if present, a db.php database drop-in.
Note: See TracChangeset for help on using the changeset viewer.