[wp-trac] [WordPress Trac] #35465: Improve wp.Backbone docs

WordPress Trac noreply at wordpress.org
Fri Apr 20 12:59:27 UTC 2018


#35465: Improve wp.Backbone docs
----------------------------------------+-------------------------------
 Reporter:  ericlewis                   |       Owner:  gma992
     Type:  enhancement                 |      Status:  reopened
 Priority:  normal                      |   Milestone:  5.0
Component:  General                     |     Version:  3.5
 Severity:  normal                      |  Resolution:
 Keywords:  good-first-bug needs-patch  |     Focuses:  javascript, docs
----------------------------------------+-------------------------------

Comment (by adamsilverstein):

 > I noticed further {?Object} and {?number}here. Should we remove the
 question marks?

 The question mark indicates the field is optional. If the Object is
 optional it can stay. I don't see a number parameter in that function al
 all though, seems like that line can be removed?

 > Are the > and – really needed here?

 These do seem out of place. I think you can leave out the '>' items or
 change them both to a regular '-' dash.

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


More information about the wp-trac mailing list