Commit Graph

19327 Commits

Author SHA1 Message Date
bumpbot 4638cffcce Compress scripts/styles: 3.5-alpha-21103.
git-svn-id: https://develop.svn.wordpress.org/trunk@21103 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-22 00:58:22 +00:00
Andrew Ozz b2b09c46b9 Add 2x TinyMCE icons, props empireoflight, see #21019 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@21101 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-22 00:31:18 +00:00
bumpbot 0f4bca3ee2 Compress scripts/styles: 3.5-alpha-21100.
git-svn-id: https://develop.svn.wordpress.org/trunk@21100 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-21 20:58:20 +00:00
Andrew Ozz d8132db5b9 Fix dragging to empty second column in IE8, fixes #21021 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@21099 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-21 19:45:31 +00:00
bumpbot 6ba6dcf922 Compress scripts/styles: 3.5-alpha-21095.
git-svn-id: https://develop.svn.wordpress.org/trunk@21095 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-20 21:58:23 +00:00
Andrew Ozz 532d2277aa Fix dragging to empty second column on dashboard, props helenyhou, fixes #21021 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@21094 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-20 21:56:00 +00:00
bumpbot 41fbe09c9d Compress scripts/styles: 3.5-alpha-21092.
git-svn-id: https://develop.svn.wordpress.org/trunk@21092 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-20 15:58:25 +00:00
Andrew Ozz 033c65820a Respect user settings when auto-switching postbox columns on mobile devices, fixes #21005
git-svn-id: https://develop.svn.wordpress.org/trunk@21091 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-20 05:03:08 +00:00
Andrew Ozz ed33e36b0c Admin menu: reset sub-menus position on mouseleave so they don't break when auto-expanded, props phill_brown SergeyBiryukov, fixes #19562
git-svn-id: https://develop.svn.wordpress.org/trunk@21090 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-20 01:46:05 +00:00
Andrew Nacin fc24fec6e0 Remove unused variable in wp_update_themes(). props duck_. fixes #20831.
git-svn-id: https://develop.svn.wordpress.org/trunk@21089 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-18 18:49:14 +00:00
Andrew Nacin 38bc915f96 Introduce wp_clean_themes_cache() for upgrades and testing. fixes #20954.
git-svn-id: https://develop.svn.wordpress.org/trunk@21080 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-14 14:24:25 +00:00
Andrew Nacin ae215d1321 Trunk is now 3.5-alpha.
git-svn-id: https://develop.svn.wordpress.org/trunk@21079 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-14 13:35:52 +00:00
Andrew Nacin 24982d7029 3.4
git-svn-id: https://develop.svn.wordpress.org/trunk@21076 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-13 18:08:29 +00:00
Jon Cave 547117de7d Hide pointers introduced in 3.4 from new users. Fixes #20941.
git-svn-id: https://develop.svn.wordpress.org/trunk@21075 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-13 17:38:42 +00:00
Ryan Boren 1204c4ec66 RC4 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@21074 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-13 00:48:35 +00:00
Ryan Boren a0a36d35c9 Pass a post object instead of ID to help preserve ancestors. Props duck_. fixes #18536
git-svn-id: https://develop.svn.wordpress.org/trunk@21073 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 23:09:27 +00:00
bumpbot 36b3057a77 Compress scripts/styles: 3.4-RC3-21072.
git-svn-id: https://develop.svn.wordpress.org/trunk@21072 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 22:52:24 +00:00
Ryan Boren b84f6e908c 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: https://develop.svn.wordpress.org/trunk@21071 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 22:51:55 +00:00
Ryan Boren 48a3ec24c5 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@21070 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 19:27:41 +00:00
Andrew Nacin 7b32cc9e6b 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: https://develop.svn.wordpress.org/trunk@21069 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 18:39:16 +00:00
bumpbot 25e378229e Compress scripts/styles: 3.4-RC3-21068.
git-svn-id: https://develop.svn.wordpress.org/trunk@21068 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 17:58:23 +00:00
Daryl Koopersmith 52340fa233 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: https://develop.svn.wordpress.org/trunk@21067 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 17:11:09 +00:00
bumpbot 15002daafb Compress scripts/styles: 3.4-RC3-21066.
git-svn-id: https://develop.svn.wordpress.org/trunk@21066 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 16:58:23 +00:00
Daryl Koopersmith 49b038ed59 Prevent hoverIntent from shifting open, expanded admin menus if the entire submenu is not visible. props SergeyBiryukov, fixes #20857.
git-svn-id: https://develop.svn.wordpress.org/trunk@21065 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 16:36:32 +00:00
Ryan Boren ae5be6de5f Force a theme directory scan after installing and upgrading themes. Props nacin. fixes #20919
git-svn-id: https://develop.svn.wordpress.org/trunk@21064 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 15:59:53 +00:00
Ryan Boren 46dba7300c Fallback to /themes when there is no theme root. Props duck_. see #20919
git-svn-id: https://develop.svn.wordpress.org/trunk@21063 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 15:57:11 +00:00
Ryan Boren d0e8e5ca35 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: https://develop.svn.wordpress.org/trunk@21062 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 15:31:25 +00:00
Andrew Nacin d81496ca18 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: https://develop.svn.wordpress.org/trunk@21061 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 14:36:24 +00:00
Ryan Boren 257e455a50 Fix warning when processing read_post cap. Props duck_. fixes #20917
git-svn-id: https://develop.svn.wordpress.org/trunk@21060 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 13:50:51 +00:00
Andrew Nacin 8865b27df7 3.4-RC3
git-svn-id: https://develop.svn.wordpress.org/trunk@21059 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 00:02:20 +00:00
bumpbot 1569bff4a8 Compress scripts/styles: 3.4-RC2-21058.
git-svn-id: https://develop.svn.wordpress.org/trunk@21058 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-11 23:58:20 +00:00
Andrew Nacin 9b11820e96 Add remaining CSS properties for [21056]. props azaozz. see #20911.
git-svn-id: https://develop.svn.wordpress.org/trunk@21057 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-11 23:54:13 +00:00
Andrew Nacin 25224ccc95 Restore CSS rules for div.inner-sidebar, for backwards compatibility with plugins using these classes manually. props azaozz, fixes #20911.
git-svn-id: https://develop.svn.wordpress.org/trunk@21056 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-11 23:41:59 +00:00
bumpbot 72e71811e6 Compress scripts/styles: 3.4-RC2-21055.
git-svn-id: https://develop.svn.wordpress.org/trunk@21055 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-11 21:28:44 +00:00
Andrew Nacin 8c9bce5737 Do not specify background-image: none when a user removes a custom background
on a theme that has a default background image.

The onus is on the theme to omit the default background-image from style.css,
to allow the user to remove the default background image. Or, the theme can
specify a background-image for the body selector, as long as they then zero
it out for body.custom-background, like so:

{{{
body {
	background-image: url( ... );
}
body.custom-background {
	background-image: none;
}
}}}

This allows the theme to be compatible with the custom background feature
but also gracefully degrade if the background feature is disabled.

This is the same behavior as 3.3; setting a default image has simply been
made more prominent in 3.4. Reverts [21013], also parts of [21001].
see #20448 for change and discussion history.

see #20132, which will now be marked as invalid.

Also, per previous changes in #20448, the custom-background class should not
be shown when only a default color is in use.

fixes #20448.



git-svn-id: https://develop.svn.wordpress.org/trunk@21054 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-11 21:25:05 +00:00
Andrew Nacin 04fc3508d3 Theme Customizer: Remove background_image_thumb when saving settings. fixes #20871.
This prevents the background_image and background_image_thumb settings from getting out of sync.
In 3.5 we can consider using background-size on Appearance > Background, eliminating _thumb.



git-svn-id: https://develop.svn.wordpress.org/trunk@21053 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-11 20:49:45 +00:00
Ryan Boren 30cf820918 Add RTL and locale classes to the press this body. Props SergeyBiryukov. fixes #19603
git-svn-id: https://develop.svn.wordpress.org/trunk@21052 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-11 20:34:42 +00:00
Ryan Boren f1d9066aed Remove obsolete help string. Props SergeyBiryukov. fixes #20909
git-svn-id: https://develop.svn.wordpress.org/trunk@21051 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-11 20:32:21 +00:00
Peter Westwood 0ec0c40c0a Restore the 'extra_theme_headers' filter in the deprecated get_theme_data function so that plugins/themes using this function can still access their extra headers.
Fixes #20897 props nacin, georgestephanis, SergeyBiryukov.


git-svn-id: https://develop.svn.wordpress.org/trunk@21050 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-11 17:30:57 +00:00
Ryan Boren 71f71219fc Escape editable_slug as a textarea.
git-svn-id: https://develop.svn.wordpress.org/trunk@21049 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 17:58:57 +00:00
Ryan Boren 28fa0ecd9e Restrict post IDs
git-svn-id: https://develop.svn.wordpress.org/trunk@21048 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 17:37:49 +00:00
Ryan Boren 42b507572c In excerpt view, show the excerpt only if the user can read_post.
git-svn-id: https://develop.svn.wordpress.org/trunk@21047 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 16:22:55 +00:00
Ryan Boren e61ac6e607 Make read_post more useful. Map read_post to edit_post for posts with protected post states. This makes read_post work naturally for draft, future, and pending posts belonging to other users. If the current user cannot edit these non-public posts then the user should not be able to read them either.
git-svn-id: https://develop.svn.wordpress.org/trunk@21046 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 16:21:44 +00:00
potbot 9d6698e9a6 POT, generated from r21043
git-svn-id: https://develop.svn.wordpress.org/trunk@21045 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 15:18:15 +00:00
potbot dd85c1d055 POT, generated from r21043
git-svn-id: https://develop.svn.wordpress.org/trunk@21044 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 15:18:09 +00:00
bumpbot 5bbf2d4d0b Compress scripts/styles: 3.4-RC2-21043.
git-svn-id: https://develop.svn.wordpress.org/trunk@21043 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 14:38:44 +00:00
Andrew Ozz 79c651682f When using the max-width: 100% fix for <select> tags that exceed the width of parent elements, add it only on affected tags. IE8 doesn't like it everywhere, props SergeyBiryukov, fixes #19613
git-svn-id: https://develop.svn.wordpress.org/trunk@21042 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 14:36:47 +00:00
Andrew Ozz 8644eecdf5 Fix Quicktags buttons in IE7, fixes #20894
git-svn-id: https://develop.svn.wordpress.org/trunk@21041 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 14:26:38 +00:00
Ryan Boren 3c11c749cb Bump bundled theme versions. Props nacin. fixes #20886
git-svn-id: https://develop.svn.wordpress.org/trunk@21040 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 14:18:45 +00:00
Ryan Boren 1f3b3fada6 Make sure the path exists before copying. see #20657
git-svn-id: https://develop.svn.wordpress.org/trunk@21039 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 01:26:12 +00:00