Commit Graph

22720 Commits

Author SHA1 Message Date
Lance Willett
5a92c3184e Twenty Thirteen markup cleanup:
* Remove trailing slashes on void elements such as `meta` and `link`
 * Remove `type` attribute from `script` element

Props retlehs, fixes #24499.

git-svn-id: https://develop.svn.wordpress.org/trunk@24412 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 00:29:07 +00:00
Lance Willett
5e6dbe3de0 Twenty Thirteen: improve backward compatibility escape hatch for pre-3.6 versions:
* Switch to the built-in method of providing a back link in `wp_die()` for the Customizer
 * Use WP_DEFAULT_THEME for both arguments during theme switching to simplify the logic
 * Prevent the 3.3 and earlier theme preview action gracefully

Props obenland for patches, fixes #24441.

git-svn-id: https://develop.svn.wordpress.org/trunk@24411 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 00:22:09 +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
Sergey Biryukov
6d1975e335 Fix E_STRICT notice in WP_Theme_Install_List_Table::_js_vars(). see #24356.
git-svn-id: https://develop.svn.wordpress.org/trunk@24409 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 16:51:07 +00:00
Andrew Ozz
2860f4769e Post locks:
- When a post is locked, ensure the 'Go back' button doesn't reload the same screen. If no referrer, change the button from 'Go back' to 'Go to All Posts'/'Go to All Pages' etc.
- Remove restriction on checking locks only for posts.
See #23697.



git-svn-id: https://develop.svn.wordpress.org/trunk@24408 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 03:01:59 +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
Lance Willett
e802145548 Twenty Thirteen: correct PHPDoc for using get_content_url() to grab first link in post content. See #24469.
git-svn-id: https://develop.svn.wordpress.org/trunk@24405 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 22:20:43 +00:00
Lance Willett
625724024b Twenty Thirteen: clean up RTL styles per changes in r24391, see #24469.
git-svn-id: https://develop.svn.wordpress.org/trunk@24404 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 22:17:09 +00:00
potbot
d5ac993525 POT, generated from r24402
git-svn-id: https://develop.svn.wordpress.org/trunk@24403 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 22:14:13 +00:00
Lance Willett
3bb3d6f97f Twenty Thirteen: Clean up image attachment template and move logic to twentythirteen_the_attached_image() function. Props obenland, fixes #24479.
git-svn-id: https://develop.svn.wordpress.org/trunk@24402 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 21:44:25 +00:00
Lance Willett
3fef0e7c6c Twenty Thirteen: remove mention of twentythirteen_comment() in PHPDoc, props zeo. Closes #24482.
git-svn-id: https://develop.svn.wordpress.org/trunk@24401 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 21:35:26 +00:00
Mark Jaquith
cf3f5acf71 Lose content removal and splitting from the media extraction functions.
see #24484

git-svn-id: https://develop.svn.wordpress.org/trunk@24400 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 19:27:58 +00:00
Mark Jaquith
bf9dd62a78 Remove a bunch of Post Format template functions.
* get_post_format_meta()
* add_chat_detection_format()
* get_content_chat()
* get_the_post_format_chat()
* the_post_format_chat()
* get_content_quote()
* get_the_post_format_quote()
* the_post_format_quote()
* get_the_post_format_url()
* the_post_format_url()
* get_the_remaining_content()
* the_remaining_content()

see #24452

git-svn-id: https://develop.svn.wordpress.org/trunk@24399 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-02 16:26:10 +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)
b8aaa1efae Replace the global $id from manage_media_custom_column action with $post-ID. Missed in [24337]. props nickdaugherty. fixes #24476.
git-svn-id: https://develop.svn.wordpress.org/trunk@24396 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-01 09:40:00 +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
Lance Willett
6bbc589384 Twenty Thirteen: use lowercase color hex value in RTL CSS file, props zeo. Fixes #24474.
git-svn-id: https://develop.svn.wordpress.org/trunk@24394 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 22:11:57 +00:00
Lance Willett
fe880f9ac1 Twenty Thirteen: better styles for blockquote italic and bold text. Fixes #24471.
git-svn-id: https://develop.svn.wordpress.org/trunk@24393 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 18:48:22 +00:00
potbot
8bf5c95496 POT, generated from r24391
git-svn-id: https://develop.svn.wordpress.org/trunk@24392 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 18:14:37 +00:00
Lance Willett
a9d619ffff Twenty Thirteen: remove all post_format_*() and the_remaining_content() function calls, reverting to the_content(). Simplify functions.php, JS, and CSS files accordingly. Props obenland for starter patch, fixes #24469 and #24407. See #24452.
git-svn-id: https://develop.svn.wordpress.org/trunk@24391 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 17:45:00 +00:00
Lance Willett
0d0434796a Twenty Thirteen: remove unused custom-font body class value. See #24445.
git-svn-id: https://develop.svn.wordpress.org/trunk@24390 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 05:23:48 +00:00
Lance Willett
bbb57bbaf8 Twenty Thirteen: revert hyphenation and word-break changes from r24332, and add better fix for long comment author names. Props SergeyBiryukov, fixes #24329 and #24451.
git-svn-id: https://develop.svn.wordpress.org/trunk@24389 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 05:20:03 +00:00
Mark Jaquith
e0a0e46abd First pass at removing Post Format UI.
see #24452. fixes #24455.

git-svn-id: https://develop.svn.wordpress.org/trunk@24388 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-30 21:33:46 +00:00
Mark Jaquith
87a35c7838 Revert [23450]. Removes post format compat.
see #23347, #24452. closes #24454.

git-svn-id: https://develop.svn.wordpress.org/trunk@24387 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-30 17:55:22 +00:00
Mark Jaquith
234bebef0b Revert [23467]. Removes structured-post-format theme support.
see #23347, #24452. closes #24453.

git-svn-id: https://develop.svn.wordpress.org/trunk@24386 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-30 17:55:14 +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
Sergey Biryukov
936408271f Correct phpdoc for Add New User screen in network admin. props zeo. fixes #24446.
git-svn-id: https://develop.svn.wordpress.org/trunk@24383 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-29 23:35:13 +00:00
Peter Westwood
e54227056b XMLRPC: Expose the admin and login urls as read-only options over xml-rpc to make it easier to write rich clients. Fixes #23446 props daniloercoli.
git-svn-id: https://develop.svn.wordpress.org/trunk@24382 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-29 11:01:32 +00:00
Sergey Biryukov
de68a37dc4 Avoid 'Only variables should be assigned by reference' warnings during installation. props sunnyratilal. fixes #24438.
git-svn-id: https://develop.svn.wordpress.org/trunk@24381 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-28 17:06:39 +00:00
Sergey Biryukov
e210a7f280 Remove unnecessary esc_attr() call and redundant title attributes. props zeo. fixes #24437.
git-svn-id: https://develop.svn.wordpress.org/trunk@24380 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-28 04:53:46 +00:00
Sergey Biryukov
fbdb577df0 Fix E_STRICT notice in WP_MS_Themes_List_Table::single_row(). fixes #24356.
git-svn-id: https://develop.svn.wordpress.org/trunk@24379 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-28 04:10:10 +00:00
Sergey Biryukov
0df3ab62a7 Fix E_STRICT notice in wp_get_popular_importers(). see #24356.
git-svn-id: https://develop.svn.wordpress.org/trunk@24378 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-28 03:53:59 +00:00
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