[wp-trac] [WordPress Trac] #44305: The 'fields' query parameter for WP_Query supports only a string
WordPress Trac
noreply at wordpress.org
Fri Mar 15 14:21:17 UTC 2019
#44305: The 'fields' query parameter for WP_Query supports only a string
--------------------------------------+-----------------------------
Reporter: ocean90 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Query | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses: docs
--------------------------------------+-----------------------------
Comment (by johannadevos):
I have created a second patch which improves the first patch
(`44305.diff`) in two ways:
* It fixes whitespace: in the first patch, `$fields` (and the description
after it) on line 634 were one space character to the left of all of the
other code.
* I have removed the text "or array of fields" from the `$fields`
description.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44305#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list