WordPress.org

Make WordPress Core

Changeset 29154


Ignore:
Timestamp:
07/14/2014 12:16:36 AM (6 years ago)
Author:
DrewAPicture
Message:

Inline documentation cleanup for 4.0 audit.

  • phpDoc tweaks for wp_get_available_translations_from_api(), wp_install_download_language_pack(), and wp_install_load_language(), added in [29018]


See #28885.

File:
1 edited

Legend:

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

    r29059 r29154  
    21842184
    21852185/**
    2186  * Gets available translations from the WordPress.org API.
     2186 * Get available translations from the WordPress.org API.
    21872187 *
    21882188 * @since 4.0.0
     2189 *
     2190 * @see wp_remote_post()
    21892191 *
    21902192 * @return array Array of translations, each an array of data.
     
    22152217
    22162218/**
    2217  * Downloads a language pack.
     2219 * Download a language pack.
    22182220 *
    22192221 * @since 4.0.0
    22202222 *
     2223 * @see wp_get_available_translations_from_api()
     2224 *
    22212225 * @param string $download Language code to download.
    2222  * @return string|false Returns the language code if successfully downloaded
    2223  *                      (or already installed), or false on failure.
     2226 * @return string|bool Returns the language code if successfully downloaded
     2227 *                     (or already installed), or false on failure.
    22242228 */
    22252229function wp_install_download_language_pack( $download ) {
     
    22622266 * @since 4.0.0
    22632267 *
     2268 * @see load_textdomain()
     2269 *
    22642270 * @param string $translation Translation to load.
    2265  * @return string|false Returns the language code if successfully loaded,
    2266  *                      or false on failure.
     2271 * @return string|bool Returns the language code if successfully loaded,
     2272 *                     or false on failure.
    22672273 */
    22682274function wp_install_load_language( $translation ) {
Note: See TracChangeset for help on using the changeset viewer.