Commit Graph

11281 Commits

Author SHA1 Message Date
Bot (Assets) 16d474437f Compress scripts/styles: 3.6-RC1-24764.
git-svn-id: http://core.svn.wordpress.org/trunk@24764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 06:58:52 +00:00
Andrew Nacin 9f58cc923c Fix strings in revisions UI. see #24804, [24761].
git-svn-id: http://core.svn.wordpress.org/trunk@24763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 05:32:14 +00:00
Andrew Nacin c2a543566c Move _local_storage_notice() to admin/includes/template.php. props azaozz, see #24756.
git-svn-id: http://core.svn.wordpress.org/trunk@24762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 05:09:49 +00:00
Mark Jaquith 13c63d211a Revisions: Pinned controls, layout tweaks, copy tweaks, misc.
* When you scroll down the diff view, the controls will pin to the top.
* The revisions meta view was cleaned up. Copy changes.
* Loading indicator in the center of the screen (so it follows as you scroll).
* Tooltips "flip" when you cross the center line, so that they don't hit the container edge and wrap for later revisions.
* The "Restore" button's inactive state is handled on render, instead of after.
* Make sure we always have a current revision, even if the timestamp doesn't work out on the most recent one.

See #24804. Props markjaquith, nacin, ocean90, aaroncampbell.

git-svn-id: http://core.svn.wordpress.org/trunk@24761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-22 05:05:45 +00:00
Bot (Assets) 17ce1a11f1 Compress scripts/styles: 3.6-RC1-24757.
git-svn-id: http://core.svn.wordpress.org/trunk@24757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-20 06:58:59 +00:00
Mark Jaquith 937784e321 Revisions: hide tick marks and tooltips for IE 7.
Not worth the effort it would take to get them to work.

Props adamsilverstein. Fixes #24736.

git-svn-id: http://core.svn.wordpress.org/trunk@24756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-20 06:15:28 +00:00
Bot (Assets) 2f7928bea6 Compress scripts/styles: 3.6-RC1-24754.
git-svn-id: http://core.svn.wordpress.org/trunk@24754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-19 16:59:02 +00:00
Mark Jaquith 5bf39803b9 WORLD WAR Z-INDEX: Restoration of sanity to revisions/slider/menu z-index values.
The year is 2013. It is a period of DOM unrest. Sliders have hoarded
all available z-index, leading to an arms race. What started as a local
squabble soon escalated into a global conflict. The flyout menus were
the first of the collateral damage, trodden underfoot by mighty warring
enemies they couldn't effectively challenge. It was said they were
betrayed by one of their own: the z-index-power-hungry non-active
currently-hovered submenu, whose z-index-power level was over 9000!

But there is hope. A small band of heroes has emerged. Using their
powers of "what were you thinking?" and "chill, no one needs a z-index
THAT high", they have begun to restore order and harmony to the DOM.

See #24736. Props markjaquith, aaroncampbell, helen.

git-svn-id: http://core.svn.wordpress.org/trunk@24753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-19 15:47:04 +00:00
Bot (Assets) 81041465e9 Compress scripts/styles: 3.6-RC1-24752.
git-svn-id: http://core.svn.wordpress.org/trunk@24752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-19 14:58:50 +00:00
Mark Jaquith 65b08eeece Revisions: Re-work how tick marks and tooltips are aligned. IE fixes.
* Pixel-based alignment of tooltips.
* Bottom-based alignment, so arrow lines up using CSS only.
* Better RTL styles (mostly mirror-imaged).
* Better RTL calculations in `revisions.js` (less logic).
* Better IE support.

See #24736. Props markjaquith, adamsilverstein, ocean90.

git-svn-id: http://core.svn.wordpress.org/trunk@24751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-19 13:49:15 +00:00
Bot (Assets) c1dbc01850 Compress scripts/styles: 3.6-RC1-24746.
git-svn-id: http://core.svn.wordpress.org/trunk@24746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-18 22:58:50 +00:00
Andrew Nacin 5bb2f20164 Better 'Connection lost' notice that includes an indication of activity. fixes #24695.
git-svn-id: http://core.svn.wordpress.org/trunk@24743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-18 21:33:59 +00:00
Bot (Assets) e66153a110 Compress scripts/styles: 3.6-RC1-24737.
git-svn-id: http://core.svn.wordpress.org/trunk@24737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-18 18:58:49 +00:00
Mark Jaquith e9afe4c5d1 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: http://core.svn.wordpress.org/trunk@24734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-18 17:42:53 +00:00
Bot (Assets) 4be829a778 Compress scripts/styles: 3.6-RC1-24733.
git-svn-id: http://core.svn.wordpress.org/trunk@24733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-18 16:58:54 +00:00
Mark Jaquith 93514ba101 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: http://core.svn.wordpress.org/trunk@24732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-18 16:35:19 +00:00
Andrew Nacin 94555444ab 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: http://core.svn.wordpress.org/trunk@24730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-18 14:10:33 +00:00
Mark Jaquith 32522054c8 Revisions: use escaped templating for some of the tags.
Fixes #24775.

git-svn-id: http://core.svn.wordpress.org/trunk@24729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-18 14:01:58 +00:00
Andrew Nacin 8d9a830c3c Remove stray character.
git-svn-id: http://core.svn.wordpress.org/trunk@24726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-17 21:09:14 +00:00
Peter Westwood 398ce8ecdf Fix a strict standards error in the plugin search when search for an already installed plugin.
Fixes #24747 props SergeyBiryukov.


git-svn-id: http://core.svn.wordpress.org/trunk@24725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-17 21:08:05 +00:00
Andrew Nacin 18a208af1b Inline docs for admin/includes/revision.php. props DrewAPicture, fixes #24742.
git-svn-id: http://core.svn.wordpress.org/trunk@24722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-17 20:39:35 +00:00
Andrew Nacin 8d65dc2469 Use wp_slash() in places where we improperly used the DB API instead. see #21767.
git-svn-id: http://core.svn.wordpress.org/trunk@24713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-16 14:19:03 +00:00
Mark Jaquith 24553b2f03 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: http://core.svn.wordpress.org/trunk@24708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-15 23:01:27 +00:00
Mark Jaquith 4e934c9e02 No PHP time limit when generating diffs.
Fixes #24757. Props nacin.

git-svn-id: http://core.svn.wordpress.org/trunk@24707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-15 22:53:48 +00:00
Bot (Assets) dde5757415 Compress scripts/styles: 3.6-RC1-24704.
git-svn-id: http://core.svn.wordpress.org/trunk@24704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-13 16:58:47 +00:00
Dominik Schilling b14c5a94f8 Missing RTL for [24566]. see #24546.
git-svn-id: http://core.svn.wordpress.org/trunk@24703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-13 16:54:45 +00:00
Dominik Schilling 99973e4738 Nav Menus: Hide the rearrange section in no-js. see #14045.
git-svn-id: http://core.svn.wordpress.org/trunk@24702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-13 16:38:14 +00:00
Bot (Assets) b4ba064364 Compress scripts/styles: 3.6-beta4-24700.
git-svn-id: http://core.svn.wordpress.org/trunk@24700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-13 02:58:56 +00:00
Mark Jaquith 57a2e139de Turn off debug mode in revisions.
See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-13 02:53:59 +00:00
Mark Jaquith c48efb30d4 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: http://core.svn.wordpress.org/trunk@24698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-13 02:49:53 +00:00
Bot (Assets) 064ee94962 Compress scripts/styles: 3.6-beta4-24697.
git-svn-id: http://core.svn.wordpress.org/trunk@24697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-13 00:58:52 +00:00
Andrew Nacin e46e52ec0f ID3 1.9.7.
props wonderboymusic.
fixes #24737.



git-svn-id: http://core.svn.wordpress.org/trunk@24696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-13 00:37:36 +00:00
Andrew Ozz b96efc779a 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: http://core.svn.wordpress.org/trunk@24695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 23:32:32 +00:00
Andrew Nacin 691114522e Revert ?format= on post.php. see #24116.
git-svn-id: http://core.svn.wordpress.org/trunk@24692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 22:11:42 +00:00
Bot (Assets) 36aec42cad Compress scripts/styles: 3.6-beta4-24690.
git-svn-id: http://core.svn.wordpress.org/trunk@24690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 20:58:53 +00:00
Dominik Schilling 8a600bf8a5 Revisions: Disable URL updating if a browser doesn't support the History API. Like IE < 10.
props markjaquith. see #24736.

git-svn-id: http://core.svn.wordpress.org/trunk@24689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 20:51:10 +00:00
Mark Jaquith 0e4a817d15 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: http://core.svn.wordpress.org/trunk@24688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 20:44:37 +00:00
Mark Jaquith 4f1f7ee3f2 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: http://core.svn.wordpress.org/trunk@24686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 20:34:14 +00:00
Bot (Assets) 71a7985531 Compress scripts/styles: 3.6-beta4-24681.
git-svn-id: http://core.svn.wordpress.org/trunk@24681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 18:58:55 +00:00
Helen Hou-Sandí 0da48b8335 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: http://core.svn.wordpress.org/trunk@24680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 18:16:29 +00:00
Mark Jaquith 19d49d39b0 Revisions: Code and whitespace cleanup.
See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 18:14:23 +00:00
Mark Jaquith 9694d47bcf 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: http://core.svn.wordpress.org/trunk@24678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 17:25:27 +00:00
Mark Jaquith cf02b10d4b Revisions: pixel perfect tooltips (as far as I can tell), and better checkbox alignment in Firefox.
See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 17:06:01 +00:00
Bot (Assets) d107c95e4a Compress scripts/styles: 3.6-beta4-24676.
git-svn-id: http://core.svn.wordpress.org/trunk@24676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 16:58:53 +00:00
Mark Jaquith 00fb9bfcb7 Revisions: Tweak the slider image and alignment.
See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 16:49:14 +00:00
Andrew Nacin eaa4370237 Remove 'sorted' from do_accordion_sections(). fixes #23450.
git-svn-id: http://core.svn.wordpress.org/trunk@24674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 15:43:00 +00:00
Mark Jaquith 8f1a5dbd98 Revisions: Use all the vendor prefixes for box-sizing.
See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 15:10:57 +00:00
Bot (Assets) ce09491a7c Compress scripts/styles: 3.6-beta4-24672.
git-svn-id: http://core.svn.wordpress.org/trunk@24672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 14:58:49 +00:00
Mark Jaquith e8b9088c5f Revisions: Cleanup, bug fixes, refactoring, polish.
* Hide the tooltip initially.
* Fix a bug with routing.
* Further separate the Slider model and view, refactoring its code.
* More reliance on events than direct calls between areas.
* Smarter background diff loading (single mode). Loads the diffs closest to your position first.
* Removed a bunch of manual templating and `render()` methods. Now relies more on the WP Backbone Views functionality.
* include the requested `id` in `ensure:load`.
* new trigger: `ensure`, for `ensure()` attempts, regardless of whether they are already loaded.
* pass along a promise in both `ensure` and `ensure:load`.
* in `ensure`, remove requests for diffs we aready have

See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 14:01:39 +00:00
Mark Jaquith 7cf1702442 Fix a PHP 5.4-ism that slipped in.
git-svn-id: http://core.svn.wordpress.org/trunk@24670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 07:26:11 +00:00