diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index 7ef0b4ab30..54f334d468 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -912,7 +912,7 @@ function install_plugin_information() { * } * @param bool $compatible_php The result of a PHP compatibility check. * @param bool $compatible_wp The result of a WP compatibility check. - * @return string The markup for the dependency row button. + * @return string The markup for the dependency row button. An empty string if the user does not have capabilities. */ function wp_get_plugin_action_button( $name, $data, $compatible_php, $compatible_wp ) { $button = ''; @@ -1048,7 +1048,7 @@ function wp_get_plugin_action_button( $name, $data, $compatible_php, $compatible } break; } - - return $button; } + + return $button; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 8ac82c0d99..e5d7607f6d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-beta2-58395'; +$wp_version = '6.6-beta2-58396'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.