Andrew Ozz
0dcf40e749
Heartbeat: use cached $document instead of $(document), props TobiasBg, see #25073
...
Built from https://develop.svn.wordpress.org/trunk@26276
git-svn-id: http://core.svn.wordpress.org/trunk@26181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 23:52:10 +00:00
Andrew Ozz
8de3d7d15e
Widgets:
...
- Remove the !important styles that were overriding the widget width when expanded.
- Fix missing border-bottom from widgets when dragged and expanded.
Props shaunandrews, see #26117 .
Built from https://develop.svn.wordpress.org/trunk@26275
git-svn-id: http://core.svn.wordpress.org/trunk@26180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 23:47:10 +00:00
Drew Jaynes
a9a62622bc
Inline documentation for hooks in wp-admin/edit-tags.php.
...
Props pauldewouters for the initial patch.
Fixes #25532 .
Built from https://develop.svn.wordpress.org/trunk@26274
git-svn-id: http://core.svn.wordpress.org/trunk@26179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 23:16:10 +00:00
Andrew Nacin
ad52b4ddd4
Remove whitespace from the inside of a <textarea> element, added in [26138] with inline documentation.
...
see #25662 .
Built from https://develop.svn.wordpress.org/trunk@26273
git-svn-id: http://core.svn.wordpress.org/trunk@26178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 19:35:10 +00:00
Lance Willett
75b70de286
Twenty Fourteen: minor style adjustments for navigation and a new lighter pattern-dark graphic which makes easier to change the background color of the featured image content. Props iamtakashi.
...
Also update stylesheet tags. See #25946 .
Built from https://develop.svn.wordpress.org/trunk@26272
git-svn-id: http://core.svn.wordpress.org/trunk@26177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 18:27:11 +00:00
Andrew Ozz
c19660468b
Widgets: move the chooser inside the selected widget so it inherits the width, add some keyboard shortcuts: tab to select, enter to append and escape to cancel. Props shaunandrews, see #25821
...
Built from https://develop.svn.wordpress.org/trunk@26271
git-svn-id: http://core.svn.wordpress.org/trunk@26176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 18:03:09 +00:00
Lance Willett
8321cdd567
Twenty Fourteen: avoid premature creation of tags when using the tag suggestion for Featured Content. Props obenland, fixes #26080 .
...
Built from https://develop.svn.wordpress.org/trunk@26270
git-svn-id: http://core.svn.wordpress.org/trunk@26175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 15:27:11 +00:00
Sergey Biryukov
3a0a3bb775
Fix JSHint errors in gallery.js.
...
props dougwollison.
fixes #25999 .
Built from https://develop.svn.wordpress.org/trunk@26269
git-svn-id: http://core.svn.wordpress.org/trunk@26174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 11:10:09 +00:00
Drew Jaynes
812e66d61d
Inline documentation for hooks in wp-includes/cron.php.
...
Props tmtoy for the initial patch.
Fixes #25475 .
Built from https://develop.svn.wordpress.org/trunk@26267
git-svn-id: http://core.svn.wordpress.org/trunk@26173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 05:01:11 +00:00
Andrew Nacin
42293a5c7c
Fix JShint errors in user-profile.js.
...
props dougwollison.
fixes #26016 .
Built from https://develop.svn.wordpress.org/trunk@26266
git-svn-id: http://core.svn.wordpress.org/trunk@26172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:40:10 +00:00
Andrew Nacin
56f5b8b4ec
JSHint fixes for inline-edit-tax.js.
...
props dougwollison.
fixes #26002 .
Built from https://develop.svn.wordpress.org/trunk@26265
git-svn-id: http://core.svn.wordpress.org/trunk@26171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:35:09 +00:00
Andrew Nacin
6212b30ddd
JShint fixes for inline-edit-post.js.
...
props dougwollison.
fixes #26001 .
Built from https://develop.svn.wordpress.org/trunk@26264
git-svn-id: http://core.svn.wordpress.org/trunk@26170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:32:10 +00:00
Dion Hulse
0fc053528f
Plugin Deletion: Remove the correct transient after demoving plugins. Props jdgrimes. Fixes #26069
...
Built from https://develop.svn.wordpress.org/trunk@26263
git-svn-id: http://core.svn.wordpress.org/trunk@26169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:17:09 +00:00
Dion Hulse
f29b2e02ac
Plugin Deletion: Properly clear the cache when multiple plugins are deleted. Props jdgrimes. Fixes #26065
...
Built from https://develop.svn.wordpress.org/trunk@26262
git-svn-id: http://core.svn.wordpress.org/trunk@26168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:08:09 +00:00
Andrew Nacin
c43e93d935
Fix spaces/tabs in Twenty Fourteen JS, allowing JSHint to run clean for these files.
...
props dougwollison.
fixes #26031 , #26032 .
Built from https://develop.svn.wordpress.org/trunk@26261
git-svn-id: http://core.svn.wordpress.org/trunk@26167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 03:49:09 +00:00
Lance Willett
9e201fadff
Twenty Fourteen: updates all PHP files to meet new brace style in WP coding standards. Props rickalee for initial patch, fixes #26093 .
...
Built from https://develop.svn.wordpress.org/trunk@26260
git-svn-id: http://core.svn.wordpress.org/trunk@26166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 23:11:10 +00:00
Andrew Ozz
4a5e64e682
Widgets: remove some unused styles, props shaunandrews, see #25821
...
Built from https://develop.svn.wordpress.org/trunk@26259
git-svn-id: http://core.svn.wordpress.org/trunk@26165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 23:06:09 +00:00
Lance Willett
2291d479af
Twenty Fourteen: simplify tags output in content templates, props nacin. See #26093 .
...
Built from https://develop.svn.wordpress.org/trunk@26258
git-svn-id: http://core.svn.wordpress.org/trunk@26164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 22:48:10 +00:00
Sergey Biryukov
a110ab596f
Correctly capitalize WP_Query in Featured_Content::pre_get_posts() inline docs. see #26064 .
...
Built from https://develop.svn.wordpress.org/trunk@26257
git-svn-id: http://core.svn.wordpress.org/trunk@26163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 22:24:11 +00:00
Matt Thomas
929486f848
Make the item-controls elements on the Edit Menus page line up; use :before instead of :after for item-edit icons for better cross-browser performance; switch to :after instead of ::after for pseudo-elements so IE8 displays these icons properly. Fixes #26059 , props jeremyfelt.
...
Built from https://develop.svn.wordpress.org/trunk@26256
git-svn-id: http://core.svn.wordpress.org/trunk@26162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 22:10:10 +00:00
Lance Willett
9c93043286
Twenty Fourteen: correct $query
usage in Featured_Content::pre_get_posts()
, props SergeyBiryukov, fixes #26064 .
...
Built from https://develop.svn.wordpress.org/trunk@26255
git-svn-id: http://core.svn.wordpress.org/trunk@26161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 22:04:09 +00:00
Matt Thomas
4405cbe475
Load the correct subset of Open Sans for cyrillic, greek, and vietnamese in addition to latin and latin-ext; following the example of Twenty Twelve. See #26063 , props SergeyBiryukov.
...
Built from https://develop.svn.wordpress.org/trunk@26254
git-svn-id: http://core.svn.wordpress.org/trunk@26160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 21:40:10 +00:00
Matt Thomas
fe476702fc
Make password inputs on profile.php match the width of other text inputs. Fixes #26079 , props johnbillion.
...
Built from https://develop.svn.wordpress.org/trunk@26253
git-svn-id: http://core.svn.wordpress.org/trunk@26159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 21:31:09 +00:00
Scott Taylor
da05f7435b
For unit tests that call wpmu_create_blog()
, Blog factory, or installation code that attempts to clear transients: suppress database errors on setUp
and restore on tearDown
.
...
There are a few places in core that were preventing this from working by explicity setting `$wpdb->suppress_errors` to `false`. Instead, they should inherit the value that existed before errors were suppressed.
This allows Multisite unit tests to run without explosive database errors, and allows `$wpdb->suppress_errors` to be overridden all the way down the chain.
Fixes #26102 .
Built from https://develop.svn.wordpress.org/trunk@26252
git-svn-id: http://core.svn.wordpress.org/trunk@26158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 20:45:11 +00:00
Sergey Biryukov
0df020b516
Remove unused global reference. props jeremyfelt. fixes #26103 .
...
Built from https://develop.svn.wordpress.org/trunk@26251
git-svn-id: http://core.svn.wordpress.org/trunk@26157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 20:19:09 +00:00
Matt Thomas
10f37f1180
Improvements to the modal media uploader on mobile in landscape orientation.
...
* Merge the 782 and 500 width queries into a single 640px query
* At this breakpoint, remove the drop shadow and margin from the uploader modal
* For only landscape views, tabs are shown in a single line.
* Add padding to tab links to account for untappable 20px area at top of landscape viewport in iOS
* Add overflow: visible to .embed-link-settings at responsive sizes to prevent unnecessary framed scrolling
See #25977 , props joen.
Built from https://develop.svn.wordpress.org/trunk@26250
git-svn-id: http://core.svn.wordpress.org/trunk@26156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 20:07:10 +00:00
Lance Willett
881c608592
Twenty Fourteen: remove singular body class when a page is set to be the front page, and minor style tweaks. Props iamtakashi, see #25946 .
...
Built from https://develop.svn.wordpress.org/trunk@26249
git-svn-id: http://core.svn.wordpress.org/trunk@26155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 19:21:09 +00:00
Matt Thomas
116d02da86
Put the 'Safe Draft' button back in its place in the Publish box. Fixes #26081 , props aubreypwd.
...
Built from https://develop.svn.wordpress.org/trunk@26248
git-svn-id: http://core.svn.wordpress.org/trunk@26154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 19:04:09 +00:00
Matt Thomas
7fe71ffe81
Style and positioning fixes to form elements in the Publish box:
...
- Make select element text #555 to match others
- Make Cancel links vertically align with buttons
- Make sure the spacing between buttons and cancel links is always consistent
- Override active button styles for responsive states so button size doesn't change when active
- Reduce font size of date select element to match date text inputs
Fixes #26082 , props aubreypwd.
Built from https://develop.svn.wordpress.org/trunk@26247
git-svn-id: http://core.svn.wordpress.org/trunk@26153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 18:53:10 +00:00
Sergey Biryukov
83adea3986
Remove debug cruft. props nbachiyski. see #25791 .
...
Built from https://develop.svn.wordpress.org/trunk@26245
git-svn-id: http://core.svn.wordpress.org/trunk@26152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 13:18:09 +00:00
Andrew Nacin
89005c8b31
Add level-X classes to the posts list table rows.
...
props jhned.
fixes #25791 .
Built from https://develop.svn.wordpress.org/trunk@26244
git-svn-id: http://core.svn.wordpress.org/trunk@26151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 20:40:09 +00:00
Andrew Nacin
fb69ea9028
Stop using .rtl classes, instead relying on flipping LTR CSS to RTL.
...
props yoavf.
fixes #24977 .
Built from https://develop.svn.wordpress.org/trunk@26243
git-svn-id: http://core.svn.wordpress.org/trunk@26150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 16:18:11 +00:00
Sergey Biryukov
35ec8405f0
Fix date comparison in dashboard_relative_date(). fixes #26033 .
...
Built from https://develop.svn.wordpress.org/trunk@26242
git-svn-id: http://core.svn.wordpress.org/trunk@26149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 03:30:09 +00:00
Sergey Biryukov
ecd594b5a6
PHPDoc and i18n fixes for dashboard widgets.
...
props dimadin for initial patch.
see #25824 .
Built from https://develop.svn.wordpress.org/trunk@26241
git-svn-id: http://core.svn.wordpress.org/trunk@26148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 03:21:10 +00:00
Sergey Biryukov
507f47d03f
Fix CSS formatting. Remove redundant rule. see #25976 . see #25824 .
...
Built from https://develop.svn.wordpress.org/trunk@26240
git-svn-id: http://core.svn.wordpress.org/trunk@26147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 01:11:09 +00:00
Sergey Biryukov
5965ca48ce
Fix padding for Quick Draft dashboard widget when there are no drafts.
...
props aubreypwd.
fixes #26076 .
Built from https://develop.svn.wordpress.org/trunk@26239
git-svn-id: http://core.svn.wordpress.org/trunk@26146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 00:38:09 +00:00
Andrew Nacin
7d1fda5b52
JSHint fixes for user-suggest.js.
...
props dougwollison.
fixes #26017 .
Built from https://develop.svn.wordpress.org/trunk@26238
git-svn-id: http://core.svn.wordpress.org/trunk@26145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 20:41:12 +00:00
Sergey Biryukov
38c5e9a668
Inline documentation for hooks in wp-admin/press-this.php.
...
props ninio, kpdesign.
fixes #25731 .
Built from https://develop.svn.wordpress.org/trunk@26237
git-svn-id: http://core.svn.wordpress.org/trunk@26144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 19:13:10 +00:00
Sergey Biryukov
53d47bf514
Remove redundant current_user_can() check. props jeremyfelt. fixes #26057 .
...
Built from https://develop.svn.wordpress.org/trunk@26236
git-svn-id: http://core.svn.wordpress.org/trunk@26143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 17:38:11 +00:00
Sergey Biryukov
c7a96bbf29
Use get_current_site() instead of the $current_site global in wp-admin/admin-header.php and is_main_network().
...
fixes #25158 .
Built from https://develop.svn.wordpress.org/trunk@26235
git-svn-id: http://core.svn.wordpress.org/trunk@26142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 13:46:10 +00:00
Sergey Biryukov
8a250619ce
Add description for 'dayofyear' and 'dayofweek' arguments in WP_Date_Query.
...
props dziudek.
fixes #25995 .
Built from https://develop.svn.wordpress.org/trunk@26234
git-svn-id: http://core.svn.wordpress.org/trunk@26141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 08:21:10 +00:00
Sergey Biryukov
4e28c278a5
Fix replacement regex in wp-admin/js/nav-menu.js.
...
props rzen, jeremyfelt.
fixes #26047 .
Built from https://develop.svn.wordpress.org/trunk@26233
git-svn-id: http://core.svn.wordpress.org/trunk@26140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 07:42:11 +00:00
Andrew Nacin
ef007d1a40
Fix JSHint errors in three files.
...
props tommcfarlin.
fixes #25942 , #25943 , #25944 .
Built from https://develop.svn.wordpress.org/trunk@26232
git-svn-id: http://core.svn.wordpress.org/trunk@26139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 23:19:09 +00:00
Andrew Nacin
c03d9d3f01
Revert these action blocks in wp-admin/post.php to their pre-[26144] state.
...
see #25824 .
Built from https://develop.svn.wordpress.org/trunk@26231
git-svn-id: http://core.svn.wordpress.org/trunk@26138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 22:29:09 +00:00
Andrew Nacin
791e807f08
More dash updates.
...
* Shuffle around some pixels.
* Rename some things that weren't caught in [26220].
* Revert default-widgets.php change from [26144].
props lessbloat.
see #25824 .
Built from https://develop.svn.wordpress.org/trunk@26230
git-svn-id: http://core.svn.wordpress.org/trunk@26137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 22:23:09 +00:00
Matt Thomas
7b06d5b0a9
Move media uploader responsive styles from wp-admin.css to media-views.css; clean up duplicated media queries. See #25977 .
...
Built from https://develop.svn.wordpress.org/trunk@26229
git-svn-id: http://core.svn.wordpress.org/trunk@26136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:47:09 +00:00
Andrew Nacin
4a6102adb7
Fix JSHint errors in shortcode.js.
...
props tommcfarlin.
fixes #25945 .
Built from https://develop.svn.wordpress.org/trunk@26228
git-svn-id: http://core.svn.wordpress.org/trunk@26135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:25:10 +00:00
Lance Willett
3c0f497fad
Twenty Fourteen: general cleanup for spacing, inline comments. Props obenland, see #25946 .
...
Built from https://develop.svn.wordpress.org/trunk@26227
git-svn-id: http://core.svn.wordpress.org/trunk@26134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:20:09 +00:00
Lance Willett
433c648e1d
Twenty Fourteen: fix an issue with keyboard navigation where you couldn't navigate to the previous image. Props obenland, see #25946 .
...
Built from https://develop.svn.wordpress.org/trunk@26226
git-svn-id: http://core.svn.wordpress.org/trunk@26133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:18:09 +00:00
Lance Willett
a52f3ebb7b
Twenty Fourteen: limit back compat to 3.6 and later versions. See #26055 , props obenland.
...
Built from https://develop.svn.wordpress.org/trunk@26225
git-svn-id: http://core.svn.wordpress.org/trunk@26132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:15:10 +00:00