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
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)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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