[wp-trac] [WordPress Trac] #60783: plugins_api() and parameters

WordPress Trac noreply at wordpress.org
Thu Jun 13 09:02:08 UTC 2024


#60783: plugins_api() and parameters
-------------------------------------------------+-------------------------
 Reporter:  juliobox                             |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.6
Component:  Plugins                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch needs-      |     Focuses:  docs
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by Rahe):

 Hi,

 I've tested this patch and there is no additionnal field return if
 "fields" is empty.
 If passing
 {{{#!php
 <?php
 "description" => true
 }}}

 I've only the description added, if using false the description is not
 returned.

 For me it's working as expected.

 Nicolas,

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60783#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list