Changeset 29154
- Timestamp:
- 07/14/2014 12:16:36 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r29059 r29154 2184 2184 2185 2185 /** 2186 * Get savailable translations from the WordPress.org API.2186 * Get available translations from the WordPress.org API. 2187 2187 * 2188 2188 * @since 4.0.0 2189 * 2190 * @see wp_remote_post() 2189 2191 * 2190 2192 * @return array Array of translations, each an array of data. … … 2215 2217 2216 2218 /** 2217 * Download sa language pack.2219 * Download a language pack. 2218 2220 * 2219 2221 * @since 4.0.0 2220 2222 * 2223 * @see wp_get_available_translations_from_api() 2224 * 2221 2225 * @param string $download Language code to download. 2222 * @return string| falseReturns the language code if successfully downloaded2223 * 2226 * @return string|bool Returns the language code if successfully downloaded 2227 * (or already installed), or false on failure. 2224 2228 */ 2225 2229 function wp_install_download_language_pack( $download ) { … … 2262 2266 * @since 4.0.0 2263 2267 * 2268 * @see load_textdomain() 2269 * 2264 2270 * @param string $translation Translation to load. 2265 * @return string| falseReturns the language code if successfully loaded,2266 * 2271 * @return string|bool Returns the language code if successfully loaded, 2272 * or false on failure. 2267 2273 */ 2268 2274 function wp_install_load_language( $translation ) {
Note: See TracChangeset
for help on using the changeset viewer.