mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-10 07:34:34 +00:00
Docs: In various @return tags, list the expected type first, instead of false.
Follow-up to [46696]. See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47060 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -276,7 +276,7 @@ function core_update_footer( $msg = '' ) {
|
||||
* @since 2.3.0
|
||||
*
|
||||
* @global string $pagenow
|
||||
* @return false|void
|
||||
* @return void|false
|
||||
*/
|
||||
function update_nag() {
|
||||
if ( is_multisite() && ! current_user_can( 'update_core' ) ) {
|
||||
@@ -409,7 +409,7 @@ function wp_plugin_update_rows() {
|
||||
*
|
||||
* @param string $file Plugin basename.
|
||||
* @param array $plugin_data Plugin information.
|
||||
* @return false|void
|
||||
* @return void|false
|
||||
*/
|
||||
function wp_plugin_update_row( $file, $plugin_data ) {
|
||||
$current = get_site_transient( 'update_plugins' );
|
||||
@@ -611,7 +611,7 @@ function wp_theme_update_rows() {
|
||||
*
|
||||
* @param string $theme_key Theme stylesheet.
|
||||
* @param WP_Theme $theme Theme object.
|
||||
* @return false|void
|
||||
* @return void|false
|
||||
*/
|
||||
function wp_theme_update_row( $theme_key, $theme ) {
|
||||
$current = get_site_transient( 'update_themes' );
|
||||
@@ -720,7 +720,7 @@ function wp_theme_update_row( $theme_key, $theme ) {
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @global int $upgrading
|
||||
* @return false|void
|
||||
* @return void|false
|
||||
*/
|
||||
function maintenance_nag() {
|
||||
include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version
|
||||
|
||||
Reference in New Issue
Block a user