[wp-trac] [WordPress Trac] #12799: Allow gallery shortcode to accept a maximum number of items
WordPress Trac
noreply at wordpress.org
Fri Oct 16 20:50:28 UTC 2015
#12799: Allow gallery shortcode to accept a maximum number of items
------------------------------------+------------------
Reporter: dtorbert | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 4.4
Component: Gallery | Version: 2.9
Severity: normal | Resolution:
Keywords: dev-feedback has-patch | Focuses:
------------------------------------+------------------
Comment (by michaelbeil):
This looks great @dtorbert!
@antpb your most recent diff has a few spacing issues in the first phpdoc
block (L1397) and then the array (L1448).
Also, I noticed a typo on L1476:
// Necessary because in get_posts(), when specifying include="", the
numberposts parameter is ignored (it's set to match the number if items in
include="")`
I believe you meant `number of items`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12799#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list