Posting: Improve the invalid date protection code based on feedback from nacin.

 * Introduce a wp_checkdate() function with a single filter to centralise the code that validates dates.
 * Improve the error message
 * Correctly handle the return value of wp_insert_post which is not always a WP_Error on failure

Fixes #17180


git-svn-id: http://core.svn.wordpress.org/trunk@21922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Passwords: Make it possible for plugins to enforce extra password strength / validity rules during the reset process.

Adds a filter in the password reset process so that a plugin can enforce particular password rules on users to compliment the existing filtering in the Profile modification process.
Fixes #21778.


git-svn-id: http://core.svn.wordpress.org/trunk@21923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Suppress db errors when checking if the blog is already installed in install_blog(). Use DESCRIBE instead of SELECT. Props bpetty. fixes #21922

git-svn-id: http://core.svn.wordpress.org/trunk@21924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Allow granting the network admin email user super admin. Props JustinSainton, garyc40. fixes #16629

git-svn-id: http://core.svn.wordpress.org/trunk@21925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
phpdoc cleanups for general-template.php. Props c3mdigital, SergeyBiryukov. fixes #21893

git-svn-id: http://core.svn.wordpress.org/trunk@21926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove unnecessary label. Props waclawjacek. fixes #17978

git-svn-id: http://core.svn.wordpress.org/trunk@21927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
* Avoid FOUND ROWS when no posts are found
* Set post_count and found_posts for all 'fields' queries.
* Set found_posts to post_count when limits are not used
* Update phpdoc for $found_posts and set_found_posts()

Props SergeyBiryukov, wonderboymusic

fixes #14426



git-svn-id: http://core.svn.wordpress.org/trunk@21928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: update navigation script to check for missing button and menu children earlier; allows an empty menu to be set without showing the button. See #21678.


git-svn-id: http://core.svn.wordpress.org/trunk@21929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: remove duplicate font-size rules, defined already for list items in this context.


git-svn-id: http://core.svn.wordpress.org/trunk@21930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-alpha-21931.

git-svn-id: http://core.svn.wordpress.org/trunk@21931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: update status post format styles and markup, props drewstrojny. See #21743.


git-svn-id: http://core.svn.wordpress.org/trunk@21932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: rework markup and styles for status post format after discussion with drewstrojny and testing for float clearing. Closes #21743.


git-svn-id: http://core.svn.wordpress.org/trunk@21933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove ui.css from WP's TinyMCE theme. It was left for back compat with a reference to editor-buttons.css, which was never updated to editor.css and no one noticed.



git-svn-id: http://core.svn.wordpress.org/trunk@21934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Widgets: Add support for display the post date in the Recent Posts widget. Fixes #21064 props lancewillett and SergeyBiryukov.


git-svn-id: http://core.svn.wordpress.org/trunk@21935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
XMLRPC: Support searching via wp.getPosts() fixes #21623 props ericmann.


git-svn-id: http://core.svn.wordpress.org/trunk@21936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Honor https in home option.

fixes #20759


git-svn-id: http://core.svn.wordpress.org/trunk@21937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Update comment_parent in wp_update_comment(). Props JustinSainton. fixes #21706

git-svn-id: http://core.svn.wordpress.org/trunk@21938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Pass a term object to the delete_term actions. Props bigdawggi. fixes #20645

git-svn-id: http://core.svn.wordpress.org/trunk@21939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Allow remove_cap() to unset a negative capability. Props johnjamesjacoby. fixes #21786

git-svn-id: http://core.svn.wordpress.org/trunk@21940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: change author template markup to use classes instead of IDs, fixes #21937.


git-svn-id: http://core.svn.wordpress.org/trunk@21941 1a063a9b-81f0-0310-95a4-ce76da25c4cd