Plugin Directory

Changeset 1684893


Ignore:
Timestamp:
06/24/2017 09:44:08 PM (9 years ago)
Author:
wp.kytten
Message:

Fixes fatal error when using the "wp_get_current_user" function

Location:
extended-wp-reset/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extended-wp-reset/trunk/extended-wp-reset.php

    r1684346 r1684893  
    44Plugin URI: https://github.com/wp-kitten/extended-wp-reset
    55Description: This plugin is based on WP Dev's <a href="https://wordpress.org/plugins/wp-reset/" target="_blank">WP Reset</a> plugin. In comparison to the original version, this plugin offers support for MultiSite installations and also correctly deletes tables that have foreign key constraints. This plugin does not delete any other plugins, files or themes that exist on your WordPress installation, it only deletes/empties the tables from the database thus reverting WordPress to its default state. The current user will also be recreated using the same user name and password.
    6 Version: 1.0
     6Version: 1.0.1
    77Author: wp-kitten
    88Author URI: https://github.com/wp-kitten/
     
    6464        {
    6565            //#! Make sure this is an administrator user
     66            if( ! function_exists( 'wp_get_current_user' ) ) {
     67                require_once( ABSPATH . 'wp-includes/pluggable.php' );
     68            }
    6669            if( current_user_can( 'remove_users' ) ) {
    6770
  • extended-wp-reset/trunk/readme.txt

    r1684346 r1684893  
    2929== Changelog ==
    3030
     31= 1.0.1 =
     32* Fixes fatal error when using the "wp_get_current_user" function
     33
    3134= 1.0 =
    3235* Initial release.
     
    3437== Frequently Asked Questions ==
    3538
    36 You can open an issue on the plugin's page on GitHub: https://github.com/wp-kitten/extended-wp-reset
     39You can open an issue on the plugin's page on [GitHub](https://github.com/wp-kitten/extended-wp-reset)
Note: See TracChangeset for help on using the changeset viewer.