mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
Docs: Correct the possible return types for the wpdb::query()
method.
Props isabel104 See #42505 Built from https://develop.svn.wordpress.org/trunk@43017 git-svn-id: http://core.svn.wordpress.org/trunk@42846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4ccca7a835
commit
e2719c4e90
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.0-alpha-43016';
|
$wp_version = '5.0-alpha-43017';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
@ -1848,7 +1848,8 @@ class wpdb {
|
|||||||
* @since 0.71
|
* @since 0.71
|
||||||
*
|
*
|
||||||
* @param string $query Database query
|
* @param string $query Database query
|
||||||
* @return int|false Number of rows affected/selected or false on error
|
* @return int|bool Boolean true for CREATE, ALTER, TRUNCATE and DROP queries. Number of rows
|
||||||
|
* affected/selected for all other queries. Boolean false on error.
|
||||||
*/
|
*/
|
||||||
public function query( $query ) {
|
public function query( $query ) {
|
||||||
if ( ! $this->ready ) {
|
if ( ! $this->ready ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user