Andrew Nacin
11435aac3b
Don't render the screen reader shortcut 'Log Out' link in the toolbar when the user is not logged in.
...
Merges [24442] to the 3.5 branch.
props SergeyBiryukov.
fixes #23178 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:16:09 +00:00
Andrew Nacin
77bcadf65a
Avoid a fatal error in WP_User_Query. See #23683 , [23664]. For the 3.5 branch.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:13:49 +00:00
Andrew Nacin
07cabe2b02
Fall back to non-translated strings in _doing_it_wrong() if the translation function doesn't exist. This may be the case in sunrise, for example.
...
Merges [24439] to the 3.5 branch.
props SergeyBiryukov.
fixes #23555 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:12:48 +00:00
Andrew Nacin
e7379e4c5d
Use correct option name when deleting embed_autourls. props SergeyBiryukov. see #23715 .
...
Merges [23902] to the 3.5 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:08:04 +00:00
Andrew Nacin
cb01fda9e4
Fix context for get_post() in the deprecated wp_get_single_post(). fixes #24602 .
...
Merges [24436] to the 3.5 branch.
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-19 08:00:13 +00:00
Ryan Boren
8f142e64c1
Respect the link to setting when inserting a gallery.
...
Props SergeyBiryukov
fixes #23298 for 3.5
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-02 22:08:33 +00:00
Bot (Translations)
d2954b8476
POT, generated from r24100
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 13:58:47 +00:00
Bot (Translations)
2c62f7c99d
POT, generated from r24100
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@24106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 13:58:43 +00:00
Andrew Nacin
0804e392a2
Allow get_post_ancestors() to inspect the $post global, when null/0 is received.
...
Merges [23635] to the 3.5 branch.
fixes #23708 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 15:57:46 +00:00
Bot (Translations)
335f26a40d
POT, generated from r23404
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-13 22:19:41 +00:00
Andrew Nacin
d229e92d14
Treat URL schemes as case insensitive when sanitizing them in esc_url().
...
Merges [23303] to the 3.5 branch.
props mdawaffe.
fixes #23187 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-25 19:28:47 +00:00
Andrew Nacin
177479d46c
The 3.5 branch is now 3.5.2-alpha.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-25 19:28:09 +00:00
Andrew Nacin
5c5168e039
3.5.1
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-24 20:50:28 +00:00
Andrew Nacin
8453c9995d
3.5.1
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-24 20:14:49 +00:00
Andrew Nacin
887a4ade28
Don't stomp existing sizes inside wp_save_image().
...
Merges [23246] to the 3.5 branch.
props markoheijnen.
see #22985 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-24 18:40:14 +00:00
Andrew Ozz
a8e00bfcaf
Update Plupload to 1.5.5, fixes #23277 for 3.5
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-23 21:04:45 +00:00
Bot (Assets)
658254c7c2
Compress scripts/styles: 3.5.1-RC1-23335.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 22:58:58 +00:00
Andrew Nacin
84553a1167
3.5.1 RC1.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 22:55:51 +00:00
Andrew Nacin
a6f0c33129
Comment Query: Use $this->query_vars instead of the nonexistent shorthand $q.
...
Merges [23325] to the 3.5 branch.
fixes #23208 .
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 22:38:46 +00:00
Andrew Nacin
73b2d6f568
Validate pingback source URIs. Less verbose errors.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 22:32:06 +00:00
Andrew Ozz
cbc80a5ab8
Main editor: when setting or saving the height, look only at elements that have style="height:..." set. Reset a previously saved erroneous "ed_size" value (over 5000px) to the default height of 360px. Fixes #23042 for 3.5.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 18:07:38 +00:00
Andrew Nacin
3ad3b6278e
Core Update: Fix a issue which caused automatic upgrades from 2.7 to 3.5+ to fail. Pre-2.7 WP_Filesystem::wp_content_dir() returned unslashed paths. Introduced in [22227].
...
Merges [23297] to the 3.5 branch.
props dd32
fixes #23177
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 16:52:15 +00:00
Andrew Nacin
42c012e4d0
Use correct escaping function. props duck_.
...
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 16:38:32 +00:00
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