Plugin Directory

Changeset 638768


Ignore:
Timestamp:
12/13/2012 07:11:58 PM (13 years ago)
Author:
redeyedmonster
Message:

Bug fix for wordpress 3.5

Location:
edit-any-table/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • edit-any-table/trunk/EditAnyTable.php

    r591003 r638768  
    99Description: Dashboard widget which allows the editing of all tables in any database
    1010
    11 Version: 1.1.2
     11Version: 1.1.3
    1212
    1313Author: Nigel Bachmann
     
    9595       
    9696
    97     $result = $eat_db->get_col($eat_db->prepare("show tables"));
     97    $result = $eat_db->get_col($eat_db->prepare("show tables",null));
    9898
    9999   
     
    348348        //Get a single record for column info
    349349
    350         $sql = $eat_db->prepare("select * from ".$table2Edit." LIMIT 1");
     350        $sql = $eat_db->prepare("select * from ".$table2Edit." LIMIT 1",null);
    351351
    352352        //echo $sql."<br />";
     
    642642    //Get a single record for column info
    643643
    644     $sql = $eat_db->prepare("select * from ".$table2Edit." LIMIT 1");
     644    $sql = $eat_db->prepare("select * from ".$table2Edit." LIMIT 1",null);
    645645
    646646    //echo $sql."<br />";
  • edit-any-table/trunk/readme.txt

    r591003 r638768  
    44Tags: database, table, update, insert, add, delete, edit, MySQL, phpMyAdmin, data, editor, widget, dashboard
    55Requires at least: 3.0.0
    6 Tested up to: 3.4.1
     6Tested up to: 3.5
    77Stable tag: trunk
    88License: GPLv2 or later
     
    4747== Changelog ==
    4848
     49= 1.1.3 =
     50* Bug introduced by WordPress 3.5 on the prepare statement (now always requires 2 parameters) FIXED
     51
    4952= 1.1.2 =
    5053* Instructions link added to widget
Note: See TracChangeset for help on using the changeset viewer.