Plugin Directory

Changeset 2474884


Ignore:
Timestamp:
02/15/2021 01:46:37 PM (5 years ago)
Author:
phpsquare
Message:

Multisite Error fix .
WP version update

Location:
simple-database-repair/tags/2.1/trunk
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • simple-database-repair/tags/2.1/trunk

  • simple-database-repair/tags/2.1/trunk/readme.txt

    r2390892 r2474884  
    33Tags: Database Repair,Fix database error, corrupt table fix .
    44Requires at least: 5.2.2
    5 Tested up to: 5.5
     5Tested up to: 5.6
    66Stable tag: 2.1
    77Requires PHP: 5.6 or higher
     
    1010
    1111== Description ==
     12
    1213Repair table fixes any corrupted table .
    13 If you need to repair your database then install this plugin.This plugin is very easy to use and that is why it is named "Simple Database Repair" . We advice you to back up the database before applying the changes .
     14If you need to repair your database then install this plugin.This plugin is very easy to use and that is why it is named "Simple Database Repair" .
    1415
    1516== Installation ==
  • simple-database-repair/tags/2.1/trunk/simple-database-repair.php

    r2390893 r2474884  
    2525Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    2626*/
    27 
     27        global $current_user;
    2828        add_action('admin_menu', 'SDR_add_option');
    29         include_once(ABSPATH . 'wp-includes/pluggable.php');
    3029   
    3130        // Add style Function
     
    108107                echo '<p style="color: red;"><strong>'.__('ERROR','simple-database-repair').' - '.__('Please select a table to repair!.','simple-database-repair').'</strong></p>';
    109108            }
    110             ?>
    111             <script type="text/javascript">
    112                 window.location.href = '<?php echo $_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING']; ?>';
    113             </script>
    114             <?php
     109           
     110            $url = $_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'];
     111            wp_redirect( $url );
     112            exit;
    115113        }
    116114        ?>
Note: See TracChangeset for help on using the changeset viewer.