[wp-trac] [WordPress Trac] #29237: Add Link Size Parameter to Gallery Shortcode

WordPress Trac noreply at wordpress.org
Mon Aug 3 20:41:43 UTC 2015


#29237: Add Link Size Parameter to Gallery Shortcode
-------------------------------------------------+-------------------------
 Reporter:  cliffseal                            |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Gallery                              |  Review
 Severity:  normal                               |     Version:  3.9.2
 Keywords:  dev-feedback needs-refresh needs-    |  Resolution:
  docs                                           |     Focuses:
-------------------------------------------------+-------------------------
Changes (by antpb):

 * keywords:  has-patch dev-feedback => dev-feedback needs-refresh needs-
               docs


Comment:

 Patch needs a refresh after #22400 because of
 `if ( ! empty( $link ) && 'file' === $link )`
 changing to  `if ( ! empty( $atts['link'] ) && 'file' === $atts['link'] )`

 Most `$link` calls have been wrapped in the `$atts` variable now.

 Will also need docs for shortcode addition `linksize`.

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


More information about the wp-trac mailing list