Remove an unused parameter on install_plugins_upload().

Props michalzuber. Fixes #28964

Built from https://develop.svn.wordpress.org/trunk@31326


git-svn-id: http://core.svn.wordpress.org/trunk@31307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse 2015-02-03 06:14:22 +00:00
parent 7690d9b1aa
commit 92cb5936f1
2 changed files with 3 additions and 5 deletions

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

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-alpha-31325'; $wp_version = '4.2-alpha-31326';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.