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
Andrew Nacin
1337df1724
Fix JSHint errors in post.js.
...
props atimmer.
fixes #25994 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26204 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:34:14 +00:00
Andrew Nacin
39d3dd795c
Fix JSHint errors in utils.js.
...
props adamsilverstein.
fixes #25957 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26203 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:26:00 +00:00
Andrew Nacin
3f60b57875
Fix JSHint errors in autosave.js.
...
props seanchayes.
fixes #26035 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26202 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:19:15 +00:00
Andrew Nacin
646bb59a2b
Fix JSHint errors in the wpview and wplink editor plugins.
...
props seanchayes.
fixes #26024 , #26027 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26201 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:17:13 +00:00
Andrew Nacin
daf448ae0c
Fix JSHint errors in 5 files.
...
props seanchayes.
fixes #26015 , #26020 , #26019 , #26034 , #26022 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26200 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:15:06 +00:00
Andrew Nacin
46a5e7a863
Fix JSHint errors in 3 files.
...
props atimmer.
fixes #25990 , #25993 , #26008 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26199 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:11:10 +00:00
Andrew Nacin
f25abde28f
Fix JSHint errors in tags.js.
...
props atimmer.
fixes #26009 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26198 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:01:34 +00:00