Andrew Nacin
296684d9cf
Verify tags used in the gallery shortcode.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 15:37:36 +00:00
Bot (Assets)
90fd3a0afc
Compress scripts/styles: 3.5.1-beta1-23304.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-18 00:07:39 +00:00
Andrew Ozz
6111c51168
Media: when copying from "caption" (textarea) to "alt" (text input) also remove line breaks, props kovshenin, fixes #23176 for 3.5
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-14 17:37:00 +00:00
Mark Jaquith
92b80b80f1
Resolve DOCUMENT_ROOT symlinks and standardize Windows slashing for various paths related to Multisite rewrite rule generation. props SergeyBiryukov, nacin, wpewill. fixes #23104 and #23073 for 3.5
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-10 08:10:14 +00:00
Andrew Nacin
d57fc78570
3.5.1-beta1. Hopefully short-lived.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-05 07:31:41 +00:00
Andrew Nacin
7fa6457c31
Whenever we have compat fields to render, send a dummy menu_order field (which was always sent in 3.4) to ensure an unchecked checkbox can still be processed by attachment_fields_to_save.
...
Merges [23290] to the 3.5 branch.
fixes #22868 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-05 04:00:18 +00:00
Bot (Assets)
b29fa0b746
Compress scripts/styles: 3.5.1-alpha-23289.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-05 02:35:02 +00:00
Ryan Boren
f25f77ef7e
Fix the sprite positioning for HiDPI sorting arrows.
...
props lessbloat.
fixes #23071 .
for 3.5.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-05 02:13:34 +00:00
Ryan Boren
cbdc57a4b8
Nav menu item selection lists no longer need to be specifically de-whitespaced to match hierarchical taxonomy metaboxes. props corvannoorloos. fixes #22954 for 3.5.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-05 02:11:07 +00:00
Ryan Boren
62e8b8965a
Media: Properly reset the "add to gallery" library to ensure it accurately reflects the current gallery.
...
fixes #22815
for 3.5
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-05 02:02:29 +00:00
Andrew Nacin
c6e7287774
Don't unnecessarily re-render the attachment details view when editing the title and caption. Re-rendering causes issues with tabbing and focus, and is only necessary for other views (such as "Caption this image..." when editing a gallery).
...
Merges [23283] to the 3.5 branch.
props koopersmith.
fixes #23054 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 23:31:52 +00:00
Ryan Boren
6d70312b1f
Media: Pass thumbnail and medium sizes to image_constrain_size_for_editor() to force constraints based on the current DB options for those sizes. History: see #22598 , #22738 .
...
props jond3r
fixes #23102
for 3.5
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 23:27:26 +00:00
Ryan Boren
2384622a2c
Try not to send Last-Modified, even with an empty value. Some servers interpret an empty value as the epoch.
...
Props nacin, slene, SergeyBiryukov, andy
fixes #23021 for 3.5
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 22:52:10 +00:00
Bot (Assets)
f2c53a1c42
Compress scripts/styles: 3.5.1-alpha-23280.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 22:36:35 +00:00
Andrew Ozz
a9c5d6d162
Taxonomy postbox: fix toggling with "Choose from the most used tags" when several postboxes are shown, props SergeyBiryukov, fixes #23112 for 3.5
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 20:53:17 +00:00
Andrew Nacin
676f52118b
Restore TinyMCE dropdowns to their 3.4 appearance in RTL.
...
Merges [23275] to the 3.5 branch.
props helen.
fixes #23101 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 20:13:22 +00:00
Andrew Nacin
a14b862757
RTL fixes for internal linking. props SergeyBiryukov, helen.
...
merges [23226] to the 3.5 branch.
fixes #22835 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 20:10:28 +00:00
Andrew Nacin
899312d2e7
Media: Restore 3.4 behavior by consulting the old-school DB options for default align, size, and link properties.
...
This restores linking to media files as the default, over attachment pages. This 'default' cannot currently be changed by a user setting (per 3.4 behavior), due to the default database schema.
Merges [23262] to the 3.5 branch.
fixes #22841 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 20:08:45 +00:00
Andrew Nacin
c71fb45602
Media: Do not update attachment display user settings when a single attachment is inserted.
...
This is consistent with 3.4 behavior. (User settings are now only updated when the user makes an explicit change.)
Merges [23261] to the 3.5 branch.
props koopersmith.
fixes #22841 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 20:07:42 +00:00
Andrew Nacin
16d3f42396
Ensure that get_archive_template() only loads a post type archive (archive-$post_type.php file) if there is exactly one post type in the query.
...
Merges [23249] to the 3.5 branch.
props scribu.
see #22956 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 20:05:31 +00:00
Andrew Nacin
6347c17267
Media: Automatically select uploading attachments in single-select workflows.
...
The code now automatically selects uploading attachments in all workflows. In a workflow that selects multiple attachments, all attachments added to the upload queue are selected. In a workflow that selects a single attachment (e.g. selecting a featured image), the last attachment added to the upload queue is selected.
Merges [23259] to the 3.5 branch.
props koopersmith.
fixes #22817 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 20:03:39 +00:00
Andrew Nacin
253bc7fd6d
Limit the execution of wp_enqueue_media() to once per page. Prevents multiple _wpMediaViewsL10n variables.
...
Merges [23214] to the 3.5 branch.
fixes #22843 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 20:02:05 +00:00
Andrew Nacin
6ac4e3251f
Media: Check that a router region exists before attempting to access its child views. Add relevant documentation.
...
Merges [23260] to the 3.5 branch.
props koopersmith.
fixes #22930 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-04 20:01:04 +00:00
Bot (Assets)
a3e09ce5b6
Compress scripts/styles: 3.5.1-alpha-23258.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-03 23:00:18 +00:00
Dion Hulse
aa71020871
Upgrade: When upgrading from WordPress 3.5, if an empty twentytwelve theme directory exists, remove it and install Twenty Twelve. See #22856 . For the 3.5 branch
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-03 07:17:36 +00:00
Dion Hulse
355305dd1c
When copying new bundled themes & plugins, bail early if the distro doesn't include the bundled item. This prevents us from creating an empty directory in the destination when the source doesn't exist. See #22856 . Merges [23179] to the 3.5 branch
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-03 07:11:35 +00:00
Andrew Nacin
82af7b3f9c
HTTP API: Use win_is_writable() on Windows when checking the directory to which we are streaming.
...
props dd32.
see #22900 .
for the 3.5 branch only.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-03 06:24:01 +00:00
Andrew Nacin
3c6513fc41
Don't include the default columns="3" in a gallery shortcode.
...
Shortcode attributes are strings; fix a variable type error in wp.media.gallery defaults.
Merges [23247] to the 3.5 branch.
props adamsilverstein.
fixes #22919 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-03 06:15:06 +00:00
Bot (Translations)
a4cde34f44
POT, generated from r23230
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-01 00:19:44 +00:00
Bot (Translations)
f6d34f0dcc
POT, generated from r23230
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-01 00:19:40 +00:00
Bot (Translations)
2f39371b40
POT, generated from r23230
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-01 00:19:29 +00:00
Andrew Nacin
69c189e9ee
Switch to a string already available in the wordpress.pot, via the XML-RPC server class. The other string is only available in the wordpress-admin.pot.
...
Prevents any string movements in the 3.5 branch. see #22858 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-28 04:40:46 +00:00
Bot (Assets)
2219d84e7c
Compress scripts/styles: 3.5.1-alpha-23224. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-27 23:21:32 +00:00
Andrew Ozz
4c85f00898
TinyMCE: don't remove empty <i>, <b>, <em> and <strong> matching the behavior in WordPress 3.4/TinyMCE 3.4.9, fixes #22477 for 3.5
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-27 22:37:09 +00:00
Andrew Ozz
8b1baedfda
TinyMCE: prevent <a> from wrapping block elements, fixes #22888 for 3.5
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-27 20:58:53 +00:00
Andrew Ozz
34f88233a9
TinyMCE: update to latest source including the WebKit backspace fix, fixes #23010 , fixes #22766 for 3.5
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-27 20:53:36 +00:00
Andrew Nacin
bc07af7667
Remove accidental sprintf(), which also requires at least two arguments. :-)
...
see #22873 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-27 16:44:59 +00:00
Andrew Nacin
93a78f57b4
In 3.5.1, have $wpdb->prepare() issue a notice for an insufficient number of arguments, instead of a warning. see #22873 .
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-27 16:44:17 +00:00
Andrew Nacin
20340a01db
Always return arrays from get_post_ancestors(). Return an array when passed a value that evaluates to false.
...
Merges [23212] to the 3.5 branch.
props dannydehaan.
fixes #22882 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-27 15:49:36 +00:00
Andrew Nacin
6554a63504
Return WP_Error from wp_update_user() on a non-existent user, avoiding a fatal error in the process.
...
Merges [23210] to the 3.5 branch.
props n7studios, SergeyBiryukov.
fixes #22858 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-27 15:37:53 +00:00
Andrew Nacin
f5c3dee5ef
Always call get_post() in get_page_uri() to ensure we have a WP_Post object, which lazy-loads the ancestors this function requires.
...
Merges [23208] to the 3.5 branch.
props dd32.
fixes #22883 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-27 15:27:11 +00:00
Andrew Nacin
9751902596
Revert [21942] and have wp_publish_post() deal with the database directly. clean_post_cache() is now also called directly due to [21943].
...
Ports [23206] to the 3.5 branch.
fixes #22944 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-27 15:16:23 +00:00
Andrew Nacin
913428ab4b
Remove the now defunct wp-admin/options-privacy.php PHP file on the next core update.
...
props duck_
fixes #22855
for the 3.5 branch
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-26 20:37:09 +00:00
Andrew Nacin
b9cd75e97a
Encode brackets in the load-scripts.php URL, as these are considered unsafe characters and can be misunderstood. (See RFC 1738.) In particular, a "security" rewrite rule from a plugin blocked URLs with unencoded brackets. fixes #22899 for the 3.5 branch.
...
--Thia and those below, will be ignored--
M script-loader.php
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-26 20:29:28 +00:00
Andrew Nacin
912a0a4067
Update Akismet external to 2.5.7.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-22 22:04:16 +00:00
Andrew Nacin
92a0847d74
The 3.5 branch is now 3.5.1 alpha.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-17 18:56:51 +00:00
Mark Jaquith
fec7f0e6b2
Fix code vomit in IIS rewrite rule generation. fixes #22920 for the 3.5 branch. props toscho.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-13 22:55:15 +00:00
Andrew Nacin
76b2887bb3
3.5
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-11 15:58:27 +00:00
Andrew Nacin
df1b69a6d9
3.5-RC6-23166
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-10 23:32:04 +00:00
Andrew Nacin
7f3c7d1972
Ignore failed uploads. props koopersmith. fixes #22849 . for the 3.5 branch.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-10 23:25:03 +00:00