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:
Drew Jaynes 2016-02-07 02:03:26 +00:00
parent 9daf7a88a3
commit b0ef4d14c5
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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 ) {