Docs: Add an @access tag and fix a typo in the DocBlock for wpdb::close().

See #34903. See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36493 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes
2016-02-07 02:02:27 +00:00
parent a1019e97b0
commit 2eeaf25112

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