Commit Graph

22720 Commits

Author SHA1 Message Date
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
5d05c090ad Remove old, less relevant and in some cases obsolete readme sections. see #23025.
git-svn-id: https://develop.svn.wordpress.org/trunk@24744 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 21:35:45 +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
potbot
7f0fd2113e POT, generated from r24740
git-svn-id: https://develop.svn.wordpress.org/trunk@24741 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 20:13:51 +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
potbot
574e40f63f POT, generated from r24738
git-svn-id: https://develop.svn.wordpress.org/trunk@24739 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 19:13:54 +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
Andrew Nacin
5f2000fe2a Twenty Thirteen: Go back to dates for style versions, partially changed in [24735]. see #24787.
git-svn-id: https://develop.svn.wordpress.org/trunk@24736 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 18:16:20 +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
Mark Jaquith
8415e7f1fe Fixes and tweaks for the metabox accordion.
* Fixed hover issues in Customizer.
* Toned down the default active/hover style (as it is normally not the top level menu, and should not be so prominent).
* Allow the active section to be closed.
* Other misc fixes.

Props ocean90, helen. Fixes #23449.

git-svn-id: https://develop.svn.wordpress.org/trunk@24734 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 17:42:53 +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
Mark Jaquith
3dd36021d8 Revisions: Better error handling.
* Shows an error message if the current diff can't be loaded.
* For bulk pre-loading, catches errors, and cuts subsequent requests in half, until eventually giving up.
* Some CSS fixes related to this, and the loading spinner.
* `wp.revisions.loadAll()` now returns a promise representing whether or not all revisions could be loaded.

Fixes #24758.

git-svn-id: https://develop.svn.wordpress.org/trunk@24732 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 16:35:19 +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
Andrew Nacin
387d9cb94c If two revisions were created at the same time, mark the one with the greater ID as current. Also avoid flagging autosaves as current. fixes #24782.
git-svn-id: https://develop.svn.wordpress.org/trunk@24730 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 14:10:33 +00:00
Mark Jaquith
ef63a55d8f Revisions: use escaped templating for some of the tags.
Fixes #24775.

git-svn-id: https://develop.svn.wordpress.org/trunk@24729 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 14:01:58 +00:00
Andrew Nacin
a1a78a7a6f Update Akismet external to trunk (soon to be 2.5.9) to slurp in some string changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@24728 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-18 13:24:19 +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
1b52b238ea Remove stray character.
git-svn-id: https://develop.svn.wordpress.org/trunk@24726 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-17 21:09:14 +00:00
Peter Westwood
507b203597 Fix a strict standards error in the plugin search when search for an already installed plugin.
Fixes #24747 props SergeyBiryukov.


git-svn-id: https://develop.svn.wordpress.org/trunk@24725 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-17 21:08:05 +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
abe5b62fb0 Inline docs for admin/includes/revision.php. props DrewAPicture, fixes #24742.
git-svn-id: https://develop.svn.wordpress.org/trunk@24722 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-17 20:39:35 +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
Lance Willett
e92a014291 Twenty Thirteen: improve gallery styles to ensure both single and index views are displayed consistently. Closes #24555.
git-svn-id: https://develop.svn.wordpress.org/trunk@24720 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-17 04:51: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
Lance Willett
ef299cdf7c Twenty Eleven: use the new URL extraction function name, see #24202 and r24682.
git-svn-id: https://develop.svn.wordpress.org/trunk@24709 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-16 00:21:09 +00:00
Mark Jaquith
674de51926 Improvements to output of revisions author data.
* Do not output "false" if avatars are disabled. props ocean90.
* Cache the author data separately to cut down on calls to `get_the_author_meta()` and `get_avatar()`. props nacin.

Fixes #24743.

git-svn-id: https://develop.svn.wordpress.org/trunk@24708 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-15 23:01:27 +00:00
Mark Jaquith
a41e9055b1 No PHP time limit when generating diffs.
Fixes #24757. Props nacin.

git-svn-id: https://develop.svn.wordpress.org/trunk@24707 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-15 22:53:48 +00:00
Lance Willett
0b58010a28 Twenty Thirteen: CSS fixes for visual post editor styles. Props celloexpressions and obenland, see #24308.
git-svn-id: https://develop.svn.wordpress.org/trunk@24706 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-15 16:52:14 +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
Dominik Schilling (ocean90)
7fc84c3d6d Missing RTL for [24566]. see #24546.
git-svn-id: https://develop.svn.wordpress.org/trunk@24703 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-13 16:54:45 +00:00
Dominik Schilling (ocean90)
78f4ece66c Nav Menus: Hide the rearrange section in no-js. see #14045.
git-svn-id: https://develop.svn.wordpress.org/trunk@24702 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-13 16:38:14 +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
Mark Jaquith
77813f267e Turn off debug mode in revisions.
See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24699 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-13 02:53:59 +00:00
Mark Jaquith
fb9fbad8cd Revisions: RTL tooltip fixes. Plus a fix for switching to compare-two mode while looking at the first revision.
Also, a meta box avatar RTL alignment fix. props DrewAPicture.

Fixes #24739.

git-svn-id: https://develop.svn.wordpress.org/trunk@24698 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-13 02:49:53 +00:00