WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/11/2019 04:17:16 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve documentation for get_last_updated().

Props atachibana.
Fixes #47861.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-blogs.php

    r45734 r45780  
    3636 * @since MU (3.0.0)
    3737 *
    38  * @param int $blog_id Blog ID
     38 * @param int $blog_id Blog ID.
    3939 * @return string Full URL of the blog if found. Empty string if not.
    4040 */
     
    287287 * @global wpdb $wpdb WordPress database abstraction object.
    288288 *
    289  * @param int   $blog_id Blog ID
     289 * @param int   $blog_id Blog ID.
    290290 * @param array $details Array of details keyed by blogs table field names.
    291291 * @return bool True if update succeeds, false otherwise.
     
    661661 * @since MU (3.0.0)
    662662 *
    663  * @param int $id The blog id
    664  * @return string Whether the blog is archived or not
     663 * @param int $id Blog ID.
     664 * @return string Whether the blog is archived or not.
    665665 */
    666666function is_archived( $id ) {
     
    673673 * @since MU (3.0.0)
    674674 *
    675  * @param int    $id       The blog id
    676  * @param string $archived The new status
     675 * @param int    $id       Blog ID.
     676 * @param string $archived The new status.
    677677 * @return string $archived
    678678 */
     
    690690 * @global wpdb $wpdb WordPress database abstraction object.
    691691 *
    692  * @param int    $blog_id BLog ID
    693  * @param string $pref    A field name
    694  * @param string $value   Value for $pref
    695  * @param null   $deprecated
     692 * @param int    $blog_id    Blog ID.
     693 * @param string $pref       Field name.
     694 * @param string $value      Field value.
     695 * @param null   $deprecated Not used.
    696696 * @return string|false $value
    697697 */
     
    728728 * @global wpdb $wpdb WordPress database abstraction object.
    729729 *
    730  * @param int    $id   The blog id
    731  * @param string $pref A field name
     730 * @param int    $id   Blog ID.
     731 * @param string $pref Field name.
    732732 * @return bool|string|null $value
    733733 */
     
    750750 * @global wpdb $wpdb WordPress database abstraction object.
    751751 *
    752  * @param mixed $deprecated Not used
    753  * @param int   $start      The offset
    754  * @param int   $quantity   The maximum number of blogs to retrieve. Default is 40.
    755  * @return array The list of blogs
     752 * @param mixed $deprecated Not used.
     753 * @param int   $start      Optional. Number of blogs to offset the query. Used to build LIMIT clause.
     754 *                          Can be used for pagination. Default 0.
     755 * @param int   $quantity   Optional. The maximum number of blogs to retrieve. Default 40.
     756 * @return array The list of blogs.
    756757 */
    757758function get_last_updated( $deprecated = '', $start = 0, $quantity = 40 ) {
Note: See TracChangeset for help on using the changeset viewer.