Support » Fixing WordPress » help 3.0.4 help

  • Resolved xxhunterxx

    (@xxhunterxx)


    after upgrading to 3.0.4 im getting this in all the page

    0 * * @return bool True if collation is supported, false if version does not */ function supports_collation() { return $this->has_cap( ‘collation’ ); } /** * Determine if a database supports a particular feature * * @since 2.7 * @see wpdb::db_version() * * @param string $db_cap the feature * @return bool */ function has_cap( $db_cap ) { $version = $this->db_version(); switch ( strtolower( $db_cap ) ) { case ‘collation’ : // @since 2.5.0 case ‘group_concat’ : // @since 2.7 case ‘subqueries’ : // @since 2.7 return version_compare( $version, ‘4.1’, ‘>=’ ); }; return false; } /** * Retrieve the name of the function that called wpdb. * * Searches up the list of functions until it reaches * the one that would most logically had called this method. * * @since 2.5.0 * * @return string The name of the calling function */ function get_caller() { $trace = array_reverse( debug_backtrace() ); $caller = array(); foreach ( $trace as $call ) { if ( isset( $call[‘class’] ) && __CLASS__ == $call[‘class’] ) continue; // Filter out wpdb calls. $caller[] = isset( $call[‘class’] ) ? “{$call[‘class’]}->{$call[‘function’]}” : $call[‘function’]; } return join( ‘, ‘, $caller ); } /** * The database version number. * * @return false|string false on failure, version number on success */ function db_version() { return preg_replace( ‘/[^0-9.].*/’, ”, mysql_get_server_info( $this->dbh ) ); } } if ( ! isset( $wpdb ) ) { /** * WordPress Database Object, if it isn’t set already in wp-content/db.php * @global object $wpdb Creates a new wpdb object based on wp-config.php Constants for the database * @since 0.71 */ $wpdb = new wpdb( DB_USER, DB_PASSWORD, DB_NAME, DB_HOST ); } ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘help 3.0.4 help’ is closed to new replies.