Mark Jaquith
fb97e258f9
Restore code that returns the existing media object if it already exists.
...
props programmin, adamsilverstein. fixes #24062
git-svn-id: https://develop.svn.wordpress.org/trunk@24447 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 21:55:17 +00:00
bumpbot
6aef31fc5f
Compress scripts/styles: 3.6-beta3-24432.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24432 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-09 00:58:58 +00:00
Andrew Ozz
88e774f7a0
Autosave: properly set autosaveLast when TinyMCE is the default editor. Prevents firing autosave when there are no changes. See #23220
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24431 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-09 00:45:01 +00:00
bumpbot
cd69621b0a
Compress scripts/styles: 3.6-beta3-24420.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24420 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 16:58:53 +00:00
Mark Jaquith
c77d6c27c3
Properly uncheck the "new tab" box when editing a non-new-tab link.
...
Previously, if you had just edited a new-tab link, a subsequent edit of a non-new-tab link would mistakenly keep the checkbox checked.
props sc0ttkclark. fixes #24520 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24419 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 16:49:25 +00:00
Dominik Schilling (ocean90)
c9be4070d3
Update MediaElement.js to 2.12.0. see #24183 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24410 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 21:50:23 +00:00
bumpbot
2a6b867ba1
Compress scripts/styles: 3.6-beta3-24407.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24407 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 00:59:01 +00:00
Andrew Ozz
22f855d84e
Heartbeat: rename some vars/args to make them more intuitive, don't set user_id on every request, see #23216
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24406 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 00:13:40 +00:00
bumpbot
9bdd15126d
Compress scripts/styles: 3.6-beta3-24398.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24398 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-02 02:59:00 +00:00
Andrew Ozz
2390c48b88
Remove saving of post_format in autosave and revisions, fixes #24455
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24397 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-02 01:29:44 +00:00
Dominik Schilling (ocean90)
8f76467c57
Update to jQuery 1.10.1. fixes #24426 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24395 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-01 09:16:11 +00:00
bumpbot
c436a18bbc
Compress scripts/styles: 3.6-beta3-24385.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24385 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-30 00:59:02 +00:00
Andrew Ozz
a6503c1091
Heartbeat: in isLocalFrame() compare window.location.origin to iframe.src to stop most cases where WebKit triggers errors about different iframe origin, see #23216
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24384 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-30 00:08:53 +00:00
bumpbot
80e11fd681
Compress scripts/styles: 3.6-beta3-24375.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24375 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-27 15:08:27 +00:00
Andrew Nacin
a8ca8a8d3a
Add wp-util.min.js. See #24424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24374 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-27 15:06:29 +00:00
bumpbot
ed85f96527
Compress scripts/styles: 3.6-beta3-24372.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24372 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 08:58:56 +00:00
Dominik Schilling (ocean90)
2802ecc440
Remove deprecated jQuery API .browser in suggest.js. No need for a replacement since it works without too. see #22975 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24371 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 08:49:05 +00:00
bumpbot
c75d960236
Compress scripts/styles: 3.6-beta3-24369.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24370 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 06:58:58 +00:00
Daryl Koopersmith
91a227af5b
Move XHR helpers from media to utils. See #24424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24369 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 06:58:01 +00:00
Daryl Koopersmith
89fef5d882
Branch the generic JS utilities from the Backbone commands. See #24424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24368 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 06:43:13 +00:00
Daryl Koopersmith
bc112c68e5
Add Backbone property to the wp-backbone namespace. See #24424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24367 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 06:34:33 +00:00
Daryl Koopersmith
7da0dbcbb4
Alias media.template to wp.template. See #23263 , #24424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24366 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 05:55:49 +00:00
bumpbot
dc997217bb
Compress scripts/styles: 3.6-beta3-24365.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24365 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 22:58:57 +00:00
Dominik Schilling (ocean90)
2738606b12
Update to jQuery 1.10.0. Still includes jQuery in original, unminified form, for ease of testing and bug reporting. fixes #24426 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24364 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 22:33:07 +00:00
Daryl Koopersmith
bc47ae4f6d
Update the subview controller for the patterns found in Backbone 1.0.
...
Fixes #24424 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24361 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 21:38:12 +00:00
Daryl Koopersmith
cc6ba63c44
Extract the base views from media.
...
See #24424 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24360 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 21:03:04 +00:00
Daryl Koopersmith
08a484147f
Remove unnecessary local variable.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24359 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 20:58:35 +00:00
Daryl Koopersmith
2dcee73454
Begin a common WordPress Backbone helpers file.
...
Moves the `wp.template` helper to `wp-backbone.js`.
git-svn-id: https://develop.svn.wordpress.org/trunk@24358 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 20:47:55 +00:00
bumpbot
fa1dd818d1
Compress scripts/styles: 3.6-beta3-24330.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24330 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 22:58:58 +00:00
Andrew Ozz
23514efe8a
Local autosaves: always set 'autosave = true' in the post data when triggering local autosave on form submit. Fixes cases where the form is submitted shortly after loading the Edit screen, local autosave hasn't run yet and there is no previous data to be merged. Fixes #23960 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24328 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:43:45 +00:00
bumpbot
800ef593aa
Compress scripts/styles: 3.6-beta3-24274.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24274 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 04:58:58 +00:00
Andrew Ozz
e4f73af495
Separate the nonces update from checking the post lock. Fix scheduling the logged out check. See #23697 , see #23295 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24273 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 03:47:09 +00:00
bumpbot
1d4f81f8ba
Compress scripts/styles: 3.6-beta3-24272.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24272 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 02:58:55 +00:00
Andrew Ozz
16f9ab52d5
Logged out warnings: by default run the logged-out check every 3 min. Tag along if something else is using heartbeat. See #23295
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24271 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 01:50:43 +00:00
bumpbot
d217792ffb
Compress scripts/styles: 3.6-beta3-24270.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24270 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 00:58:56 +00:00
Andrew Ozz
5326a36210
Local autosaves: remove debug logging, see #23220
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24269 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 23:26:36 +00:00
Andrew Ozz
82998d74a4
Heartbeat: don't connect when a response is not expected by any script (nothing to send), remove debug logging, clean up code formatting, see #23216
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24268 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 23:17:51 +00:00
bumpbot
cd5208457e
Compress scripts/styles: 3.6-beta3-24260.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24260 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 20:58:56 +00:00
Dominik Schilling (ocean90)
f473389f71
hoverIntent r7. props mjbanks. fixes #23752 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24259 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 19:53:05 +00:00
Dominik Schilling (ocean90)
eb587cba7c
jQuery Migrate 1.2.1. see #22975 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24252 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 17:22:58 +00:00
bumpbot
3f306f67b8
Compress scripts/styles: 3.6-beta2-24222.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24222 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 18:58:57 +00:00
Andrew Ozz
8acec51116
Local autosaves: show the notice above the post formats UI, see #23220
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24221 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 18:23:05 +00:00
bumpbot
b0d4114414
Compress scripts/styles: 3.6-beta2-24216.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24216 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 00:58:57 +00:00
Andrew Ozz
05f48e1725
TinyMCE: fix for the disappearing placeholders bug in Chrome, see #24177
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24215 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 00:24:45 +00:00
Andrew Ozz
f4b1c3c53f
TinyMCE: attempt a workaround for WebKit bug inserting spans with font styles when creating UL or OL. See #17154
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24211 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 23:03:44 +00:00
bumpbot
40ba7996f8
Compress scripts/styles: 3.6-beta2-24210.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24210 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:58:55 +00:00
Andrew Ozz
701a2d23f9
Post locks and autosave:
...
- Move nonces refreshing from autosave to lock checking.
- Do autosave only when there is something to save.
See #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@24209 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:52:55 +00:00
Andrew Ozz
db72372fcc
Logged out warnings:
...
- Don't use <base> tag to set target="_blank". It can break form submission. Instead, set target only on links with JS.
- Fix same domain comparison in wp_auth_check_html() when FORCE_SSL_LOGIN == true.
- Properly show/hide the "Close" button when the dialog is shown multiple times.
See #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@24208 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:45:58 +00:00
Dominik Schilling (ocean90)
e99d155133
jQuery UI 1.10.3. fixes #23370 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24204 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 20:54:30 +00:00
bumpbot
d8a988e857
Compress scripts/styles: 3.6-beta2-24180.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24180 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-06 22:58:57 +00:00