backupbuddy_backup/wp-content/plugins/backupbuddy/classes/core.php
/* alert_core_table_excludes()
	 *
	 * Outputs an alert warning if a core db table is excluded.
	 *
	 * @param	array 		$excludes	Array of tables excluded from the backup.
	 * @return	array 					Array of message warnings about potential issues found with these exclusions, if any. Index = unique identifer, Value = message.
	 *
	 */
alert_core_table_excludes()
Outputs an alert warning if a core db table is excluded.

@param       array           $excludes       Array of tables excluded from the backup.
@return      array                                   Array of message warnings about potential issues found with these exclusions, if any. Index = unique identifer, Value = message.
alert_core_table_excludes () Outputs an alert warning if a core db table is excluded . @param array $excludes Array of tables excluded from the backup . @return array Array of message warnings about potential issues found with these exclusions if any . Index = unique identifer Value = message .
public static function alert_core_table_excludes( $excludes ) {
		global $wpdb;
		$prefix = $wpdb->prefix;
		$warn_tables = array(
			$prefix . 'comments',
			$prefix . 'posts',
			$prefix . 'users',
			$prefix . 'commentmeta',
			$prefix . 'postmeta',
			$prefix . 'term_relationships',
			$prefix . 'options',
			$prefix . 'term_taxonomy',
			$prefix . 'links',
			$prefix . 'terms',
		);
		$return_array = array();
		foreach( $warn_tables as $warn_table ) {
			if ( in_array( $warn_table, $excludes ) ) {
				$return_array['excluding_coretable-' . md5( $warn_table )] = 'Warning: You are excluding one or more core WordPress tables `' . $warn_table . '` which may result in an incomplete backup. Remove exclusions or backup with another profile or method.';
			}
		}
		return $return_array;
	}
public static function alert_core_table_excludes ( $ excludes ) { global $ wpdb ; $ prefix = $ wpdb -> prefix ; $ warn_tables = array ( $ prefix . 'comments' , $ prefix . 'posts' , $ prefix . 'users' , $ prefix . 'commentmeta' , $ prefix . 'postmeta' , $ prefix . 'term_relationships' , $ prefix . 'options' , $ prefix . 'term_taxonomy' , $ prefix . 'links' , $ prefix . 'terms' , ) ; $ return_array = array ( ) ; foreach ( $ warn_tables as $ warn_table ) { if ( in_array ( $ warn_table , $ excludes ) ) { $ return_array [ 'excluding_coretable-' . md5 ( $ warn_table ) ] = 'Warning: You are excluding one or more core WordPress tables `' . $ warn_table . '` which may result in an incomplete backup. Remove exclusions or backup with another profile or method.' ; } } return $ return_array ; }
alert_core_table_excludes()
 Outputs an alert warning if a core db table is excluded.
alert_core_table_excludes () Outputs an alert warning if a core db table is excluded .
// If these tables are found excluded then warn that may be a bad idea.