WordPress.org

Make WordPress Core

Ticket #16757: 16757.diff

File 16757.diff, 618 bytes (added by pento, 21 months ago)
  • wp-includes/wp-db.php

     
    15491549         * Called when WordPress is generating the table scheme. 
    15501550         * 
    15511551         * @since 2.5.0 
     1552         *  
     1553         * @deprecated 3.5.0 
     1554         * @deprecated Use wpdb::has_cap( 'collation' ) 
    15521555         * 
    15531556         * @return bool True if collation is supported, false if version does not 
    15541557         */ 
    15551558        function supports_collation() { 
     1559                _deprecated_function( __FUNCTION__, '3.5' , 'wpdb::has_cap( \'collation\' )' );  
    15561560                return $this->has_cap( 'collation' ); 
    15571561        } 
    15581562