Helen Hou-Sandi
7c08d57982
Make sure .widefat border and background coloring only applies to tables. props MikeHansenMe. fixes #21936 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23315 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-22 14:44:04 +00:00
Sergey Biryukov
5dfd000236
Restore Press This context menu in Firefox and Opera. props trepmal. fixes #22614 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23314 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-22 04:22:23 +00:00
Sergey Biryukov
8bdfc693c7
Move spinner-related styles out of Localized CSS section. fixes #23000 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23313 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-22 04:00:08 +00:00
Sergey Biryukov
3c38bfeaac
Fix typo in phpdoc. fixes #23090 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23312 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-22 03:44:31 +00:00
Sergey Biryukov
41887b0aab
Fix typo in phpdoc. props AKTed, ocean90. fixes #23242 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23311 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-22 03:08:05 +00:00
Sergey Biryukov
3802984334
Remove inaccurate inline comment. fixes #23211 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23310 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-21 19:23:06 +00:00
Ryan Boren
b8a9b92f54
Declare wp_rewrite as global in _wp_menu_item_classes_by_context().
...
Props andrewryno
fixes #7337
git-svn-id: https://develop.svn.wordpress.org/trunk@23309 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-21 14:44:30 +00:00
Ryan Boren
818251f59e
Whitespace cleanup.
...
Props dimadin
fixes #23126
git-svn-id: https://develop.svn.wordpress.org/trunk@23308 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-21 14:39:39 +00:00
Mark Jaquith
df47c013ec
Properly wipe capabilities from new site-independent multisite users by using the right key.
...
props wonderboymusic. fixes #15627
git-svn-id: https://develop.svn.wordpress.org/trunk@23307 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-18 15:30:55 +00:00
Mark Jaquith
926edeb4ee
Update the copyright notice to 2013. Yes — WordPress turns *10* this year.
...
props kraftbj. fixes #22987
git-svn-id: https://develop.svn.wordpress.org/trunk@23306 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-18 14:06:28 +00:00
Mark Jaquith
524e73f175
Consistently use $wp_rewrite->index instead of hardcoding "index.php".
...
props wonderboymusic. fixes #7337
git-svn-id: https://develop.svn.wordpress.org/trunk@23305 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-18 13:44:22 +00:00
Andrew Nacin
f0e451a30f
Treat URL schemes as case insensitive when sanitizing them in esc_url().
...
props mdawaffe.
fixes #23187 .
tests: [1184/tests]
git-svn-id: https://develop.svn.wordpress.org/trunk@23303 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-17 15:07:32 +00:00
Andrew Ozz
8cf528d255
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 trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23302 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-16 19:10:38 +00:00
Andrew Nacin
77cdc0ce65
jQuery 1.9 final. jQuery Migrate 1.0. Uncompressed for now, while we iron out kinks.
...
props jorbin. see #22975 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23301 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-15 17:52:42 +00:00
Ryan Boren
bb70f60264
In get_pages(), cache queries to individual cache buckets instead of storing them in one cached array. Also, store post IDs instead of full objects. This reduces overall memory usage as well as the size of the cache buckets. Use incrementor style passive cache invalidation.
...
Props nprasath002
see #23167
git-svn-id: https://develop.svn.wordpress.org/trunk@23300 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-15 17:32:35 +00:00
Andrew Ozz
84827c87dc
Media: when copying from "caption" (textarea) to "alt" (text input) also remove line breaks, props kovshenin, fixes #23176 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23298 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-14 17:34:45 +00:00
Dion Hulse
f4beefbb88
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]. See #23177
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23297 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-11 10:16:45 +00:00
Mark Jaquith
24a509c81a
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 trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23295 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-10 08:08:14 +00:00
Mark Jaquith
22b416ef72
Do not notify the post author about comments if they are no longer a member of the blog. props nickmomrick. fixes #23136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23294 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-08 04:03:16 +00:00
Andrew Nacin
8175cde11a
Ensure we wp_die() at the end of an ajax action. see #23055 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23293 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-07 03:59:44 +00:00
Andrew Nacin
fcbb71ad77
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. fixes #22868 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23290 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-05 03:50:28 +00:00
bumpbot
ae63b07abd
Compress scripts/styles: 3.6-alpha-23288.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23288 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-05 02:33:20 +00:00
Andrew Nacin
2d12f38ad1
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).
...
props koopersmith.
fixes #23054 .
for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23283 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 23:29:20 +00:00
bumpbot
3ef497695d
Compress scripts/styles: 3.6-alpha-23279.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23279 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 22:34:43 +00:00
Andrew Ozz
9de9019d41
Taxonomy postbox: fix toggling with "Choose from the most used tags" when several postboxes are shown, props SergeyBiryukov, fixes #23112 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23278 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 20:54:11 +00:00
Andrew Nacin
a8ce189639
Restore TinyMCE dropdowns to their 3.4 appearance in RTL. props helen. see #23101 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23275 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 20:11:59 +00:00
Ryan Boren
006d5940cd
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
see #23021 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@23267 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 19:51:31 +00:00
bumpbot
f6e22d011c
Compress scripts/styles: 3.6-alpha-23266.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23266 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 17:39:23 +00:00
Peter Westwood
d927271553
Tighten our braces. Fixes #23118 props evansolomon.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23265 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 10:13:51 +00:00
Andrew Nacin
672bd9a43d
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.
see #23102 .
for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23264 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 08:52:18 +00:00
Daryl Koopersmith
0221f597b4
Media: Properly reset the "add to gallery" library to ensure it accurately reflects the current gallery. see #22815 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23263 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 08:28:12 +00:00
Andrew Nacin
dec369d6c8
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.
see #22841 , for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23262 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 08:02:16 +00:00
Daryl Koopersmith
e73a323a16
Media: Do not update attachment display user settings when a single attachment is inserted.
...
This is consistent with 3.4 behavior.
see #22841 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23261 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 08:01:19 +00:00
Daryl Koopersmith
2b5612e266
Media: Check that a router region exists before attempting to access its child views. Add relevant documentation. see #22930 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23260 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 07:08:37 +00:00
Daryl Koopersmith
45d01dad51
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.
see #22817 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23259 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-04 06:44:21 +00:00
bumpbot
46e1c12b98
Compress scripts/styles: 3.6-alpha-23257.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23257 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-03 22:58:37 +00:00
Dion Hulse
6e405b1831
Correct an incorrect PHPDoc s/@see/@link/ introduced in r23254. See #22900
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23256 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-03 08:05:48 +00:00
Dion Hulse
80bc158edd
HTTP API: Introduce wp_is_writable() to wrap win_is_writable() and is_writable() to work around PHP Windows ACL issues. See #22900 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23255 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-03 08:04:11 +00:00
Dion Hulse
b558464d2d
Clarify the Documentation in win_is_writable() and move an inline comment to the Docblock, reduces confusion about what the function actually does. See #22900
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23254 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-03 07:56:38 +00:00
Dion Hulse
17b6ada24a
Upgrade: When upgrading from WordPress 3.5, if an empty twentytwelve theme directory exists, remove it to allow the installation of Twenty Twelve. See #22856 . For trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23253 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-03 07:42:16 +00:00
Andrew Nacin
f4a95f061d
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.
...
props scribu.
see #22956 .
for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23249 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-03 06:17:47 +00:00
Daryl Koopersmith
cc68dcede3
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.
props adamsilverstein.
see #22919 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23247 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-03 06:09:09 +00:00
Andrew Nacin
6e9830f34d
Don't stomp existing sizes inside wp_save_image().
...
props markoheijnen.
see #22985 .
for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23246 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-03 05:23:36 +00:00
Andrew Nacin
7fc8feabae
Fix the sprite positioning for HiDPI sorting arrows.
...
props lessbloat.
see #23071 .
for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23245 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-02 23:51:09 +00:00
potbot
0d88074cf9
POT, generated from r23230
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23243 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-01 00:19:42 +00:00
potbot
f0508c7210
POT, generated from r23230
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23238 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-01 00:19:32 +00:00
potbot
33fa531bf8
POT, generated from r23230
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23231 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-01 00:19:17 +00:00
bumpbot
3463baa996
Compress scripts/styles: 3.6-alpha-23230.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23230 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-29 22:58:34 +00:00
Mark Jaquith
7533dbadfe
Add .webm (video/webm) to wp_get_mime_types(). props wonderboymusic. fixes #14659
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23229 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-29 18:07:23 +00:00
Mark Jaquith
654154ad89
Move 'endif;' to its own line instead of having it room with a right curly brace. props dimadin. fixes #22586
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23228 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-29 18:01:41 +00:00