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
2d35dcd830
Reinstate paged rewrite rules for the post permalink structure.
...
Removal of this stopped pagination working for bare category URLs when
certain %category% based permalink structures were in used.
Reverts one more piece of [19737].
Props SergeyBiryukov.
fixes #21209 for 3.4.
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21709 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 23:21:38 +00:00
Andrew Nacin
15f97ca7e7
Return post_parent, menu_order, guid, and post_mime_type from wp.getPost(). Props maxcutler. fixes #21308 for the 3.4 branch.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21708 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 22:12:14 +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
253f8f8a4f
Restore the 'allowed_themes' filter.
...
This filter has wrapped the network-wide themes, outside of the network-wide
allowed function (dating back to MU), hence the unusual placement. This restores
previous behavior; we will introduce new filters to enable greater flexibility.
see #21099 .
for the 3.4 branch.
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21699 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 18:11:42 +00:00
Andrew Nacin
c607eb981d
Fix WP_Theme's get_template_directory_uri() method. props batmoo. fixes #21549 for the 3.4 branch.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21615 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 04:32:01 +00:00
Andrew Ozz
6704f276d5
Update ImgAreaSelect to 0.9.9 that fixes IE7 stack overflow error, props c3mdigital, fixes #21363 , fixes #21348 for 3.4
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21346 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 22:42:05 +00:00
Andrew Ozz
8076a4ce88
Bail out themes and plugins that have copied code from core and don't maintain it by requiring class-wp-editor.php in wp-langs.php, fixes #21350 for 3.4
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21344 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 19:58:10 +00:00
Andrew Ozz
8d601b0812
Fix internal linking search spinner position by reverting the search field's type to "text", fixes #21351 for 3.4
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21307 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-23 22:38:52 +00:00
Andrew Ozz
81266bfd8c
TinyMCE: don't throw fatal errors for malformed/invalid image caption shortcodes, props SergeyBiryukov, fixes #21145 for 3.4
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21274 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-16 19:57:03 +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
4c0cceaf7d
Update the version numbers for wp_explain_nonce() deprecation. see #21076 .
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21146 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 21:26:42 +00:00
Andrew Nacin
f5a5d55cec
Add initial support for browser-based uploads in iOS 6. fixes #20923 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21142 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 20:40:04 +00:00
Andrew Nacin
c4ab2647bc
Deprecate wp_explain_nonce(). see #21076 for 3.4.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21140 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 19:12:39 +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
84d415efa2
Check XML-RPC cap before running the query. props maxcutler. fixes #20991 for 3.4.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21138 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 19:04:41 +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
Andrew Nacin
73721ce3da
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: https://develop.svn.wordpress.org/branches/3.4@21129 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 03:55:40 +00:00
Andrew Nacin
2d9921b5e7
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: https://develop.svn.wordpress.org/branches/3.4@21127 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 03:36:44 +00:00
Andrew Nacin
ba2d74e52c
Fix validation issue in get_the_password_form() caused by wpautop(). fixes #21018 for 3.4.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21125 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 03:21:37 +00:00
Andrew Nacin
f77dddec8c
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: https://develop.svn.wordpress.org/branches/3.4@21123 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 03:10:49 +00:00
Andrew Nacin
2500199afa
Load the admin MO file on repair.php. props SergeyBiryukov. see #21039 for 3.4.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21122 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 03:09:09 +00:00
Andrew Nacin
1d5fe8b390
Fix string offset PHP 5.4 error by normalizing to always be an integer. props ericmann. fixes #20966 for 3.4
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21121 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 03:08:30 +00:00
Andrew Nacin
3257b9b9e3
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: https://develop.svn.wordpress.org/branches/3.4@21120 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 03:07:18 +00:00
Andrew Nacin
6b37240289
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: https://develop.svn.wordpress.org/branches/3.4@21119 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 03:02:13 +00:00
Andrew Nacin
43bb6394da
Revert [21102] for 3.4. see #21019 .
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21118 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 02:01:07 +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
Jon Cave
b86ccbc805
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: https://develop.svn.wordpress.org/branches/3.4@21115 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-25 20:51:16 +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
8c8c759f0f
Add 2x TinyMCE icons, props empireoflight, see #21019 for 3.4
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21102 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-22 00:33:04 +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
Peter Westwood
f962a7d3c0
The branch is ready for 3.4.1 alpha development.
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21081 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-14 15:50:40 +00:00
Andrew Nacin
45ede79730
Branch 3.4
...
git-svn-id: https://develop.svn.wordpress.org/branches/3.4@21077 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-13 18:09:18 +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