Sergey Biryukov
517e4681b1
Restore "Skip to toolbar" link color. fixes #26146 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26319 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 05:40:36 +00:00
Dion Hulse
2388095150
Theme Installer: Fix the Theme Preview function, and bring the button handling/styling inline with the Customizer. Fixes #26129
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26317 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 04:02:37 +00:00
Dion Hulse
f2ce159ded
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
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26316 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 02:33:19 +00:00
Andrew Ozz
36536bce2f
Fix the editor switching tabs position on small screens, props ryelle, fixes #26151 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26315 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 02:22:15 +00:00
Dion Hulse
9240861283
Themes page: Don't display the Author as a link if the Author has no AuthorURI set. Props morganestes. Fixes #26098
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26314 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 02:09:14 +00:00
Dion Hulse
90fda37ed4
Use static strings instead of a impossible-to-translate string in the Automatic updates debug email. Props SergeyBiryukov. Fixes #25667
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26313 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 01:59:43 +00:00
Sergey Biryukov
11fb804e98
Correct @return value for wp_credits(). props morganestes. fixes #26150 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26312 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 00:24:01 +00:00
Matt Thomas
5667f2459e
Make sure color schemes get the 1px white border around checkboxes on the media uploader. See #26147 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26311 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 00:21:27 +00:00
Matt Thomas
734e42c912
Making a few more adjustments to the uploader progress bar styles. See #26147 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26310 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 00:10:15 +00:00
Matt Thomas
c23257d7f2
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26309 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 00:02:44 +00:00
Matt Thomas
f22fcec003
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 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26308 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 20:03:42 +00:00
Scott Taylor
926427e9ee
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26307 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:30:35 +00:00
Andrew Ozz
3341352a3d
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26306 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:27:47 +00:00
Scott Taylor
36a5af537e
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26304 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:06:26 +00:00
Sergey Biryukov
731d102afb
Use correct variable. props wet. fixes #26139 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26303 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 09:45:22 +00:00
Matt Mullenweg
1b77c66fd8
Why hello there. Bumping for first beta of the 3.8 cycle.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26302 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 04:28:57 +00:00
Sergey Biryukov
4de639c01c
Use correct variable name in _wp_credits_add_profile_link() inline docs.
...
props morganestes.
fixes #26134 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26301 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 03:43:45 +00:00
Matt Thomas
6ed7efe416
Switch to a fluid padding-top on #login so it aligns nicely on small screens. Fixes #26130 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26300 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 00:30:10 +00:00
Matt Thomas
ec65012ce7
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26299 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 00:24:23 +00:00
Matt Thomas
9e59f73a0b
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26298 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 00:20:13 +00:00
Matt Thomas
c8e93a3e16
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26297 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 23:32:36 +00:00
Andrew Ozz
d0a8ff70ec
Widgets: adjust placeholder size to match the widget size. Prevents the widgets from jumping when one is dragged. See #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26296 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 23:28:06 +00:00
Sergey Biryukov
6174ec6e56
Fix JSHint errors in media-models.js.
...
props kadamwhite.
fixes #26132 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26295 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 23:06:41 +00:00
Andrew Nacin
555703dff2
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26294 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 22:57:09 +00:00
Matt Thomas
9df3f0fde2
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26293 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 22:47:25 +00:00
Sergey Biryukov
a25d658720
Fix JSHint errors in image-edit.js.
...
props dougwollison.
fixes #26000 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26292 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 22:46:43 +00:00
Andrew Nacin
faee071ac0
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@26291 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 19:43:36 +00:00
Andrew Ozz
7ae4a321e2
MP6: remove left-over plugin reference, see #25858
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26290 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 19:23:32 +00:00
Matt Thomas
a63545e92b
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26289 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 16:53:05 +00:00
Sergey Biryukov
863cec8252
Only show "Add New Theme" block on Manage Themes screen if not Multisite and the user can install themes.
...
props markoheijnen.
see #25948 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26288 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 14:08:17 +00:00
Sergey Biryukov
09fa0c09bb
Fix JSHint errors in widgets.js.
...
props jorbin.
fixes #26127 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26287 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 11:11:01 +00:00
Andrew Ozz
d8077eae05
Widgets: fix html for sidebars columns when the theme has only one sidebar. See #25952 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26286 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 05:08:22 +00:00
Andrew Ozz
b31a5258cd
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 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26285 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 04:44:21 +00:00
Drew Jaynes
dfd0c43896
Inline documentation for hooks in wp-admin/my-sites.php.
...
Props megane9988, kpdesign.
Fixes #25586 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26284 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 03:35:38 +00:00
Dion Hulse
642b466275
Remove the active row theme/plugin styling on Dashboard -> Updates. Fixes #26125
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26283 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 03:02:30 +00:00
Dion Hulse
c49f6bbb5a
Themes: Add a get_theme_update_available() function to retrieve an update link and use it on the Themes page. See #26078
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26282 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 02:56:52 +00:00
Andrew Ozz
5d5571afe9
Widgets: fix the placeholders dimensions so the sidebars don't jump when dragging a widget, see #25821
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26281 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 02:40:54 +00:00
Dion Hulse
d94a3690e5
Themes page: Remove a z-index which caused the Current Theme overlay to overlay menu's, that otherwise appears unused. See #25948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26280 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 02:29:28 +00:00
Dion Hulse
4818ef5335
Translate the debug update email for development installs. Props Nao for initial patch. See #25667
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26279 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 02:03:30 +00:00
Dion Hulse
56d0e4ae40
Appearance: Fix a PHP Notice when the update transient isn't available (for example, due to a timeout or being used offline). See #25948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26278 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 01:39:40 +00:00
Andrew Ozz
8da914b9ec
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26277 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 01:34:41 +00:00
Andrew Ozz
3fd189d063
Heartbeat: use cached $document instead of $(document), props TobiasBg, see #25073
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26276 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 23:51:44 +00:00
Andrew Ozz
e45ca7cc89
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26275 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 23:46:05 +00:00
Drew Jaynes
db8a601bf9
Inline documentation for hooks in wp-admin/edit-tags.php.
...
Props pauldewouters for the initial patch.
Fixes #25532 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26274 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 23:15:07 +00:00
Andrew Nacin
d8617e0fe9
Remove whitespace from the inside of a <textarea> element, added in [26138] with inline documentation.
...
see #25662 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26273 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 19:34:08 +00:00
Lance Willett
d4855bd5ec
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26272 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 18:26:20 +00:00
Andrew Ozz
fdc08a857e
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
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26271 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 18:02:14 +00:00
Lance Willett
c6a57c410a
Twenty Fourteen: avoid premature creation of tags when using the tag suggestion for Featured Content. Props obenland, fixes #26080 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26270 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 15:26:56 +00:00
Sergey Biryukov
659b2758ff
Fix JSHint errors in gallery.js.
...
props dougwollison.
fixes #25999 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26269 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 11:09:01 +00:00
Drew Jaynes
41f46d5e85
Inline documentation for hooks in wp-includes/cron.php.
...
Props tmtoy for the initial patch.
Fixes #25475 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26267 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 05:00:39 +00:00
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