Mark Jaquith
d8310e4c7e
Allow `the_title_attribute()` to receive a `post` argument, and use this in `get_adjacent_post_rel_link()` to make sure tags are stripped from the title output there.
...
Fixes #24232 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24783 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 16:05:40 +00:00
Andrew Nacin
76ecd259fd
Add iWork formats to valid upload filetypes. key, numbers, pages. props barry, fixes #24621 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24782 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 15:29:26 +00:00
Andrew Nacin
499cfdb81d
Use production version of jQuery Migrate when not SCRIPT_DEBUG, which silences issues.
...
Minify jQuery as well. These were both unminified for ease of debugging.
fixes #24821 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24781 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 15:28:25 +00:00
bumpbot
3bf080b2ee
Compress scripts/styles: 3.6-RC1-24778.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24778 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-23 06:25:03 +00:00
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