#30219 closed defect (bug) (fixed)
Revisions modules should not rely on global settings
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.1 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Revisions | Keywords: | has-patch commit |
| Focuses: | javascript | Cc: |
Description
Some revisions Backbone modules currently depend on the global settings object (_wpRevisionsSettings).
This is an anti-pattern and tends to make these modules non-reusable.
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
In attachment:30219.diff, move globally referenced initial state for
wp.revisions.model.FrameStateto initializing attributes hash.