WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19324, comment 13


Ignore:
Timestamp:
06/14/12 17:51:29 (23 months ago)
Author:
Otto42
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19324, comment 13

    initial v1  
    1 I attached a db.php file which you can drop into the wp-content directly. It basically extends the wpdb class to create a custom_wpdb class, which incorporates the patch.  
     1I attached a db.php file which you can drop into the wp-content directory. It basically extends the wpdb class to create a custom_wpdb class, which incorporates the patch.  
    22 
    33This will let you run the same patch without hacking core. It's not a great solution, but I can't think of a better one because as nacin said, plugins don't have the ability to easily modify that section of code (making filters useless) and using defines are rather unpleasant at best.