Commit Graph

1674 Commits

Author SHA1 Message Date
Daryl Koopersmith
56a6cac328 Extract the base views from media.
See #24424.


git-svn-id: http://core.svn.wordpress.org/trunk@24360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 21:03:04 +00:00
Daryl Koopersmith
c4e0a1fc06 Remove unnecessary local variable.
git-svn-id: http://core.svn.wordpress.org/trunk@24359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 20:58:35 +00:00
Daryl Koopersmith
2815460247 Begin a common WordPress Backbone helpers file.
Moves the `wp.template` helper to `wp-backbone.js`.



git-svn-id: http://core.svn.wordpress.org/trunk@24358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 20:47:55 +00:00
Bot (Assets)
4a57b437d9 Compress scripts/styles: 3.6-beta3-24330.
git-svn-id: http://core.svn.wordpress.org/trunk@24330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 22:58:58 +00:00
Andrew Ozz
f17d4bf90f 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: http://core.svn.wordpress.org/trunk@24328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 21:43:45 +00:00
Bot (Assets)
ac37e4b6dc Compress scripts/styles: 3.6-beta3-24274.
git-svn-id: http://core.svn.wordpress.org/trunk@24274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 04:58:58 +00:00
Andrew Ozz
2f0c58960a Separate the nonces update from checking the post lock. Fix scheduling the logged out check. See #23697, see #23295.
git-svn-id: http://core.svn.wordpress.org/trunk@24273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 03:47:09 +00:00
Bot (Assets)
0f72b7c967 Compress scripts/styles: 3.6-beta3-24272.
git-svn-id: http://core.svn.wordpress.org/trunk@24272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 02:58:55 +00:00
Andrew Ozz
1114e817c2 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: http://core.svn.wordpress.org/trunk@24271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 01:50:43 +00:00
Bot (Assets)
7583005842 Compress scripts/styles: 3.6-beta3-24270.
git-svn-id: http://core.svn.wordpress.org/trunk@24270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 00:58:56 +00:00
Andrew Ozz
a5da49fb85 Local autosaves: remove debug logging, see #23220
git-svn-id: http://core.svn.wordpress.org/trunk@24269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-15 23:26:36 +00:00
Andrew Ozz
c5cf8301d0 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: http://core.svn.wordpress.org/trunk@24268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-15 23:17:51 +00:00
Bot (Assets)
53fc8277f8 Compress scripts/styles: 3.6-beta3-24260.
git-svn-id: http://core.svn.wordpress.org/trunk@24260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 20:58:56 +00:00
Dominik Schilling
e6ebfdff1e hoverIntent r7. props mjbanks. fixes #23752.
git-svn-id: http://core.svn.wordpress.org/trunk@24259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 19:53:05 +00:00
Dominik Schilling
520673570c jQuery Migrate 1.2.1. see #22975.
git-svn-id: http://core.svn.wordpress.org/trunk@24252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 17:22:58 +00:00
Bot (Assets)
0d8676b446 Compress scripts/styles: 3.6-beta2-24222.
git-svn-id: http://core.svn.wordpress.org/trunk@24222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 18:58:57 +00:00
Andrew Ozz
4facd0d567 Local autosaves: show the notice above the post formats UI, see #23220
git-svn-id: http://core.svn.wordpress.org/trunk@24221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 18:23:05 +00:00
Bot (Assets)
a7fd4ea020 Compress scripts/styles: 3.6-beta2-24216.
git-svn-id: http://core.svn.wordpress.org/trunk@24216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 00:58:57 +00:00
Andrew Ozz
eb6910f23c TinyMCE: fix for the disappearing placeholders bug in Chrome, see #24177
git-svn-id: http://core.svn.wordpress.org/trunk@24215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 00:24:45 +00:00
Andrew Ozz
72478e1bce TinyMCE: attempt a workaround for WebKit bug inserting spans with font styles when creating UL or OL. See #17154
git-svn-id: http://core.svn.wordpress.org/trunk@24211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 23:03:44 +00:00
Bot (Assets)
526ecaf50a Compress scripts/styles: 3.6-beta2-24210.
git-svn-id: http://core.svn.wordpress.org/trunk@24210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 22:58:55 +00:00
Andrew Ozz
d0c5c59c94 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: http://core.svn.wordpress.org/trunk@24209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 22:52:55 +00:00
Andrew Ozz
19c3b4bfdc 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: http://core.svn.wordpress.org/trunk@24208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 22:45:58 +00:00
Dominik Schilling
434114d40e jQuery UI 1.10.3. fixes #23370.
git-svn-id: http://core.svn.wordpress.org/trunk@24204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 20:54:30 +00:00
Bot (Assets)
e4ed21d3d8 Compress scripts/styles: 3.6-beta2-24180.
git-svn-id: http://core.svn.wordpress.org/trunk@24180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-06 22:58:57 +00:00
Andrew Ozz
badaefce06 Logged out warnings:
- Don't remove login error messages coming from wp_signon().
- When the login form is shown in iframe, open all links in a new tab/window.
- Add filter for the login form error message.
See #23295

git-svn-id: http://core.svn.wordpress.org/trunk@24179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-06 21:35:50 +00:00
Bot (Assets)
e2100436b4 Compress scripts/styles: 3.6-beta2-24163.
git-svn-id: http://core.svn.wordpress.org/trunk@24163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-02 22:58:59 +00:00
Ryan Boren
849765385b Respect the link to setting when inserting a gallery.
Props SergeyBiryukov
fixes #23298


git-svn-id: http://core.svn.wordpress.org/trunk@24161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-02 22:07:37 +00:00
Bot (Assets)
0e433e1a2a Compress scripts/styles: 3.6-beta1-24140.
git-svn-id: http://core.svn.wordpress.org/trunk@24140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 20:36:10 +00:00
Sergey Biryukov
708806d2a6 Fix typo in heartbeat.js. see #23216.
git-svn-id: http://core.svn.wordpress.org/trunk@24139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 20:29:10 +00:00
Bot (Assets)
5e6ce84da3 Compress scripts/styles: 3.6-beta1-24138.
git-svn-id: http://core.svn.wordpress.org/trunk@24138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 17:46:49 +00:00
Andrew Nacin
b11ea751f7 Remove empty file.
git-svn-id: http://core.svn.wordpress.org/trunk@24136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 17:17:27 +00:00
Andrew Ozz
130a30587e Revert [24113], wp-tinymce.js.gz is missing couple of files.
git-svn-id: http://core.svn.wordpress.org/trunk@24117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-27 22:41:10 +00:00
Bot (Assets)
4a6b6963eb Compress scripts/styles: 3.6-beta1-24113. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@24113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 22:57:07 +00:00
Mark Jaquith
82df929f30 Fix the appearance of a blank media item due to [23893].
props kovshenin. fixes #24094.

git-svn-id: http://core.svn.wordpress.org/trunk@24110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 15:10:06 +00:00
Bot (Assets)
fd68455222 Compress scripts/styles: 3.6-beta1-24090.
git-svn-id: http://core.svn.wordpress.org/trunk@24090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 06:58:41 +00:00
Mark Jaquith
1f6d2f796a Force gallery state for gallery post format.
props lessbloat, wonderboymusic. fixes #24062.

git-svn-id: http://core.svn.wordpress.org/trunk@24087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 05:43:14 +00:00
Andrew Ozz
4ab8bee42d Upgrade to Plupload 1.5.7, fixes #24163
git-svn-id: http://core.svn.wordpress.org/trunk@24076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-24 21:54:17 +00:00
Bot (Assets)
644b8c619d Compress scripts/styles: 3.6-beta1-24060.
git-svn-id: http://core.svn.wordpress.org/trunk@24061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 20:58:40 +00:00
Andrew Nacin
00b7fa589a Remove ancient 'lookup' quicktag from the text editor. This had called up answers.com.
props mboynes, jonbishop, SergeyBiryukov.
fixes #23322.



git-svn-id: http://core.svn.wordpress.org/trunk@24052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 20:17:25 +00:00
Bot (Assets)
3685402f17 Compress scripts/styles: 3.6-beta1-24044.
git-svn-id: http://core.svn.wordpress.org/trunk@24044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 04:58:37 +00:00
Andrew Ozz
d2a8f064aa Post locks:
- Show 'Saving revision...' while autosaving after a post has been taken over. Change to 'Your latest changes were saved as a revision.' when autosave completes.
- Make sure a user exists before using $user->display_name.
- Add 'post_lock_text' action for extending the message text.

git-svn-id: http://core.svn.wordpress.org/trunk@24042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 03:08:51 +00:00
Bot (Assets)
c68aecdba2 Compress scripts/styles: 3.6-beta1-24023.
git-svn-id: http://core.svn.wordpress.org/trunk@24023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 22:58:38 +00:00
Mark Jaquith
412161de03 Standardize post format postmeta keys around the ones already used by the Crowd Favorite plugin.
props wonderboymusic. fixes #24010.

git-svn-id: http://core.svn.wordpress.org/trunk@24021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 20:57:44 +00:00
Bot (Assets)
81b300582e Compress scripts/styles: 3.6-beta1-24018.
git-svn-id: http://core.svn.wordpress.org/trunk@24018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 18:58:38 +00:00
Mark Jaquith
51e5c3436e Use attachment.url only if it is available, else fall back to props.url.
see #24046. see [24009].

git-svn-id: http://core.svn.wordpress.org/trunk@24017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 17:57:51 +00:00
Bot (Assets)
db4df8ab8b Compress scripts/styles: 3.6-beta1-24010.
git-svn-id: http://core.svn.wordpress.org/trunk@24010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 13:51:57 +00:00
Ryan Boren
d1675fcea4 Revert attachment.url back to props.url. Fixes error that prevents inserting media into the editor.
see #24046


git-svn-id: http://core.svn.wordpress.org/trunk@24009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 13:50:12 +00:00
Bot (Assets)
3841d591e6 Compress scripts/styles: 3.6-beta1-24008.
git-svn-id: http://core.svn.wordpress.org/trunk@24008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 06:58:39 +00:00
Mark Jaquith
56d5d62a19 New Post Format UI chooser treatment in response to testing.
* Bigger icons
* Format description under each
* UI hides after choice
* Saving without choosing implies "Standard"
* Helpful text, with "Change format" link

see #24046. props lessbloat, wonderboymusic.

git-svn-id: http://core.svn.wordpress.org/trunk@24006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 04:08:46 +00:00