Andrew Nacin
70c36b2c41
Version bumps for the 3.4 branch, including a DB version bump for [21709] (see [21707]).
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21710 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 23:23:49 +00:00
Andrew Nacin
561ec111ab
Fix a placeholder in a string without breaking said string in a branch. fixes #21511 .
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21706 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 22:07:34 +00:00
Andrew Nacin
34734a6e3f
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: https://develop.svn.wordpress.org/branches/3.4@21704 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 22:01:55 +00:00
Andrew Nacin
15c02b4538
Add a check that previously fell through to the next branch in map_meta_cap(). for 3.4.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21153 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-27 19:29:16 +00:00
Andrew Nacin
d17488b150
Bump
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21151 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 21:54:32 +00:00
bumpbot
8a9b837429
Compress scripts/styles: 3.4.1-alpha-21149.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21149 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 21:51:24 +00:00
Andrew Nacin
09b44d8462
Use WP_Theme when switching themes. see #21075 for 3.4.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21139 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 19:10:05 +00:00
Andrew Nacin
20bf03e298
Refresh nonces in the customizer. props koopersmith. see #20876 for 3.4.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21136 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 18:53:45 +00:00
Andrew Nacin
aca189b898
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: https://develop.svn.wordpress.org/branches/3.4@21134 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 06:28:59 +00:00
Andrew Nacin
2bfae6a7a6
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: https://develop.svn.wordpress.org/branches/3.4@21130 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 04:03:31 +00:00
Jon Cave
4476ad041d
Thickbox is still needed on themes.php for update details overlay. Fixes #20960 for 3.4.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21116 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-25 20:54:09 +00:00
Andrew Nacin
20410dc940
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: https://develop.svn.wordpress.org/branches/3.4@21111 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-25 20:30:59 +00:00
Mark Jaquith
3ae56a59f9
Properly show comments on Page edit screen. props duck_. fixes #20937 for 3.4 branch.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21108 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-25 19:59:10 +00:00
Andrew Ozz
582b718c28
Fix dragging to empty second column in IE8, fixes #21021 for 3.4
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21098 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-21 19:44:28 +00:00
Andrew Ozz
5e8c505bb0
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: https://develop.svn.wordpress.org/branches/3.4@21097 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-21 00:10:05 +00:00
bumpbot
c0238b86fe
Compress scripts/styles: 3.4.1-alpha-21096.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21096 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-20 21:58:43 +00:00
Andrew Ozz
6c44fe0ff3
Fix dragging to empty second column on dashboard, props helenyhou, fixes #21021 for 3.4
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21093 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-20 21:55:08 +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
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
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
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
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
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
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
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
bumpbot
2de04aa4b2
Compress scripts/styles: 3.4-RC2-21038.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21038 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 00:32:52 +00:00
Ryan Boren
a24c284403
* Introduce remove_header_image(), reset_header_image(), set_header_image(), and get_header_image_data() for Custom_Image_Header.
...
* Handle all set/get of header theme mod through these methods.
* Use these methods in the customizer.
Props kovshenin, nacin, SergeyBiryukov, koopersmith.
fixes #20871
git-svn-id: https://develop.svn.wordpress.org/trunk@21037 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 00:32:19 +00:00
bumpbot
903e720df8
Compress scripts/styles: 3.4-RC2-21034.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21034 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 23:02:40 +00:00
Daryl Koopersmith
351ecd928f
Theme Customizer: Separate message url from preview url in customizer JS Previewer and PreviewFrame objects. fixes #20892 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21033 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 22:59:48 +00:00
bumpbot
1f86787e1f
Compress scripts/styles: 3.4-RC2-21032.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21032 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 19:40:31 +00:00
Ryan Boren
ab8deebae3
Customizer: Gravefully handle cookie expipration. Prompt for log in in the preview. Props ocean90, koopersmith, nacin. fixes #20876
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21031 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 19:22:11 +00:00
bumpbot
b6a0bae669
Compress scripts/styles: 3.4-RC2-21030.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21030 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 18:58:24 +00:00
Ryan Boren
6660d27cb5
Customizer: fix stuck urls and preview white screens after repeated save and activates. Props koopersmith. fixes #20868
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21029 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 18:52:44 +00:00
Ryan Boren
6e10d0d0b4
Customizer: Redirect back to referrer. If referrer is a front end page, load that page in the customizer preview. Props nacin, koopersmith. fixes #20877
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21028 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 18:45:12 +00:00