Andrew Ozz
c944323a4f
Widgets:
...
- Don't deactivate "draggable" on the widget when the chooser is open. Makes it possible to still drag the "widget-in-question".
- Change the chooser's HTML id to a class to avoid collisions when cloning.
- Refresh the "sortable" positions when an open widget is dragged. Fixes problems moving the widget up or down in the same sidebar.
See #25821
Built from https://develop.svn.wordpress.org/trunk@26366
git-svn-id: http://core.svn.wordpress.org/trunk@26267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 22:07:10 +00:00
Peter Westwood
9e8d825b18
Wrap the settings in the main Network Admin settings page in the expected paragraph tags so that the css applies correctly and the layout doesn't look off. Fixes #26211 props hanni.
...
Built from https://develop.svn.wordpress.org/trunk@26362
git-svn-id: http://core.svn.wordpress.org/trunk@26263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 16:58:10 +00:00
Peter Westwood
5a3c558ee0
Improve the description of the Network Admin Email option to better describe what the address will be used for. Fixes #23569 props hanni, iandunn, kovshenin.
...
Built from https://develop.svn.wordpress.org/trunk@26359
git-svn-id: http://core.svn.wordpress.org/trunk@26260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 16:30:10 +00:00
Peter Westwood
1dfdbe7e51
Replace link to Codex with link to new Make page. Fixes #25806 props siobhyb.
...
Built from https://develop.svn.wordpress.org/trunk@26354
git-svn-id: http://core.svn.wordpress.org/trunk@26255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 15:18:09 +00:00
Jon Cave
fd14a5df71
Allow customisation of theme mod defaults via custom-background theme support.
...
Give the power to theme authors to select defaults when registering
custom-background support.
Props obenland. Fixes #20816 .
Built from https://develop.svn.wordpress.org/trunk@26352
git-svn-id: http://core.svn.wordpress.org/trunk@26253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 14:05:10 +00:00
Sergey Biryukov
95ff70fcc0
Remove redundant translation function calls.
...
props markoheijnen.
see #26187 .
Built from https://develop.svn.wordpress.org/trunk@26349
git-svn-id: http://core.svn.wordpress.org/trunk@26250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 12:42:09 +00:00
Dominik Schilling
df6010446a
Don't use esc_attr_e() function for a non-translatable context.
...
props yoavf, mattheu.
fixes #26187 .
Built from https://develop.svn.wordpress.org/trunk@26347
git-svn-id: http://core.svn.wordpress.org/trunk@26248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 12:04:09 +00:00
Dion Hulse
5624f82c38
Use numbered string replacements in 2 new strings. Props dimadin. Fixes #25667
...
Built from https://develop.svn.wordpress.org/trunk@26346
git-svn-id: http://core.svn.wordpress.org/trunk@26247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 06:10:10 +00:00
Drew Jaynes
2768466674
Inline documentation for hooks in wp-admin/plugins.php.
...
Props a.hoereth and kpdesign for the initial patches.
Fixes #25836 .
Built from https://develop.svn.wordpress.org/trunk@26345
git-svn-id: http://core.svn.wordpress.org/trunk@26246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 23:04:10 +00:00
Drew Jaynes
87a3892f45
Inline documentation for hooks in wp-admin/user/admin.php.
...
Props leewillis77 for the initial patch. Props kpdesign.
Fixes #25825 .
Built from https://develop.svn.wordpress.org/trunk@26344
git-svn-id: http://core.svn.wordpress.org/trunk@26245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 22:47:10 +00:00
Drew Jaynes
657824a133
Inline documentation for hooks in wp-admin/theme-install.php.
...
Props leewillis77 and kpdesign for the initial patches.
Fixes #25823 .
Built from https://develop.svn.wordpress.org/trunk@26343
git-svn-id: http://core.svn.wordpress.org/trunk@26244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 22:37:10 +00:00
Drew Jaynes
e90e224cbd
Inline documentation for hooks in wp-admin/includes/class-wp-ms-users-list-table.php.
...
Props ShinichiN, kpdesign.
Fixes #25612 .
Built from https://develop.svn.wordpress.org/trunk@26342
git-svn-id: http://core.svn.wordpress.org/trunk@26243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 22:25:10 +00:00
Drew Jaynes
ff0ace6fe1
Inline documentation for hooks in wp-admin/includes/class-wp-ms-sites-list-table.php.
...
Props ShinichiN, kpdesign.
Fixes #25607 .
Built from https://develop.svn.wordpress.org/trunk@26341
git-svn-id: http://core.svn.wordpress.org/trunk@26242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 21:58:10 +00:00
Drew Jaynes
f82f00a453
Inline documentation for hooks in wp-admin/includes/class-wp-links-list-table.php.
...
Props JoshuaAbenazer, kpdesign.
Fixes #26052 .
Built from https://develop.svn.wordpress.org/trunk@26340
git-svn-id: http://core.svn.wordpress.org/trunk@26241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 21:28:11 +00:00
Drew Jaynes
9c5afca0f3
Cleanup incorrect duplicate comments for hooks in wp-admin/edit-tag-form.php introduced in [26274].
...
Also corrects the @since version for {$taxonomy}_term_new_form_tag in wp-admin/edit-tags.php.
Props kpdesign. See #25532 .
Built from https://develop.svn.wordpress.org/trunk@26339
git-svn-id: http://core.svn.wordpress.org/trunk@26240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 21:18:10 +00:00
Dominik Schilling
d5f124f45e
Add a missing semicolon.
...
Built from https://develop.svn.wordpress.org/trunk@26338
git-svn-id: http://core.svn.wordpress.org/trunk@26239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 16:30:10 +00:00
Dominik Schilling
06b4f99e18
Dashboard: Use _draft_or_post_title()
to display (no title)
if no post title is set. see #25824 .
...
Built from https://develop.svn.wordpress.org/trunk@26337
git-svn-id: http://core.svn.wordpress.org/trunk@26238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 14:13:09 +00:00
Dominik Schilling
2597e857be
Appearance Themes: Don't show theme actions if the current theme doesn't support menus or widgets.
...
props MikeHansenMe.
fixes #25949 .
Built from https://develop.svn.wordpress.org/trunk@26335
git-svn-id: http://core.svn.wordpress.org/trunk@26237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 12:15:10 +00:00
Dominik Schilling
304e3aaa21
Update the Iris color picker to version 1.0.4, which fixes a jQuery-UI CSS conflict.
...
props mattheu, mattwiebe.
fixes #26097 .
Built from https://develop.svn.wordpress.org/trunk@26334
git-svn-id: http://core.svn.wordpress.org/trunk@26236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 12:01:11 +00:00
Matt Thomas
456ce72df2
Make disabled checkboxes and radios slightly less transparent for better visibility on low-contrast screens. Move this rule from colors-fresh to wp-admin as it's not color-specific. Fixes #26004 .
...
Built from https://develop.svn.wordpress.org/trunk@26331
git-svn-id: http://core.svn.wordpress.org/trunk@26233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 19:56:09 +00:00
Matt Thomas
f0ec4ea835
Use the correct shade of blue for the default filled progress bar color, 0074a2 to match the default scheme's highlight color. See #26147 .
...
Built from https://develop.svn.wordpress.org/trunk@26330
git-svn-id: http://core.svn.wordpress.org/trunk@26232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 19:18:10 +00:00
Sergey Biryukov
5f5c95a5b6
Fix keyboard accessibility for row actions in list tables. Restore the CSS part of [25592], accidentally reverted in [26072].
...
fixes #26145 .
Built from https://develop.svn.wordpress.org/trunk@26324
git-svn-id: http://core.svn.wordpress.org/trunk@26227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 08:20:10 +00:00
Sergey Biryukov
8d5b038aa1
Fix thickbox positioning on Manage Themes screen. Adjust thickbox resizing code on various screens for new toolbar height.
...
see #26078 . fixes #26140 .
Built from https://develop.svn.wordpress.org/trunk@26323
git-svn-id: http://core.svn.wordpress.org/trunk@26226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 08:06:09 +00:00
Sergey Biryukov
8a51dfff7d
Remove gradient for invalid menu items. props melchoyce. fixes #26144 .
...
Built from https://develop.svn.wordpress.org/trunk@26322
git-svn-id: http://core.svn.wordpress.org/trunk@26225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 07:36:10 +00:00
Dion Hulse
a4390517ca
Increase the click target to 100% of the add-new-theme element. Props scottbasgaard. Fixes #25960
...
Built from https://develop.svn.wordpress.org/trunk@26321
git-svn-id: http://core.svn.wordpress.org/trunk@26224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 07:22:11 +00:00
Dion Hulse
37d2429ed8
Themes: Remove some unused invalid CSS. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26320
git-svn-id: http://core.svn.wordpress.org/trunk@26223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 06:40:10 +00:00
Dion Hulse
f392843074
Theme Installer: Fix the Theme Preview function, and bring the button handling/styling inline with the Customizer. Fixes #26129
...
Built from https://develop.svn.wordpress.org/trunk@26317
git-svn-id: http://core.svn.wordpress.org/trunk@26221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 04:03:10 +00:00
Dion Hulse
61ed60c619
Themes: Move the escaping of content from JS back to PHP. This allows us to take advantage of the display() WP_Theme method to translate the text properly, and to strip out any HTML tags we don't wish to display. Fixes #26100 . See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26316
git-svn-id: http://core.svn.wordpress.org/trunk@26220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 02:34:10 +00:00
Dion Hulse
3be48e6d26
Themes page: Don't display the Author as a link if the Author has no AuthorURI set. Props morganestes. Fixes #26098
...
Built from https://develop.svn.wordpress.org/trunk@26314
git-svn-id: http://core.svn.wordpress.org/trunk@26218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 02:10:10 +00:00
Dion Hulse
b7872fd70a
Use static strings instead of a impossible-to-translate string in the Automatic updates debug email. Props SergeyBiryukov. Fixes #25667
...
Built from https://develop.svn.wordpress.org/trunk@26313
git-svn-id: http://core.svn.wordpress.org/trunk@26217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 02:00:10 +00:00
Sergey Biryukov
d4a4db64ef
Correct @return value for wp_credits(). props morganestes. fixes #26150 .
...
Built from https://develop.svn.wordpress.org/trunk@26312
git-svn-id: http://core.svn.wordpress.org/trunk@26216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:25:10 +00:00
Matt Thomas
79c8d875fa
Make sure color schemes get the 1px white border around checkboxes on the media uploader. See #26147 .
...
Built from https://develop.svn.wordpress.org/trunk@26311
git-svn-id: http://core.svn.wordpress.org/trunk@26215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:22:11 +00:00
Matt Thomas
9da12ebae7
Making a few more adjustments to the uploader progress bar styles. See #26147 .
...
Built from https://develop.svn.wordpress.org/trunk@26310
git-svn-id: http://core.svn.wordpress.org/trunk@26214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:11:09 +00:00
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
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
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
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
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
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
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