mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Docs: Add an @access
tag and fix a typo in the DocBlock for wpdb::close()
.
See #34903. See #32246. Built from https://develop.svn.wordpress.org/trunk@36493 git-svn-id: http://core.svn.wordpress.org/trunk@36460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9daf7a88a3
commit
b0ef4d14c5
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-36492';
|
||||
$wp_version = '4.5-alpha-36493';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
@ -3098,8 +3098,10 @@ class wpdb {
|
||||
* Closes the current database connection.
|
||||
*
|
||||
* @since 4.5.0
|
||||
* @access public.
|
||||
*
|
||||
* @return bool True if the connection was succesfully closed, false if it wasn't, or the connection doesn't exist.
|
||||
* @return bool True if the connection was successfully closed, false if it wasn't,
|
||||
* or the connection doesn't exist.
|
||||
*/
|
||||
public function close() {
|
||||
if ( ! $this->dbh ) {
|
||||
|
Loading…
Reference in New Issue
Block a user