Sergey Biryukov
0abc45b90f
Fix E_STRICT notices in walkers. props dvarga. see #24356 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24377 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-28 03:29:15 +00:00
Andrew Nacin
51731fc3eb
No need for a pass-by-reference here. props sunnyratilal, fixes #24433 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24376 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-27 15:47:46 +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
Sergey Biryukov
cc2f18445e
Fix switching post formats when JavaScript is disabled. props kovshenin. see #24360 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24373 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-27 01:02:10 +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
Dominik Schilling (ocean90)
d8395ec80c
Declare Text_Diff::trimNewlines() as static. Upstream is not back compat. props aaroncampbell. fixes #24372 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24363 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 22:10:53 +00:00
Andrew Nacin
ec0d4f2f75
Remove deprecated pass-by-reference from the Text_Diff external library. Upstream is not back compat. see #24372 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24362 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 21:38:25 +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
d63f067277
Compress scripts/styles: 3.6-beta3-24357.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24357 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 16:59:00 +00:00
Mark Jaquith
064451834e
Remove unnecessary parenthetical that should have been "e.g." instead of "i.e." anyway.
...
see #23119
git-svn-id: https://develop.svn.wordpress.org/trunk@24356 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 16:52:26 +00:00
Daryl Koopersmith
21bcd96e6e
Improve contrast of revision diffs. Fixes #24422 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24355 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 16:48:37 +00:00
Daryl Koopersmith
5d5bf06ad5
Remove strikethrough from revisions UI. See #24422 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24354 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 16:25:22 +00:00
Sergey Biryukov
f6fa418169
Use correct variable. props tollmanz. fixes #24419 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24353 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 11:35:43 +00:00
Sergey Biryukov
e4e71d98ba
Add @return for get_the_post_format_image(). Make sure the function always returns a string. props tollmanz. fixes #24414 . see #24348 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24352 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 23:56:00 +00:00
Lance Willett
a06fed2600
Twenty Thirteen: PHPDoc cleanup/completion, props DrewAPicture. Fixes #24413 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24351 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 21:24:08 +00:00
Lance Willett
30f277035c
Twenty Thirteen: remove CSS hack added in r24286 for pixel shift in Chrome with gallery thumbs. Not needed now that we're loading medium size (and not large), see r24338.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24350 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 21:22:58 +00:00
bumpbot
a999bc364f
Compress scripts/styles: 3.6-beta3-24349.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24349 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 20:58:56 +00:00
Sergey Biryukov
9405a37284
Auto-expand the menus accordion if JavaScript is disabled. fixes #24402 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24348 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 20:50:10 +00:00
Lance Willett
42cfbd701f
Twenty Thirteen: polish up RTL for editor styles, fixing blockquote and status entries. Fixes #24298 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24347 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 18:58:21 +00:00
Sergey Biryukov
71bb15b4c9
Remove unused variable. props zeo. fixes #24412 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24346 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 16:50:50 +00:00
Andrew Nacin
8a30181896
Remove docs suggesting that wp_update_user() creates a user if no ID is provided. See #16731 , that is incorrect at this time.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24345 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 16:22:22 +00:00
Ryan Boren
fcbfed2328
Introduce customize_save_after action.
...
Props dovyp, JustinSainton
fixes #24401
git-svn-id: https://develop.svn.wordpress.org/trunk@24344 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 10:33:30 +00:00
Lance Willett
21db022cc9
Twenty Thirteen: fix up Quote styles for the visual editor, see #24308 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24343 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 23:48:56 +00:00
Lance Willett
0393ef579f
Twenty Thirteen: fix comment cruft left from r24338.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24342 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 23:48:02 +00:00
Andrew Ozz
03f38ae6ca
TinyMCE: don't import color and background-color from the content when creating menus that have preview capabilities.
...
Fixes a visual glitch: when post formats styling is added in editor-styles.css, it is applied to the menus and not reset after changing format. See #24308 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24341 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 22:49:06 +00:00
Lance Willett
b86cae969a
Twenty Thirteen: properly center the navbar, props DrewAPicture. Fixes #24406 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24340 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 22:35:41 +00:00
potbot
8b4f5bdddc
POT, generated from r24338
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24339 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 21:14:28 +00:00
Lance Willett
bb183fdfc7
Twenty Thirteen: revert adding new image size for galleries., Using existing medium size instead, and thumbnail for mobile views. See #24307 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24338 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 20:39:51 +00:00
Andrew Nacin
c4ee22898d
Remove use of global $id from comment_form() and the media list table. see #24330 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24337 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 18:40:16 +00:00
Ryan Boren
5f472898e5
Use the global post rather than the global post ID. They don't always match, and the global post is more canonical.
...
see #24330
git-svn-id: https://develop.svn.wordpress.org/trunk@24336 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 18:16:24 +00:00
potbot
4d1d6f1992
POT, generated from r24334
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24335 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 18:14:16 +00:00
Jon Cave
cc6a2a0a0e
Properly escape source parameter in audio/video shortcodes. See #23282 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24334 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 17:45:59 +00:00
Lance Willett
d083fc7641
Twenty Thirteen: create new image size for galleries, at 300 x 300 so that "large" image size doesn't load for a resulting thumbnail on index views. See #24307 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24333 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 17:32:40 +00:00
Lance Willett
1533482d18
Twenty Thirteen: move word-wrap
rules to parent container of hyphenated text, and hyphenate long comment author names. Props SergeyBiryukov for first patches, fixes #24329 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24332 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 17:20:37 +00:00
Lance Willett
61ccbd34da
Twenty Thirteen: handle case for gallery post formats if there is no gallery shortcode in the post. Props obenland, fixes #24391 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24331 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 17:05:26 +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
Sergey Biryukov
2bb8434469
Switch to a CSS comment in gallery_shortcode() to avoid breaking markup when the shortcode is used inside an HTML comment. props mark-k, aaroncampbell. fixes #23787 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24329 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 22:27:53 +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