Make WordPress Core

Changeset 36822


Ignore:
Timestamp:
03/03/2016 07:10:58 AM (9 years ago)
Author:
DrewAPicture
Message:

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

See #34878. See #35986.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r36821 r36822  
    800800
    801801    /**
    802      * Release a lock created by `WP_Upgrader::create_lock()`.
     802     * Releases an upgrader lock.
    803803     *
    804804     * @since 4.5.0
    805805     * @access public
    806806     * @static
     807     *
     808     * @see WP_Upgrader::create_lock()
    807809     *
    808810     * @param string $lock_name The name of this unique lock.
    809      * @return bool
     811     * @return bool True if the lock was successfully released. False on failure.
    810812     */
    811813    public static function release_lock( $lock_name ) {
Note: See TracChangeset for help on using the changeset viewer.