Matt Thomas
ebb4753f12
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.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26254 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 21:39:22 +00:00
Matt Thomas
6af1761110
Make password inputs on profile.php match the width of other text inputs. Fixes #26079 , props johnbillion.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26253 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 21:30:19 +00:00
Scott Taylor
ff4f1bb170
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26252 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 20:44:34 +00:00
Sergey Biryukov
d42e8eee3d
Remove unused global reference. props jeremyfelt. fixes #26103 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26251 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 20:18:57 +00:00
Matt Thomas
3a323a26b1
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26250 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 20:06:47 +00:00
Lance Willett
ed5df3ab38
Twenty Fourteen: remove singular body class when a page is set to be the front page, and minor style tweaks. Props iamtakashi, see #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26249 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 19:20:28 +00:00
Matt Thomas
c0dc646297
Put the 'Safe Draft' button back in its place in the Publish box. Fixes #26081 , props aubreypwd.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26248 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 19:03:01 +00:00
Matt Thomas
c85c7ec8df
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26247 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 18:52:06 +00:00
Sergey Biryukov
cbad0abaae
Normalize slashes in WP_Filesystem_MockFS::mkdir() and WP_Filesystem_MockFS::locate_parent_node() to avoid an infinite loop on Windows.
...
fixes #26091 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26246 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 15:32:47 +00:00
Sergey Biryukov
cf445be887
Remove debug cruft. props nbachiyski. see #25791 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26245 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 13:17:13 +00:00
Andrew Nacin
42e0245712
Add level-X classes to the posts list table rows.
...
props jhned.
fixes #25791 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26244 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-17 20:39:48 +00:00
Andrew Nacin
e52857484a
Stop using .rtl classes, instead relying on flipping LTR CSS to RTL.
...
props yoavf.
fixes #24977 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26243 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-17 16:17:05 +00:00
Sergey Biryukov
b95580d5ed
Fix date comparison in dashboard_relative_date(). fixes #26033 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26242 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-17 03:29:11 +00:00
Sergey Biryukov
dfd8f30724
PHPDoc and i18n fixes for dashboard widgets.
...
props dimadin for initial patch.
see #25824 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26241 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-17 03:20:38 +00:00
Sergey Biryukov
3035556d48
Fix CSS formatting. Remove redundant rule. see #25976 . see #25824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26240 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-17 01:10:49 +00:00
Sergey Biryukov
bbd6116d28
Fix padding for Quick Draft dashboard widget when there are no drafts.
...
props aubreypwd.
fixes #26076 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26239 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-17 00:37:49 +00:00
Andrew Nacin
7a08bc4b70
JSHint fixes for user-suggest.js.
...
props dougwollison.
fixes #26017 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26238 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 20:40:04 +00:00
Sergey Biryukov
4c416b2549
Inline documentation for hooks in wp-admin/press-this.php.
...
props ninio, kpdesign.
fixes #25731 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26237 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 19:12:21 +00:00
Sergey Biryukov
0262b2e4db
Remove redundant current_user_can() check. props jeremyfelt. fixes #26057 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26236 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 17:37:26 +00:00
Sergey Biryukov
2e52eeb484
Use get_current_site() instead of the $current_site global in wp-admin/admin-header.php and is_main_network().
...
fixes #25158 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26235 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 13:45:28 +00:00
Sergey Biryukov
796a9a5613
Add description for 'dayofyear' and 'dayofweek' arguments in WP_Date_Query.
...
props dziudek.
fixes #25995 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26234 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 08:20:17 +00:00
Sergey Biryukov
9a8ec07996
Fix replacement regex in wp-admin/js/nav-menu.js.
...
props rzen, jeremyfelt.
fixes #26047 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26233 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 07:41:01 +00:00
Andrew Nacin
3d0c903bfd
Fix JSHint errors in three files.
...
props tommcfarlin.
fixes #25942 , #25943 , #25944 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26232 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 23:18:18 +00:00
Andrew Nacin
b05fb903ac
Revert these action blocks in wp-admin/post.php to their pre-[26144] state.
...
see #25824 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26231 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 22:28:57 +00:00
Andrew Nacin
f000be8af3
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26230 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 22:22:43 +00:00
Matt Thomas
c97a94c0d5
Move media uploader responsive styles from wp-admin.css to media-views.css; clean up duplicated media queries. See #25977 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26229 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:46:14 +00:00
Andrew Nacin
b408e2ad07
Fix JSHint errors in shortcode.js.
...
props tommcfarlin.
fixes #25945 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26228 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:24:43 +00:00
Lance Willett
344866b1f0
Twenty Fourteen: general cleanup for spacing, inline comments. Props obenland, see #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26227 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:19:33 +00:00
Lance Willett
b52ee7959b
Twenty Fourteen: fix an issue with keyboard navigation where you couldn't navigate to the previous image. Props obenland, see #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26226 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:18:00 +00:00
Lance Willett
001e4b6052
Twenty Fourteen: limit back compat to 3.6 and later versions. See #26055 , props obenland.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26225 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:14:49 +00:00
Andrew Ozz
961a2a89e9
JSHint fixes for editor.js. Props dougwollison, fixes #25947
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26224 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:02:56 +00:00
Matt Thomas
5a8835f000
Make the Install Plugins search results page responsive, so the table doesn't overflow the viewport. Props joen, fixes #25976 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26223 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 20:58:36 +00:00
Andrew Nacin
f82e1c5d23
Add JavaScript tests for shortcode.js.
...
props jorbin, iandunn.
see #25784 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26222 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 20:40:54 +00:00
Andrew Nacin
1ce61ffda7
Merge wp_dashboard_recent_quickdrafts() into wp_dashboard_quick_press(). see #25824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26221 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 20:39:37 +00:00
Andrew Nacin
9a936eb7d0
Dash cleanup.
...
* Use wp_add_dashboard_widget() rather than add_meta_box().
* Use original functions like wp_dashboard_primary(), wp_dashboard_right_now(), wp_dashboard_quick_press() (where possible).
* Only include plugins section of the news widget when appropriate, which necessitates the set_current_screen() via the ajax action.
* Remove some debug cruft that was preventing caching and invalidation.
* Simplify lots of things where possible.
see #25824 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26220 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 20:14:44 +00:00
Matt Thomas
8b8be72403
Improvements to the media uploader at responsive sizes:
...
* Change load order so larger breakpoint loads before smaller breakpoint.
* Use absolute positioning rather than floats, to fix some overflow issues.
* Remove the max-height media query so desktop browsers benefit from the responsive styles.
* Reset text inputs to 16px so iOS doesn't force zoom.
* Adjust the position of the close button so it doesn't overlap the Create Gallery link.
See #25977 . Props joen.
git-svn-id: https://develop.svn.wordpress.org/trunk@26219 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 19:53:50 +00:00
Lance Willett
9808a59513
Twenty Fourteen: remove a font weight of 900 italic
which isn't needed. Props iamtakashi. See #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26218 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 19:02:09 +00:00
Lance Willett
a798664b35
Twenty Fourteen: remove main-content
element where not necessary, props iamtakashi. See #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26217 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 19:01:00 +00:00
Andrew Nacin
33cce1d7d7
Sort themes by name on the new themes.php page. see #25948 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26216 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 16:41:39 +00:00
Andrew Nacin
f135b9b540
Remove debug cruft. props dimadin. see #25948 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26215 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 16:39:16 +00:00
Andrew Nacin
f75ee9ea0f
Fix JSHint errors in remaining WP TinyMCE plugin files.
...
fixes #26048 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26214 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 15:04:04 +00:00
Andrew Nacin
d8e08549bb
Fix JSHint errors in wp-plupload.js.
...
props atimmer.
fixes #26044 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26213 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 14:26:36 +00:00
Andrew Nacin
34eff3bf52
Fix JSHint errors in quicktags.js. Ignore deprecated API rather than marking it as exported globals.
...
props kovshenin.
fixes #26046 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26212 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 14:25:29 +00:00
Lance Willett
d5afb2c07c
Twenty Fourteen: use HTML entity for arrow in Help text string, props dd32. See #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26211 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 14:19:51 +00:00
Andrew Nacin
6597d9d43e
Fix JSHint errors in theme-install.js.
...
props kovshenin.
fixes #26045 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26210 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 14:15:39 +00:00
Andrew Nacin
92f9cc1d5f
JSHint fixes for word-count.js and wp-mediaelement.js. see #25187 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26209 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 06:51:23 +00:00
Andrew Nacin
3999d50cea
Residual JSHint fixes in common.js and edit-comments.js.
...
see #25912 , #25979 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26208 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 06:36:17 +00:00
Andrew Nacin
aed015478f
Fix JSHint errors in two files. see #25957 , #25864 . (Similar names but separate files.)
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26207 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 06:24:01 +00:00
Andrew Nacin
0a315a3ff6
Fix JSHint errors in customize-controls.js.
...
props jorbin.
fixes #25917 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26206 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 06:07:21 +00:00
Andrew Nacin
6ee347085f
Fix JSHint errors in plupload handlers.js.
...
props mdbitz.
fixes #26041 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26205 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:55:24 +00:00