Commit Graph

11244 Commits

Author SHA1 Message Date
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
Daryl Koopersmith
5d5bf06ad5 Remove strikethrough from revisions UI. See #24422.
git-svn-id: https://develop.svn.wordpress.org/trunk@24354 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 16:25:22 +00:00
bumpbot
a999bc364f Compress scripts/styles: 3.6-beta3-24349.
git-svn-id: https://develop.svn.wordpress.org/trunk@24349 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 20:58:56 +00:00
Sergey Biryukov
9405a37284 Auto-expand the menus accordion if JavaScript is disabled. fixes #24402.
git-svn-id: https://develop.svn.wordpress.org/trunk@24348 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 20:50:10 +00:00
Sergey Biryukov
71bb15b4c9 Remove unused variable. props zeo. fixes #24412.
git-svn-id: https://develop.svn.wordpress.org/trunk@24346 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 16:50:50 +00:00
Andrew Nacin
c4ee22898d Remove use of global $id from comment_form() and the media list table. see #24330.
git-svn-id: https://develop.svn.wordpress.org/trunk@24337 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 18:40:16 +00:00
Sergey Biryukov
df63c08216 Use numbered placeholders. see #24389.
git-svn-id: https://develop.svn.wordpress.org/trunk@24327 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:26:36 +00:00
Andrew Nacin
56b03bc118 Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389.
git-svn-id: https://develop.svn.wordpress.org/trunk@24320 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:01:57 +00:00
bumpbot
7306e41902 Compress scripts/styles: 3.6-beta3-24318.
git-svn-id: https://develop.svn.wordpress.org/trunk@24318 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 18:58:57 +00:00
Andrew Nacin
865defcb1a Revert [24291] pending further discussion and sleuthing. see #24364.
git-svn-id: https://develop.svn.wordpress.org/trunk@24317 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 18:37:43 +00:00
Dominik Schilling (ocean90)
790b2a5a41 Some more RTL improvements for permalink settings. props SergeyBiryukov. fixes #16834.
git-svn-id: https://develop.svn.wordpress.org/trunk@24315 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 17:58:10 +00:00
Andrew Ozz
d67790d7eb Add more specific error messages when upgrading themes and plugins and the package cannot be extracted (no files), props SergeyBiryukov, fixes #24223
git-svn-id: https://develop.svn.wordpress.org/trunk@24313 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 16:57:20 +00:00
bumpbot
4a1aaffc57 Compress scripts/styles: 3.6-beta3-24312.
git-svn-id: https://develop.svn.wordpress.org/trunk@24312 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 02:58:58 +00:00
Andrew Ozz
ee93e9c949 Image post format UI:
- When initializing wp.Uploader pass null for 'container' and 'browser'. Fixes a bug where another instance of the uploader was attached to <body>.
- Destroy the uploader instance if drag/drop is not supported (IE8 & 9).
See #24291.

git-svn-id: https://develop.svn.wordpress.org/trunk@24310 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 01:30:00 +00:00
bumpbot
b3a97f3700 Compress scripts/styles: 3.6-beta3-24306.
git-svn-id: https://develop.svn.wordpress.org/trunk@24306 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 20:58:55 +00:00
Andrew Ozz
2700b71b35 Post locks:
- Change from IDs to classes for the notification-dialog divs so they can be reused.
- Do not check post locks if the dialog's html is not present.
- Do not check post locks if there is only one user on a single site install.
See #23697.

git-svn-id: https://develop.svn.wordpress.org/trunk@24304 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 19:36:29 +00:00
Ryan Boren
687d1a2ce9 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@24303 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 12:10:58 +00:00
bumpbot
5b742721ec Compress scripts/styles: 3.6-beta3-24300.
git-svn-id: https://develop.svn.wordpress.org/trunk@24300 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 04:58:58 +00:00
Andrew Ozz
657612fbaa Post locks: do not check locks on the Posts screen if the list table is empty, see #23697
git-svn-id: https://develop.svn.wordpress.org/trunk@24299 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 04:10:43 +00:00
bumpbot
0892fe10b9 Compress scripts/styles: 3.6-beta3-24298.
git-svn-id: https://develop.svn.wordpress.org/trunk@24298 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 20:59:00 +00:00
Andrew Ozz
336851f453 Post formats: add 32px retina icons for both color themes, tweak the css, "crush" the sprites. Props melchoyce, saracannon, aaroncampbell. Fixes #24290, fixes #24331.
git-svn-id: https://develop.svn.wordpress.org/trunk@24297 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 20:25:24 +00:00
bumpbot
753eb290be Compress scripts/styles: 3.6-beta3-24295.
git-svn-id: https://develop.svn.wordpress.org/trunk@24295 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 02:58:57 +00:00
Andrew Ozz
582a2143e2 Post format retina icons for both color themes, props melchoyce, aaroncampbell. See #24290, see #24331.
git-svn-id: https://develop.svn.wordpress.org/trunk@24294 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 02:05:52 +00:00
bumpbot
55371e8359 Compress scripts/styles: 3.6-beta3-24293.
git-svn-id: https://develop.svn.wordpress.org/trunk@24293 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 00:58:54 +00:00
Andrew Ozz
e6ba0525cc Post format image: fix distorted image preview on iPads, see #24046
git-svn-id: https://develop.svn.wordpress.org/trunk@24292 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 00:49:58 +00:00
Andrew Ozz
ea91e4bcab Fix Chrome disregarding autocomplete="off" for password fields. Add autocomplete="off" to forms where the users can choose new password. Fixes #24364.
git-svn-id: https://develop.svn.wordpress.org/trunk@24291 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-18 22:56:21 +00:00
bumpbot
c63bdba46d Compress scripts/styles: 3.6-beta3-24290.
git-svn-id: https://develop.svn.wordpress.org/trunk@24290 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-18 00:58:53 +00:00
Andrew Ozz
676d0c8b16 Post formats: when uploading an image or selecting it from the media modal, don't wrap it in a link, props kovshenin, fixes #24289
git-svn-id: https://develop.svn.wordpress.org/trunk@24289 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 23:06:34 +00:00
bumpbot
51c0ca1932 Compress scripts/styles: 3.6-beta3-24284.
git-svn-id: https://develop.svn.wordpress.org/trunk@24284 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 18:58:55 +00:00
Dominik Schilling (ocean90)
e8f56bae21 Improve the permalink settings UI for RTL.
props yoavf, SergeyBiryukov, DrewAPicture. fixes #16834.

git-svn-id: https://develop.svn.wordpress.org/trunk@24283 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 17:55:39 +00:00
Ryan Boren
6f80083f14 Display the post format UI when there is structured data associated with the post regardless of the screen option.
Props kovshenin
see #24327


git-svn-id: https://develop.svn.wordpress.org/trunk@24282 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 15:12:50 +00:00
bumpbot
e34b198411 Compress scripts/styles: 3.6-beta3-24280.
git-svn-id: https://develop.svn.wordpress.org/trunk@24280 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 16:58:57 +00:00
Dominik Schilling (ocean90)
3786e44194 Customizer: Fix 'Collapse' button in RTL. props SergeyBiryukov. see [22977]. fixes #23846.
git-svn-id: https://develop.svn.wordpress.org/trunk@24277 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 15:01:11 +00:00
Ryan Boren
3506db6e1c Don't show both "update failed" and "update successful" messages when upgrading a theme fails due to connectivity problems.
Props SergeyBiryukov
fixes #23027


git-svn-id: https://develop.svn.wordpress.org/trunk@24276 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 12:46:36 +00:00
bumpbot
800ef593aa Compress scripts/styles: 3.6-beta3-24274.
git-svn-id: https://develop.svn.wordpress.org/trunk@24274 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 04:58:58 +00:00
Andrew Ozz
e4f73af495 Separate the nonces update from checking the post lock. Fix scheduling the logged out check. See #23697, see #23295.
git-svn-id: https://develop.svn.wordpress.org/trunk@24273 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 03:47:09 +00:00
Sergey Biryukov
5b3dc65c14 Add file header to post-formats.php. props DrewAPicture. fixes #24349.
git-svn-id: https://develop.svn.wordpress.org/trunk@24267 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 23:14:45 +00:00
bumpbot
a9db6a4195 Compress scripts/styles: 3.6-beta3-24265.
git-svn-id: https://develop.svn.wordpress.org/trunk@24265 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 20:58:57 +00:00
Andrew Ozz
22b2023e4b Fix showing and hiding of UI elements when disabling the Post Formats UI, props kovshenin, see #24327
git-svn-id: https://develop.svn.wordpress.org/trunk@24264 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 20:43:09 +00:00
Dominik Schilling (ocean90)
a5ab9e5dca Revisions: Correct check for ensuring comparison always from newer to older revision. props adamsilverstein. fixes #24340.
git-svn-id: https://develop.svn.wordpress.org/trunk@24263 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 19:09:39 +00:00
bumpbot
cd5208457e Compress scripts/styles: 3.6-beta3-24260.
git-svn-id: https://develop.svn.wordpress.org/trunk@24260 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 20:58:56 +00:00
Dominik Schilling (ocean90)
f2b66aafbd RTL support for the new post Format UI. see #24326.
git-svn-id: https://develop.svn.wordpress.org/trunk@24258 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 19:01:57 +00:00
bumpbot
2515b8dbef Compress scripts/styles: 3.6-beta3-24257.
git-svn-id: https://develop.svn.wordpress.org/trunk@24257 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 18:58:57 +00:00
Dominik Schilling (ocean90)
ab860dea14 RTL: Fix some issues on nav menu screen. see #24326.
git-svn-id: https://develop.svn.wordpress.org/trunk@24256 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 18:26:41 +00:00
Dominik Schilling (ocean90)
e1a2affe21 Revisions UI: Reduce the min width of a tick. props adamsilverstein. see #23901.
git-svn-id: https://develop.svn.wordpress.org/trunk@24254 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 17:35:26 +00:00
Dominik Schilling (ocean90)
19fd80736a Revisions JS: Fix inline docs. props a.hoereth. see #23901.
git-svn-id: https://develop.svn.wordpress.org/trunk@24253 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 17:30:18 +00:00
Ryan Boren
9f3b5a4c4b Remove obsolete TODO.
Props wonderboymusic
fixes #11635


git-svn-id: https://develop.svn.wordpress.org/trunk@24247 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 12:44:44 +00:00
Ryan Boren
fea88ce184 phpdoc improvements for wp_dashboard_quota()
Props DrewAPicture, h4ck3rm1k3


git-svn-id: https://develop.svn.wordpress.org/trunk@24246 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 12:37:30 +00:00
Andrew Nacin
da0a46d405 Pass blog_id to the wpmu_drop_tables filter. props mitchoyoshitaka. see #24320.
git-svn-id: https://develop.svn.wordpress.org/trunk@24245 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-11 21:58:40 +00:00
Mark Jaquith
1786a428da A better logic check for whether we are looking at a post formats supporting view.
see #24291.

git-svn-id: https://develop.svn.wordpress.org/trunk@24243 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 23:22:58 +00:00
bumpbot
22e098493b Compress scripts/styles: 3.6-beta2-24237.
git-svn-id: https://develop.svn.wordpress.org/trunk@24237 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 18:58:54 +00:00
Mark Jaquith
87730d0649 Improvements of Image format dropzone
* Limit drag-drop Image format zone to HTML5 runtime
* Only keep the first file dropped
* Only upload image files
* Fix CSS for the progress bar

props azaozz. see #24291.

git-svn-id: https://develop.svn.wordpress.org/trunk@24236 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 18:49:05 +00:00
Sergey Biryukov
d75c52e120 Prevent menu items with '0' label from being removed on menu saving. props MikeHansenMe, kovshenin. fixes #23051.
git-svn-id: https://develop.svn.wordpress.org/trunk@24235 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 18:03:09 +00:00
Sergey Biryukov
6c2631f1ca Display consistent labels in Image post format UI for users with and without unfiltered_html capability. props tollmanz. fixes #24304. see #24291.
git-svn-id: https://develop.svn.wordpress.org/trunk@24232 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 14:41:58 +00:00
Sergey Biryukov
c57e761ce5 Remove debug cruft. props kovshenin. see #23930.
git-svn-id: https://develop.svn.wordpress.org/trunk@24231 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 12:26:46 +00:00
Sergey Biryukov
cb45a6cb79 Use esc_textarea(), not esc_html(), for escaping textarea content. props johnbillion. fixes #24300.
git-svn-id: https://develop.svn.wordpress.org/trunk@24230 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 02:06:34 +00:00
Sergey Biryukov
2b1420456d Fix typos in phpdoc. props TheLastCicada. fixes #24302.
git-svn-id: https://develop.svn.wordpress.org/trunk@24229 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 01:39:30 +00:00
Sergey Biryukov
1e66ba73ed Use correct escaping function. props tollmanz. fixes #24300.
git-svn-id: https://develop.svn.wordpress.org/trunk@24228 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 23:53:24 +00:00
bumpbot
784177ac9f Compress scripts/styles: 3.6-beta2-24227.
git-svn-id: https://develop.svn.wordpress.org/trunk@24227 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 22:58:58 +00:00
Mark Jaquith
31c316214a Improve the UX and flow of the Image post format.
* Drag-and-drop
* Textarea for HTML/URL hidden to start
* Bigger click target for entering Media modal
* Image preview height-contrained to 300 pixels
* Hid the alignment, size, etc options that didn't have an effect anyway
* Got wp-format-{format} into the <body> class

props DrewAPicture, aaroncampbell, markjaquith, azaozz. see #24291.

git-svn-id: https://develop.svn.wordpress.org/trunk@24226 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 22:45:14 +00:00
bumpbot
510e59c8fb Compress scripts/styles: 3.6-beta2-24220.
git-svn-id: https://develop.svn.wordpress.org/trunk@24220 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 10:58:54 +00:00
Dominik Schilling (ocean90)
123d8a1258 Revisions UI: Redesigned slider handlers.
Also:
* Fix diff header styling in grey admin theme
* Prevent an overlap of the compare two checkbox on smaller screens

props melchoyce, DrewAPicture, adamsilverstein. fixes #24276.

git-svn-id: https://develop.svn.wordpress.org/trunk@24219 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 10:07:26 +00:00
Sergey Biryukov
dfc25545fe Make the notice on Edit Menus screen more in line with the help text. props DrewAPicture. see #24115.
git-svn-id: https://develop.svn.wordpress.org/trunk@24218 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 03:06:14 +00:00
Sergey Biryukov
232269b34e Don't show "Manage Locations" tab if the theme has no menu locations defined. props DrewAPicture. fixes #24115.
git-svn-id: https://develop.svn.wordpress.org/trunk@24217 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 02:43:26 +00:00
Sergey Biryukov
7cf933b2c9 * Pass ellipsis as a parameter to wp_html_excerpt() instead of appending it manually.
* Consolidate the logic to avoid appending ellipsis if the entire string is shown.
* Show ellipsis after truncated filenames and post titles.

props solarissmoke, bpetty, SergeyBiryukov. fixes #11446.

git-svn-id: https://develop.svn.wordpress.org/trunk@24214 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 00:22:02 +00:00
Sergey Biryukov
a21af7c29f Use wp_trim_words() in Recent Drafts widget. fixes #24292.
git-svn-id: https://develop.svn.wordpress.org/trunk@24212 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 23:06:41 +00:00
bumpbot
40ba7996f8 Compress scripts/styles: 3.6-beta2-24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24210 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:58:55 +00:00
Andrew Ozz
701a2d23f9 Post locks and autosave:
- Move nonces refreshing from autosave to lock checking.
- Do autosave only when there is something to save.
See #23295

git-svn-id: https://develop.svn.wordpress.org/trunk@24209 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:52:55 +00:00
Sergey Biryukov
bb2a27be5b Use ellipsis instead of three dots. props tjsingleton, jordie23, wojtek.szkutnik, DrewAPicture, SergeyBiryukov. see #8714.
git-svn-id: https://develop.svn.wordpress.org/trunk@24207 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 21:27:31 +00:00
Mark Jaquith
cf2a8e08d2 Ensure that draft posts cannot be given a non-unique post slug when using Quick Edit.
fixes #22902. props SergeyBiryukov.

git-svn-id: https://develop.svn.wordpress.org/trunk@24206 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 21:26:17 +00:00
Dominik Schilling (ocean90)
0b5b837917 Revisions UI: RTL support. (And inline docs.)
props DrewAPicture, adamsilverstein. fixes #23897.

git-svn-id: https://develop.svn.wordpress.org/trunk@24205 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 21:22:01 +00:00
Sergey Biryukov
1b941a1872 Avoid PHP notices when deleting or restoring an item that no longer exists. props johnbillion, ocean90. fixes #24246.
git-svn-id: https://develop.svn.wordpress.org/trunk@24201 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 18:56:54 +00:00
Sergey Biryukov
b6bd2d56da Remove unused variables. props ocean90. fixes #24247.
git-svn-id: https://develop.svn.wordpress.org/trunk@24199 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 17:52:18 +00:00
Mark Jaquith
3ddb5cb066 Go back to plain text diffs between revisions instead of attempting partial rendering.
fixes #24254

git-svn-id: https://develop.svn.wordpress.org/trunk@24192 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 20:34:58 +00:00
Andrew Nacin
7a9f91869e Fix usage of undeclared variables.
* the_weekday_date() needs the global $currentday
 * ms_site_check() needs the global $current_site
 * media list table does not need to check for $total_orphans
 * upgrader has no $feedback variable, appears to be copypasta from other upgrade APIs
 * install_themes_feature_list() has no $features variable, return array() instead of a new return type of WP_Error

see #24210.



git-svn-id: https://develop.svn.wordpress.org/trunk@24189 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 16:35:03 +00:00
Andrew Nacin
06507af832 remove_filter() only accepts three arguments: filter, callback, and priority. An accepted args parameter is only used for adds.
props rlerdorf.
see #24210.



git-svn-id: https://develop.svn.wordpress.org/trunk@24188 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 15:55:31 +00:00
Andrew Nacin
7e9ed03bd1 Remove manual printing of userSettings as utils.js receives this as inline script data (since 3.5). see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24187 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 15:49:20 +00:00
Sergey Biryukov
3edcfbd798 Update the instructions on Edit Menus screen. props DrewAPicture. fixes #24261.
git-svn-id: https://develop.svn.wordpress.org/trunk@24185 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 14:55:14 +00:00
Ryan Boren
63c3307f28 Update some copy in the Post Formats UI.
see #24227


git-svn-id: https://develop.svn.wordpress.org/trunk@24184 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 13:56:07 +00:00
Sergey Biryukov
611f5a8aab Clarify the instructions on Edit Menus screen. props tw2113. fixes #23936.
git-svn-id: https://develop.svn.wordpress.org/trunk@24183 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 12:55:39 +00:00
Sergey Biryukov
2b666b1ef8 Avoid PHP notices in Media Library if an attachment parent does not exist. props trepmal, viniciusmassuchetto, alex-ye, adamsilverstein for initial patches. fixes #22312. fixes #23154.
git-svn-id: https://develop.svn.wordpress.org/trunk@24182 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 11:46:35 +00:00
Sergey Biryukov
cee482f426 Remove obsolete reference in menus help tab. props DrewAPicture. fixes #24262.
git-svn-id: https://develop.svn.wordpress.org/trunk@24181 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 09:21:04 +00:00
bumpbot
223966a366 Compress scripts/styles: 3.6-beta2-24176.
git-svn-id: https://develop.svn.wordpress.org/trunk@24176 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-04 22:58:57 +00:00
Dominik Schilling (ocean90)
3e0f930659 Revisions: Mark deprecated arguments in wp_list_post_revisions().
* Second argument is now a string, which controls the revision type
* Back compat for $args['type']
* Remove lines for the old form-table format, since it's now just a list 

props a.hoereth. fixes #24213.

git-svn-id: https://develop.svn.wordpress.org/trunk@24175 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-04 12:54:00 +00:00
Dominik Schilling (ocean90)
40cf994e77 Revisions UI: Just another update - Now with improved tick marks and tooltips.
props adamsilverstein. see #23935.

git-svn-id: https://develop.svn.wordpress.org/trunk@24174 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 23:17:06 +00:00
Dominik Schilling (ocean90)
85cd918ff6 Revisions UI: Add a help tab. props siobhan, DrewAPicture. see #23899.
git-svn-id: https://develop.svn.wordpress.org/trunk@24173 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 23:00:14 +00:00
Dominik Schilling (ocean90)
11ba4ed67a Fix typo in [24157]. props johnjamesjacoby. fixes #24253.
git-svn-id: https://develop.svn.wordpress.org/trunk@24166 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 07:05:19 +00:00
bumpbot
a7157e4cf0 Compress scripts/styles: 3.6-beta2-24163.
git-svn-id: https://develop.svn.wordpress.org/trunk@24163 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 22:58:59 +00:00
Sergey Biryukov
4c09558501 Fix localization on Edit Menus screen. props kovshenin. fixes #24228.
git-svn-id: https://develop.svn.wordpress.org/trunk@24158 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 12:38:25 +00:00
Dominik Schilling (ocean90)
67d2cfeb89 Revisions UI: Add translation contexts and remove unneeded lines.
props nao. fixes #23917.

git-svn-id: https://develop.svn.wordpress.org/trunk@24157 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 10:12:19 +00:00
Dominik Schilling (ocean90)
bd5099a40a Revisions: Remove the ID from the "restored by" line. props adamsilverstein. see #18733.
git-svn-id: https://develop.svn.wordpress.org/trunk@24156 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 09:35:35 +00:00
Sergey Biryukov
e0928bb6eb Avoid an undefined variable notice. fixes #24236.
git-svn-id: https://develop.svn.wordpress.org/trunk@24149 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-01 02:38:51 +00:00
Sergey Biryukov
dfc7de0306 Avoid an undefined variable notice. props sc0ttkclark. see #24236.
git-svn-id: https://develop.svn.wordpress.org/trunk@24148 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-01 02:27:07 +00:00
bumpbot
3d5f6d2929 Compress scripts/styles: 3.6-beta1-24142.
git-svn-id: https://develop.svn.wordpress.org/trunk@24142 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:48:11 +00:00
Sergey Biryukov
c90caa9593 Avoid a JS error when switching post format if Visual editor is disabled. fixes #24218.
git-svn-id: https://develop.svn.wordpress.org/trunk@24141 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:44:15 +00:00
bumpbot
f4c72e828e Compress scripts/styles: 3.6-beta1-24138.
git-svn-id: https://develop.svn.wordpress.org/trunk@24138 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 17:46:49 +00:00
Andrew Nacin
8c818a1d51 Delete minified file. Its parent was removed in [23681].
git-svn-id: https://develop.svn.wordpress.org/trunk@24137 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 17:21:12 +00:00
Andrew Nacin
3c47a45910 Terms list table:
* Don't call single_row() with an undeclared and unused $taxonomy argument.
 * Don't define optional parameters before required parameters in the _rows() method. Make them required.
 * Move empty( $terms ) check above other operations. This function was improperly returning an else case until [24123].

props rlerdorf.
see #24210.



git-svn-id: https://develop.svn.wordpress.org/trunk@24127 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 13:39:28 +00:00
Andrew Nacin
2523656757 delete_user_setting() and remove_action() were getting called with too many args. props rlerdorf. see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24125 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 13:25:15 +00:00
Sergey Biryukov
ece505b122 Remove redundant echo calls from list tables. Don't mix string concatenation with direct output. see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24123 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 01:10:50 +00:00
Sergey Biryukov
e8ea660108 Remove extraneous function parameters in the network admin. props rlerdorf. see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24120 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 00:26:49 +00:00
Dominik Schilling (ocean90)
800d88397a Revisions UI update:
* Style status loading as a regular update message like on the other screens
 * Move compare two checkbox to diff header to avoid an overlap on long post titles
 * Restore color shades for the scope of changes visualisation 
 * Show tooltips while moving the slider handle
 * Diff header styling
 * Move color declarations to classic/fresh stylesheets
 * Sync admin color stylesheets

props jrbeilke for initial patch. see #23935.

git-svn-id: https://develop.svn.wordpress.org/trunk@24119 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-28 10:56:57 +00:00
Dominik Schilling (ocean90)
47144d8c5d Optimize jQuery selector for checkbox synchronization. props SergeyBiryukov. see #24136.
git-svn-id: https://develop.svn.wordpress.org/trunk@24116 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-27 12:19:45 +00:00
Helen Hou-Sandi
64ed933919 Better responsive CSS for post format switcher. Remove some JS debug cruft. props wonderboymusic. see #24046.
git-svn-id: https://develop.svn.wordpress.org/trunk@24114 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 23:47:21 +00:00
Sergey Biryukov
3cd315efe7 Remove excess margin on the menus accordion in IE7. props bobbravo2. fixes #24095.
git-svn-id: https://develop.svn.wordpress.org/trunk@24112 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 16:10:43 +00:00
Sergey Biryukov
df6737bfae Fix display of post format icons and post titles in IE7. props kovshenin. fixes #24120.
git-svn-id: https://develop.svn.wordpress.org/trunk@24111 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 15:42:15 +00:00
bumpbot
b9c80d86ac Compress scripts/styles: 3.6-beta1-24100.
git-svn-id: https://develop.svn.wordpress.org/trunk@24100 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:58:41 +00:00
Sergey Biryukov
af71a8c16d Remove unused variable and CSS class. see #24046.
git-svn-id: https://develop.svn.wordpress.org/trunk@24099 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:36:12 +00:00
Mark Jaquith
438f4085f1 Post format UI refresh.
* Post format switcher does not go away after clicking
* Refresh of format switcher style
* Highlighting of active post format
* Prompt text goes under the switcher
* Better animations

see #24046. props wonderboymusic, johnjamesjacoby, aaroncampbell, PeteMall.

Also, because I forgot it on [24006]: props saracannon.

git-svn-id: https://develop.svn.wordpress.org/trunk@24098 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:22:55 +00:00
Sergey Biryukov
be43193b61 Avoid an undefined variable notice. props lightningspirit. fixes #24190.
git-svn-id: https://develop.svn.wordpress.org/trunk@24097 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 23:31:20 +00:00
bumpbot
7ef190d486 Compress scripts/styles: 3.6-beta1-24095.
git-svn-id: https://develop.svn.wordpress.org/trunk@24095 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 08:58:43 +00:00
Mark Jaquith
3bde819dbe Screen option for Post Format UI.
props nacin. see #23930.

git-svn-id: https://develop.svn.wordpress.org/trunk@24092 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:28:33 +00:00