From 2eeaf25112170a0798e92cf6537aa524060a1971 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 7 Feb 2016 02:02:27 +0000 Subject: [PATCH] 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 --- src/wp-includes/wp-db.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/wp-db.php b/src/wp-includes/wp-db.php index f0ed7d9d34..2729811dfd 100644 --- a/src/wp-includes/wp-db.php +++ b/src/wp-includes/wp-db.php @@ -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 ) {