Commit Graph

11179 Commits

Author SHA1 Message Date
Mark Jaquith
4c35743a1a Tick marks are back for revisions
* Simple tick marks
* Tooltips snap to tick marks
* Tooltips arrow reverses side for LTR/RTL
* Fix for routing issue where just the hash is changed in the URL bar relating to compare two mode

see #24425. props adamsilverstein, ocean90.

git-svn-id: https://develop.svn.wordpress.org/trunk@24595 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 21:37:03 +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
Andrew Nacin
cffe32a58a Use correct variable when calling request_filesystem_credentials() in delete_theme(). see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24590 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 17:10:47 +00:00
Andrew Nacin
614c954c42 Prevent overflow of the parent term dropdown in the new term form. props desrosj, fixes #23397.
git-svn-id: https://develop.svn.wordpress.org/trunk@24588 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 16:55:59 +00:00
Helen Hou-Sandi
8669be7094 Remove the conditional wrappers for the edit_form_after_* hooks. Using the .edit-form-section class will still add a 20px bottom margin; devs will just want to add wrapping containers as appropriate. fixes #24334; see #23240.
git-svn-id: https://develop.svn.wordpress.org/trunk@24586 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 15:45:53 +00:00
Andrew Nacin
cdaa82bc9b Use wp_basename() in newer media code for filenames to avoid encoding issues on display. props SergeyBiryukov, fixes #23267.
git-svn-id: https://develop.svn.wordpress.org/trunk@24585 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 13:55:50 +00:00
Andrew Nacin
bcf8ba4d44 Avoid possible array collision in dbDelta when recording index adds. props apimlott, wonderboymusic. fixes #21272.
git-svn-id: https://develop.svn.wordpress.org/trunk@24584 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 13:54:19 +00:00
Andrew Nacin
1c76a5218c Revert [23394] until there is a consensus on target="_blank" (or not) for these external links. see #20839.
git-svn-id: https://develop.svn.wordpress.org/trunk@24583 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 13:04:07 +00:00
Dominik Schilling (ocean90)
fbeed0e364 Revisions improvements
* Enable smooth sliding in Compare two mode

props adamsilverstein. see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24579 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-06 20:22:02 +00:00
Dominik Schilling (ocean90)
814c36baea Revisions improvements
* Corrected routing behavior
* Simplified CSS for tooltips
* Compare two mode for RTL
* Support for posts without titles 

props adamsilverstein, ocean90. see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24578 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-06 10:48:14 +00:00
Mark Jaquith
1b4aa41b4c Gracefully slide down the "{Name} is editing" notice portion of the post row, so everything isn't shifting down in an instant and throwing off people's clicks.
fixes #24553. props kadamwhite, johnbillion.

git-svn-id: https://develop.svn.wordpress.org/trunk@24576 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 23:17:25 +00:00
Dominik Schilling (ocean90)
fcf1e26cff Revisions improvements
Revert mouse dragging code which was accidentally removed in [24565].

see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24575 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 22:54:17 +00:00
Dominik Schilling (ocean90)
b7ebeea685 Revisions: CSS cleanup, see #24425.
git-svn-id: https://develop.svn.wordpress.org/trunk@24574 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 22:15:37 +00:00
Mark Jaquith
5312ae444b Recombine a fragmented help paragraph so its integrity does not depend on translaters noticing a trailing space in the first sentence.
props xibe. fixes #24546.

git-svn-id: https://develop.svn.wordpress.org/trunk@24567 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 18:39:27 +00:00
Mark Jaquith
664664d2a1 Push menu settings checkboxes down to a new line to avoid weird overlaps in some languages.
props SergeyBiryukov. see #24546.

git-svn-id: https://develop.svn.wordpress.org/trunk@24566 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 18:39:21 +00:00
Mark Jaquith
e87e8f608a Revisions improvements
* Consolidated router code
* Corrected routing behavior
* Tooltip model
* Removed mouse dragging code

props adamsilverstein, ocean90. see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24565 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 17:44:47 +00:00
Mark Jaquith
08c5b3f725 Instead of saying that scaling up images will result in fuzzy images, just say that it's not supported (because it isn't).
fixes #23713. props ericlewis.

git-svn-id: https://develop.svn.wordpress.org/trunk@24562 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:45:43 +00:00
bumpbot
2fd98a828c Compress scripts/styles: 3.6-beta4-24560.
git-svn-id: https://develop.svn.wordpress.org/trunk@24561 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:42:57 +00:00
Mark Jaquith
d8781a4f32 Keep the theme update thickbox from being obscured by the toolbar.
props ParadisePorridge, SergeyBiryukov. fixes #23984.

git-svn-id: https://develop.svn.wordpress.org/trunk@24558 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-05 15:15:58 +00:00
Mark Jaquith
ffa73b8fc5 Debounce the Revisions UI URL updates as you scrub, for a massive speedup and a reduction in URL history detritus.
see #24425

git-svn-id: https://develop.svn.wordpress.org/trunk@24556 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-04 08:30:36 +00:00
Mark Jaquith
f120a109ff Combat Chrome's insanely aggressive user/pass autofilling ಠ_ಠ
Chrome now ignores `autocomplete="off"` in <input>, so this hack uses
a hidden, non-named, non-empty input, right before the password field.

see #24364. props azaozz, nacin, bobbingwide, aaroncampbell.

git-svn-id: https://develop.svn.wordpress.org/trunk@24552 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 21:24:02 +00:00
Mark Jaquith
a6177929c4 Rejigger some whitespace in anticipation of a fix for #24364.
see #24364

git-svn-id: https://develop.svn.wordpress.org/trunk@24551 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 21:23:55 +00:00
Dominik Schilling (ocean90)
3690db14f7 Revisions UI update:
* Restore Compare two mode
* Restore tooltips
* RTL support
* First pass for URL routing and history

props adamsilverstein, see #24425.

git-svn-id: https://develop.svn.wordpress.org/trunk@24549 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 20:27:19 +00:00
Andrew Nacin
58b96f9dd5 Call shortcode functions directly. props kovshenin, fixes #24505.
git-svn-id: https://develop.svn.wordpress.org/trunk@24547 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 20:19:00 +00:00
Andrew Ozz
5b48908f39 Heartbeat: fix comment spelling
git-svn-id: https://develop.svn.wordpress.org/trunk@24544 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 01:59:46 +00:00
Andrew Ozz
8cc84ab4c9 Post locks: load the post locked dialog html in post-new.php too, see #23697.
git-svn-id: https://develop.svn.wordpress.org/trunk@24543 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-03 01:50:39 +00:00
bumpbot
5e24625852 Compress scripts/styles: 3.6-beta4-24534.
git-svn-id: https://develop.svn.wordpress.org/trunk@24534 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 16:11:01 +00:00
Dominik Schilling (ocean90)
f4ec972104 Install: Fix the value of the for attribute for the label of the username field.
git-svn-id: https://develop.svn.wordpress.org/trunk@24532 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-30 11:18:35 +00:00
Dominik Schilling (ocean90)
f05db78268 Add a label to the second password field on User New and User Edit screen. props MikeHansenMe. fixes #20294.
git-svn-id: https://develop.svn.wordpress.org/trunk@24531 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-30 11:13:34 +00:00
Dominik Schilling (ocean90)
b7591bb34e Revisions UI: Fix table colgroup (Say what?) for post titles when they haven't been changed. see #24425.
git-svn-id: https://develop.svn.wordpress.org/trunk@24529 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-29 17:45:02 +00:00
Andrew Ozz
1819e0f2c2 Nonce refresh:
- Update the heartbeat nonce when refreshing nonces on the Edit Post screen.
- After a user logs in from the auth-check dialog, speed up heatrbeat to check/refresh nonces on the Edit Post screen.
- Speeding up heartbeat: bring back the setting how long it should last (how many ticks).
- Add 'heartbeat-nonces-expired' jQuery event when nonces have expired and the user is logged in.
See #23295, see #23216.

git-svn-id: https://develop.svn.wordpress.org/trunk@24528 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-29 01:31:44 +00:00
Andrew Ozz
a9d0ac3c6f Post locked dialog: remove the "Go to" part from the button as it's not translatable. Fixes #24547.
git-svn-id: https://develop.svn.wordpress.org/trunk@24527 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 21:59:48 +00:00
bumpbot
d1d4859b11 Compress scripts/styles: 3.6-beta4-24523.
git-svn-id: https://develop.svn.wordpress.org/trunk@24523 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 18:25:01 +00:00
Sergey Biryukov
b08c2f8b55 Consistently use get_post_format_string() to get Standard post format name with the correct context. props johnbillion. fixes #23503.
git-svn-id: https://develop.svn.wordpress.org/trunk@24522 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 06:56:45 +00:00
Mark Jaquith
ac0d0d1dee Cleanup of the revisions screen, both on the PHP API side, and the JS.
* Much simpler PHP API
* Cleaner and more Backbone-y JS API
* Consequently, does batch queries; this now scales up to hundreds of revisions

Currently missing, but much easier considering the cleaned up base:

* Compare two mode
* RTL

props koopersmith, nacin, adamsilverstein, ocean90. see #24425

git-svn-id: https://develop.svn.wordpress.org/trunk@24520 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-26 21:06:50 +00:00
Sergey Biryukov
1cc916fb99 Avoid a fatal error when adding a non-existent user to a site. props duck_. fixes #24460.
git-svn-id: https://develop.svn.wordpress.org/trunk@24509 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 14:24:18 +00:00
Sergey Biryukov
e49ffcfddd Revert to storing a hash of the slashed password. fixes #24367. see #17018.
git-svn-id: https://develop.svn.wordpress.org/trunk@24508 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 11:14:50 +00:00
Sergey Biryukov
b98640a508 Remove obsolete translator comment. props zeo. fixes #24464.
git-svn-id: https://develop.svn.wordpress.org/trunk@24505 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-23 08:30:30 +00:00
Andrew Nacin
53e6fb4376 Remove redundant swfupload-all.js file.
git-svn-id: https://develop.svn.wordpress.org/trunk@24488 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 09:26:18 +00:00
Andrew Nacin
dfcf4b5eae Better validation of the URL used in core HTTP requests.
git-svn-id: https://develop.svn.wordpress.org/trunk@24480 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 06:07:47 +00:00
Andrew Nacin
5254ff0e4b Better cap checks in _wp_translate_post_data().
git-svn-id: https://develop.svn.wordpress.org/trunk@24478 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 06:00:59 +00:00
Andrew Nacin
08687bc804 More robust escaping in the plugin/theme upgrader.
git-svn-id: https://develop.svn.wordpress.org/trunk@24474 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 05:54:40 +00:00
Andrew Nacin
9e8a91cd05 Show a relative path in an upload error message.
git-svn-id: https://develop.svn.wordpress.org/trunk@24463 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 02:29:26 +00:00
Mark Jaquith
eb49ad7e50 Prevent an offset error if the first menu item is a separator.
props phill_brown. fixes #23182

git-svn-id: https://develop.svn.wordpress.org/trunk@24455 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-20 16:45:45 +00:00
Andrew Nacin
ea92deb1bb Fix storage of illegal_names. Add an upgrade routine to fix bad values.
props SergeyBiryukov.
see #23418.
for trunk.



git-svn-id: https://develop.svn.wordpress.org/trunk@24448 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 22:06:42 +00:00
Andrew Nacin
165d0971fe Pass $post to hooks in edit-form-advanced.php including edit_form_advanced and edit_form_after_*. fixes #24611.
git-svn-id: https://develop.svn.wordpress.org/trunk@24446 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 21:10:51 +00:00
bumpbot
324f088c27 Compress scripts/styles: 3.6-beta3-24430.
git-svn-id: https://develop.svn.wordpress.org/trunk@24430 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 18:58:57 +00:00
Helen Hou-Sandi
714da2b9e0 Add post format icons to the radio chooser. This also trims empty margins from the sprites to make them usable in RTL and make positioning numbers more sane. props ryelle, kovshenin for the initial patch. fixes #24519.
git-svn-id: https://develop.svn.wordpress.org/trunk@24429 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 17:15:53 +00:00