WordPress.org

Make WordPress Core

Ticket #16757: 16757.2.patch

File 16757.2.patch, 539 bytes (added by hakre, 3 years ago)

deprecated function call

  • wp-includes/wp-db.php

     
    15111511         * @return bool True if collation is supported, false if version does not 
    15121512         */ 
    15131513        function supports_collation() { 
     1514                $function = 'supports_collation'; 
     1515                $version = '3.2'; 
     1516                $replacement = 'wpdb::has_cap( \'collation\' )'; 
     1517                _deprecated_function( $function, $version, $replacement ); 
    15141518                return $this->has_cap( 'collation' ); 
    15151519        } 
    15161520