Opened 12 years ago
Closed 12 years ago
#30218 closed defect (bug) (fixed)
_.isUndefined( _wpRevisionsSettings ); should be _.isUndefined( window._wpRevisionsSettings );
| Reported by: | ericlewis | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | Revisions | Version: | 3.6 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | javascript |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
attachment:30218.2.diff uses the "is defined else" pattern we use elsewhere in JS.