/home/altere25/highwoodoutdoorpool.com/wp-admin
NameSizeModeActions
css/-0755rm
images/-0755rm
includes/-0755rm
js/-0755rm
maint/-0755rm
network/-0755rm
user/-0755rm
about.php293520644editdlrm
admin-ajax.php46540644editdlrm
admin-footer.php28320644editdlrm
admin-functions.php4060644editdlrm
admin-header.php81940644editdlrm
admin-post.php16710644editdlrm
admin.php121000644editdlrm
async-upload.php37980644editdlrm
comment.php109830644editdlrm
credits.php46580644editdlrm
custom-background.php4160644editdlrm
custom-header.php4260644editdlrm
customize.php96210644editdlrm
edit-comments.php137400644editdlrm
edit-form-advanced.php287930644editdlrm
edit-form-blocks.php140600644editdlrm
edit-form-comment.php81050644editdlrm
edit-link-form.php62250644editdlrm
edit-tag-form.php101000644editdlrm
edit-tags.php219040644editdlrm
edit.php184560644editdlrm
erase-personal-data.php32270644editdlrm
error_log9840644editdlrm
export-personal-data.php32020644editdlrm
export.php109510644editdlrm
freedoms.php46040644editdlrm
import.php75190644editdlrm
index.php58890644editdlrm
install-helper.php59060644editdlrm
install.php170220644editdlrm
link-add.php7110644editdlrm
link-manager.php41880644editdlrm
link-parse-opml.php26130644editdlrm
link.php27300644editdlrm
load-scripts.php16890644editdlrm
load-styles.php22970644editdlrm
media-new.php31990644editdlrm
media-upload.php33620644editdlrm
media.php55980644editdlrm
menu-header.php97520644editdlrm
menu.php144900644editdlrm
moderation.php3070644editdlrm
ms-admin.php1960644editdlrm
ms-delete-site.php41830644editdlrm
ms-edit.php2160644editdlrm
ms-options.php2230644editdlrm
ms-sites.php2150644editdlrm
ms-themes.php2170644editdlrm
ms-upgrade-network.php2190644editdlrm
ms-users.php2150644editdlrm
my-sites.php46410644editdlrm
nav-menus.php439070644editdlrm
network.php53780644editdlrm
options-discussion.php153000644editdlrm
options-general.php149390644editdlrm
options-head.php4920644editdlrm
options-media.php62370644editdlrm
options-permalink.php192060644editdlrm
options-privacy.php80720644editdlrm
options-reading.php97000644editdlrm
options-writing.php86230644editdlrm
options.php123020644editdlrm
plugin-editor.php133590644editdlrm
plugin-install.php63880644editdlrm
plugins.php243800644editdlrm
post-new.php26950644editdlrm
post.php99630644editdlrm
press-this.php23860644editdlrm
privacy-policy-guide.php8330644editdlrm
privacy.php23460644editdlrm
profile.php2830644editdlrm
revision.php51940644editdlrm
setup-config.php159010644editdlrm
site-health-info.php57760644editdlrm
site-health.php53280644editdlrm
term.php22480644editdlrm
theme-editor.php151460644editdlrm
theme-install.php152000644editdlrm
themes.php236260644editdlrm
tools.php34520644editdlrm
update-core.php337960644editdlrm
update.php109310644editdlrm
upgrade-functions.php3410644editdlrm
upgrade.php56540644editdlrm
upload.php139190644editdlrm
user-edit.php292130644editdlrm
user-new.php223330644editdlrm
users.php199000644editdlrm
widgets.php197410644editdlrm
Edit: /home/altere25/highwoodoutdoorpool.com/wp-admin/install-helper.php (5906B)
comments, 'comment_author', 'tinytext' ) ) { * echo "ok\n"; * } * * $error_count = 0; * $tablename = $wpdb->links; * // Check the column. * if ( ! check_column( $wpdb->links, 'link_description', 'varchar( 255 )' ) ) { * $ddl = "ALTER TABLE $wpdb->links MODIFY COLUMN link_description varchar(255) NOT NULL DEFAULT '' "; * $q = $wpdb->query( $ddl ); * } * * if ( check_column( $wpdb->links, 'link_description', 'varchar( 255 )' ) ) { * $res .= $tablename . ' - ok
'; * } else { * $res .= 'There was a problem with ' . $tablename . '
'; * ++$error_count; * } * * @package WordPress * @subpackage Plugin */ /** Load WordPress Bootstrap */ require_once dirname( __DIR__ ) . '/wp-load.php'; if ( ! function_exists( 'maybe_create_table' ) ) : /** * Create database table, if it doesn't already exist. * * @since 1.0.0 * * @global wpdb $wpdb WordPress database abstraction object. * * @param string $table_name Database table name. * @param string $create_ddl Create database table SQL. * @return bool False on error, true if already exists or success. */ function maybe_create_table( $table_name, $create_ddl ) { global $wpdb; foreach ( $wpdb->get_col( 'SHOW TABLES', 0 ) as $table ) { if ( $table == $table_name ) { return true; } } // Didn't find it, so try to create it. $wpdb->query( $create_ddl ); // We cannot directly tell that whether this succeeded! foreach ( $wpdb->get_col( 'SHOW TABLES', 0 ) as $table ) { if ( $table == $table_name ) { return true; } } return false; } endif; if ( ! function_exists( 'maybe_add_column' ) ) : /** * Add column to database table, if column doesn't already exist in table. * * @since 1.0.0 * * @global wpdb $wpdb WordPress database abstraction object. * * @param string $table_name Database table name * @param string $column_name Table column name * @param string $create_ddl SQL to add column to table. * @return bool False on failure. True, if already exists or was successful. */ function maybe_add_column( $table_name, $column_name, $create_ddl ) { global $wpdb; foreach ( $wpdb->get_col( "DESC $table_name", 0 ) as $column ) { if ( $column == $column_name ) { return true; } } // Didn't find it, so try to create it. $wpdb->query( $create_ddl ); // We cannot directly tell that whether this succeeded! foreach ( $wpdb->get_col( "DESC $table_name", 0 ) as $column ) { if ( $column == $column_name ) { return true; } } return false; } endif; /** * Drop column from database table, if it exists. * * @since 1.0.0 * * @global wpdb $wpdb WordPress database abstraction object. * * @param string $table_name Table name * @param string $column_name Column name * @param string $drop_ddl SQL statement to drop column. * @return bool True on success or if the column doesn't exist, false on failure. */ function maybe_drop_column( $table_name, $column_name, $drop_ddl ) { global $wpdb; foreach ( $wpdb->get_col( "DESC $table_name", 0 ) as $column ) { if ( $column == $column_name ) { // Found it, so try to drop it. $wpdb->query( $drop_ddl ); // We cannot directly tell that whether this succeeded! foreach ( $wpdb->get_col( "DESC $table_name", 0 ) as $column ) { if ( $column == $column_name ) { return false; } } } } // Else didn't find it. return true; } /** * Check column matches criteria. * * Uses the SQL DESC for retrieving the table info for the column. It will help * understand the parameters, if you do more research on what column information * is returned by the SQL statement. Pass in null to skip checking that * criteria. * * Column names returned from DESC table are case sensitive and are listed: * Field * Type * Null * Key * Default * Extra * * @since 1.0.0 * * @global wpdb $wpdb WordPress database abstraction object. * * @param string $table_name Table name * @param string $col_name Column name * @param string $col_type Column type * @param bool $is_null Optional. Check is null. * @param mixed $key Optional. Key info. * @param mixed $default Optional. Default value. * @param mixed $extra Optional. Extra value. * @return bool True, if matches. False, if not matching. */ function check_column( $table_name, $col_name, $col_type, $is_null = null, $key = null, $default = null, $extra = null ) { global $wpdb; $diffs = 0; $results = $wpdb->get_results( "DESC $table_name" ); foreach ( $results as $row ) { if ( $row->Field == $col_name ) { // Got our column, check the params. if ( ( null != $col_type ) && ( $row->Type != $col_type ) ) { ++$diffs; } if ( ( null != $is_null ) && ( $row->Null != $is_null ) ) { ++$diffs; } if ( ( null != $key ) && ( $row->Key != $key ) ) { ++$diffs; } if ( ( null != $default ) && ( $row->Default != $default ) ) { ++$diffs; } if ( ( null != $extra ) && ( $row->Extra != $extra ) ) { ++$diffs; } if ( $diffs > 0 ) { return false; } return true; } // End if found our column. } return false; }