Commit Graph

12138 Commits

Author SHA1 Message Date
Andrew Nacin
65cc9c5d2a Media: Add awareness to Attachment Display Settings that audio and video can be embedded.
Also:
 * Add file length metadata to Attachment Details.
 * Round the kb/s bitrate on post.php.

fixes #24449.



git-svn-id: https://develop.svn.wordpress.org/trunk@24777 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 05:39:08 +00:00
bumpbot
6cd90cfb14 Compress scripts/styles: 3.6-RC1-24776.
git-svn-id: https://develop.svn.wordpress.org/trunk@24776 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 04:58:52 +00:00
Andrew Nacin
3664274461 Autosave:
* Remove editor.js as a dependency for autosave.js, as it was in 3.5.
 * Remove heartbeat.js as an implicit dependency.
 * Abstract out the serialization of title/content/excerpt for comparisons.

props azaozz.
fixes #24756.



git-svn-id: https://develop.svn.wordpress.org/trunk@24774 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 03:05:21 +00:00
bumpbot
e1ce64b505 Compress scripts/styles: 3.6-RC1-24773.
git-svn-id: https://develop.svn.wordpress.org/trunk@24773 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 22:58:51 +00:00
Mark Jaquith
43902fb740 Fix a media regression in [24110] that could cause duplicate models.
Props garyc40. Fixes #24753. See #24094, #23830.

git-svn-id: https://develop.svn.wordpress.org/trunk@24771 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 22:24:33 +00:00
Andrew Nacin
d79eda6612 Rename limit-response-size to limit_response_size. see #23472.
git-svn-id: https://develop.svn.wordpress.org/trunk@24767 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 18:55:05 +00:00
Andrew Nacin
51dc69ccc7 Remove debug.
git-svn-id: https://develop.svn.wordpress.org/trunk@24766 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 17:13:41 +00:00
Andrew Nacin
b7dba77c45 Confirm we are dealing with an Imagick object. see #24539.
git-svn-id: https://develop.svn.wordpress.org/trunk@24765 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 17:01:00 +00:00
bumpbot
7164de7311 Compress scripts/styles: 3.6-RC1-24764.
git-svn-id: https://develop.svn.wordpress.org/trunk@24764 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 06:58:52 +00:00
Andrew Nacin
24243ae134 Make update_option() consistent with add_option() for how serializable data is stored in the object cache.
props rmccue.
fixes #23381.



git-svn-id: https://develop.svn.wordpress.org/trunk@24760 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-22 04:24:13 +00:00
Andrew Nacin
80260b9ef9 Add a default post_title value to wp_insert_attachment() to avoid a notice when there is no ID3 title.
props wonderboymusic.
see #24805.



git-svn-id: https://develop.svn.wordpress.org/trunk@24759 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-20 20:20:47 +00:00
Andrew Nacin
d0c4c4c334 Check that we have a database connection in wpdb::_real_escape(). see #24773.
git-svn-id: https://develop.svn.wordpress.org/trunk@24758 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-20 20:16:21 +00:00
bumpbot
40153f6e16 Compress scripts/styles: 3.6-RC1-24757.
git-svn-id: https://develop.svn.wordpress.org/trunk@24757 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-20 06:58:59 +00:00
Andrew Nacin
9b72b3f3c2 Update MediaElement.js to include i18n fixes that were accepted upstream. Add strings to script-loader.
props SergeyBiryukov.
see #24183.



git-svn-id: https://develop.svn.wordpress.org/trunk@24755 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 19:21:08 +00:00
bumpbot
ca1ac92ba4 Compress scripts/styles: 3.6-RC1-24754.
git-svn-id: https://develop.svn.wordpress.org/trunk@24754 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 16:59:02 +00:00
bumpbot
cfbcacfb5f Compress scripts/styles: 3.6-RC1-24752.
git-svn-id: https://develop.svn.wordpress.org/trunk@24752 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 14:58:50 +00:00
bumpbot
e216254c06 Compress scripts/styles: 3.6-RC1-24750.
git-svn-id: https://develop.svn.wordpress.org/trunk@24750 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 02:58:49 +00:00
Andrew Nacin
4d7ef46b70 Simplify heartbeat API.
* Move to a method to check connection errors, a better framework for future changes.
 * Remove start(), stop(), autostart.

props carldanley.
fixes #23216.



git-svn-id: https://develop.svn.wordpress.org/trunk@24749 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 01:39:48 +00:00
bumpbot
fd4edd145f Compress scripts/styles: 3.6-RC1-24748.
git-svn-id: https://develop.svn.wordpress.org/trunk@24748 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 00:58:51 +00:00
Andrew Nacin
d1a1f8daa1 Post type support for local autosaves. props azaozz. see #24756.
git-svn-id: https://develop.svn.wordpress.org/trunk@24747 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-19 00:22:22 +00:00
bumpbot
76dae29fc7 Compress scripts/styles: 3.6-RC1-24746.
git-svn-id: https://develop.svn.wordpress.org/trunk@24746 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 22:58:50 +00:00
Andrew Nacin
56c59d7078 Remove the Spellchecker button from TinyMCE.
It appears Google has finally shut off the old private API it used. Spellcheckers built-in to browsers (and operating systems) seem to be the best alternative.

A WordPress plugin could still re-enable this TinyMCE plugin if they wanted.

props ryanduff for initial patch.
fixes #24789.



git-svn-id: https://develop.svn.wordpress.org/trunk@24745 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 22:44:40 +00:00
Andrew Nacin
3176613bc0 Better 'Connection lost' notice that includes an indication of activity. fixes #24695.
git-svn-id: https://develop.svn.wordpress.org/trunk@24743 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 21:33:59 +00:00
bumpbot
23c24db59c Compress scripts/styles: 3.6-RC1-24742.
git-svn-id: https://develop.svn.wordpress.org/trunk@24742 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 20:58:53 +00:00
Ryan Boren
57778b81b1 Introduce wp_style_add_data() as a wrapper for $wp_styles->add_data().
Props obenland, nacin
fixes #18753


git-svn-id: https://develop.svn.wordpress.org/trunk@24740 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 19:46:38 +00:00
Ryan Boren
f32bc0c541 Fire wp_auth_check_load() from admin_enqueue_scripts instead of admin_init so that it can access the current screen object.
Black list the update and upgrade screens.

Allow plugins to white/black list screens via the wp_auth_check_load filter.

Props nacin

see #23295


git-svn-id: https://develop.svn.wordpress.org/trunk@24738 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 19:06:35 +00:00
bumpbot
8d6bc51ede Compress scripts/styles: 3.6-RC1-24737.
git-svn-id: https://develop.svn.wordpress.org/trunk@24737 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 18:58:49 +00:00
Ryan Boren
5211399922 Allow absolute URLs in editor styles.
Props nacin, obenland
fixes #24787


git-svn-id: https://develop.svn.wordpress.org/trunk@24735 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 18:11:43 +00:00
bumpbot
fb6badbc6f Compress scripts/styles: 3.6-RC1-24733.
git-svn-id: https://develop.svn.wordpress.org/trunk@24733 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 16:58:54 +00:00
Andrew Nacin
93943d6cb9 XML-RPC: Recursively escape arrays as before, to avoid stomping nested objects. fixes #21767.
git-svn-id: https://develop.svn.wordpress.org/trunk@24731 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 14:31:25 +00:00
Ryan Boren
2a4688c413 Fix editing images with GD when using streams.
Props rmccue, markoheijnen, nacin
fixes #24459


git-svn-id: https://develop.svn.wordpress.org/trunk@24727 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-17 21:16:44 +00:00
Andrew Nacin
ff7532e518 Ensure _deprecated_function() exists before calling it. wpdb currently does not have a full functions.php dependency, and this can break external inclusions. see #24774.
git-svn-id: https://develop.svn.wordpress.org/trunk@24724 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-17 21:08:05 +00:00
Peter Westwood
8320d68a26 Fall back to non-translated strings in _deprecated_*() if the translation function doesn't exist. This may be the case in sunrise, for example.
Fixes #24778 props SergeyBiryukov.


git-svn-id: https://develop.svn.wordpress.org/trunk@24723 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-17 21:04:50 +00:00
Andrew Nacin
f423a33e3b Update XML-RPC comment. props DrewAPicture, fixes #24751.
git-svn-id: https://develop.svn.wordpress.org/trunk@24721 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-17 20:19:06 +00:00
Andrew Nacin
1a8404fc79 Avoid a sanitize_key() call on ID, as this causes it to be lowercased. wp_dropdown_users() requires user_login as a fallback; specify it for get_users(). see #21767.
git-svn-id: https://develop.svn.wordpress.org/trunk@24719 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-17 04:46:09 +00:00
Andrew Nacin
37442d3066 Deprecate wpdb::escape() in favor of wpdb::prepare() and esc_sql(). fixes #24774.
git-svn-id: https://develop.svn.wordpress.org/trunk@24718 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-16 17:44:42 +00:00
bumpbot
3d367636c9 Compress scripts/styles: 3.6-RC1-24717.
git-svn-id: https://develop.svn.wordpress.org/trunk@24717 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-16 14:58:52 +00:00
Andrew Nacin
116c11615a Use wp_slash() instead of the DB layer in XML-RPC. see #21767.
git-svn-id: https://develop.svn.wordpress.org/trunk@24716 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-16 14:38:54 +00:00
Andrew Nacin
1f4997686b More clear and concise escaping in get_page_by_path(). see #21767.
git-svn-id: https://develop.svn.wordpress.org/trunk@24715 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-16 14:23:29 +00:00
Andrew Nacin
40623f1c68 Use sanitize_key() instead of esc_sql() when 'escaping' variable DB field names. see #21767.
git-svn-id: https://develop.svn.wordpress.org/trunk@24714 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-16 14:21:05 +00:00
Andrew Nacin
25708e95f1 Use wp_slash() in places where we improperly used the DB API instead. see #21767.
git-svn-id: https://develop.svn.wordpress.org/trunk@24713 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-16 14:19:03 +00:00
Andrew Nacin
823d6b779b Always use mysql_real_escape_string(), even when DB_CHARSET is not properly set. fixes #24773.
git-svn-id: https://develop.svn.wordpress.org/trunk@24712 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-16 14:07:53 +00:00
Andrew Nacin
e430a0d730 Close an HTML tag inside the add_filter() inline doc. props johnbillion, fixes #24772.
git-svn-id: https://develop.svn.wordpress.org/trunk@24711 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-16 13:59:43 +00:00
Mark Jaquith
4f2dc7f00f Only add the autosave notice to the first <h2> on the page.
Props azaozz. See #24755.

git-svn-id: https://develop.svn.wordpress.org/trunk@24710 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-16 13:03:22 +00:00
Andrew Ozz
dcaa4eb4ed Fix a comment typo in heartbeat.js, props mordauk, fixes #24745.
git-svn-id: https://develop.svn.wordpress.org/trunk@24705 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-13 18:16:57 +00:00
bumpbot
04053d5dcb Compress scripts/styles: 3.6-RC1-24704.
git-svn-id: https://develop.svn.wordpress.org/trunk@24704 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-13 16:58:47 +00:00
Mark Jaquith
f38e46bd60 Bump for RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@24701 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-13 03:12:06 +00:00
bumpbot
61eaa1d080 Compress scripts/styles: 3.6-beta4-24700.
git-svn-id: https://develop.svn.wordpress.org/trunk@24700 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-13 02:58:56 +00:00
bumpbot
9647c32185 Compress scripts/styles: 3.6-beta4-24697.
git-svn-id: https://develop.svn.wordpress.org/trunk@24697 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-13 00:58:52 +00:00
Andrew Nacin
4f458cb0d8 ID3 1.9.7.
props wonderboymusic.
fixes #24737.



git-svn-id: https://develop.svn.wordpress.org/trunk@24696 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-13 00:37:36 +00:00
Andrew Ozz
1989f70fd1 Logged out warnings:
- Replace the Close button with an always visible "X" icon in the top/right corner.
- Check if the user is still logged in every 3 min. by default.
- Add 'wp_auth_check_interval' filter so the interval can be set from PHP.
See #23295.

git-svn-id: https://develop.svn.wordpress.org/trunk@24695 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 23:32:32 +00:00
bumpbot
343d1f2333 Compress scripts/styles: 3.6-beta4-24694.
git-svn-id: https://develop.svn.wordpress.org/trunk@24694 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 22:58:49 +00:00
Andrew Nacin
a8fb7603c6 Revert title auto-generation for asides and statuses.
Reverts [24043] and related.

fixes #24011.



git-svn-id: https://develop.svn.wordpress.org/trunk@24693 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 22:35:38 +00:00
Andrew Nacin
cbc7814345 For an intermittent connection, only disable save and publish buttons when the request times out. An error still means a we have a connection.
props azaozz.
see #24695.



git-svn-id: https://develop.svn.wordpress.org/trunk@24691 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 21:07:44 +00:00
bumpbot
3275463453 Compress scripts/styles: 3.6-beta4-24690.
git-svn-id: https://develop.svn.wordpress.org/trunk@24690 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 20:58:53 +00:00
Andrew Nacin
ce57a4b115 Avoid empty header color after enabling header text via Customizer. props obenland, fixes #23761.
git-svn-id: https://develop.svn.wordpress.org/trunk@24687 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 20:41:46 +00:00
Mark Jaquith
b10a51b03e Revisions: more graceful tooltips
* Use hoverIntent to prevent inadvertent display and provide more forgiving exploration.
* Nice interruptable fading animation.
* Subtle CSS transition when moving the tooltip side-to-side.

Fixes #24734. See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24686 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 20:34:14 +00:00
Andrew Nacin
694a03be6a Drop get_images_in_content() and get_image_in_content(), until recently get_content_image(s)(). fixes #24202.
git-svn-id: https://develop.svn.wordpress.org/trunk@24685 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 20:34:07 +00:00
Andrew Nacin
09658b5a03 Add types parameter to get_media_embedded_in_content(). props aaroncampbell. see #24202.
git-svn-id: https://develop.svn.wordpress.org/trunk@24684 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 19:51:59 +00:00
Andrew Nacin
3a408ff249 Move get_url_in_content() out of post-formats.php. see #24202.
git-svn-id: https://develop.svn.wordpress.org/trunk@24683 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 19:38:37 +00:00
Andrew Nacin
a187c535ca Simplify and reduce the new media/content extraction functions.
The URL extraction function is now get_url_in_content(). For more, see #24202.

Also adds filters to get_post_galleries() and get_post_gallery(). fixes #24309.



git-svn-id: https://develop.svn.wordpress.org/trunk@24682 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 19:34:59 +00:00
bumpbot
91636339bc Compress scripts/styles: 3.6-beta4-24681.
git-svn-id: https://develop.svn.wordpress.org/trunk@24681 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 18:58:55 +00:00
bumpbot
8142fe4a77 Compress scripts/styles: 3.6-beta4-24676.
git-svn-id: https://develop.svn.wordpress.org/trunk@24676 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 16:58:53 +00:00
bumpbot
60e8683a41 Compress scripts/styles: 3.6-beta4-24672.
git-svn-id: https://develop.svn.wordpress.org/trunk@24672 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 14:58:49 +00:00
bumpbot
88b8cd8f2f Compress scripts/styles: 3.6-beta4-24669.
git-svn-id: https://develop.svn.wordpress.org/trunk@24669 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 06:19:07 +00:00
bumpbot
a73c2969dd Compress scripts/styles: 3.6-beta4-24665.
git-svn-id: https://develop.svn.wordpress.org/trunk@24665 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 22:58:49 +00:00
Mark Jaquith
1fb9b2cfa1 Revisions: real URLs and preloading of the requested diff.
* Real URLs are being used now, using pushState. `?revision={id}` or `?from={from}&to={to}`.
* Drop the redundant `action=edit` from the URLs (this is the default).
* The initial comparison is preloaded, whether a single revision or a compare-two situation.

See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24664 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 22:56:48 +00:00
bumpbot
9fe8848e7b Compress scripts/styles: 3.6-beta4-24662.
git-svn-id: https://develop.svn.wordpress.org/trunk@24662 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 18:58:51 +00:00
bumpbot
7edc21a054 Compress scripts/styles: 3.6-beta4-24659.
git-svn-id: https://develop.svn.wordpress.org/trunk@24659 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 10:58:54 +00:00
bumpbot
8f7c8150d1 Compress scripts/styles: 3.6-beta4-24656.
git-svn-id: https://develop.svn.wordpress.org/trunk@24656 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 00:58:52 +00:00
Andrew Ozz
12c0ce7913 Logged out warnings:
- Close the iframe immediately on successful login.
- Catch iframe origin exceptions in WebKit when there is a server error or another page is loaded in the iframe.
See #23295.

git-svn-id: https://develop.svn.wordpress.org/trunk@24655 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 00:44:37 +00:00
Andrew Ozz
73697f9577 Add file header to heartbeat.js, props DrewAPicture, fixes #24723
git-svn-id: https://develop.svn.wordpress.org/trunk@24654 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 00:35:52 +00:00
bumpbot
d653baf6da Compress scripts/styles: 3.6-beta4-24653.
git-svn-id: https://develop.svn.wordpress.org/trunk@24653 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 00:22:41 +00:00
Andrew Nacin
31322f220a Rename wp.xhr to wp.ajax to match admin-ajax.php (which it uses), jQuery.ajax (which it wraps), etc. see #24424.
git-svn-id: https://develop.svn.wordpress.org/trunk@24652 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 00:20:36 +00:00
Andrew Nacin
52897ae4b9 Don't store a revision for the initial call to wp_insert_post(), only on saves.
In core UI (and XML-RPC), we first create an auto-draft via get_default_post_to_edit(), which means the first "save" is in practice the first revision.

This reverts [23842].

fixes #24708.



git-svn-id: https://develop.svn.wordpress.org/trunk@24650 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 22:40:42 +00:00
Andrew Nacin
8bea3243c9 Do not notify the post author about comments if they are no longer a member of the blog.
This updates [23294] to use capability checks to determine if the user can still edit a post, which works for super admins. Additionally, it hides Trash/Spam action links when the user is still a member of the blog but cannot (or can no longer) moderate the comment.

fixes #23136.



git-svn-id: https://develop.svn.wordpress.org/trunk@24649 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 22:01:12 +00:00
bumpbot
461bb165f8 Compress scripts/styles: 3.6-beta4-24647.
git-svn-id: https://develop.svn.wordpress.org/trunk@24647 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 20:58:49 +00:00
bumpbot
792fd2aab9 Compress scripts/styles: 3.6-beta4-24645.
git-svn-id: https://develop.svn.wordpress.org/trunk@24645 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 16:58:55 +00:00
Andrew Nacin
49596ff2c1 Skip protocol checking in esc_url() when we are dealing with a relative URL. Prevents munging of colons in paths and query strings, when present in a protocol-relative URL.
props SergeyBiryukov.
fixes #21974.



git-svn-id: https://develop.svn.wordpress.org/trunk@24642 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 13:45:22 +00:00
Andrew Nacin
d4b1d1bb2a In wp_http_validate_url(), only validate the protocol in lieu of esc_url_raw(). Ensure there is a host component to the URL. fixes #24663.
git-svn-id: https://develop.svn.wordpress.org/trunk@24641 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 13:35:30 +00:00
bumpbot
707fe97ed8 Compress scripts/styles: 3.6-beta4-24640.
git-svn-id: https://develop.svn.wordpress.org/trunk@24640 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 06:58:52 +00:00
Andrew Nacin
3922b0cff7 Avoid notice in XML-RPC when attaching uploads, when attachments do not have a guid in the DB. props ericmann, markoheijnen. fixes #18310.
git-svn-id: https://develop.svn.wordpress.org/trunk@24639 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 06:11:12 +00:00
Andrew Nacin
8a9ea82d2b If someone tries to localize 'jquery', which is now an alias with jquery-core and jquery-migrate dependencies, add the data to jquery-core.
fixes #24197.



git-svn-id: https://develop.svn.wordpress.org/trunk@24635 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 05:38:17 +00:00
Andrew Nacin
3a1e87c205 If a nav menu has no items, wait until after the wp_nav_menu_items filter before deciding whether to print nothing.
see [21868] for original commit. see #21576.
see #24035 for trunk.



git-svn-id: https://develop.svn.wordpress.org/trunk@24634 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 05:14:43 +00:00
bumpbot
d42e1e99ed Compress scripts/styles: 3.6-beta4-24632.
git-svn-id: https://develop.svn.wordpress.org/trunk@24632 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 04:58:53 +00:00
Andrew Nacin
05a9369919 Switch to a transient for is_multi_author(). props markjaquith, fixes #24445.
git-svn-id: https://develop.svn.wordpress.org/trunk@24628 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 04:20:41 +00:00
Andrew Nacin
9d6d4ce11d XML-RPC: Save enclosures with a trailing new line. fixes #23219.
git-svn-id: https://develop.svn.wordpress.org/trunk@24623 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 03:34:35 +00:00
bumpbot
9d31473e23 Compress scripts/styles: 3.6-beta4-24620.
git-svn-id: https://develop.svn.wordpress.org/trunk@24620 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 22:58:53 +00:00
bumpbot
01f8aa101e Compress scripts/styles: 3.6-beta4-24618.
git-svn-id: https://develop.svn.wordpress.org/trunk@24618 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 20:58:49 +00:00
Andrew Nacin
634d743ccd Have get_footer() match get_header() etc in [24616]. fixes #24714.
git-svn-id: https://develop.svn.wordpress.org/trunk@24617 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 20:48:02 +00:00
Andrew Nacin
0df685da44 In general template functions, cast to string then ensure we actually have a template name before proceeding. Affects get_sidebar(), get_header(), get_footer(), get_template_part().
props tivnet for initial patch.
fixes #24714.



git-svn-id: https://develop.svn.wordpress.org/trunk@24616 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 20:31:04 +00:00
bumpbot
26bb582335 Compress scripts/styles: 3.6-beta4-24612.
git-svn-id: https://develop.svn.wordpress.org/trunk@24612 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 10:58:49 +00:00
bumpbot
28c43dfb05 Compress scripts/styles: 3.6-beta4-24610.
git-svn-id: https://develop.svn.wordpress.org/trunk@24610 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 08:58:52 +00:00
Andrew Nacin
8f24ab263d Avoid getting tripped up on post content that starts with <!--nextpage-->. props SergeyBiryukov. fixes #16746.
git-svn-id: https://develop.svn.wordpress.org/trunk@24599 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 05:23:53 +00:00
Andrew Nacin
65bf560b9d Remove wp_parse_post_content(), get_paged_content(), paginate_content() from 3.6, and remove the new $id parameters for get_the_content() and the_content().
The content parsing functions are good abstractions, but are no longer needed by core and are too closely tied to legacy globals, rather than paving a new path.

For get_the_content() and the_content(), this only worsens the function prototype. It muddies theme-specific display (more links, etc) with filtered content. `apply_filters( 'the_content', $post->post_content )` is sufficient practice for now.

see #24330, [24301]. see #23625, [23804].



git-svn-id: https://develop.svn.wordpress.org/trunk@24598 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 05:22:50 +00:00
Andrew Nacin
7f0bd4bbd6 XML-RPC: For wp.getOptions, set readonly to true for writable options that the user does not have permission to edit.
props westi.
fixes #20201.



git-svn-id: https://develop.svn.wordpress.org/trunk@24597 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-09 02:22:57 +00:00
bumpbot
f1bf096eab Compress scripts/styles: 3.6-beta4-24596.
git-svn-id: https://develop.svn.wordpress.org/trunk@24596 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 22:35:26 +00:00
Andrew Nacin
772c90d846 Support IIS 8 and above.
props hurtige for initial patch.
fixes #23533.



git-svn-id: https://develop.svn.wordpress.org/trunk@24594 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 20:27:06 +00:00
Andrew Nacin
f3b332e9bb Use meta caps edit_post, read_post, and delete_post directly, rather than consulting the post type object. map_meta_cap() handles that for us. props markjaquith, kovshenin. fixes #23226.
git-svn-id: https://develop.svn.wordpress.org/trunk@24593 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 20:05:42 +00:00
bumpbot
e16dca6fc9 Compress scripts/styles: 3.6-beta4-24592.
git-svn-id: https://develop.svn.wordpress.org/trunk@24592 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 18:58:16 +00:00