Admin menu: reset sub-menus position on mouseleave so they don't break when auto-expanded, props phill_brown SergeyBiryukov, fixes #19562 for 3.4

git-svn-id: http://core.svn.wordpress.org/branches/3.4@21097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix dragging to empty second column in IE8, fixes #21021 for 3.4

git-svn-id: http://core.svn.wordpress.org/branches/3.4@21098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add 2x TinyMCE icons, props empireoflight, see #21019 for 3.4

git-svn-id: http://core.svn.wordpress.org/branches/3.4@21102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Properly show comments on Page edit screen. props duck_. fixes #20937 for 3.4 branch.


git-svn-id: http://core.svn.wordpress.org/branches/3.4@21108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix 'View version details' link for network/themes.php. In 3.5 these should stop pointing to WP.org. props SergeyBiryukov, fixes #20961 for 3.4.

git-svn-id: http://core.svn.wordpress.org/branches/3.4@21111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Set $walk_dirs = true for post rewrite rule generation. Fixes #21020 for 3.4.

Partial revert of r19737 and r19778 as some users were relying on this behaviour.
Bump database version to force flushing of rewrite rules upon upgrade.


git-svn-id: http://core.svn.wordpress.org/branches/3.4@21115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Thickbox is still needed on themes.php for update details overlay. Fixes #20960 for 3.4.


git-svn-id: http://core.svn.wordpress.org/branches/3.4@21116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revert [21102] for 3.4. see #21019.

git-svn-id: http://core.svn.wordpress.org/branches/3.4@21118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Don't call debug_backtrace() with an argument for PHP 5.2.4, which is currently the lowest version we support. props swekitsune, kurtpayne. fixes #20953 for 3.4.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revert detection of page templates to 3.3 functionality.

WP_Theme in 3.4.0 used get_file_data(), which is far too strict when
compared to the original regular expression in get_page_templates().
This causes missing templates when, for example, the PHP comment
starts on the same line as the header.

see #20955 for 3.4.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix string offset PHP 5.4 error by normalizing  to always be an integer. props ericmann. fixes #20966 for 3.4

git-svn-id: http://core.svn.wordpress.org/branches/3.4@21121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Load the admin MO file on repair.php. props SergeyBiryukov. see #21039 for 3.4.

git-svn-id: http://core.svn.wordpress.org/branches/3.4@21122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Allow add_editor_style() to load a child theme's editor style when the parent theme's style exists for the same filename. props SergeyBiryukov. fixes #21026 for 3.4.

git-svn-id: http://core.svn.wordpress.org/branches/3.4@21123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix validation issue in get_the_password_form() caused by wpautop(). fixes #21018 for 3.4.

git-svn-id: http://core.svn.wordpress.org/branches/3.4@21125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
When looking in a sub-directory of wp-content/themes for more themes, check
if that specific directory exists before looking inside of it for style.css.

This avoids warnings when open_basedir restrictions are in effect.

props goldenapples. fixes #20985 for 3.4.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Do not pass mail() a fourth argument when safe_mode is in effect.

Fixes the sending of mail when in safe_mode. There is a bug report being addressed upstream with PHPMailer.

props sumindmitriy. see #20970 for 3.4.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Back compat for plugins looking for networkwide=1 during a plugin activation hook.

Proper way to detect this: An activation hook callback receives (bool) $network_wide as the first argument.

fixes #20995 for 3.4.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
If a plugin triggers the WP_Scripts constructor prior to init, fire wp_default_scripts()
then and again on init.

Only add our localized strings once we've fired init, in case we do have the situation
where we fire wp_default_scripts() twice.

Fixes issues where plugins or themes try to enqueue a default script handle prior to
init. Does not allow #19959 to regress.

fixes #20971 for 3.4.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Refresh nonces in the customizer. props koopersmith. see #20876 for 3.4.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Check XML-RPC cap before running the query. props maxcutler. fixes #20991 for 3.4.

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