Commit Graph

23094 Commits

Author SHA1 Message Date
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
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 e1edb8a3c8 Revert ?format= on post.php. see #24116.
git-svn-id: https://develop.svn.wordpress.org/trunk@24692 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 22:11:42 +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
Dominik Schilling (ocean90) 8336111b52 Revisions: Disable URL updating if a browser doesn't support the History API. Like IE < 10.
props markjaquith. see #24736.

git-svn-id: https://develop.svn.wordpress.org/trunk@24689 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 20:51:10 +00:00
Mark Jaquith 3e1cafce65 Revisions: force a scroll bar so that everything doesn't jerk around as you scrub due to the scroll bar popping in and out.
See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24688 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 20:44:37 +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
Helen Hou-Sandi f04053fdd8 Tweaks to the accordion:
* Enqueues JS in `do_accordion_sections()`.
* Top and bottom rounded corners for the nav menu accordion.
* Better RTL and no-JS.

props lessbloat, DrewAPicture, aaroncampbell, helen. fixes #23449.


git-svn-id: https://develop.svn.wordpress.org/trunk@24680 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 18:16:29 +00:00
Mark Jaquith f215ae599a Revisions: Code and whitespace cleanup.
See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24679 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 18:14:23 +00:00
Mark Jaquith db9e747264 Revisions: Have the tooltip follow the "from" scrubber handle when that is the one being moved, in compare-two mode.
See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24678 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 17:25:27 +00:00
Mark Jaquith c6c1301cf0 Revisions: pixel perfect tooltips (as far as I can tell), and better checkbox alignment in Firefox.
See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24677 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 17:06:01 +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
Mark Jaquith b71197e282 Revisions: Tweak the slider image and alignment.
See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24675 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 16:49:14 +00:00
Andrew Nacin 48b64ab3e2 Remove 'sorted' from do_accordion_sections(). fixes #23450.
git-svn-id: https://develop.svn.wordpress.org/trunk@24674 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 15:43:00 +00:00
Mark Jaquith 059c800243 Revisions: Use all the vendor prefixes for box-sizing.
See #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24673 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 15:10:57 +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