Opened 10 years ago
Closed 10 years ago
#30218 closed defect (bug) (fixed)
_.isUndefined( _wpRevisionsSettings ); should be _.isUndefined( window._wpRevisionsSettings );
Reported by: | ericlewis | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | Revisions | Keywords: | has-patch commit |
Focuses: | javascript | Cc: |
Description
This will bail on a JS TypeError if _wpRevisionsSettings is undefined.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
attachment:30218.2.diff uses the "is defined else" pattern we use elsewhere in JS.