mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user