#24424 closed task (blessed) (fixed)
Add a general WordPress Backbone utility file
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
We've already added wp.template
, but we could use a few more common Backbone helpers. Let's move these to a single wp-backbone
file to start.
Attachments (1)
Change History (16)
#3
@
12 years ago
- Owner set to koopersmith
- Resolution set to fixed
- Status changed from new to closed
In 24361:
#8
@
12 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Getting this on Edit Post screen after [24369] (with SCRIPT_DEBUG
disabled):
TypeError: wp.xhr is undefined
The error breaks "Add Media" button (as reported in the forums), and also breaks the JS for switching post formats.
Looks like bumpbot didn't create wp-util.min.js
.
#9
follow-up:
↓ 10
@
12 years ago
I can't seem to replicate it at the moment, but when I first saw the issue with "Add Media", "Select Audio", etc. I was also having a problem, where on custom post types, the switcher was kicking me out to standard 'post' types and out of the custom post type. The link was missing the post_type=demo
var. Just a heads up that maybe someone else can test.
See [24358] and [24359].