WordPress.org

Make WordPress Core

Changeset 31326


Ignore:
Timestamp:
02/03/2015 06:13:02 AM (7 years ago)
Author:
dd32
Message:

Remove an unused parameter on install_plugins_upload().
Props michalzuber. Fixes #28964

File:
1 edited

Legend:

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

    r31200 r31326  
    196196 * Upload from zip
    197197 * @since 2.8.0
    198  *
    199  * @param integer $page
    200  */
    201 function install_plugins_upload( $page = 1 ) {
     198 */
     199function install_plugins_upload() {
    202200?>
    203201<div class="upload-plugin">
     
    212210<?php
    213211}
    214 add_action('install_plugins_upload', 'install_plugins_upload', 10, 1);
     212add_action('install_plugins_upload', 'install_plugins_upload' );
    215213
    216214/**
Note: See TracChangeset for help on using the changeset viewer.