Docs: Improve documentation for `WP_Upgrader::release_lock()`, introduced in [36349].

See #34878. See #35986.

Built from https://develop.svn.wordpress.org/trunk@36822


git-svn-id: http://core.svn.wordpress.org/trunk@36789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2016-03-03 07:11:25 +00:00
parent 1dc0a9a5f7
commit 08e7c845cc
2 changed files with 5 additions and 3 deletions

View File

@ -799,14 +799,16 @@ class WP_Upgrader {
} }
/** /**
* Release a lock created by `WP_Upgrader::create_lock()`. * Releases an upgrader lock.
* *
* @since 4.5.0 * @since 4.5.0
* @access public * @access public
* @static * @static
*
* @see WP_Upgrader::create_lock()
* *
* @param string $lock_name The name of this unique lock. * @param string $lock_name The name of this unique lock.
* @return bool * @return bool True if the lock was successfully released. False on failure.
*/ */
public static function release_lock( $lock_name ) { public static function release_lock( $lock_name ) {
return delete_option( $lock_name . '.lock' ); return delete_option( $lock_name . '.lock' );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.5-beta2-36821'; $wp_version = '4.5-beta2-36822';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.