id = 'database-prefix'; $this->title = __( 'Change Database Table Prefix', 'better-wp-security' ); $this->description = __( 'Change the database table prefix that WordPress uses.', 'better-wp-security' ); $this->type = 'advanced'; parent::__construct(); } protected function render_description( $form ) { ?>
wp_ to all tables in the database where your content, users, and objects exist. For potential attackers, this means it is easier to write scripts that can target WordPress databases as all the important table names for 95% of sites are already known. Changing the wp_
prefix makes it more difficult for tools that are trying to take advantage of vulnerabilities in other places to affect the database of your site. Before using this tool, we strongly recommend creating a backup of your database.', 'better-wp-security' ); ?>
wp_. You should change this.', 'better-wp-security' ); ?>
%1$s.', 'better-wp-security' ), esc_html( $wpdb->base_prefix ) ); ?>
add_select( 'change_prefix', $yes_or_no ); ?>
|
%1$s
.', 'better-wp-security' ), $result['new_prefix'] ) );
}
}
}
}
new ITSEC_Database_Prefix_Settings_Page();