Make WordPress Core


Ignore:
Timestamp:
02/17/2012 12:02:42 AM (13 years ago)
Author:
nacin
Message:

Deprecate ancient "debugging" tools.

  • logIO() and the global $xmlrpc_logging in XML-RPC.
  • log_app() and the global $app_logging in APP.
  • debug_fwrite(), debug_fopen(), debug_fclose(), and $debug.

see #20051.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upgrade.php

    r19799 r19935  
    13601360 */
    13611361function maybe_add_column($table_name, $column_name, $create_ddl) {
    1362     global $wpdb, $debug;
     1362    global $wpdb;
    13631363    foreach ($wpdb->get_col("DESC $table_name", 0) as $column ) {
    1364         if ($debug) echo("checking $column == $column_name<br />");
    13651364        if ($column == $column_name) {
    13661365            return true;
Note: See TracChangeset for help on using the changeset viewer.