From e21792cb374e97a2191c024486d38e24730eec07 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 12 Oct 2019 02:33:13 +0000 Subject: [PATCH] Docs: Add `requires_php` to the list of fields returned by `plugins_api()`. Props ediamin. Fixes #48291. git-svn-id: https://develop.svn.wordpress.org/trunk@46463 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/plugin-install.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-admin/includes/plugin-install.php b/src/wp-admin/includes/plugin-install.php index 47200490e4..6e56b33669 100644 --- a/src/wp-admin/includes/plugin-install.php +++ b/src/wp-admin/includes/plugin-install.php @@ -73,6 +73,7 @@ * FAQ, screenshots, other notes, and changelog. Default false. * @type bool $tested Whether to return the 'Compatible up to' value. Default true. * @type bool $requires Whether to return the required WordPress version. Default true. + * @type bool $requires_php Whether to return the required PHP version. Default true. * @type bool $rating Whether to return the rating in percent and total number of ratings. * Default true. * @type bool $ratings Whether to return the number of rating for each star (1-5). Default true.