Plugin Directory

Changeset 3204110


Ignore:
Timestamp:
12/07/2024 03:17:36 PM (15 months ago)
Author:
codecompiled
Message:

Fixed a minor bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-settings/trunk/wp-settings.php

    r3203895 r3204110  
    44Plugin URI: https://wordpress.org/plugins/wp-settings/
    55Description:Displays the important information about WordPress installation such as important wordpress settings,database settings,theme details and php information.You can generate DB Backup Script for restoring the database and for keeping database backups.
    6 Version: 2.5.3
     6Version: 2.5.4
    77Author: CodeCompiled
    88Author URI: http://www.codecompiled.com
     
    467467                        Update
    468468                    </button> -->
    469                     <button type="submit"  value="update" name="update" style="padding: 5px 15px; background-color: #28a745; color: #fff; border: none; cursor: pointer;">
     469                    <button type="submit"  value="update" name="update" style="padding: 5px 15px; background-color: #0073aa; color: #fff; border: none; cursor: pointer;">
    470470                        Update
    471471                    </button>
     
    476476                    </button> -->
    477477                    <button type="submit" value="download" name="update"  style="margin-left: 10px; padding: 5px 15px; background-color: #0073aa; color: #fff; border: none; cursor: pointer;">
    478                         Download
     478                        Download DB Script
    479479                    </button>
    480480                </td>
     
    850850            <?php
    851851            $sqldetails = wpsettings_getMySqlDetails();
    852             foreach ($sqldetails as $sqlKey => $sqlValue) { ?>
    853                 <tr>
    854                     <td style="width:30%"><?php echo $sqlKey; ?></td>
    855                     <td><?php echo $sqlValue; ?></td>
    856                 </tr>
    857             <?php } ?>
     852            foreach ($sqldetails as $sqlKey => $sqlValue) {
     853                if ($sqlKey !== "TABLE DETAILS") { ?>
     854                    <tr>
     855                        <td style="width:30%"><?php echo $sqlKey; ?></td>
     856                        <td><?php echo $sqlValue; ?></td>
     857                    </tr>
     858                <?php
     859                }
     860            }
     861            ?>
    858862        </table>
    859863
Note: See TracChangeset for help on using the changeset viewer.