Commit Graph

9957 Commits

Author SHA1 Message Date
Andrew Nacin b99ea12611 Namespace the dashboard widget nonce to avoid collisions with plugins.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@23148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-10 09:14:59 +00:00
Andrew Nacin 1db09a2201 Verify attachment parent during upload.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 00:23:02 +00:00
Andrew Nacin 2c07e893dd Use jQuery .html() when processing HTML.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 00:08:31 +00:00
Andrew Nacin 4932b7edca Nonces for dashboard controls.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 00:02:03 +00:00
Andrew Nacin c526bfbc7a Show plugin activation message when activating a network only plugin on a single site installation. fixes #22576 for the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-29 02:49:19 +00:00
Andrew Nacin 5ba6c76bd4 Fix ajax adding of custom fields and link categories. props SergeyBiryukov. for the 3.4 branch. see #21829.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@22371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-05 17:47:55 +00:00
Andrew Nacin 73a9bbff20 Fix nesting on themes.php when there are no options links to display for the current theme. props sterlo. fixes #21980 for the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 04:05:40 +00:00
Andrew Nacin f5d25321ab ~20 bugs fixed
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-06 18:15:36 +00:00
Andrew Nacin 7f2f650717 Compress scripts/styles: 3.4.2-RC1. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-05 01:55:55 +00:00
Andrew Nacin 15a9987ecd Fix old-school Preview links when a theme directory contains spaces. Fix the theme-editor.php link from MS themes screens when a theme directory contains spaces. see #21749. Merges [21752] to the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 22:27:52 +00:00
Andrew Nacin 8d088077fb Only allow operations on network plugins through the network admin. fixes #21187. merges [21700] and [21740] to the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:53:05 +00:00
Andrew Nacin 2e7ff32b82 Ensure we are parseable by PHP4 until wp_check_php_mysql_versions() has a chance to run.
Merges [21715], [21716] to the 3.4 branch.
props SergeyBiryukov.
fixes #21316.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:31:14 +00:00
Andrew Nacin 88e30886f2 Modify a few jQuery selectors to prevent overflows and lagging. props SergeyBiryukov. fixes #21106. merges [21737] to the 3.4 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:28:52 +00:00
Andrew Nacin de850b0761 Remove custom header uploads from the customizer.
For the 3.4 branch. It will return when crop ability is added.

props koopersmith.
see #21355. fixes #21515. fixes #21707.
merges [21379] [21380] [21383] [21385] [21386] [21497] [21722].



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 04:54:01 +00:00
Andrew Nacin aa7083ed5c Merge [21205] and [21688] to the 3.4 branch. props SergeyBiryukov, yoavf. fixes #21590. see #21106.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 03:17:11 +00:00
Andrew Nacin d067f633e5 Version bumps for the 3.4 branch, including a DB version bump for [21709] (see [21707]).
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 23:23:49 +00:00
Andrew Nacin 967a674789 Fix a placeholder in a string without breaking said string in a branch. fixes #21511.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 22:07:34 +00:00
Andrew Nacin e7586186ac Don't call self_admin_url() or esc_url() when declaring that WordPress updated successfully, as they may not exist in the current (just updated) version.
props SergeyBiryukov.
see #21511.
for the 3.4 branch.



git-svn-id: http://core.svn.wordpress.org/branches/3.4@21704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 22:01:55 +00:00
nacin f5df7e19ad Add a check that previously fell through to the next branch in map_meta_cap(). for 3.4.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-27 19:29:16 +00:00
nacin 85989342d4 Bump
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 21:54:32 +00:00
bumpbot 0bd3d8b59a Compress scripts/styles: 3.4.1-alpha-21149.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 21:51:24 +00:00
nacin f09dba5b92 Use WP_Theme when switching themes. see #21075 for 3.4.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 19:10:05 +00:00
nacin edd1b41c66 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
2012-06-26 18:53:45 +00:00
nacin 52a69faf18 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
2012-06-26 06:28:59 +00:00
nacin 7508d49161 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
2012-06-26 04:03:31 +00:00
duck_ 1ae0697d9d 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
2012-06-25 20:54:09 +00:00
nacin fbd8f0c492 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
2012-06-25 20:30:59 +00:00
markjaquith 87f7d0ba44 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
2012-06-25 19:59:10 +00:00
azaozz 2e6dc03e9e 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
2012-06-21 19:44:28 +00:00
azaozz 91a458d380 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
2012-06-21 00:10:05 +00:00
bumpbot 52e5983584 Compress scripts/styles: 3.4.1-alpha-21096.
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 21:58:43 +00:00
azaozz 898b5ba6ab Fix dragging to empty second column on dashboard, props helenyhou, fixes #21021 for 3.4
git-svn-id: http://core.svn.wordpress.org/branches/3.4@21093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 21:55:08 +00:00
duck_ ea548d7891 Hide pointers introduced in 3.4 from new users. Fixes #20941.
git-svn-id: http://core.svn.wordpress.org/trunk@21075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-13 17:38:42 +00:00
bumpbot a10e86c351 Compress scripts/styles: 3.4-RC3-21072.
git-svn-id: http://core.svn.wordpress.org/trunk@21072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 22:52:24 +00:00
ryan 2429659e9b Customize: If the preview is not logged in but the admin is, perform a front page request to setup any mapped domain cookies and then retry loading the preview.
Props nacin, koopersmith
fixes #20926


git-svn-id: http://core.svn.wordpress.org/trunk@21071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 22:51:55 +00:00
ryan 2f3839da9c Pinking shears
git-svn-id: http://core.svn.wordpress.org/trunk@21070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 19:27:41 +00:00
nacin 2abd3ad571 Theme Customizer: Validate themes with more than just an existence check.
* The current theme goes through validate_current_theme().
 * If doing a preview of a different theme, we check theme->errors().

Also:
 * Don't attach previewing hooks when previewing the current theme.
Aside from being unnecessary, this prevents issues with a theme with
the error of theme_parent_invalid.
 * Call send_origin_headers() earlier, to allow wp_die( '0' ) to properly
be returned in a domain mapping situation.
 * Fix the 'Save & Activate' message on themes.php.

fixes #20921.



git-svn-id: http://core.svn.wordpress.org/trunk@21069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 18:39:16 +00:00
bumpbot d0b70cc350 Compress scripts/styles: 3.4-RC3-21068.
git-svn-id: http://core.svn.wordpress.org/trunk@21068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 17:58:23 +00:00
koopersmith c59520aa1e Prevent delete theme link from bumping against theme action links. If it doesn't fit, it doesn't fit, man. props SergeyBiryukov, fixes #20918.
git-svn-id: http://core.svn.wordpress.org/trunk@21067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 17:11:09 +00:00
bumpbot b2024263ae Compress scripts/styles: 3.4-RC3-21066.
git-svn-id: http://core.svn.wordpress.org/trunk@21066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 16:58:23 +00:00
koopersmith 4811176a7c Prevent hoverIntent from shifting open, expanded admin menus if the entire submenu is not visible. props SergeyBiryukov, fixes #20857.
git-svn-id: http://core.svn.wordpress.org/trunk@21065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 16:36:32 +00:00
ryan 21436ed8b9 Force a theme directory scan after installing and upgrading themes. Props nacin. fixes #20919
git-svn-id: http://core.svn.wordpress.org/trunk@21064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 15:59:53 +00:00
ryan bbb1494919 Use the stylesheet rather than the template to create the network enable theme nonce. Fix network enable redirect following theme installation. Props duck_, nacin. fixes #20916
git-svn-id: http://core.svn.wordpress.org/trunk@21062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 15:31:25 +00:00
nacin 551f88dbcb Use the proper value for the switch-theme nonce in the upgrader. Fixes child theme activation after install. props duck_. fixes #20914.
git-svn-id: http://core.svn.wordpress.org/trunk@21061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 14:36:24 +00:00
bumpbot e8685a74f6 Compress scripts/styles: 3.4-RC2-21058.
git-svn-id: http://core.svn.wordpress.org/trunk@21058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-11 23:58:20 +00:00
nacin 06ac2ae2e9 Add remaining CSS properties for [21056]. props azaozz. see #20911.
git-svn-id: http://core.svn.wordpress.org/trunk@21057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-11 23:54:13 +00:00
nacin 263a0bd031 Restore CSS rules for div.inner-sidebar, for backwards compatibility with plugins using these classes manually. props azaozz, fixes #20911.
git-svn-id: http://core.svn.wordpress.org/trunk@21056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-11 23:41:59 +00:00
bumpbot 19ccdf7b41 Compress scripts/styles: 3.4-RC2-21055.
git-svn-id: http://core.svn.wordpress.org/trunk@21055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-11 21:28:44 +00:00
ryan 7c214624b6 Add RTL and locale classes to the press this body. Props SergeyBiryukov. fixes #19603
git-svn-id: http://core.svn.wordpress.org/trunk@21052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-11 20:34:42 +00:00
ryan 7859542799 Remove obsolete help string. Props SergeyBiryukov. fixes #20909
git-svn-id: http://core.svn.wordpress.org/trunk@21051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-11 20:32:21 +00:00