Commit Graph

11155 Commits

Author SHA1 Message Date
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
bumpbot 9c0bf86c47 Compress scripts/styles: 3.6-beta3-24427.
git-svn-id: https://develop.svn.wordpress.org/trunk@24427 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 16:58:58 +00:00
Helen Hou-Sandi bb4dbd9c4c Change the post format icons sprite to be vertical rather than horizontal in order to allow it to be used for wider items such as labels. RTL tweak for the icon in the posts list table. See #16047, #24519.
git-svn-id: https://develop.svn.wordpress.org/trunk@24426 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 15:11:42 +00:00
Andrew Nacin 71fcaad59b Use wp_revisions_enabled(). props ethitter. fixes #24525.
git-svn-id: https://develop.svn.wordpress.org/trunk@24425 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 02:06:22 +00:00
bumpbot cd69621b0a Compress scripts/styles: 3.6-beta3-24420.
git-svn-id: https://develop.svn.wordpress.org/trunk@24420 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 16:58:53 +00:00
Helen Hou-Sandi c526380e47 Remove obsolete CSS related to post formats UI. See #24452, #24502.
git-svn-id: https://develop.svn.wordpress.org/trunk@24418 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 15:40:17 +00:00
bumpbot 4130788d81 Compress scripts/styles: 3.6-beta3-24416.
git-svn-id: https://develop.svn.wordpress.org/trunk@24416 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 14:58:54 +00:00
Dominik Schilling (ocean90) 02d7e84ab6 Remove post format icons next to header on edit post screen. fixes #24502. see #24452.
git-svn-id: https://develop.svn.wordpress.org/trunk@24415 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 14:45:25 +00:00
Mark Jaquith 31892c0226 Restore post format previewing.
props azaozz. fixes #24483

git-svn-id: https://develop.svn.wordpress.org/trunk@24414 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 14:39:08 +00:00
Sergey Biryukov 6d1975e335 Fix E_STRICT notice in WP_Theme_Install_List_Table::_js_vars(). see #24356.
git-svn-id: https://develop.svn.wordpress.org/trunk@24409 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 16:51:07 +00:00
Andrew Ozz 2860f4769e Post locks:
- When a post is locked, ensure the 'Go back' button doesn't reload the same screen. If no referrer, change the button from 'Go back' to 'Go to All Posts'/'Go to All Pages' etc.
- Remove restriction on checking locks only for posts.
See #23697.



git-svn-id: https://develop.svn.wordpress.org/trunk@24408 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 03:01:59 +00:00
bumpbot 2a6b867ba1 Compress scripts/styles: 3.6-beta3-24407.
git-svn-id: https://develop.svn.wordpress.org/trunk@24407 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 00:59:01 +00:00
Andrew Ozz 22f855d84e Heartbeat: rename some vars/args to make them more intuitive, don't set user_id on every request, see #23216
git-svn-id: https://develop.svn.wordpress.org/trunk@24406 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 00:13:40 +00:00
Dominik Schilling (ocean90) b8aaa1efae Replace the global $id from manage_media_custom_column action with $post-ID. Missed in [24337]. props nickdaugherty. fixes #24476.
git-svn-id: https://develop.svn.wordpress.org/trunk@24396 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-01 09:40:00 +00:00
Mark Jaquith e0a0e46abd First pass at removing Post Format UI.
see #24452. fixes #24455.

git-svn-id: https://develop.svn.wordpress.org/trunk@24388 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-30 21:33:46 +00:00
Sergey Biryukov 936408271f Correct phpdoc for Add New User screen in network admin. props zeo. fixes #24446.
git-svn-id: https://develop.svn.wordpress.org/trunk@24383 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-29 23:35:13 +00:00
Sergey Biryukov de68a37dc4 Avoid 'Only variables should be assigned by reference' warnings during installation. props sunnyratilal. fixes #24438.
git-svn-id: https://develop.svn.wordpress.org/trunk@24381 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-28 17:06:39 +00:00
Sergey Biryukov e210a7f280 Remove unnecessary esc_attr() call and redundant title attributes. props zeo. fixes #24437.
git-svn-id: https://develop.svn.wordpress.org/trunk@24380 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-28 04:53:46 +00:00
Sergey Biryukov fbdb577df0 Fix E_STRICT notice in WP_MS_Themes_List_Table::single_row(). fixes #24356.
git-svn-id: https://develop.svn.wordpress.org/trunk@24379 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-28 04:10:10 +00:00
Sergey Biryukov 0df3ab62a7 Fix E_STRICT notice in wp_get_popular_importers(). see #24356.
git-svn-id: https://develop.svn.wordpress.org/trunk@24378 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-28 03:53:59 +00:00
Sergey Biryukov 0abc45b90f Fix E_STRICT notices in walkers. props dvarga. see #24356.
git-svn-id: https://develop.svn.wordpress.org/trunk@24377 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-28 03:29:15 +00:00
Sergey Biryukov cc2f18445e Fix switching post formats when JavaScript is disabled. props kovshenin. see #24360.
git-svn-id: https://develop.svn.wordpress.org/trunk@24373 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-27 01:02:10 +00:00
bumpbot d63f067277 Compress scripts/styles: 3.6-beta3-24357.
git-svn-id: https://develop.svn.wordpress.org/trunk@24357 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 16:59:00 +00:00
Mark Jaquith 064451834e Remove unnecessary parenthetical that should have been "e.g." instead of "i.e." anyway.
see #23119

git-svn-id: https://develop.svn.wordpress.org/trunk@24356 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 16:52:26 +00:00
Daryl Koopersmith 21bcd96e6e Improve contrast of revision diffs. Fixes #24422.
git-svn-id: https://develop.svn.wordpress.org/trunk@24355 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 16:48:37 +00:00