WordPress.org

Make WordPress Core

Changeset 8610


Ignore:
Timestamp:
08/10/2008 11:13:39 PM (10 years ago)
Author:
azaozz
Message:

Prevent fatal error if plugin uses install-helper.php, fixes #6747 for 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/install-helper.php

    r7971 r8610  
    1010 **           false on error
    1111 */
     12if ( ! function_exists('maybe_create_table') ) :
    1213function maybe_create_table($table_name, $create_ddl) {
    1314    global $wpdb;
     
    2728    return false;
    2829}
     30endif;
    2931
    3032/**
     
    3436 **           false on error
    3537 */
     38if ( ! function_exists('maybe_add_column') ) :
    3639function maybe_add_column($table_name, $column_name, $create_ddl) {
    3740    global $wpdb, $debug;
     
    5255    return false;
    5356}
    54 
     57endif;
    5558
    5659/**
Note: See TracChangeset for help on using the changeset viewer.