Andrew Nacin
9cf1790265
Fix JShint errors in user-profile.js.
...
props dougwollison.
fixes #26016 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26266 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:39:05 +00:00
Andrew Nacin
114e544ffb
JSHint fixes for inline-edit-tax.js.
...
props dougwollison.
fixes #26002 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26265 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:34:29 +00:00
Andrew Nacin
010fbd7866
JShint fixes for inline-edit-post.js.
...
props dougwollison.
fixes #26001 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26264 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:31:42 +00:00
Dion Hulse
199870b417
Plugin Deletion: Remove the correct transient after demoving plugins. Props jdgrimes. Fixes #26069
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26263 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:16:50 +00:00
Dion Hulse
520840e84c
Plugin Deletion: Properly clear the cache when multiple plugins are deleted. Props jdgrimes. Fixes #26065
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26262 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:07:47 +00:00
Andrew Nacin
05ec933ea1
Fix spaces/tabs in Twenty Fourteen JS, allowing JSHint to run clean for these files.
...
props dougwollison.
fixes #26031 , #26032 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26261 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 03:48:55 +00:00
Lance Willett
7a9d3855d4
Twenty Fourteen: updates all PHP files to meet new brace style in WP coding standards. Props rickalee for initial patch, fixes #26093 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26260 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 23:11:01 +00:00
Andrew Ozz
b01698ee01
Widgets: remove some unused styles, props shaunandrews, see #25821
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26259 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 23:05:31 +00:00
Lance Willett
1856fec849
Twenty Fourteen: simplify tags output in content templates, props nacin. See #26093 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26258 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 22:47:17 +00:00
Sergey Biryukov
7d1c5d379a
Correctly capitalize WP_Query in Featured_Content::pre_get_posts() inline docs. see #26064 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26257 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 22:23:06 +00:00
Matt Thomas
132e26e81a
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.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26256 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 22:09:51 +00:00
Lance Willett
c8d0070d64
Twenty Fourteen: correct $query
usage in Featured_Content::pre_get_posts()
, props SergeyBiryukov, fixes #26064 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26255 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 22:03:03 +00:00
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
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
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
Andrew Nacin
f649fb80c8
Fix JSHint errors in heartbeat.js.
...
props dziudek.
fixes #25986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26197 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:59:51 +00:00
Andrew Nacin
5a2af56620
Fix JSHint errors in media-upload.js.
...
props iblamefish.
fixes #26023 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26196 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:52:12 +00:00
Andrew Nacin
caf4f48e31
Fix JSHint errors in six files.
...
props mdbitz.
fixes ##26011, #26012 , #26013 , #26014 , #26038 , #26039 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26195 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:41:51 +00:00
Andrew Nacin
895e8edada
Fix JSHint errors for customize-loader.
...
props mdbitz.
fixes #26040 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26194 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:30:26 +00:00
Andrew Nacin
61eedb9d34
Fix JSHint errors in wplink.js.
...
props jorbin.
fixes #25914 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26193 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:27:31 +00:00
Dion Hulse
c4e0aa63d9
Updates: Force an update check to occur when the 'Check Again' button is used in the Dashboard. Fixes #25831
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26192 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 03:04:00 +00:00
Scott Taylor
15c1c2f130
Don't place smilies inside of pre or code tags. Don't skip smilie after a smilie with an 8 in it. Fix regular expression used for smiley translations to work when there is only one registered emoticon.
...
Props solarissmoke, soulseekah, mdbitz, yonasy. ht to mdbitz for the Unit Tests and a comprehensive patch.
Fixes #16448 , #20124 , #25303 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26191 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:45:39 +00:00
Lance Willett
e7fc90c34e
Twenty Fourteen: remove unneeded translator context from theme Help tab text, props domain. See #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26190 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:42:05 +00:00
Scott Taylor
0f9564807b
Don't call is_home() before the query is run in Featured Content's pre_get_posts hook callback.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26189 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:36:30 +00:00
Dion Hulse
c7710e4238
Invalidate the 'update_core' Update check transient when $wp_version changes. See #25831
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26188 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:34:37 +00:00
Dion Hulse
8c01596a75
Updates: When a failed Background Update occurs, only show the failed update nag if the user hasn't yet updated if it was an early abort. Props SergeyBiryukov. Fixes #25887 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26186 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:30:30 +00:00
Helen Hou-Sandi
3f6c11bf0a
We only need to declare Open Sans once in wp-admin.css. See #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26185 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 00:14:41 +00:00
Matt Thomas
bee7eda2aa
Fixing some inconsistent behavior on toolbar icons:
...
- Use .ab-icon:before, .ab-item:before, and #adminbarsearch:before to select all toolbar icons.
- Rewrite the selector for toolbar icon hover styles so they're not overridden by default colors.
- Add #adminbarsearch:before to color schemes, so its icon color is changed with the others.
- Remove duplicate color rule on #adminbarsearch:before.
See #25858 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26184 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 00:08:38 +00:00
Andrew Nacin
513f36d6f7
Clean up wp-admin/index.php after dash merge. see #25824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26183 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:58:55 +00:00
Helen Hou-Sandi
17a8516d2e
Remove now-unused #adminmenushadow. see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26182 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:48:44 +00:00
Matt Thomas
e525f62b27
Color schemes should use .ab-icon:before instead of .ab-item:before to target adminbar icons. See #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26181 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:45:11 +00:00
Matt Thomas
c7a7d8f5f8
Move the color rule for adminbar icons to a less-specific selector so that color schemes correctly affect icon color in the toolbar.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26180 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:29:26 +00:00
Matt Thomas
7c4caaff13
Reduce responsive menu transition animation from .2s to .05s to reduce lag. See #25969 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26179 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:12:52 +00:00
Matt Thomas
efd1e19044
In multisite, set storage space labels to nowrap to prevent unnecessary line breaks. Fixes #25919 , props SergeyBiryukov.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26178 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 22:47:06 +00:00
Matt Thomas
062ffefbc5
Move the responsive padding for html.wp-toolbar to wp-admin.css since it affects the page content, not the toolbar.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26177 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 22:43:00 +00:00
Matt Thomas
7c4e2caf01
Move #wpadminbar responsive styles from wp-admin.css to admin-bar.css. Remove unneeded font overrides and !importants where possible. Make sure the site menu item uses the globe icon consistently instead of switching to the home icon <782px. Fixes #25971 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26176 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 22:36:34 +00:00
Andrew Nacin
e299fef83d
More specific CSS for the dashboard activity widget.
...
props iammattthomas.
see #26028 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26175 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 22:10:24 +00:00
Andrew Nacin
c137a8979a
JSHint and coding style fixes for xfn.js.
...
props dougwollison.
fixes #26030 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26174 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 21:57:11 +00:00
Matt Thomas
c380f3276a
Make the menu location screen full-width at responsive sizes. Fixes #25975 , props johnbillion.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26173 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 20:43:00 +00:00
Matt Thomas
14e585a645
In bulk editing mode, make all columns full-width and increase the font size when at responsive sizes. Fixes #25978 , props johnbillion.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26172 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 20:40:13 +00:00
Matt Thomas
6a2adc2663
Replace icon-pointer-flag.png with the flag Dashicon. Fixes #25982 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26171 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 20:16:31 +00:00
Matt Thomas
896777db21
Add a :disabled style for radio inputs and checkboxes. Fixes #26004 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26170 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 19:45:25 +00:00
Andrew Ozz
8dc91f3646
Heartbeat: clean up code style, better naming, better code structure. Props carldanley, props evansolomon.
...
Changes:
- Add connectNow() public method to trigger a connection immediately.
- Remove the "skipping" when no data to send.
- Change the default interval to 60 sec.
- Fix resetting the next connection time when changing the interval.
See #25073 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26169 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 18:40:03 +00:00
Andrew Nacin
cf748f9c6d
Fix JSHint errors in postbox.js.
...
props atimmer.
fixes #26006 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26167 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 18:09:27 +00:00
Helen Hou-Sandi
cc62157248
Remove old control/accordion section title gradients that were still appearing in the customizer and reinstate a divider between the customizer sidebar and the preview. props ryelle, helen. see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26165 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 16:41:36 +00:00
Dion Hulse
53748cebe1
Bacground Updates: Move the 'automatic_updates_complete' hook to only fire when some updates have actually been completed. Props nacin. Fixes #25841
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26164 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 06:28:42 +00:00
Andrew Nacin
3b3bb985fa
Fix JSHint errors in nav-menu.js.
...
props atimmer.
fixes #25953 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26163 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 06:08:11 +00:00
Andrew Nacin
c22a544c89
Fix JSHint errors (again) for revisions.js.
...
props adamsilverstein.
fixes #25955 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26162 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:55:46 +00:00
Andrew Nacin
6a08d485dc
Fix JSHint errors in media-views.js.
...
props kadamwhite.
fixes #25974 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26161 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:53:15 +00:00
Andrew Nacin
6e585ecd0c
Fix JSHint errors in admin-bar.js.
...
props kadamwhite.
fixes #25970 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26160 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:50:40 +00:00
Andrew Nacin
c0207f3bfb
Fix JSHint errors in the old XML-based ajax response JS.
...
props OriginalEXE.
fixes #25954 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26159 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:42:06 +00:00
Andrew Nacin
efe54a3ac6
Fix JSHint errors in custom-header.js and custom-background.js.
...
props jorbin.
fixes #25915 , #25916 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26158 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:39:28 +00:00
Andrew Nacin
1e02e255eb
JSHint: Make commentReply a declared global from elsewhere.
...
props adamsilverstein.
see #25979 , [26156].
git-svn-id: https://develop.svn.wordpress.org/trunk@26157 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:29:01 +00:00
Andrew Nacin
01f59af277
Avoid jshint errors in edit-comment.js.
...
props adamsilverstein.
fixes #25979 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26156 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:09:46 +00:00
Dion Hulse
707082fd12
Background Updates: Add a 'automatic_updates_complete' hook that fires after any updates have run. Props pento. Fixes #25841
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26155 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:07:19 +00:00
Lance Willett
eab85bc5d8
Twenty Fourteen: fix tabs to spaces in two files. See #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26154 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:56:27 +00:00
Lance Willett
96569b0075
Twenty Fourteen: first pass at adding help text to to "Help" tab for edit.php
and themes.php
screens. Props obenland for starter patch, see #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26153 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:52:06 +00:00
Lance Willett
3345e88fad
Twenty Fourteen: simplify and prefix post thumbnail sizes, props obenland. See #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26152 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:49:19 +00:00
Lance Willett
21ed02204d
Twenty Fourteen: remove unused class name, props obenland. See #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26151 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:45:45 +00:00
Lance Willett
ad44560149
Twenty Fourteen: make sure styles for featured content on a static page are limited to posts within the main content area. Props iamtakashi, fixes #25938 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26150 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:19:21 +00:00
Dion Hulse
6d70a797be
Background Updates: Spread them over the hour. Props Pento. Fixes #25833 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26149 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:03:27 +00:00
Dion Hulse
a23ead1467
Background Updates: Fix a PHP Fatal error which could be encountered on some systems when using FTP. Fixes #25817 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26148 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 02:01:30 +00:00
Andrew Nacin
e7986b035c
Remove SCRIPT_DEBUG reference from register_admin_color_schemes().
...
Instead, script-loader.php handles converting .min.css to .css when SCRIPT_DEBUG is on, and has since r21592. (This was done for compatibility with plugin color schemes that used .css and .dev.css.)
see #25858 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26147 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 00:02:36 +00:00
Helen Hou-Sandi
37b14a653a
Avoid a notice when SCRIPT_DEBUG is not defined. props MikeHansenMe. see #25824 , #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26146 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 23:58:32 +00:00
Andrew Nacin
3b82749eba
Merge the new dashboard design into core.
...
Merges https://github.com/growthdesigner/wp-dash .
props lessbloat, joen, helen, dbernar1, kraftbj, ryelle, tillkruess, grapplerulrich, markjaquith.
see #25824 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26144 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 22:08:47 +00:00
Andrew Nacin
fec84d9bd3
THX needs this file, for now. see #25948 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26142 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 21:03:21 +00:00
Andrew Nacin
12ccb6d136
Update the Themes screen, merging THX into core.
...
* Name: THX38
* Description: Update the Themes screen with a new design and experience.
* Tags: visually-focused, bigger-screenshots, fast, mobile-friendly, backbone-driven
* Author: matveb, shaunandrews, melchoyce, designsimply, shelob9
* URI: http://wordpress.org/plugins/thx38/
fixes #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26141 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 20:57:29 +00:00
Matt Thomas
e00060118b
Bring in the widgets component of MP6. See #25858 .
...
* A cleaner UI, with a simpler design for available and inactive widgets, and more emphasis on your sidebars.
* Available widgets and sidebars expand to two columns at larger screen sizes making it easier to manage sites with lots of sidebars.
* New dropzone indicator for empty sidebars.
Props shaunandrews, joen, iammattthomas.
git-svn-id: https://develop.svn.wordpress.org/trunk@26140 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 20:05:51 +00:00
Helen Hou-Sandi
2e54579af7
Turns out it helps if you add those pesky Sass files if you're going to use a preprocessor. see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26139 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:53:01 +00:00
Sergey Biryukov
87b1101b49
Inline documentation for hooks in wp-admin/includes/class-wp-comments-list-table.php.
...
props siobhyb, kpdesign.
fixes #25662 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26138 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:46:20 +00:00
Helen Hou-Sandi
e84e1e8791
Merge the color schemes component from MP6. Introduces Light, Blue, and Midnight.
...
Color scheme selection on your own profile page gives you a preview and autosaves the selection.
Also introduces the usage of a preprocessor for core files, namely Sass. For 3.8, we will not expand its implementation past the color schemes. This does require Ruby as well as Sass 3.3.0+ due to the usage of the sourcemap option.
Note that only the default color scheme is available when running out of src. Use build to test the rest as well as the color picker.
props ryelle, melchoyce, tillkruess, drw158, littlethingsstudio, helen. see #25858 , #22862 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26137 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:37:10 +00:00
Lance Willett
6c20964578
Twenty Fourteen: use numbered placeholders for Customizer help text in case they get swapped during translation, props obenland. See #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26135 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 19:01:34 +00:00
Matt Thomas
58f312f95e
Bring in the responsive component of MP6. See #25858 .
...
* Makes the admin fully responsive down to 320px wide.
* Adds a touch-optimized main menu that can be opened and closed from the toolbar.
* Size and positioning adjustments to icons, buttons, and text elements for better touch usability.
A few changes since MP6:
* Removed jQuery mobile. This script was used to add swipe controls to open/close the sidebar menu. This feature was apparently buggy and due to the pending demise of jQuery mobile, it was removed.
* Removed use of Backbone.js. Adding Backbone.js to this script would add a dependency of Backbone.js for all of the admin. Additionally, it was used to add a menu item. Instead of doing that, it was added via the admin menu API. This also fixes a bad delay in the item showing in the menu.
* CSS layout is standardized. Comments have also been cleaned up.
* Jetpack and Akismet code is removed.
* RTL CSS is removed.
* JS passes hinting other than one small issue that will likely be removed when parts of the code are reviewed.
A number of areas for improvement remain; we're tracking these issues in the comments of #25858 .
Props to tollmanz, tillkruess, helen, dd32, and apeatling.
git-svn-id: https://develop.svn.wordpress.org/trunk@26134 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 17:59:32 +00:00
Lance Willett
bedae470cd
Twenty Fourteen: style multisite pages wp-activate.php
and wp-signup.php
, props obenland. Fixes #25479 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26133 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 16:23:30 +00:00
Matt Thomas
24b68b6152
Reinstating this fix for the issue described in #18868 , wherein some versions of Chrome open the About/"W" dropdown menu inadvertantly, like when clicking a select element. Fix was removed in the initial MP6 commit r26072, this brings it back. See #25858 ; props azaozz.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26132 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 15:35:35 +00:00
Matt Thomas
1dee61d8b6
Clean up the new svg-painter.js so that it passes our jshint; see #25858 . Props jorbin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26131 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 15:25:20 +00:00
Sergey Biryukov
e196d64613
Better description for WP_Locale::_strings_for_pot(). props dimadin. fixes #25937 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26130 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 14:00:59 +00:00
Sergey Biryukov
4006e4a233
Inline documentation for hooks in wp-mail.php.
...
props kpdesign, radices.
fixes #25551 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26129 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 11:57:11 +00:00
Andrew Nacin
7d2ba3675e
Fix new RTL file loading when style concatenation is enabled.
...
see #24977 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26128 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 05:09:40 +00:00
Andrew Nacin
d57f3a4442
3.8-alpha-26127 to bust all the caches.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26127 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:43:58 +00:00
Sergey Biryukov
323524abef
Inline documentation for hooks in wp-includes/capabilities.php.
...
props ptahdunbar, kpdesign.
fixes #25531 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26126 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:38:13 +00:00
Helen Hou-Sandi
0074ad2d90
Merge the sticky menu component from MP6. The admin menu is now fixed if the viewport is large enough. props tollmanz, tillkruess, dd32. see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26125 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:29:27 +00:00
Sergey Biryukov
d97f64f9f7
Restore the $current_site global in wp-admin/admin-header.php to avoid an undefined function error in single site.
...
see #25158 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26124 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:16:43 +00:00
Sergey Biryukov
d3cee0734e
Change jQuery selector in Quick Edit to avoid losing data in IE8.
...
fixes #24923 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26123 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 04:05:57 +00:00
Sergey Biryukov
4f0bb96602
Use a simple replacement for 'wp_title' filter in capital_P_dangit(), like we do for 'the_title'.
...
props nacin.
fixes #25796 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26122 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:55:33 +00:00
Sergey Biryukov
a6f9656497
Remove redundant cleanup of PHPMailer addresses in wp_mail().
...
props bananastalktome.
fixes #25789 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26121 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:44:16 +00:00
Sergey Biryukov
39d55fddb8
Use get_current_site() instead of the $current_site global when possible.
...
props jeremyfelt.
fixes #25158 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26120 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:22:48 +00:00
Lance Willett
f13e9a6796
Twenty Fourteen: remove unnecessary width
rule that broke responsiveness. Props iamtakashi.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26119 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:20:44 +00:00
Lance Willett
76a9f245ae
Twenty Fourteen: updated (and more PNG crushing) screenshot. Props iamtakashi.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26118 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 03:07:11 +00:00
Lance Willett
2c76ed028f
Twenty Fourteen: enhanced styles for logged-out comment form "required" mark and comment moderation text. Props iamtakashi, fixes #25932 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26117 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:50:40 +00:00
Lance Willett
3f49cd224e
Twenty Fourteen: fix low-contrast input elements in Firefox by explicitly setting opacity: 1
for the placeholder text. Also brighten the border styles a bit. Props iamtakashi, fixes #25930 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26116 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:45:15 +00:00
Sergey Biryukov
7cd8d225a3
Use case-insensitive comparison for email addresses. fixes #25779 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26115 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:40:28 +00:00
Sergey Biryukov
c7c382b077
Avoid PHP notices in wp_notify_postauthor() when using a custom comment type.
...
Use a switch statement for consistency with wp_notify_moderator().
fixes #25880 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26114 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:31:15 +00:00
Sergey Biryukov
9149d49677
Remove no_update_actions(), unused since [12157]. props jdgrimes. fixes #25923 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26113 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 02:17:52 +00:00
Andrew Nacin
40f762f894
Free common.js of JSHint errors.
...
props jorbin.
fixes #25912 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26112 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 23:55:23 +00:00
Andrew Nacin
b1dfc8ef61
Mark zxcvbn global to avoid JSHint errors.
...
props jorbin.
fixes #25911 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26111 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 23:42:17 +00:00
Andrew Nacin
d416108af5
Use CSSJanus via a Grunt task to generate right-to-left CSS.
...
RTL files are now created on build for core CSS files. These files replace the LTR file completely, rather than being in addition to the existing LTR file.
Benefits:
* For the user: less CSS is served in RTL, less HTTP requests on the frontend, and less work for the browser.
* For the core developer: Let the tools do the work.
Notes for core development:
* The file generation task is `grunt rtl`.
* `grunt watch` now handles generating RTL files in /build when a CSS file in /src is saved.
* /src is now locked to LTR. RTL testing must occur via /build. When attempting to run an RTL text direction with /src, an admin notice will display.
Expect RTL bugs. Please report them.
props yoavf.
see #24977 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26107 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 21:18:45 +00:00
Lance Willett
e2922ff103
Twenty Fourteen: remove extra newline from footer.php
file.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26106 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 20:14:18 +00:00
Lance Willett
dc242fbc80
Twenty Fourteen: move page templates into their own directory. See #25929 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26105 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 19:02:09 +00:00
Lance Willett
0b4c3fde55
Twenty Fourteen: move CSS files except for rtl.css and style.css into new css
directory. See #25929 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26104 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 18:56:18 +00:00
Lance Willett
839325fe34
Twenty Fourteen: rename fonts
to genericons
. See #25929 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26103 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 18:37:51 +00:00
Lance Willett
d37cefbdfc
Twenty Fourteen: update two over-qualified selectors in main stylesheet.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26102 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 18:18:04 +00:00
Lance Willett
ddb8e58f8d
Twenty Fourteen: add in more contextual help for setting up Featured Content, links to "featured" tag posts and "sticky" posts from inside the Customizer. See #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26101 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 17:12:08 +00:00
Lance Willett
4a39bb0d00
Twenty Fourteen: adjust fixed header top margin now that MP6 is merged. See #25906 props celloexpressions.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26100 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 17:10:29 +00:00
Lance Willett
d220b3fd88
Twenty Fourteen: don't load unused font weights. Props iamtakashi, fixes #25922 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26099 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 16:47:46 +00:00
Lance Willett
4b63213b62
Twenty Fourteen: full-width page template should display a full-width featured image, except for mobile. Fixes #25925 , props iamtakashi.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26098 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 16:46:31 +00:00
Lance Willett
cc0f0d8c6e
Twenty Fourteen: first pass at older Internet Explorer browser support. Props iamtakashi, see #25036 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26097 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 04:17:07 +00:00
Scott Taylor
5f1180ca0f
Change nofollow
to follow
in wp_robots_noindex()
. "The noindex is fine, the nofollow stops any link equity from that URL, so that's actually a bad idea."
...
Props joostdevalk.
Fixes #22876 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26096 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 22:26:33 +00:00
Scott Taylor
2ccc101050
Make HTML tag searches for <code>
and <pre>
case-insensitive in make_clickable()
.
...
Props bpetty.
Fixes #23756 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26094 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 21:53:08 +00:00
Lance Willett
270ba8b564
Twenty Fourteen: update the theme description with more information about theme features such as Featured Content and how to set it up. See #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26092 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 19:31:24 +00:00
Scott Taylor
95a00fb920
Fix canonical redirection of cat
as described in #15256 by rolling the cat
query var into tax_query
, instead of category__in
/ category__not_in
. Top-level categories were only redirecting properly if they had no children.
...
All unit tests pass. Tests marked for #15256 are no longer skipped.
Fixes #15256 .
Props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@26090 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 18:35:21 +00:00
Andrew Ozz
88138fbf3a
Fix the X-UA-Compatible header for IE8, fixes #25575
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26089 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 18:01:40 +00:00
Sergey Biryukov
315681a8ed
Remove the code for increasing z-index for the tag suggestion script from Twenty Fourteen.
...
fixes #25867 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26086 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 17:42:04 +00:00
Sergey Biryukov
6592f4cb73
Make suggest script visible in the customizer.
...
props celloexpressions for initial patch.
see #25867 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26085 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 17:38:49 +00:00
Lance Willett
8cc1529de8
Twenty Fourteen: changes to JavaScript files to pass jshint
, props jorbin. Fixes #25908 #25909 #25910 .
...
* Add global variable flags to top of JS files.
* Group variable declarations correctly.
git-svn-id: https://develop.svn.wordpress.org/trunk@26084 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 17:26:24 +00:00
Sergey Biryukov
f2bd2d8359
Remove the code for setting ajaxurl from Twenty Fourteen.
...
props celloexpressions.
fixes #25866 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26083 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 15:50:49 +00:00
Sergey Biryukov
adb2e127c1
Define ajaxurl in the customizer.
...
props celloexpressions.
see #25866 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26082 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 15:46:36 +00:00
Sergey Biryukov
a2aed7b119
Fix docblock formatting. fixes #25893 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26081 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 13:31:19 +00:00
Sergey Biryukov
eb8f223cd0
Inline documentation for hooks in wp-admin/edit-link-form.php.
...
props raamdev.
fixes #25447 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26080 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-11 13:15:57 +00:00
Lance Willett
7d112ad590
Twenty Fourteen: improve Featured Content experience in the Customizer. Better preview and cache clearing, props obenland and rachelbaker. Fixes #25549 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26079 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 23:37:36 +00:00
Andrew Ozz
1d57e79726
Widgets screen: adjust the placeholder to match the new widget "handle" height, and the spinner's margins so the sidebar titles don't "jump" when it is shown. See #25821 , see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26078 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 18:32:01 +00:00
Dion Hulse
325cc9f120
Add a white WordPress logo for use on the about pages. See #25858
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26077 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 06:11:25 +00:00
Matt Thomas
c8df5459d8
Fixing a typo, see #25858 . Props designsimply.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26076 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 03:52:06 +00:00
Matt Thomas
78ee1a4a22
Add missing wordpress-logo.svg, see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26075 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 03:49:10 +00:00
Andrew Nacin
974737e832
Fix order, declaration, tabbing of vars in color-picker.js.
...
props kadamwhite.
fixes #25877 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26074 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 02:42:32 +00:00
Helen Hou-Sandi
b0c601170c
Add spinner images that were inadvertently left out of [26072]. see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26073 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 00:39:38 +00:00
Helen Hou-Sandi
17287af965
Say hello to a fresh new look for the WordPress admin.
...
Still to come: more color schemes, a responsive component, and more.
see #25858 .
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
git-svn-id: https://develop.svn.wordpress.org/trunk@26072 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 00:26:50 +00:00
Lance Willett
8f85054cd0
Twenty Fourteen: allow slider "Previous" and "Next" labels to be translated, props michahwave. Fixes #25897 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26071 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 23:27:28 +00:00
Lance Willett
896ae4e6ef
Bundled Themes: implement Microsoft-specific @viewport
rules for better responsive styling in Windows 8 "snapped" views. Props celloexpressions, fixes #25888 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26070 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 23:19:35 +00:00
Lance Willett
0081ce7c81
Twenty Fourteen: implement UX features in spite of being non-standard CSS selectors that won't validate. @viewport
for a better touch experience on Windows, and ::selection
for better text selection styles. See #25888 and #25898 , props celloexpressions.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26069 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 23:15:15 +00:00
Andrew Nacin
6072e1d4cb
Avoid JSHint errors in admin comment.js. Declare globals, use single quotes.
...
props jorbin.
fixes #25885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26068 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 21:29:43 +00:00
Andrew Nacin
c8ab2675f4
Avoid JSHint errors in color-picker.js. One var
, single quotes, add missing semicolon, declare wpColorPickerL10n as global.
...
props jorbin.
fixes #25877 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26067 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 21:28:27 +00:00
Andrew Nacin
a5ec5e4cd7
Avoid JSHint errors. Use dot notation when able and declare pwsL10n as a global.
...
props jorbin.
fixes #25870 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26065 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 21:20:25 +00:00
Lance Willett
4d3e26f321
Twenty Fourteen: remove non-standard ::selection
selectors. Closes #25898 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26062 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 18:46:41 +00:00
Sergey Biryukov
82878e0859
Add @return for WP_Query::parse_search(). props tivnet. fixes #25894 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26061 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 16:04:02 +00:00
Sergey Biryukov
8a87a2345b
Declare the variable before using it. props tivnet. fixes #25895 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26060 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 15:52:30 +00:00
Lance Willett
14ce5221ae
Twenty Fourteen: when header is more than 48px tall (like two lines of menu items), unfix the header so it doesn't overlap the page content. Props iamtakashi, fixes #25554 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26059 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 15:31:29 +00:00
Andrew Nacin
f5f951ab3c
Remove the empty about.min.js. See [25912] for the 3.7 branch.
...
props tollmanz.
fixes #25855 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26058 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 04:56:36 +00:00
Lance Willett
539b3a254b
Twenty Fourteen: fix gallery layout issue in IE, props jartes and iamtakashi. Fixes #25625 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26057 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-09 00:17:57 +00:00
Scott Taylor
047f7fb8bd
Produce proper CAST
for DECIMAL
and NUMERIC
in Meta Query. Adds a bunch of unit tests.
...
Props ericlewis.
Fixes #23033 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26055 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 23:10:41 +00:00
Andrew Ozz
8ee904343b
Merge the Widgets Area Chooser feature plugin. First run, see #25821
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26054 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 23:04:35 +00:00
Scott Taylor
cc19bb3a57
Respect the compare
operator value in meta_query
when value
evaluates to null
. Adds Unit Test.
...
Props bradyvercher, gradyetc.
Fixes #22967 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26053 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 22:51:03 +00:00
Scott Taylor
0670cf7cc4
Don't convert URLs inside <pre>
and <code>
tags when parsing string using make_clickable()
.
...
Adds Unit Tests.
Props johnjamesjacoby, helen, nacin, adamsilverstein, sirbrillig.
Fixes #23756 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26052 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 22:37:41 +00:00
Sergey Biryukov
9f9bc20bde
Remove old debug comment. props nofearinc. fixes #25865 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26051 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 22:23:58 +00:00
Scott Taylor
2a8b83fbb0
Split the content to balance open tags when <!--nextpage-->
and <!--more.*?-->
are used. Needs filter inline docs. The 4 unit tests that were previously failing for ticket 6297 now pass.
...
See #6297 .
Props devesine.
git-svn-id: https://develop.svn.wordpress.org/trunk@26050 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 22:21:02 +00:00
Sergey Biryukov
c815622e87
Pass correct 'type' parameter to 'upgrader_process_complete' action in Theme_Upgrader.
...
props bamadesigner.
fixes #25882 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26049 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 17:03:19 +00:00
Lance Willett
15173413e5
Twenty Fourteen: fix case of featured posts has_tag()
check that was adding an empty footer
element. See #25868 , props iamtakashi.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26048 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 05:53:48 +00:00
Lance Willett
2ae699bcf2
Twenty Fourteen: performance win by reducing the number of post thumbnail sizes needed in the theme. Props iamtakashi, closes #25876 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26047 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 05:30:45 +00:00
Dion Hulse
deda988368
Add some missing braces to get_bookmarks() which was causing an early return. Introduced in [25934]. See #25468 . Fixes #25874
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26046 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 02:19:22 +00:00
Lance Willett
fcc86be587
Twenty Fourteen: add brief inline help text for Featured Content controls in Customizer. See #25837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26045 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 01:08:18 +00:00
Lance Willett
db7ec86731
Twenty Fourteen: legibility improvements for small sidebar text. Fixes #25827 props iamtakashi.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26044 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-08 00:54:24 +00:00
Lance Willett
f7c0b07d98
Twenty Fourteen: better override for Background and Colors descriptions in Customizer, props obenland. See #25869 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26039 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 20:36:09 +00:00
Lance Willett
d3bd9f465c
Twenty Fourteen: add contextual help text to Background and Colors controls in Customizer, using the description
field. Props rachelbaker, see #25869 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26038 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 20:27:05 +00:00
Lance Willett
daad8899b1
Twenty Fourteen: move all controls for managing Featured Content to the Customizer. Also implement smart fallbacks to not using a custom tag with the "featured" tag and sticky posts. Props obenland and celloexpressions, see #25549 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26037 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 20:24:24 +00:00
Lance Willett
976df5f9ed
Twenty Fourteen: clean up inconsistencies in content template files. Props iamtakashi, fixes #25868 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26036 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 19:04:56 +00:00
Andrew Ozz
1a396b5d8a
jshint: fixes for revisions.js, props adamsilverstein, fixes #25864 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26035 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 18:13:33 +00:00
Lance Willett
48d44afbb9
Twenty Fourteen: remove the pattern image used as a placeholder for featured images. This greatly improves the "first run" experience of the theme and gives it a more general appeal as a blog theme by putting less of a requirement on featured images. Props iamtakashi, fixes #25859 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26034 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 17:28:56 +00:00
Sergey Biryukov
bc9ca186e5
Add missing semicolon after wpLink object definition. props mt8.biz. fixes #25862 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26033 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 10:41:15 +00:00
Dion Hulse
24c2774076
Fix a case where wp_guess_url() would leave a prefixed path in the generated URL when symlinks were involved. Fixes #25797
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26031 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-07 03:33:11 +00:00
Lance Willett
245b99ceb1
Twenty Fourteen: minor template fixes and a placeholder screenshot.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26030 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 23:53:13 +00:00
Andrew Ozz
859516cd19
Add X-UA-Compatible meta tag in the admin, locking the compatibility mode in IE to the highest supported document mode. Fixes #25575 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26029 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 23:48:02 +00:00
Sergey Biryukov
fc8d09e2a6
A negative term parent value should be sanitized to 0, not 1. Fix a regression in sanitize_term_field() caused by [26010].
...
props mattheu for initial patch.
fixes #25852 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26028 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 23:40:46 +00:00
Sergey Biryukov
2564c74a57
Fix inverted logic for displaying the 'Broken Theme' string. props pavelevap. fixes #25465 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26027 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 22:39:35 +00:00
Lance Willett
8b481f300b
Twenty Fourteen: add full-width featured images for layouts without a content sidebar, but use wp_is_mobile()
to load smaller-sized images for mobile. Props iamtakashi, fixes #25758 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26026 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 20:39:50 +00:00
Sergey Biryukov
cd7deb0e7b
Make Twenty Fourteen the default theme. props markmcwilliams. fixes #25702 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26024 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 20:01:54 +00:00
Lance Willett
8f46d50138
Twenty Fourteen: add missing sidebar for post format archives. Props iamtakashi, fixes #25842 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26023 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 16:11:51 +00:00
Sergey Biryukov
3d26edf1fe
Remove irrelevant @see references. props mt8.biz. fixes #25843 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26022 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-06 10:16:55 +00:00
Lance Willett
e20baa48d8
Twenty Fourteen: improvements to Accent Color behavior, including a case where options were published too soon. Props celloexpressions, fixes #25580 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26021 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 23:28:07 +00:00
Lance Willett
e2bf98b1d3
Twenty Fourteen: add Audio post format support. Props celloexpressions, closes #25807 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26020 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 21:51:03 +00:00
Lance Willett
a009e64c18
Twenty Fourteen: remove a todo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26019 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 21:48:29 +00:00
Lance Willett
b3722a1edd
Twenty Fourteen: add print styles, props iamtakashi. Closes #25830 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26018 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 16:42:29 +00:00
Dion Hulse
34fa8af8bb
Core Upgrader: Include an unmodified $wp_version in Core_Upgrader::upgrade(). This protects against cases where the global $wp_version has been modified. See #25772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26017 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 06:22:23 +00:00
Dion Hulse
18e173ae80
Core Upgrader success statistics: Pass the version of WordPress we're upgrading from, as well as the version being upgraded to. Props nacin. See #25772 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26016 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 06:19:05 +00:00
Dion Hulse
83754e1636
Remove dead code from the Plugin Upgrader class. Props jdgrimes. Fixes #25470
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26015 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 05:47:41 +00:00
Dion Hulse
58e4a21f07
When checking filesystem permissions for core updates, only check the permissions of the files which we need to alter. Props nacin for initial patch. Fixes #25771 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26014 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 05:42:23 +00:00
Dion Hulse
43d50e9c9e
Add a filter to the Background Updates debug email, matches the filter used on the non-debug post-update emails. Props pento. Fixes #25756
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26013 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 02:14:34 +00:00
Scott Taylor
d8f57f88ad
Respect paged
when offset
is used in WP_Query
. Adds unit tests.
...
Props coffee2code.
Fixes #18897 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26012 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 01:34:44 +00:00
Scott Taylor
5643e3ca17
Pass $args
to the export_wp
action in export_wp()
, which is currently passed no arguments.
...
Props nickdaugherty.
Fixes #25574 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26011 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 01:26:49 +00:00
Scott Taylor
ed22220a0f
Cast proper fields to int
when returning from wp_get_object_terms()
. Add term_taxonomy_id
and object_id
to the list in sanitize_term()
and sanitize_term_field()
.
...
Fixes #17646 . Adds unit tests.
Props simonwheatley, dd32, kovshenin.
git-svn-id: https://develop.svn.wordpress.org/trunk@26010 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 01:18:02 +00:00
Scott Taylor
67443e080c
Don't globalize version variables twice. See #23685 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26009 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 00:57:52 +00:00
Scott Taylor
268667e170
When WordPress is loaded in a function (e.g. unit tests) the variables initialized at the top level aren't globals, but we expect them to be. Explicitly make the version variables global.
...
Props nbachiyski.
Fixes #23685 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26008 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-05 00:23:38 +00:00
Scott Taylor
0923b7b93a
Category and tag are typically checked before checking for a custom taxonomy. If the global query matches category or tag (even if it also has tax_query set), return category/tag as the queried object, instead of arbitrarily returning the first term in the tax_query
stack (typically those added with 'pre_get_posts').
...
Real world example: http://www.emusic.com/17dots/topics/daily-download/ - "tag" page, regionalized for US-only content using `pre_get_posts` passing in the terms "US" and "ALL" for "region" (custom tax). All of the theme functions would output "ALL" as the term name. Even though it was a tag archive, the queried object was an arbitrary term from `tax_query`.
See [26006]. All unit tests pass.
Fixes #20767 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26007 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 23:53:55 +00:00
Scott Taylor
5321bc4957
WP_UnitTestCase::go_to()
tried its best to clean up global space, but ultimately fell short. Because it was blowing away WP
every time it was called, it was dropping all the query vars that were registered for custom taxonomies and custom post types (ouch).
...
Introduces `_cleanup_query_vars()`. This is a prerequisite for the unit tests on #20767 . All unit tests pass with this change.
See #20767 .
Fixes #25818 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26006 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 22:46:44 +00:00
Lance Willett
e512f03e75
Twenty Fourteen: update bundled Genericons to the latest version, 3.0.2. Props iamtakashi, closes #25812 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26003 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 18:07:18 +00:00
Lance Willett
848937c672
Twenty Thirteen: capitalize "Not Found" string for use in a page title, see #24891 and r25907.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26002 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 17:56:32 +00:00
Sergey Biryukov
6fa1c89458
Pass comment ID and comment post ID to get_comment_class() in WP_Comments_List_Table::single_row().
...
props drozdz.
fixes #25814 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26001 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-04 10:59:58 +00:00
Sergey Biryukov
acc8ac64b8
Fall back to comment author email in get_avatar() if the user who left the comment no longer exists.
...
props mauryaratan, lite3.
fixes #25803 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26000 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-02 12:19:43 +00:00
Lance Willett
fcc1bb0b65
Twenty Fourteen: revamp the RTL stylesheet and related cleanup. Props iamtakashi, see #25801 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25999 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-02 04:35:35 +00:00
Lance Willett
b604102332
Twenty Fourteen: second pass at revamping the main CSS file. Update pattern graphics to fix issue with orientation changes on tablets. Props iamtakashi, fixes #25592 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25998 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-31 04:27:51 +00:00
Sergey Biryukov
3c625347e6
Correct $user_id parameter description. props mauryaratan, Corphi. fixes #25774 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25997 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-30 20:17:21 +00:00
Andrew Nacin
90202aed35
Explicitly globalize $is_nginx in vars.php.
...
props johnjamesjacoby.
fixes #25776 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25996 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-30 19:36:39 +00:00
Lance Willett
34139288e8
Twenty Fourteen: JavaScript fixes after running jshint, see r25960:
...
* Enforce `===` instead of `==`
* Fix confusing use of `!`
* Remove unused variables like `calcNext`, defined but never used
* Proper use of braces
* Move functions out of if/else statements
* Document unknown functions as Microsoft-specific
git-svn-id: https://develop.svn.wordpress.org/trunk@25995 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-30 18:52:54 +00:00
Drew Jaynes
206d47a9c2
Inline documentation for hooks in wp-admin/network/edit.php and wp-admin/network/users.php.
...
Props aralbald for the initial patch.
Fixes #25728 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25994 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-30 16:03:14 +00:00
Drew Jaynes
3dc92bdd03
Inline documentation for hooks in wp-admin/nav-menus.php.
...
Props pauldewouters for the intial patch.
Fixes #25528 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25993 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-30 15:44:32 +00:00
Sergey Biryukov
bc6c0c9b0f
Correct @since values for various hooks. fixes #25766 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25991 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-30 03:19:16 +00:00
Sergey Biryukov
a1fe0926b3
Remove incorrect @return value from status_header(). Rename some variables for clarity.
...
props tivnet for initial patch.
fixes #25451 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25990 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-29 22:43:08 +00:00
Andrew Nacin
23ad7058fb
Internal linking: Remove explicit orderby, thus allowing the relevancy improvements in #7394 to work.
...
see #25763 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25988 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-29 21:20:59 +00:00
Andrew Nacin
1cce2a89fd
PHP4 compatibility for files loaded before we bail. fixes #25760 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25986 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-29 20:05:16 +00:00