Make WordPress Core


Ignore:
Timestamp:
05/29/2015 09:16:59 PM (11 years ago)
Author:
wonderboymusic
Message:

Add (more) missing doc blocks to wp-admin/includes/*.

See #32444.

File:
1 edited

Legend:

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

    r32653 r32655  
    10641064         *
    10651065         * @global WP_Filesystem_Base $wp_filesystem Subclass
     1066     *
     1067         * @param bool|WP_Error $removed
     1068         * @param string        $local_destination
     1069         * @param string        $remote_destination
     1070         * @param array         $plugin
     1071         * @return WP_Error|bool
    10661072         */
    10671073        public function delete_old_plugin($removed, $local_destination, $remote_destination, $plugin) {
     
    11671173         *
    11681174         * @since 3.4.0
     1175         *
     1176         * @param bool  $install_result
     1177         * @param array $hook_extra
     1178         * @param array $child_result
     1179         * @return type
    11691180         */
    11701181        public function check_parent_theme_filter( $install_result, $hook_extra, $child_result ) {
     
    12371248         *
    12381249         * @param array $actions Preview actions.
     1250         * @return array
    12391251         */
    12401252        public function hide_activate_preview_actions( $actions ) {
     
    15251537         *
    15261538         * @since 2.8.0
     1539         *
     1540         * @param bool|WP_Error  $return
     1541         * @param array          $theme
     1542         * @return bool|WP_Error
    15271543         */
    15281544        public function current_before($return, $theme) {
    1529 
    15301545                if ( is_wp_error($return) )
    15311546                        return $return;
     
    15491564         *
    15501565         * @since 2.8.0
     1566         *
     1567         * @param bool|WP_Error  $return
     1568         * @param array          $theme
     1569         * @return bool|WP_Error
    15511570         */
    15521571        public function current_after($return, $theme) {
     
    15811600         *
    15821601         * @global WP_Filesystem_Base $wp_filesystem Subclass
     1602         *
     1603         * @param bool   $removed
     1604         * @param string $local_destination
     1605         * @param string $remote_destination
     1606         * @param array  $theme
     1607         * @return bool
    15831608         */
    15841609        public function delete_old_theme( $removed, $local_destination, $remote_destination, $theme ) {
     
    16591684         *
    16601685         * @static
     1686         *
     1687         * @param false|WP_Upgrader $upgrader
    16611688         */
    16621689        public static function async_upgrade( $upgrader = false ) {
     
    18811908         *
    18821909         * @global WP_Filesystem_Base $wp_filesystem Subclass
     1910         *
     1911         * @param string|WP_Error $source
     1912         * @param string          $remote_source
    18831913         */
    18841914        public function check_package( $source, $remote_source ) {
     
    19121942         * @since 3.7.0
    19131943         *
    1914          * @param object The data for an update.
     1944         * @param object $update The data for an update.
    19151945         * @return string The name of the item being updated.
    19161946         */
     
    26212651         * @param string $type The type of update being checked: 'core', 'theme', 'plugin', 'translation'.
    26222652         * @param object $item The update offer.
     2653         *
     2654         * @return null|WP_Error
    26232655         */
    26242656        public function update( $type, $item ) {
     
    28592891         * @global string $wp_version
    28602892         *
    2861          * @param object $update_result The result of the core update. Includes the update offer and result.
     2893         * @param object|WP_Error $update_result The result of the core update. Includes the update offer and result.
    28622894         */
    28632895        protected function after_core_update( $update_result ) {
Note: See TracChangeset for help on using the changeset viewer.