Make WordPress Core


Ignore:
Timestamp:
04/28/2018 02:43:36 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Correct the possible return types for the wpdb::query() method.

Props isabel104

See #42505

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/wp-db.php

    r42836 r43017  
    18491849     *
    18501850     * @param string $query Database query
    1851      * @return int|false Number of rows affected/selected or false on error
     1851     * @return int|bool Boolean true for CREATE, ALTER, TRUNCATE and DROP queries. Number of rows
     1852     *                  affected/selected for all other queries. Boolean false on error.
    18521853     */
    18531854    public function query( $query ) {
Note: See TracChangeset for help on using the changeset viewer.