[wp-trac] [WordPress Trac] #35878: In `wp.media.view.Attachment.render` tested parameter is missing a default.

WordPress Trac noreply at wordpress.org
Fri Mar 25 06:09:02 UTC 2016


#35878: In `wp.media.view.Attachment.render` tested parameter is missing a default.
-----------------------------------+------------------------------
 Reporter:  georgestephanis        |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  lowest                 |   Milestone:  Awaiting Review
Component:  Media                  |     Version:  4.2
 Severity:  minor                  |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  javascript
-----------------------------------+------------------------------

Comment (by adamsilverstein):

 @georgestephanis This [http://stackoverflow.com/questions/20835544/how-to-
 fight-a-lots-of-unresolved-variables-warning-in-webstorm SO article]
 suggested adding a doc block, which fixed the warning for me.

 [[Image(http://cl.ly/1z0Y3i3Z413K/attachment.js_-_develop.svn.wordpress
 .org_-_develop.svn.wordpress.org_2016-03-25_00-08-05.jpg)]]

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


More information about the wp-trac mailing list