Commit Graph

22505 Commits

Author SHA1 Message Date
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
Sergey Biryukov 21704cfdc0 Make wp_mail() return the actual result of PHPMailer::Send() instead of always returning true. props chmac. fixes #23642.
git-svn-id: https://develop.svn.wordpress.org/trunk@24530 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-29 23:03:13 +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
Andrew Nacin 836ebd6f0d Twenty Thirteen: Update comment form selectors with new classes added in r24525.
props obenland.
fixes #23851.



git-svn-id: https://develop.svn.wordpress.org/trunk@24526 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 21:19:02 +00:00
Andrew Nacin f8d88e8dd7 Comment form: Add HTML classes.
* #respond gains .comment-respond
 * #reply-title gains .comment-reply-titlw
 * form gains .comment-form

props obenland.
see #23851.



git-svn-id: https://develop.svn.wordpress.org/trunk@24525 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 21:18:08 +00:00
Andrew Nacin c2350dee89 Improve the HTML classes for the new html5 format in get_search_form().
Update Twenty Thirteen to reflect the changes.

props obenland.
fixes #23850.



git-svn-id: https://develop.svn.wordpress.org/trunk@24524 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 20:45:12 +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
Andrew Nacin 0d3ca6acdd Add strict check in wp_xmlrpc_server::set_custom_fields(). The slash strip ensures these values are the same data type, but it might not be that way forever. props xknown.
git-svn-id: https://develop.svn.wordpress.org/trunk@24521 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 02:46:23 +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
Andrew Nacin a0601fabfe Media: Render unsupported audio files as links instead of mediaelement. props kovshenin, fixes #23798.
git-svn-id: https://develop.svn.wordpress.org/trunk@24519 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-26 20:42:01 +00:00
Andrew Nacin a85b87515e Remove some old debug cruft left by yours truly. fixes #24462.
git-svn-id: https://develop.svn.wordpress.org/trunk@24518 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-26 19:33:58 +00:00
potbot 0b3af6dd91 POT, generated from r24516
git-svn-id: https://develop.svn.wordpress.org/trunk@24517 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 22:14:23 +00:00
Lance Willett 4a6eef5627 Twenty Thirteen: enqueue Genericons CSS from its own file, to allow for easier updates and maintenance, and to allow for better plugin overrides. Props obenland, closes #24595.
git-svn-id: https://develop.svn.wordpress.org/trunk@24516 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 22:03:42 +00:00
Lance Willett 6102515450 Twenty Thirteen: update Genericons font files to latest version, 2.09. See #24595.
git-svn-id: https://develop.svn.wordpress.org/trunk@24515 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 21:58:13 +00:00
Lance Willett b8b3908285 Twenty Thirteen: JS fix, after r24511 changes -- add missing semicolon to end variable definition. See #24643.
git-svn-id: https://develop.svn.wordpress.org/trunk@24514 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 21:30:43 +00:00
Lance Willett 03e0039650 Twenty Thirteen: remove `box-sizing` styles from site wrapper element to avoid horizontal scrollbars in large viewports. Fixes #24599, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@24513 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 21:13:52 +00:00
Lance Willett 9a412d8812 Twenty Thirteen: add editor styles for post formats back in. Props celloexpressions, closes #24308.
git-svn-id: https://develop.svn.wordpress.org/trunk@24512 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 21:10:37 +00:00
Lance Willett e162294370 Twenty Thirteen: functions.js optimizations, props obenland. Fixes #24643.
git-svn-id: https://develop.svn.wordpress.org/trunk@24511 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 21:09:00 +00:00
Ryan Boren 33188fb613 Normalize the UTF-8 and ISO-8859-1 charset strings stored in blog_charset to make them friendlier with PHP functions that accept a charset such as htmlspecialchars().
fixes #23688


git-svn-id: https://develop.svn.wordpress.org/trunk@24510 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 19:03:17 +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 6fc38f8160 Correct inline docs for is_wp_error(). props johnbillion. fixes #24637.
git-svn-id: https://develop.svn.wordpress.org/trunk@24507 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-24 18:23:45 +00:00
Sergey Biryukov b5bb40cf2a Use capitalized ID column name in get_adjacent_post(). props hypertextranch. fixes #24575.
git-svn-id: https://develop.svn.wordpress.org/trunk@24506 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-24 13:11:43 +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
Sergey Biryukov 7c906b0c38 Avoid an undefined index notice in WP_Widget_Recent_Posts::update(). props jrf. fixes #24577.
git-svn-id: https://develop.svn.wordpress.org/trunk@24504 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-23 08:20:08 +00:00
Andrew Nacin 0e18d28947 Broader fix for [24497] for setup-config.php in trunk. props SergeyBiryukov, markoheijnen. fixes #24627.
git-svn-id: https://develop.svn.wordpress.org/trunk@24503 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-23 06:02:19 +00:00
Sergey Biryukov 7c75f1e337 Use correct backreference in obsolete feed redirection code. props sweetie089. fixes #24623.
git-svn-id: https://develop.svn.wordpress.org/trunk@24502 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-22 12:09:28 +00:00
Andrew Nacin a68ed07ee4 3.6-beta4
git-svn-id: https://develop.svn.wordpress.org/trunk@24500 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 19:51:53 +00:00
Andrew Nacin e0573ef18a Only call wp_kses_bad_protocol() in WP_HTTP if it exists. It does not in setup-config.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@24497 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 19:05:15 +00:00
Andrew Nacin 46022a51de Partially revert [24459] and only flush insert_id on the next insert or replace query, as we had been doing before. (Yes, this is not how mysql_insert_id() works.)
git-svn-id: https://develop.svn.wordpress.org/trunk@24494 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 18:22:26 +00:00
Sergey Biryukov de2951b057 Correct return value for get_role() and WP_Roles::get_role(). props tivnet. fixes #24607.
git-svn-id: https://develop.svn.wordpress.org/trunk@24491 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 13:01:55 +00:00
Sergey Biryukov fbc2a6ca6d PHPDoc fixes and additions. fixes #24616.
git-svn-id: https://develop.svn.wordpress.org/trunk@24490 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 12:45:11 +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
bumpbot 43ef5ad911 Compress scripts/styles: 3.6-beta3-24485. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@24485 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 07:19:07 +00:00
Andrew Nacin fe79cf8fd7 Change the HTTP API's URL validation default, in trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24482 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 06:17:56 +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 7380690be8 Update TinyMCE media plugin's moxieplayer.swf to latest.
git-svn-id: https://develop.svn.wordpress.org/trunk@24476 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 05:57:22 +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 f23577500c Build the media item HTML in a clearer manner in the legacy Plupload handler JS. Also update the retired SWFUpload handler JS.
git-svn-id: https://develop.svn.wordpress.org/trunk@24472 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 03:44:48 +00:00
Andrew Nacin fbc7ae43c8 Better sanity checks in oEmbed XML handling. see [23158].
git-svn-id: https://develop.svn.wordpress.org/trunk@24470 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 03:29:13 +00:00
Andrew Nacin 3c3b517e07 Update swfupload binary.
git-svn-id: https://develop.svn.wordpress.org/trunk@24468 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 03:16:52 +00:00
Andrew Nacin 43dcd6d9f4 Validate post password hash.
git-svn-id: https://develop.svn.wordpress.org/trunk@24466 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 03:00:26 +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
Andrew Nacin 626e77ec3b Add strict check to wp_verify_nonce() to avoid issues when it is improperly called.
git-svn-id: https://develop.svn.wordpress.org/trunk@24461 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 02:11:31 +00:00
Andrew Nacin 3c5073e119 Have wpdb::flush() reset more variables.
git-svn-id: https://develop.svn.wordpress.org/trunk@24459 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 01:32:54 +00:00
Andrew Nacin 473bef521b Add strict check to phpass's CheckPassword() method to avoid issues when the method is improperly called.
git-svn-id: https://develop.svn.wordpress.org/trunk@24457 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 01:21:12 +00:00