Make WordPress Core


Ignore:
Timestamp:
08/16/2008 07:27:34 AM (18 years ago)
Author:
westi
Message:

More phpdoc updates for wp-adming. See #7496 props santosj.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update.php

    r8600 r8656  
    11<?php
     2/**
     3 * Update Plugin / Core administration panel.
     4 *
     5 * @package WordPress
     6 * @subpackage Administration
     7 */
    28
     9/** WordPress Administration Bootstrap */
    310require_once('admin.php');
    411
     
    613        wp_die(__('You do not have sufficient permissions to update plugins for this blog.'));
    714
     15/**
     16 * Plugin upgrade display.
     17 *
     18 * @since 2.5
     19 *
     20 * @param string $plugin Plugin
     21 */
    822function do_plugin_upgrade($plugin) {
    923        global $wp_filesystem;
     
    4559}
    4660
     61/**
     62 * Display upgrade WordPress for downloading latest or upgrading automatically form.
     63 *
     64 * @since 2.7
     65 *
     66 * @return null
     67 */
    4768function core_upgrade_preamble() {
    4869        $update = get_option('update_core');
     
    5879
    5980        if ( 'development' == $update->response ) {
    60                 $message = __('You are using a developmemt version of WordPress.  You can upgrade to the latest nightly build automatically or download the nightly build and install it manually. Which would you like to do?');
     81                $message = __('You are using a development version of WordPress.  You can upgrade to the latest nightly build automatically or download the nightly build and install it manually. Which would you like to do?');
    6182                $submit = __('Download nightly build');
    6283        } else {
     
    79100}
    80101
     102/**
     103 * Upgrade WordPress core display.
     104 *
     105 * @since 2.7
     106 *
     107 * @return null
     108 */
    81109function do_core_upgrade() {
    82110        global $wp_filesystem;
Note: See TracChangeset for help on using the changeset viewer.