Sergey Biryukov
c7a96bbf29
Use get_current_site() instead of the $current_site global in wp-admin/admin-header.php and is_main_network().
...
fixes #25158 .
Built from https://develop.svn.wordpress.org/trunk@26235
git-svn-id: http://core.svn.wordpress.org/trunk@26142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 13:46:10 +00:00
Sergey Biryukov
4e28c278a5
Fix replacement regex in wp-admin/js/nav-menu.js.
...
props rzen, jeremyfelt.
fixes #26047 .
Built from https://develop.svn.wordpress.org/trunk@26233
git-svn-id: http://core.svn.wordpress.org/trunk@26140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 07:42:11 +00:00
Andrew Nacin
ef007d1a40
Fix JSHint errors in three files.
...
props tommcfarlin.
fixes #25942 , #25943 , #25944 .
Built from https://develop.svn.wordpress.org/trunk@26232
git-svn-id: http://core.svn.wordpress.org/trunk@26139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 23:19:09 +00:00
Andrew Nacin
c03d9d3f01
Revert these action blocks in wp-admin/post.php to their pre-[26144] state.
...
see #25824 .
Built from https://develop.svn.wordpress.org/trunk@26231
git-svn-id: http://core.svn.wordpress.org/trunk@26138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 22:29:09 +00:00
Andrew Nacin
791e807f08
More dash updates.
...
* Shuffle around some pixels.
* Rename some things that weren't caught in [26220].
* Revert default-widgets.php change from [26144].
props lessbloat.
see #25824 .
Built from https://develop.svn.wordpress.org/trunk@26230
git-svn-id: http://core.svn.wordpress.org/trunk@26137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 22:23:09 +00:00
Matt Thomas
7b06d5b0a9
Move media uploader responsive styles from wp-admin.css to media-views.css; clean up duplicated media queries. See #25977 .
...
Built from https://develop.svn.wordpress.org/trunk@26229
git-svn-id: http://core.svn.wordpress.org/trunk@26136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:47:09 +00:00
Andrew Ozz
0395919b11
JSHint fixes for editor.js. Props dougwollison, fixes #25947
...
Built from https://develop.svn.wordpress.org/trunk@26224
git-svn-id: http://core.svn.wordpress.org/trunk@26131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:03:10 +00:00
Matt Thomas
114d47cf18
Make the Install Plugins search results page responsive, so the table doesn't overflow the viewport. Props joen, fixes #25976 .
...
Built from https://develop.svn.wordpress.org/trunk@26223
git-svn-id: http://core.svn.wordpress.org/trunk@26130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 20:59:11 +00:00
Andrew Nacin
963b2aa574
Merge wp_dashboard_recent_quickdrafts() into wp_dashboard_quick_press(). see #25824 .
...
Built from https://develop.svn.wordpress.org/trunk@26221
git-svn-id: http://core.svn.wordpress.org/trunk@26129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 20:40:15 +00:00
Andrew Nacin
2cc8ed1594
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 .
Built from https://develop.svn.wordpress.org/trunk@26220
git-svn-id: http://core.svn.wordpress.org/trunk@26128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 20:15:10 +00:00
Matt Thomas
a9bab73408
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.
Built from https://develop.svn.wordpress.org/trunk@26219
git-svn-id: http://core.svn.wordpress.org/trunk@26127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 19:54:10 +00:00
Andrew Nacin
1832d880a5
Sort themes by name on the new themes.php page. see #25948 .
...
Built from https://develop.svn.wordpress.org/trunk@26216
git-svn-id: http://core.svn.wordpress.org/trunk@26124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 16:42:10 +00:00
Andrew Nacin
52ecbebba3
Remove debug cruft. props dimadin. see #25948 .
...
Built from https://develop.svn.wordpress.org/trunk@26215
git-svn-id: http://core.svn.wordpress.org/trunk@26123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 16:40:09 +00:00
Andrew Nacin
4f17571b3f
Fix JSHint errors in theme-install.js.
...
props kovshenin.
fixes #26045 .
Built from https://develop.svn.wordpress.org/trunk@26210
git-svn-id: http://core.svn.wordpress.org/trunk@26118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 14:16:08 +00:00
Andrew Nacin
a66b92af4c
JSHint fixes for word-count.js and wp-mediaelement.js. see #25187 .
...
Built from https://develop.svn.wordpress.org/trunk@26209
git-svn-id: http://core.svn.wordpress.org/trunk@26117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 06:52:09 +00:00
Andrew Nacin
d7423a466e
Residual JSHint fixes in common.js and edit-comments.js.
...
see #25912 , #25979 .
Built from https://develop.svn.wordpress.org/trunk@26208
git-svn-id: http://core.svn.wordpress.org/trunk@26116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 06:37:09 +00:00
Andrew Nacin
4e72213373
Fix JSHint errors in customize-controls.js.
...
props jorbin.
fixes #25917 .
Built from https://develop.svn.wordpress.org/trunk@26206
git-svn-id: http://core.svn.wordpress.org/trunk@26114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 06:08:10 +00:00
Andrew Nacin
42dab0d17f
Fix JSHint errors in post.js.
...
props atimmer.
fixes #25994 .
Built from https://develop.svn.wordpress.org/trunk@26204
git-svn-id: http://core.svn.wordpress.org/trunk@26112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 05:35:10 +00:00
Andrew Nacin
6292b4c519
Fix JSHint errors in 5 files.
...
props seanchayes.
fixes #26015 , #26020 , #26019 , #26034 , #26022 .
Built from https://develop.svn.wordpress.org/trunk@26200
git-svn-id: http://core.svn.wordpress.org/trunk@26108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 05:16:09 +00:00
Andrew Nacin
12acfa4e81
Fix JSHint errors in 3 files.
...
props atimmer.
fixes #25990 , #25993 , #26008 .
Built from https://develop.svn.wordpress.org/trunk@26199
git-svn-id: http://core.svn.wordpress.org/trunk@26107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 05:12:09 +00:00
Andrew Nacin
8daa128928
Fix JSHint errors in tags.js.
...
props atimmer.
fixes #26009 .
Built from https://develop.svn.wordpress.org/trunk@26198
git-svn-id: http://core.svn.wordpress.org/trunk@26106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 05:02:10 +00:00
Andrew Nacin
7e1bf9f745
Fix JSHint errors in media-upload.js.
...
props iblamefish.
fixes #26023 .
Built from https://develop.svn.wordpress.org/trunk@26196
git-svn-id: http://core.svn.wordpress.org/trunk@26104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 04:53:10 +00:00
Dion Hulse
cd6096c44b
Updates: Force an update check to occur when the 'Check Again' button is used in the Dashboard. Fixes #25831
...
Built from https://develop.svn.wordpress.org/trunk@26192
git-svn-id: http://core.svn.wordpress.org/trunk@26100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 03:04:10 +00:00
Dion Hulse
8d65f7dc7c
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
...
Built from https://develop.svn.wordpress.org/trunk@26186
git-svn-id: http://core.svn.wordpress.org/trunk@26095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 02:31:11 +00:00
Helen Hou-Sandí
a9c3558df2
We only need to declare Open Sans once in wp-admin.css. See #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26185
git-svn-id: http://core.svn.wordpress.org/trunk@26094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 00:15:11 +00:00
Matt Thomas
35557b1393
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 .
Built from https://develop.svn.wordpress.org/trunk@26184
git-svn-id: http://core.svn.wordpress.org/trunk@26093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 00:09:10 +00:00
Andrew Nacin
ae1710882c
Clean up wp-admin/index.php after dash merge. see #25824 .
...
Built from https://develop.svn.wordpress.org/trunk@26183
git-svn-id: http://core.svn.wordpress.org/trunk@26092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 23:59:09 +00:00
Helen Hou-Sandí
70330d468c
Remove now-unused #adminmenushadow. see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26182
git-svn-id: http://core.svn.wordpress.org/trunk@26091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 23:49:10 +00:00
Matt Thomas
5542f1c515
Color schemes should use .ab-icon:before instead of .ab-item:before to target adminbar icons. See #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26181
git-svn-id: http://core.svn.wordpress.org/trunk@26090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 23:46:10 +00:00
Matt Thomas
a71ffcfd24
Move the color rule for adminbar icons to a less-specific selector so that color schemes correctly affect icon color in the toolbar.
...
Built from https://develop.svn.wordpress.org/trunk@26180
git-svn-id: http://core.svn.wordpress.org/trunk@26089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 23:30:10 +00:00
Matt Thomas
922227d137
Reduce responsive menu transition animation from .2s to .05s to reduce lag. See #25969 .
...
Built from https://develop.svn.wordpress.org/trunk@26179
git-svn-id: http://core.svn.wordpress.org/trunk@26088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 23:13:10 +00:00
Matt Thomas
8235710c41
In multisite, set storage space labels to nowrap to prevent unnecessary line breaks. Fixes #25919 , props SergeyBiryukov.
...
Built from https://develop.svn.wordpress.org/trunk@26178
git-svn-id: http://core.svn.wordpress.org/trunk@26087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:48:10 +00:00
Matt Thomas
10878d8422
Move the responsive padding for html.wp-toolbar to wp-admin.css since it affects the page content, not the toolbar.
...
Built from https://develop.svn.wordpress.org/trunk@26177
git-svn-id: http://core.svn.wordpress.org/trunk@26086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:43:10 +00:00
Matt Thomas
ce8be8ec8b
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 .
...
Built from https://develop.svn.wordpress.org/trunk@26176
git-svn-id: http://core.svn.wordpress.org/trunk@26085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:37:09 +00:00
Andrew Nacin
b70b7a0ee1
More specific CSS for the dashboard activity widget.
...
props iammattthomas.
see #26028 .
Built from https://develop.svn.wordpress.org/trunk@26175
git-svn-id: http://core.svn.wordpress.org/trunk@26084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:11:10 +00:00
Andrew Nacin
10858d38b0
JSHint and coding style fixes for xfn.js.
...
props dougwollison.
fixes #26030 .
Built from https://develop.svn.wordpress.org/trunk@26174
git-svn-id: http://core.svn.wordpress.org/trunk@26083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 21:58:10 +00:00
Matt Thomas
a41f3f9bb3
Make the menu location screen full-width at responsive sizes. Fixes #25975 , props johnbillion.
...
Built from https://develop.svn.wordpress.org/trunk@26173
git-svn-id: http://core.svn.wordpress.org/trunk@26082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 20:43:11 +00:00
Matt Thomas
959adbf9f4
In bulk editing mode, make all columns full-width and increase the font size when at responsive sizes. Fixes #25978 , props johnbillion.
...
Built from https://develop.svn.wordpress.org/trunk@26172
git-svn-id: http://core.svn.wordpress.org/trunk@26081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 20:41:10 +00:00
Matt Thomas
46c9c4f33f
Add a :disabled style for radio inputs and checkboxes. Fixes #26004 .
...
Built from https://develop.svn.wordpress.org/trunk@26170
git-svn-id: http://core.svn.wordpress.org/trunk@26079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 19:46:10 +00:00
Andrew Ozz
188fce6c9b
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 .
Built from https://develop.svn.wordpress.org/trunk@26169
git-svn-id: http://core.svn.wordpress.org/trunk@26078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 18:41:10 +00:00
Andrew Nacin
c962236312
Fix JSHint errors in postbox.js.
...
props atimmer.
fixes #26006 .
Built from https://develop.svn.wordpress.org/trunk@26167
git-svn-id: http://core.svn.wordpress.org/trunk@26077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 18:10:09 +00:00
Helen Hou-Sandí
7598382a67
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 .
...
Built from https://develop.svn.wordpress.org/trunk@26165
git-svn-id: http://core.svn.wordpress.org/trunk@26076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 16:42:10 +00:00
Dion Hulse
9109f107c4
Bacground Updates: Move the 'automatic_updates_complete' hook to only fire when some updates have actually been completed. Props nacin. Fixes #25841
...
Built from https://develop.svn.wordpress.org/trunk@26164
git-svn-id: http://core.svn.wordpress.org/trunk@26075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 06:29:09 +00:00
Andrew Nacin
2c1ccede9d
Fix JSHint errors in nav-menu.js.
...
props atimmer.
fixes #25953 .
Built from https://develop.svn.wordpress.org/trunk@26163
git-svn-id: http://core.svn.wordpress.org/trunk@26074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 06:09:11 +00:00
Andrew Nacin
118caf7373
Fix JSHint errors (again) for revisions.js.
...
props adamsilverstein.
fixes #25955 .
Built from https://develop.svn.wordpress.org/trunk@26162
git-svn-id: http://core.svn.wordpress.org/trunk@26073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 05:56:09 +00:00
Andrew Nacin
5468d53024
Fix JSHint errors in custom-header.js and custom-background.js.
...
props jorbin.
fixes #25915 , #25916 .
Built from https://develop.svn.wordpress.org/trunk@26158
git-svn-id: http://core.svn.wordpress.org/trunk@26069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 05:40:11 +00:00
Andrew Nacin
97eff9117b
JSHint: Make commentReply a declared global from elsewhere.
...
props adamsilverstein.
see #25979 , [26156].
Built from https://develop.svn.wordpress.org/trunk@26157
git-svn-id: http://core.svn.wordpress.org/trunk@26068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 05:30:09 +00:00
Andrew Nacin
47559f45bf
Avoid jshint errors in edit-comment.js.
...
props adamsilverstein.
fixes #25979 .
Built from https://develop.svn.wordpress.org/trunk@26156
git-svn-id: http://core.svn.wordpress.org/trunk@26067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 05:10:10 +00:00
Dion Hulse
4fbc450f52
Background Updates: Add a 'automatic_updates_complete' hook that fires after any updates have run. Props pento. Fixes #25841
...
Built from https://develop.svn.wordpress.org/trunk@26155
git-svn-id: http://core.svn.wordpress.org/trunk@26066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 05:08:09 +00:00
Dion Hulse
a71cd00cdb
Background Updates: Spread them over the hour. Props Pento. Fixes #25833 for trunk
...
Built from https://develop.svn.wordpress.org/trunk@26149
git-svn-id: http://core.svn.wordpress.org/trunk@26060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 04:04:10 +00:00
Dion Hulse
02841470a1
Background Updates: Fix a PHP Fatal error which could be encountered on some systems when using FTP. Fixes #25817 for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@26148
git-svn-id: http://core.svn.wordpress.org/trunk@26059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 02:02:09 +00:00
Andrew Nacin
1e74886e46
Move to grunt-sass, which which has less bells and whistles than grunt-contrib-sass but also no Ruby dependency.
...
see #25858 , #22862 , [26143].
Built from https://develop.svn.wordpress.org/trunk@26145
git-svn-id: http://core.svn.wordpress.org/trunk@26056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 23:38:29 +00:00
Andrew Nacin
809b335f7a
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 .
Built from https://develop.svn.wordpress.org/trunk@26144
git-svn-id: http://core.svn.wordpress.org/trunk@26055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 22:09:10 +00:00
Andrew Nacin
d8564963b8
Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out.
...
see #25858 , #22862 .
Built from https://develop.svn.wordpress.org/trunk@26143
git-svn-id: http://core.svn.wordpress.org/trunk@26054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 21:45:11 +00:00
Andrew Nacin
004fef611d
THX needs this file, for now. see #25948 .
...
Built from https://develop.svn.wordpress.org/trunk@26142
git-svn-id: http://core.svn.wordpress.org/trunk@26053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 21:04:05 +00:00
Andrew Nacin
dce9327f2a
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
Built from https://develop.svn.wordpress.org/trunk@26141
git-svn-id: http://core.svn.wordpress.org/trunk@26052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 20:58:05 +00:00
Matt Thomas
87ce6cc5c3
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.
Built from https://develop.svn.wordpress.org/trunk@26140
git-svn-id: http://core.svn.wordpress.org/trunk@26051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 20:06:06 +00:00
Helen Hou-Sandí
437caa9972
Turns out it helps if you add those pesky Sass files if you're going to use a preprocessor. see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26139
git-svn-id: http://core.svn.wordpress.org/trunk@26050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:54:14 +00:00
Sergey Biryukov
9119d189dd
Inline documentation for hooks in wp-admin/includes/class-wp-comments-list-table.php.
...
props siobhyb, kpdesign.
fixes #25662 .
Built from https://develop.svn.wordpress.org/trunk@26138
git-svn-id: http://core.svn.wordpress.org/trunk@26049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:47:10 +00:00
Helen Hou-Sandí
603c1aff6d
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 .
Built from https://develop.svn.wordpress.org/trunk@26137
git-svn-id: http://core.svn.wordpress.org/trunk@26048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:38:38 +00:00
Matt Thomas
2adf09fea9
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.
Built from https://develop.svn.wordpress.org/trunk@26134
git-svn-id: http://core.svn.wordpress.org/trunk@26046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 18:00:10 +00:00
Andrew Nacin
1b3e9d33ce
Fix new RTL file loading when style concatenation is enabled.
...
see #24977 .
Built from https://develop.svn.wordpress.org/trunk@26128
git-svn-id: http://core.svn.wordpress.org/trunk@26040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 05:10:10 +00:00
Helen Hou-Sandí
dcb1701e51
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 .
...
Built from https://develop.svn.wordpress.org/trunk@26125
git-svn-id: http://core.svn.wordpress.org/trunk@26037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:30:10 +00:00
Sergey Biryukov
07544aec69
Restore the $current_site global in wp-admin/admin-header.php to avoid an undefined function error in single site.
...
see #25158 .
Built from https://develop.svn.wordpress.org/trunk@26124
git-svn-id: http://core.svn.wordpress.org/trunk@26036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:17:10 +00:00
Sergey Biryukov
e64191e739
Change jQuery selector in Quick Edit to avoid losing data in IE8.
...
fixes #24923 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26123
git-svn-id: http://core.svn.wordpress.org/trunk@26035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:06:09 +00:00
Sergey Biryukov
74f77b85a6
Use get_current_site() instead of the $current_site global when possible.
...
props jeremyfelt.
fixes #25158 .
Built from https://develop.svn.wordpress.org/trunk@26120
git-svn-id: http://core.svn.wordpress.org/trunk@26032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 03:23:10 +00:00
Sergey Biryukov
eae4e5936f
Use case-insensitive comparison for email addresses. fixes #25779 .
...
Built from https://develop.svn.wordpress.org/trunk@26115
git-svn-id: http://core.svn.wordpress.org/trunk@26027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:41:09 +00:00
Sergey Biryukov
04128120f3
Remove no_update_actions(), unused since [12157]. props jdgrimes. fixes #25923 .
...
Built from https://develop.svn.wordpress.org/trunk@26113
git-svn-id: http://core.svn.wordpress.org/trunk@26025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:18:10 +00:00
Andrew Nacin
72efe7c1ec
Free common.js of JSHint errors.
...
props jorbin.
fixes #25912 .
Built from https://develop.svn.wordpress.org/trunk@26112
git-svn-id: http://core.svn.wordpress.org/trunk@26024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 23:56:09 +00:00
Andrew Nacin
1e30be32c4
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 .
Built from https://develop.svn.wordpress.org/trunk@26107
git-svn-id: http://core.svn.wordpress.org/trunk@26022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 21:19:15 +00:00
Andrew Ozz
541d22e18d
Fix the X-UA-Compatible header for IE8, fixes #25575
...
Built from https://develop.svn.wordpress.org/trunk@26089
git-svn-id: http://core.svn.wordpress.org/trunk@26007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 18:02:10 +00:00
Sergey Biryukov
6484ca83a5
Make suggest script visible in the customizer.
...
props celloexpressions for initial patch.
see #25867 .
Built from https://develop.svn.wordpress.org/trunk@26085
git-svn-id: http://core.svn.wordpress.org/trunk@26005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 17:39:09 +00:00
Sergey Biryukov
698bb5744e
Define ajaxurl in the customizer.
...
props celloexpressions.
see #25866 .
Built from https://develop.svn.wordpress.org/trunk@26082
git-svn-id: http://core.svn.wordpress.org/trunk@26002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 15:47:09 +00:00
Sergey Biryukov
8d659b278c
Fix docblock formatting. fixes #25893 .
...
Built from https://develop.svn.wordpress.org/trunk@26081
git-svn-id: http://core.svn.wordpress.org/trunk@26001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 13:32:10 +00:00
Sergey Biryukov
e5a4485a49
Inline documentation for hooks in wp-admin/edit-link-form.php.
...
props raamdev.
fixes #25447 .
Built from https://develop.svn.wordpress.org/trunk@26080
git-svn-id: http://core.svn.wordpress.org/trunk@26000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 13:16:09 +00:00
Andrew Ozz
92cd3c5ba7
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 .
...
Built from https://develop.svn.wordpress.org/trunk@26078
git-svn-id: http://core.svn.wordpress.org/trunk@25998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 18:33:10 +00:00
Dion Hulse
8d92d7d529
Add a white WordPress logo for use on the about pages. See #25858
...
Built from https://develop.svn.wordpress.org/trunk@26077
git-svn-id: http://core.svn.wordpress.org/trunk@25997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 06:12:09 +00:00
Matt Thomas
f4c0bce32c
Fixing a typo, see #25858 . Props designsimply.
...
Built from https://develop.svn.wordpress.org/trunk@26076
git-svn-id: http://core.svn.wordpress.org/trunk@25996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 03:53:10 +00:00
Matt Thomas
6e7c2d3593
Add missing wordpress-logo.svg, see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26075
git-svn-id: http://core.svn.wordpress.org/trunk@25995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 03:50:10 +00:00
Andrew Nacin
1674d350aa
Fix order, declaration, tabbing of vars in color-picker.js.
...
props kadamwhite.
fixes #25877 .
Built from https://develop.svn.wordpress.org/trunk@26074
git-svn-id: http://core.svn.wordpress.org/trunk@25994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 02:43:10 +00:00
Helen Hou-Sandí
01a96c4a3a
Add spinner images that were inadvertently left out of [26072]. see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26073
git-svn-id: http://core.svn.wordpress.org/trunk@25993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 00:40:09 +00:00
Helen Hou-Sandí
69d432410a
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.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 00:27:10 +00:00
Andrew Nacin
867447c489
Avoid JSHint errors in admin comment.js. Declare globals, use single quotes.
...
props jorbin.
fixes #25885 .
Built from https://develop.svn.wordpress.org/trunk@26068
git-svn-id: http://core.svn.wordpress.org/trunk@25988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 21:30:10 +00:00
Andrew Nacin
8789532eb8
Avoid JSHint errors in color-picker.js. One var
, single quotes, add missing semicolon, declare wpColorPickerL10n as global.
...
props jorbin.
fixes #25877 .
Built from https://develop.svn.wordpress.org/trunk@26067
git-svn-id: http://core.svn.wordpress.org/trunk@25987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 21:29:09 +00:00
Andrew Nacin
c81508dc43
Avoid JSHint errors. Use dot notation when able and declare pwsL10n as a global.
...
props jorbin.
fixes #25870 .
Built from https://develop.svn.wordpress.org/trunk@26065
git-svn-id: http://core.svn.wordpress.org/trunk@25986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 21:21:10 +00:00
Andrew Ozz
753e745796
Merge the Widgets Area Chooser feature plugin. First run, see #25821
...
Built from https://develop.svn.wordpress.org/trunk@26054
git-svn-id: http://core.svn.wordpress.org/trunk@25979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 23:05:10 +00:00
Sergey Biryukov
e15b51efa3
Pass correct 'type' parameter to 'upgrader_process_complete' action in Theme_Upgrader.
...
props bamadesigner.
fixes #25882 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26049
git-svn-id: http://core.svn.wordpress.org/trunk@25974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 17:04:09 +00:00
Andrew Ozz
87570ff683
jshint: fixes for revisions.js, props adamsilverstein, fixes #25864 .
...
Built from https://develop.svn.wordpress.org/trunk@26035
git-svn-id: http://core.svn.wordpress.org/trunk@25964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-07 18:14:10 +00:00
Andrew Ozz
0743625aed
Add X-UA-Compatible meta tag in the admin, locking the compatibility mode in IE to the highest supported document mode. Fixes #25575 .
...
Built from https://develop.svn.wordpress.org/trunk@26029
git-svn-id: http://core.svn.wordpress.org/trunk@25959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-06 23:49:09 +00:00
Sergey Biryukov
23de998e29
Fix inverted logic for displaying the 'Broken Theme' string. props pavelevap. fixes #25465 .
...
Built from https://develop.svn.wordpress.org/trunk@26027
git-svn-id: http://core.svn.wordpress.org/trunk@25957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-06 22:40:08 +00:00
Sergey Biryukov
72d4b140fb
Make Twenty Fourteen the default theme. props markmcwilliams. fixes #25702 .
...
Built from https://develop.svn.wordpress.org/trunk@26024
git-svn-id: http://core.svn.wordpress.org/trunk@25955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-06 20:02:09 +00:00
Dion Hulse
c9683257db
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
...
Built from https://develop.svn.wordpress.org/trunk@26017
git-svn-id: http://core.svn.wordpress.org/trunk@25948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 06:23:10 +00:00
Dion Hulse
9d011a0556
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
...
Built from https://develop.svn.wordpress.org/trunk@26016
git-svn-id: http://core.svn.wordpress.org/trunk@25947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 06:20:09 +00:00
Dion Hulse
38a69e4ccc
Remove dead code from the Plugin Upgrader class. Props jdgrimes. Fixes #25470
...
Built from https://develop.svn.wordpress.org/trunk@26015
git-svn-id: http://core.svn.wordpress.org/trunk@25946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 05:48:10 +00:00
Dion Hulse
b511346319
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
...
Built from https://develop.svn.wordpress.org/trunk@26014
git-svn-id: http://core.svn.wordpress.org/trunk@25945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 05:43:09 +00:00
Dion Hulse
21a3164b3b
Add a filter to the Background Updates debug email, matches the filter used on the non-debug post-update emails. Props pento. Fixes #25756
...
Built from https://develop.svn.wordpress.org/trunk@26013
git-svn-id: http://core.svn.wordpress.org/trunk@25944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 02:15:10 +00:00
Scott Taylor
ba3f75b3c3
Pass $args
to the export_wp
action in export_wp()
, which is currently passed no arguments.
...
Props nickdaugherty.
Fixes #25574 .
Built from https://develop.svn.wordpress.org/trunk@26011
git-svn-id: http://core.svn.wordpress.org/trunk@25942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 01:27:08 +00:00
Sergey Biryukov
cd45adaa0b
Pass comment ID and comment post ID to get_comment_class() in WP_Comments_List_Table::single_row().
...
props drozdz.
fixes #25814 .
Built from https://develop.svn.wordpress.org/trunk@26001
git-svn-id: http://core.svn.wordpress.org/trunk@25934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-04 11:00:11 +00:00
Drew Jaynes
6e15f77e5a
Inline documentation for hooks in wp-admin/network/edit.php and wp-admin/network/users.php.
...
Props aralbald for the initial patch.
Fixes #25728 .
Built from https://develop.svn.wordpress.org/trunk@25994
git-svn-id: http://core.svn.wordpress.org/trunk@25927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-30 16:04:09 +00:00
Drew Jaynes
f34eb77cbc
Inline documentation for hooks in wp-admin/nav-menus.php.
...
Props pauldewouters for the intial patch.
Fixes #25528 .
Built from https://develop.svn.wordpress.org/trunk@25993
git-svn-id: http://core.svn.wordpress.org/trunk@25926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-30 15:45:08 +00:00