This method has been deprecated. Use wpdb::has_cap() instead.
wpdb::supports_collation()
Whether the database supports collation.
Description
Called when ClassicPress is generating the table scheme.
Use wpdb::has_cap( 'collation' )
.
Return
(bool) True if collation is supported, false if version does not
Source
File: wp-includes/wp-db.php
public function supports_collation() {
_deprecated_function( __FUNCTION__, 'WP-3.5.0', 'wpdb::has_cap( \'collation\' )' );
return $this->has_cap( 'collation' );
}
Changelog
Version | Description |
---|---|
WP-3.5.0 | Use wpdb::has_cap() |
WP-2.5.0 | Introduced. This method has been deprecated. Use wpdb::has_cap() instead. |