Matt Thomas
a3f4245602
Update the media upload interfaces to match new admin design:
...
* Replace separate progress bar designs on media-new.php and modal media uploader with a single consistent design
* Remove side borders from list of uploads on media-new.php
* Restyle the selected photo border and checkbox on modal media uploader
* Add a Media Uploader section to color schemes with progress bar and selected photo styles
Fixes #26147 . Props melchoyce, iammattthomas.
Built from https://develop.svn.wordpress.org/trunk@26309
git-svn-id: http://core.svn.wordpress.org/trunk@26213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:03:10 +00:00
Matt Thomas
aed612cca4
Combine border and box-shadow styles for inputs, textareas, and selects. Set border-radius to 0 on these elements to override default styling in iOS. See #24387 .
...
Built from https://develop.svn.wordpress.org/trunk@26308
git-svn-id: http://core.svn.wordpress.org/trunk@26212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 20:04:11 +00:00
Scott Taylor
05b22769e9
In update_meta_cache()
, ensure that meta is always stored in the same order. Removes an unnecessary $wpdb->prepare
statement. Adds unit test.
...
Props mattheu.
Fixes #25511 .
Built from https://develop.svn.wordpress.org/trunk@26307
git-svn-id: http://core.svn.wordpress.org/trunk@26211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 19:31:10 +00:00
Andrew Ozz
1aa122be5e
Widgets:
...
- Prevent dragging of the widget-in-question when the chooser is open.
- Don't show more than one spinner when saving widgets positions.
- Disable selecting of text in the widget title. Prevents selecting/highlighting most of the screen when dragging on slower devices.
See #25821 .
Built from https://develop.svn.wordpress.org/trunk@26306
git-svn-id: http://core.svn.wordpress.org/trunk@26210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 19:28:10 +00:00
Scott Taylor
784bd41501
Prefix the notoptions
cache key in the multisite site-options
group with $wpdb->siteid
to avoid collisions and race conditions when using a fancy multi-network setup. Adds unit test.
...
Fixes #25883 .
Built from https://develop.svn.wordpress.org/trunk@26304
git-svn-id: http://core.svn.wordpress.org/trunk@26209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 19:07:10 +00:00
Sergey Biryukov
129aec7174
Use correct variable. props wet. fixes #26139 .
...
Built from https://develop.svn.wordpress.org/trunk@26303
git-svn-id: http://core.svn.wordpress.org/trunk@26208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 09:46:10 +00:00
Matt Mullenweg
172b3a9f32
Why hello there. Bumping for first beta of the 3.8 cycle.
...
Built from https://develop.svn.wordpress.org/trunk@26302
git-svn-id: http://core.svn.wordpress.org/trunk@26207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 04:29:09 +00:00
Sergey Biryukov
4d56083e5f
Use correct variable name in _wp_credits_add_profile_link() inline docs.
...
props morganestes.
fixes #26134 .
Built from https://develop.svn.wordpress.org/trunk@26301
git-svn-id: http://core.svn.wordpress.org/trunk@26206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 03:44:10 +00:00
Matt Thomas
6139ae6953
Switch to a fluid padding-top on #login so it aligns nicely on small screens. Fixes #26130 .
...
Built from https://develop.svn.wordpress.org/trunk@26300
git-svn-id: http://core.svn.wordpress.org/trunk@26205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 00:31:10 +00:00
Matt Thomas
c0f4798af9
Update error screens with the new visual design:
...
* Bring in new styles for backgrounds/text/link/borders/buttons
* Switch to device-width for the viewport and tweak margins etc so the layout works nicely on all device sizes
Fixes #25956 , props johnbillion.
Built from https://develop.svn.wordpress.org/trunk@26299
git-svn-id: http://core.svn.wordpress.org/trunk@26204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 00:25:10 +00:00
Matt Thomas
5d5114daf9
Bring the install/update screens in line with the new admin design. This affects:
...
* Creating a wp-config.php file
* Installation
* Database upgrade
* Database repair
* Readme.html
* Network sites actions
What's changed:
* Bring background/text/link/border colours in line with mp6
* Bring fonts in line with mp6 (see note below)
* Switch to device-width for the viewport and tweak margins etc so the layout works nicely on all device sizes
* Switch to the new vector WordPress logo in the header to match the log in screen
* Force table cells into rows in the <782px media query
Fixes #25951 , props johnbillion.
Built from https://develop.svn.wordpress.org/trunk@26298
git-svn-id: http://core.svn.wordpress.org/trunk@26203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 00:21:11 +00:00
Matt Thomas
1fc3716b84
Some improvements to the dashboard activity widget:
...
* Use the correct background color for unapproved comments.
* Use the sale box-shadow style instead of a border between rows so the orange border is uninterrupted between multiple pending comments.
See #25858 .
Built from https://develop.svn.wordpress.org/trunk@26297
git-svn-id: http://core.svn.wordpress.org/trunk@26202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 23:33:11 +00:00
Andrew Ozz
93faad2403
Widgets: adjust placeholder size to match the widget size. Prevents the widgets from jumping when one is dragged. See #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26296
git-svn-id: http://core.svn.wordpress.org/trunk@26201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 23:29:09 +00:00
Sergey Biryukov
ef621a3c8b
Fix JSHint errors in media-models.js.
...
props kadamwhite.
fixes #26132 .
Built from https://develop.svn.wordpress.org/trunk@26295
git-svn-id: http://core.svn.wordpress.org/trunk@26200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 23:07:10 +00:00
Andrew Nacin
c8bbc31c39
Add an experimental rssjs feed based on the experimental rss.js spec.
...
This is simply a JSON representation of the RSS 2.0 feed, accessible at /feed/rssjs/ anywhere.
props pento.
see #25639 .
Built from https://develop.svn.wordpress.org/trunk@26294
git-svn-id: http://core.svn.wordpress.org/trunk@26199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 22:58:09 +00:00
Matt Thomas
f26fea70c5
Making improvements to new styles added in the MP6 merge, and addressing visual feedback from core team.
...
Improved and more consistent styling on the widgets & menus pages:
* Use the same visual treatment for both widgets and menus.
* Re-use existing styles from input:focus for draggable elements.
* Use the standard H3 size for widget area titles.
* Re-style the Widgets page drop zone to match drop zone from dashboard.
* Replace the gear icon on Widgets with the standard open/close arrows.
* Remove "Choose a sidebar" header from widget area chooser.
Make open/close arrows more consistent:
* Use the same arrow direction everywhere: pointing down when its container is closed, pointing up when open (following the Dashboard example).
* Set a consistent color for open/close arrows.
* Add a hover color for open/close arrows.
* Make open/close arrows permanently visible; :hover states don't exist on touch.
Make typography and color more consistent:
* Switch all declarations of #dedede to #ddd for simplicity's sake.
* Make H3s the same weight and color as H2s.
* Make select elements the same color as text inputs.
* Make paragraph text #444 so it doesn't look washed out on grey backgrounds.
General improvements:
* Eliminate the border between rows in settings tables.
* Make text and buttons line up in the Customizer.
See #25858 .
Built from https://develop.svn.wordpress.org/trunk@26293
git-svn-id: http://core.svn.wordpress.org/trunk@26198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 22:48:09 +00:00
Sergey Biryukov
701cd7bf86
Fix JSHint errors in image-edit.js.
...
props dougwollison.
fixes #26000 .
Built from https://develop.svn.wordpress.org/trunk@26292
git-svn-id: http://core.svn.wordpress.org/trunk@26197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 22:47:10 +00:00
Andrew Nacin
4f08cf2efa
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@26291
git-svn-id: http://core.svn.wordpress.org/trunk@26196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 19:44:12 +00:00
Andrew Ozz
7276f56681
MP6: remove left-over plugin reference, see #25858
...
Built from https://develop.svn.wordpress.org/trunk@26290
git-svn-id: http://core.svn.wordpress.org/trunk@26195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 19:24:10 +00:00
Matt Thomas
c30631fbcc
Cleanup on inputs:
...
* Remove the !important from checkbox and radio border color
* Remove the redundant #wpbody select rule
* Add checkbox and radio inputs to the standard :focus style rules for inputs
* Remove custom border and box shadow styles from .login inputs
* Don't remove the default outline from select elements since webkit doesn't allow borders on selects
Fixes #26120 .
Built from https://develop.svn.wordpress.org/trunk@26289
git-svn-id: http://core.svn.wordpress.org/trunk@26194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 16:54:10 +00:00
Sergey Biryukov
b545ee773e
Only show "Add New Theme" block on Manage Themes screen if not Multisite and the user can install themes.
...
props markoheijnen.
see #25948 .
Built from https://develop.svn.wordpress.org/trunk@26288
git-svn-id: http://core.svn.wordpress.org/trunk@26193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 14:09:10 +00:00
Sergey Biryukov
6927ba52b1
Fix JSHint errors in widgets.js.
...
props jorbin.
fixes #26127 .
Built from https://develop.svn.wordpress.org/trunk@26287
git-svn-id: http://core.svn.wordpress.org/trunk@26192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 11:12:11 +00:00
Andrew Ozz
c39f333b06
Widgets: fix html for sidebars columns when the theme has only one sidebar. See #25952 .
...
Built from https://develop.svn.wordpress.org/trunk@26286
git-svn-id: http://core.svn.wordpress.org/trunk@26191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 05:09:10 +00:00
Andrew Ozz
30b1c76a01
Widgets: split the sidebars in two containers so there are no empty spaces when they are shown in two columns and some are open, other closed. See #25952 .
...
Built from https://develop.svn.wordpress.org/trunk@26285
git-svn-id: http://core.svn.wordpress.org/trunk@26190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 04:45:10 +00:00
Drew Jaynes
2b0a5aedc9
Inline documentation for hooks in wp-admin/my-sites.php.
...
Props megane9988, kpdesign.
Fixes #25586 .
Built from https://develop.svn.wordpress.org/trunk@26284
git-svn-id: http://core.svn.wordpress.org/trunk@26189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 03:36:09 +00:00
Dion Hulse
09cd62d863
Remove the active row theme/plugin styling on Dashboard -> Updates. Fixes #26125
...
Built from https://develop.svn.wordpress.org/trunk@26283
git-svn-id: http://core.svn.wordpress.org/trunk@26188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 03:03:10 +00:00
Dion Hulse
893262f742
Themes: Add a get_theme_update_available() function to retrieve an update link and use it on the Themes page. See #26078
...
Built from https://develop.svn.wordpress.org/trunk@26282
git-svn-id: http://core.svn.wordpress.org/trunk@26187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 02:57:10 +00:00
Andrew Ozz
7cce4a8d8d
Widgets: fix the placeholders dimensions so the sidebars don't jump when dragging a widget, see #25821
...
Built from https://develop.svn.wordpress.org/trunk@26281
git-svn-id: http://core.svn.wordpress.org/trunk@26186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 02:41:09 +00:00
Dion Hulse
c6224a6c0c
Themes page: Remove a z-index which caused the Current Theme overlay to overlay menu's, that otherwise appears unused. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26280
git-svn-id: http://core.svn.wordpress.org/trunk@26185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 02:30:10 +00:00
Dion Hulse
0755f5a2dc
Translate the debug update email for development installs. Props Nao for initial patch. See #25667
...
Built from https://develop.svn.wordpress.org/trunk@26279
git-svn-id: http://core.svn.wordpress.org/trunk@26184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 02:04:10 +00:00
Dion Hulse
5862ddbd8f
Appearance: Fix a PHP Notice when the update transient isn't available (for example, due to a timeout or being used offline). See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26278
git-svn-id: http://core.svn.wordpress.org/trunk@26183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 01:40:09 +00:00
Andrew Ozz
4070cdcf66
Widgets:
...
- Fix support for expanding (wide) widgets in the Inactive Widgets area.
- Remove resizing of the sidebars height.
- Stop removing unneeded "for" attributes from labels inside the widgets. Was a fix for IE6 odd behaviour.
See #26117 .
Built from https://develop.svn.wordpress.org/trunk@26277
git-svn-id: http://core.svn.wordpress.org/trunk@26182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 01:35:10 +00:00
Andrew Ozz
0dcf40e749
Heartbeat: use cached $document instead of $(document), props TobiasBg, see #25073
...
Built from https://develop.svn.wordpress.org/trunk@26276
git-svn-id: http://core.svn.wordpress.org/trunk@26181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 23:52:10 +00:00
Andrew Ozz
8de3d7d15e
Widgets:
...
- Remove the !important styles that were overriding the widget width when expanded.
- Fix missing border-bottom from widgets when dragged and expanded.
Props shaunandrews, see #26117 .
Built from https://develop.svn.wordpress.org/trunk@26275
git-svn-id: http://core.svn.wordpress.org/trunk@26180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 23:47:10 +00:00
Drew Jaynes
a9a62622bc
Inline documentation for hooks in wp-admin/edit-tags.php.
...
Props pauldewouters for the initial patch.
Fixes #25532 .
Built from https://develop.svn.wordpress.org/trunk@26274
git-svn-id: http://core.svn.wordpress.org/trunk@26179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 23:16:10 +00:00
Andrew Nacin
ad52b4ddd4
Remove whitespace from the inside of a <textarea> element, added in [26138] with inline documentation.
...
see #25662 .
Built from https://develop.svn.wordpress.org/trunk@26273
git-svn-id: http://core.svn.wordpress.org/trunk@26178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 19:35:10 +00:00
Lance Willett
75b70de286
Twenty Fourteen: minor style adjustments for navigation and a new lighter pattern-dark graphic which makes easier to change the background color of the featured image content. Props iamtakashi.
...
Also update stylesheet tags. See #25946 .
Built from https://develop.svn.wordpress.org/trunk@26272
git-svn-id: http://core.svn.wordpress.org/trunk@26177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 18:27:11 +00:00
Andrew Ozz
c19660468b
Widgets: move the chooser inside the selected widget so it inherits the width, add some keyboard shortcuts: tab to select, enter to append and escape to cancel. Props shaunandrews, see #25821
...
Built from https://develop.svn.wordpress.org/trunk@26271
git-svn-id: http://core.svn.wordpress.org/trunk@26176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 18:03:09 +00:00
Lance Willett
8321cdd567
Twenty Fourteen: avoid premature creation of tags when using the tag suggestion for Featured Content. Props obenland, fixes #26080 .
...
Built from https://develop.svn.wordpress.org/trunk@26270
git-svn-id: http://core.svn.wordpress.org/trunk@26175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 15:27:11 +00:00
Sergey Biryukov
3a0a3bb775
Fix JSHint errors in gallery.js.
...
props dougwollison.
fixes #25999 .
Built from https://develop.svn.wordpress.org/trunk@26269
git-svn-id: http://core.svn.wordpress.org/trunk@26174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 11:10:09 +00:00
Drew Jaynes
812e66d61d
Inline documentation for hooks in wp-includes/cron.php.
...
Props tmtoy for the initial patch.
Fixes #25475 .
Built from https://develop.svn.wordpress.org/trunk@26267
git-svn-id: http://core.svn.wordpress.org/trunk@26173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 05:01:11 +00:00
Andrew Nacin
42293a5c7c
Fix JShint errors in user-profile.js.
...
props dougwollison.
fixes #26016 .
Built from https://develop.svn.wordpress.org/trunk@26266
git-svn-id: http://core.svn.wordpress.org/trunk@26172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:40:10 +00:00
Andrew Nacin
56f5b8b4ec
JSHint fixes for inline-edit-tax.js.
...
props dougwollison.
fixes #26002 .
Built from https://develop.svn.wordpress.org/trunk@26265
git-svn-id: http://core.svn.wordpress.org/trunk@26171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:35:09 +00:00
Andrew Nacin
6212b30ddd
JShint fixes for inline-edit-post.js.
...
props dougwollison.
fixes #26001 .
Built from https://develop.svn.wordpress.org/trunk@26264
git-svn-id: http://core.svn.wordpress.org/trunk@26170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:32:10 +00:00
Dion Hulse
0fc053528f
Plugin Deletion: Remove the correct transient after demoving plugins. Props jdgrimes. Fixes #26069
...
Built from https://develop.svn.wordpress.org/trunk@26263
git-svn-id: http://core.svn.wordpress.org/trunk@26169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:17:09 +00:00
Dion Hulse
f29b2e02ac
Plugin Deletion: Properly clear the cache when multiple plugins are deleted. Props jdgrimes. Fixes #26065
...
Built from https://develop.svn.wordpress.org/trunk@26262
git-svn-id: http://core.svn.wordpress.org/trunk@26168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:08:09 +00:00
Andrew Nacin
c43e93d935
Fix spaces/tabs in Twenty Fourteen JS, allowing JSHint to run clean for these files.
...
props dougwollison.
fixes #26031 , #26032 .
Built from https://develop.svn.wordpress.org/trunk@26261
git-svn-id: http://core.svn.wordpress.org/trunk@26167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 03:49:09 +00:00
Lance Willett
9e201fadff
Twenty Fourteen: updates all PHP files to meet new brace style in WP coding standards. Props rickalee for initial patch, fixes #26093 .
...
Built from https://develop.svn.wordpress.org/trunk@26260
git-svn-id: http://core.svn.wordpress.org/trunk@26166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 23:11:10 +00:00
Andrew Ozz
4a5e64e682
Widgets: remove some unused styles, props shaunandrews, see #25821
...
Built from https://develop.svn.wordpress.org/trunk@26259
git-svn-id: http://core.svn.wordpress.org/trunk@26165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 23:06:09 +00:00
Lance Willett
2291d479af
Twenty Fourteen: simplify tags output in content templates, props nacin. See #26093 .
...
Built from https://develop.svn.wordpress.org/trunk@26258
git-svn-id: http://core.svn.wordpress.org/trunk@26164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 22:48:10 +00:00