Remove an unused parameter on install_plugins_upload().

Props michalzuber. Fixes #28964


git-svn-id: https://develop.svn.wordpress.org/trunk@31326 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
dd32 2015-02-03 06:13:02 +00:00
parent 4aada86274
commit 5f13a0e3e5

View File

@ -195,10 +195,8 @@ function install_search_form( $type_selector = true ) {
/** /**
* Upload from zip * Upload from zip
* @since 2.8.0 * @since 2.8.0
*
* @param integer $page
*/ */
function install_plugins_upload( $page = 1 ) { function install_plugins_upload() {
?> ?>
<div class="upload-plugin"> <div class="upload-plugin">
<p class="install-help"><?php _e('If you have a plugin in a .zip format, you may install it by uploading it here.'); ?></p> <p class="install-help"><?php _e('If you have a plugin in a .zip format, you may install it by uploading it here.'); ?></p>
@ -211,7 +209,7 @@ function install_plugins_upload( $page = 1 ) {
</div> </div>
<?php <?php
} }
add_action('install_plugins_upload', 'install_plugins_upload', 10, 1); add_action('install_plugins_upload', 'install_plugins_upload' );
/** /**
* Show a username form for the favorites page * Show a username form for the favorites page