Commit Graph

13277 Commits

Author SHA1 Message Date
Andrew Nacin 9fc1d41ec1 Theme Installer: Use JSONP for api.wordpress.org requests.
fixes #27639.

Built from https://develop.svn.wordpress.org/trunk@27961


git-svn-id: http://core.svn.wordpress.org/trunk@27791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-05 20:28:14 +00:00
Andrew Nacin c5127a9232 Theme Installer: Better responsive styles for feature filters.
props matveb.
fixes #27661.

Built from https://develop.svn.wordpress.org/trunk@27959


git-svn-id: http://core.svn.wordpress.org/trunk@27789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-05 20:04:14 +00:00
Andrew Nacin e36c1cbf9e Theme Installer: Fix displaying of errors.
props SergeyBiryukov.
fixes #27640.

Built from https://develop.svn.wordpress.org/trunk@27958


git-svn-id: http://core.svn.wordpress.org/trunk@27788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-05 19:26:14 +00:00
Andrew Nacin df9b44649c RTL: Fix taxonomy quick edit list alignment.
props SergeyBiryukov.
fixes #27629.

Built from https://develop.svn.wordpress.org/trunk@27956


git-svn-id: http://core.svn.wordpress.org/trunk@27786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-05 18:14:15 +00:00
Dominik Schilling 12334929d7 Fix typo in hook description for `async_upload_{$type}`.
Built from https://develop.svn.wordpress.org/trunk@27955


git-svn-id: http://core.svn.wordpress.org/trunk@27785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-05 14:12:16 +00:00
Dominik Schilling 5803c6bc2f Customizer: Add `height: auto;` for `select[multiple]`.
fixes #27662.
Built from https://develop.svn.wordpress.org/trunk@27954


git-svn-id: http://core.svn.wordpress.org/trunk@27784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-05 13:12:15 +00:00
Andrew Ozz 2194145373 When autosaving a new post for the first time after a title was typed, cancel the autosave if the user is submitting the form. (Includes a precommit fix for customize-controls.css.) Props Nessworthy, davidmarichal, fixes #27657
Built from https://develop.svn.wordpress.org/trunk@27951


git-svn-id: http://core.svn.wordpress.org/trunk@27781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-05 01:29:14 +00:00
Andrew Nacin 27c422364c Header images: Accessibility and style improvements. Headers no longer jump around when chosen.
props mcsf, ehg.
see #21785.

Built from https://develop.svn.wordpress.org/trunk@27947


git-svn-id: http://core.svn.wordpress.org/trunk@27777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-04 15:49:15 +00:00
Andrew Nacin 5e79b94d81 Header images: Handle cropping failures.
props ehg.
see #21785.

Built from https://develop.svn.wordpress.org/trunk@27946


git-svn-id: http://core.svn.wordpress.org/trunk@27776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-04 15:48:16 +00:00
Andrew Ozz d4755ebea3 TinyMCE: add image backgrounds for more and nextpage tags (also jshint fix for theme.js). Fixes #27106
Built from https://develop.svn.wordpress.org/trunk@27944


git-svn-id: http://core.svn.wordpress.org/trunk@27774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-04 05:23:14 +00:00
Andrew Ozz 2d0ce517e8 TinyMCE: better calculation for editor height when switching Text to Visual and back. Add stopping of editor resizing when the mouse leaves the browser window. See #27279
Built from https://develop.svn.wordpress.org/trunk@27941


git-svn-id: http://core.svn.wordpress.org/trunk@27771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-04 01:31:15 +00:00
Andrew Nacin be70db8c5f Theme Installer: Center spinner, remove plural string.
fixes #27581. see #27055.

Built from https://develop.svn.wordpress.org/trunk@27940


git-svn-id: http://core.svn.wordpress.org/trunk@27770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-04 00:46:15 +00:00
Sergey Biryukov b48021f65f Clarify tooltips on Edit Image screen.
props siobhan.
fixes #27651.
Built from https://develop.svn.wordpress.org/trunk@27939


git-svn-id: http://core.svn.wordpress.org/trunk@27769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-04 00:03:28 +00:00
Sergey Biryukov 2cb849fc52 Fix typo in verify_file_md5() description. see [25541].
props siobhan.
see #27651.
Built from https://develop.svn.wordpress.org/trunk@27938


git-svn-id: http://core.svn.wordpress.org/trunk@27768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-04 00:03:14 +00:00
Andrew Nacin 0163a95d79 Theme Installer: Fix sorting, counts, keyboard navigation; add prev/next to previews.
props matveb.
see #27055.

Built from https://develop.svn.wordpress.org/trunk@27937


git-svn-id: http://core.svn.wordpress.org/trunk@27767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 23:53:15 +00:00
Andrew Nacin dcb39d4dad Themes: Hide 'Add New' with no JS. see #27055.
Built from https://develop.svn.wordpress.org/trunk@27936


git-svn-id: http://core.svn.wordpress.org/trunk@27766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 23:06:16 +00:00
Dominik Schilling 96203ceb97 Fix styling for plugin update details Thickbox.
see #26952.
Built from https://develop.svn.wordpress.org/trunk@27932


git-svn-id: http://core.svn.wordpress.org/trunk@27762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 14:08:15 +00:00
Sergey Biryukov f8c39d6186 Use multiplication sign instead of a colon for selection size when editing an image.
props siobhan.
fixes #27652.
Built from https://develop.svn.wordpress.org/trunk@27931


git-svn-id: http://core.svn.wordpress.org/trunk@27761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 09:46:17 +00:00
Andrew Ozz a2e1d9f4c8 Edit Image modal:
- Fix issue with adding a link to an image that didn't have one previously.
- Adjust the look-and-feel of the advance options toggle so that it becomes a section heading that can be open/closed.
- Add a Custom Size option to the size drop-down that reveals fields for soft-resizing the image inserted into the post.
Props gcorne, and props sdasse for the design help, see #27366
Built from https://develop.svn.wordpress.org/trunk@27918


git-svn-id: http://core.svn.wordpress.org/trunk@27748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 03:21:15 +00:00
Andrew Nacin 803d4ff54d Remove old links_recently_updated_* DB options that never had a UI.
fixes #27649.

Built from https://develop.svn.wordpress.org/trunk@27916


git-svn-id: http://core.svn.wordpress.org/trunk@27746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 03:10:15 +00:00
Dominik Schilling 158597a5e3 Widget Customizer: Restore deferral of `previewer-loading` class removal until preview is synced.
props westonruter.
fixes #27635.
Built from https://develop.svn.wordpress.org/trunk@27913


git-svn-id: http://core.svn.wordpress.org/trunk@27744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-02 19:25:15 +00:00
Dominik Schilling 074d31f253 Widget Customizer: Don't use opacity for the update spinner.
`opacity` isn't supported in IE8 and makes the spinner always visible.

see #27485.
Built from https://develop.svn.wordpress.org/trunk@27912


git-svn-id: http://core.svn.wordpress.org/trunk@27743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-02 19:20:15 +00:00
Dominik Schilling 944fba8e2f Widget Customizer: Improve support for dynamically-created inputs.
* Re-work how and when widget forms get updated.
* Replace ad hoc hooks system with jQuery events,
* Add `widget-updated`/`widget-synced` events for widget soft/hard updates.
* Enter into a non-live form update mode, where the Apply button is restored when a sanitized form does not have the same fields as currently in the form, and so the fields cannot be easily updated to their sanitized values without doing a complete form replacement. Also restores live update mode if sanitized fields are aligned with the existing fields again.

Note: jQuery events are *not* final yet, see #19675.

props westonruter.
see #27491.
Built from https://develop.svn.wordpress.org/trunk@27909


git-svn-id: http://core.svn.wordpress.org/trunk@27740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-02 18:20:16 +00:00
Dominik Schilling cde6d602ea Widget Customizer: Improve plugin compatibility.
Some plugins are using custom scripts and styles for there widgets. These are available on the Widgets screens, but not in the Customizer yet.
Scripts and styles can be enqueued via: 
* `admin_enqueue_scripts`
* `admin_print_scripts` and `admin_print_scripts-widgets.php`
* `admin_print_styles` and `admin_print_styles-widgets.php`
* `admin_print_footer_scripts` and `admin_footer-widgets.php`
All this hooks are now called in the Customizer too.

Previously we have add the `#widgets-right` ID to a container div via jQuery. Remember: `#widgets-right` exists on the Widgets screen and is used by many plugins to do event delegation from that element.
But since our script files are loaded in the footer, the JavaScript way is a bit late for some plugins.
We have decided to add a `div#widgets-right` container element to customizer. "Less hacky hack."

props westonruter, ocean90. Thanks dpe415 for testing.
fixes #27619.
Built from https://develop.svn.wordpress.org/trunk@27907


git-svn-id: http://core.svn.wordpress.org/trunk@27738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-02 17:04:14 +00:00
Dion Hulse 50a7503c2e Background Updates: Record Plugin & Theme update statistics like we for for Core updates, Pass Plugin/Theme update objects into the Background updater for consistency with Core & Translations. See #27633
Built from https://develop.svn.wordpress.org/trunk@27905


git-svn-id: http://core.svn.wordpress.org/trunk@27736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-02 13:05:15 +00:00
Andrew Ozz 668235fb42 Drag and drop files on the editor to upload: add new argument to wp_editor() to enable, fixes #27465
Built from https://develop.svn.wordpress.org/trunk@27901


git-svn-id: http://core.svn.wordpress.org/trunk@27732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-02 02:42:16 +00:00
Andrew Ozz 2547ba21ae TinyMCE: update to 4.0.21, see #24067
Built from https://develop.svn.wordpress.org/trunk@27897


git-svn-id: http://core.svn.wordpress.org/trunk@27728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 22:46:14 +00:00
Andrew Nacin d330c402c8 Theme Installer fixes:
* Better more filters section. props sonjanyc for some mockups.
 * Better handling of no results.
 * Use # for hrefs.

props matveb.
see #27055.

Built from https://develop.svn.wordpress.org/trunk@27896


git-svn-id: http://core.svn.wordpress.org/trunk@27727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 22:20:14 +00:00
Dominik Schilling dc5effa8cc Cleanup [27892].
Built from https://develop.svn.wordpress.org/trunk@27893


git-svn-id: http://core.svn.wordpress.org/trunk@27724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 15:30:16 +00:00
Dominik Schilling ae1f4e146f Widget Customizer: Use postMessage to highlight widgets in preview or sections/controls in Customizer.
fixes #27622.
Built from https://develop.svn.wordpress.org/trunk@27892


git-svn-id: http://core.svn.wordpress.org/trunk@27723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 15:26:15 +00:00
Dominik Schilling 404fe8710d Widget Customizer: Remove WidgetCustomizer.showFirstSidebarIfRequested().
It's currently unused and needs another iteration.

see #27290.
Built from https://develop.svn.wordpress.org/trunk@27891


git-svn-id: http://core.svn.wordpress.org/trunk@27722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 12:38:15 +00:00
Dominik Schilling 6528b7804b Revert [27654] for strings.
props westonruter.
fixes #27485.
Built from https://develop.svn.wordpress.org/trunk@27890


git-svn-id: http://core.svn.wordpress.org/trunk@27721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 11:08:16 +00:00
Drew Jaynes 4af2840a47 Clarify PHPDoc return description for `media_handle_upload()`.
Props jdgrimes.
Fixes #27519.

Built from https://develop.svn.wordpress.org/trunk@27880


git-svn-id: http://core.svn.wordpress.org/trunk@27711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-31 22:33:15 +00:00
Scott Taylor 01d2062af3 Cleanup up the display, escaping, and handling of ID3 data for media. Rename `wp_get_relevant_id3_keys()` to `wp_get_attachment_id3_keys()`.
Props nacin.
See #27574.


Built from https://develop.svn.wordpress.org/trunk@27869


git-svn-id: http://core.svn.wordpress.org/trunk@27700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-31 05:16:16 +00:00
Andrew Nacin 8acf74fe7b Use correct formatting function. see [27864], see #27574.
Built from https://develop.svn.wordpress.org/trunk@27866


git-svn-id: http://core.svn.wordpress.org/trunk@27697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-30 22:12:29 +00:00
Andrew Nacin c95f232727 Cleanups for audio/video metadata, see [27862].
see #27574.

Built from https://develop.svn.wordpress.org/trunk@27864


git-svn-id: http://core.svn.wordpress.org/trunk@27695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-30 21:08:14 +00:00
Scott Taylor 7eb24edf4e In `wp_generate_attachment_metadata()`, when an audio or video files contains upload-able image bits in its ID3 tags, only upload it if the image has not already been uploaded. Determine this by checking for a `_cover_hash` value in post meta that matches the `md5` representation of the bits.
This prevents uploading an album of 10 songs and subsequently uploading 10 copies of the same album cover.

Props GregLone for the new filter/filter docs: `'attachment_thumbnail_args'`.
Fixes #27573.
 

Built from https://develop.svn.wordpress.org/trunk@27863


git-svn-id: http://core.svn.wordpress.org/trunk@27694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-30 20:54:15 +00:00
Scott Taylor d947a55495 Metadata for audio and video files:
* Make attachment metadata for audio files editable by providing a metabox on the Edit Media page
* Standardize on using the attachment title everywhere
* Label the Caption and Description fields for audio and video appropriately
* Make the playlist Underscore templates more straightforward

See #27574.


Built from https://develop.svn.wordpress.org/trunk@27862


git-svn-id: http://core.svn.wordpress.org/trunk@27693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-30 19:28:16 +00:00
Andrew Ozz bfaf007e97 Editor:
- Use standard button styles for the Quicktags buttons.
- Better style for the TinyMCE buttons (hover/focus/active/disabled).
- Move the fullscreen (DFW) button to the right.
- Better style for the Visual/Text buttons in DFW.
Props avryl, see #27279
Built from https://develop.svn.wordpress.org/trunk@27857


git-svn-id: http://core.svn.wordpress.org/trunk@27688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 23:58:14 +00:00
Dominik Schilling 51c58c5be3 Customizer: Style "Cheatin’ uh?" message like wp_die().
props jackreichert.
fixes #27490
Built from https://develop.svn.wordpress.org/trunk@27856


git-svn-id: http://core.svn.wordpress.org/trunk@27687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 23:19:15 +00:00
Dominik Schilling 2f0c68ad0e Adjust colors in wp_die() and install.css.
Missed in [26788] and [26837], see #25858.
fixes #27589.
Built from https://develop.svn.wordpress.org/trunk@27855


git-svn-id: http://core.svn.wordpress.org/trunk@27686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 23:06:14 +00:00
Helen Hou-Sandí c347b4a5cb Restore some CSS rules that are necessary for non-default schemes. see #18380.
Built from https://develop.svn.wordpress.org/trunk@27852


git-svn-id: http://core.svn.wordpress.org/trunk@27683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 17:48:15 +00:00
Andrew Nacin f320b43587 Custom Headers: Simplify and consolidate the querying of custom headers for the customizer.
props mcsf.
see #21785.

Built from https://develop.svn.wordpress.org/trunk@27849


git-svn-id: http://core.svn.wordpress.org/trunk@27680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 10:53:15 +00:00
Andrew Nacin 495c73fc1c Theme Installer: Avoid race condition during pagination.
props matveb.
see #27055.

Built from https://develop.svn.wordpress.org/trunk@27845


git-svn-id: http://core.svn.wordpress.org/trunk@27679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 09:09:14 +00:00
Andrew Nacin 6531ed1efc Theme Installer: Remove unused variables and undesired commas.
see #27055.

Built from https://develop.svn.wordpress.org/trunk@27843


git-svn-id: http://core.svn.wordpress.org/trunk@27677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 08:53:16 +00:00
Andrew Nacin 3c1cdaa362 Restyle the image editor so it looks way less hideous.
props avryl.
see #27544.

Built from https://develop.svn.wordpress.org/trunk@27842


git-svn-id: http://core.svn.wordpress.org/trunk@27676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 08:51:14 +00:00
Andrew Nacin 5851e00b93 Add a value to the password checkbox when creating a new user so the toggle is remembered.
props chriseverson, SergeyBiryukov.
fixes #27006.

Built from https://develop.svn.wordpress.org/trunk@27838


git-svn-id: http://core.svn.wordpress.org/trunk@27672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 06:23:17 +00:00
Andrew Nacin 665df851ad Restore the original z-index of the sticky admin menu, as first set in [26442].
The inline comment is now correct again. This z-index was changed in [26701], but those circumstances no longer apply after [27532].

props mordauk.
see #26442, #26952.
fixes #26567.

Built from https://develop.svn.wordpress.org/trunk@27833


git-svn-id: http://core.svn.wordpress.org/trunk@27667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 03:30:14 +00:00
Helen Hou-Sandí d88315a6f7 Correct cascade issues and remove some unused CSS for the admin menu. see #18380.
Built from https://develop.svn.wordpress.org/trunk@27832


git-svn-id: http://core.svn.wordpress.org/trunk@27666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 02:47:14 +00:00
Andrew Nacin e96b783f69 Theme Installer: Caching and paginating of API requests.
props matveb.
see #27055.

Built from https://develop.svn.wordpress.org/trunk@27830


git-svn-id: http://core.svn.wordpress.org/trunk@27664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 21:49:14 +00:00
Dominik Schilling d15863865a Widget Customizer: Remove some specific styles for Widget Visibility from Jetpack.
This hasn't worked well and is now fixed upstream.

props westonruter.
see #27112.

Built from https://develop.svn.wordpress.org/trunk@27824


git-svn-id: http://core.svn.wordpress.org/trunk@27658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 20:44:15 +00:00
Drew Jaynes 5613b40981 The `sidebar_admin_setup` hook should only be documented once in wp-admin/widgets.php. All others are duplicates.
See #25374, #25501, #27531.

Built from https://develop.svn.wordpress.org/trunk@27823


git-svn-id: http://core.svn.wordpress.org/trunk@27657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 19:47:15 +00:00
Andrew Nacin db6e8aa84e Install: Allow an installation to go through with a custom user table with the username 'admin'.
This could be better, but this solves the regression caused by [25115].

fixes #27093, see #24078.

Built from https://develop.svn.wordpress.org/trunk@27822


git-svn-id: http://core.svn.wordpress.org/trunk@27656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 19:00:15 +00:00
Dominik Schilling c2f839b7b6 Widget Customizer: Simplify nonces.
see #27534.
Built from https://develop.svn.wordpress.org/trunk@27819


git-svn-id: http://core.svn.wordpress.org/trunk@27653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 15:35:15 +00:00
Dominik Schilling c707faa639 Widget Customizer: Convert static WP_Customize_Widgets class into instantiated class and merge Options_Transaction into WP_Customize_Widgets.
see #27504.
props westonruter.

Built from https://develop.svn.wordpress.org/trunk@27816


git-svn-id: http://core.svn.wordpress.org/trunk@27650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 14:07:14 +00:00
Dominik Schilling ebdd64f6ad Widget Customizer: Set hightlight color to blue. Same color as in [27741].
fixes #27358.
Built from https://develop.svn.wordpress.org/trunk@27814


git-svn-id: http://core.svn.wordpress.org/trunk@27648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 13:33:14 +00:00
Andrew Ozz eb146fd12d Make DFW usable on touch devices: change the toolbar to two rows and keep it and borders visible. See #26907
Built from https://develop.svn.wordpress.org/trunk@27806


git-svn-id: http://core.svn.wordpress.org/trunk@27640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 04:40:14 +00:00
Helen Hou-Sandí 3c72ba4282 Bring keyboard accessibility to the theme install screen and theme action buttons. props jorbin. see #27521.
Built from https://develop.svn.wordpress.org/trunk@27804


git-svn-id: http://core.svn.wordpress.org/trunk@27638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 03:16:15 +00:00
Andrew Nacin c3ca81ba94 Always decode special characters for email subjects.
props tlovett1, jeremyfelt.
fixes #25346.

Built from https://develop.svn.wordpress.org/trunk@27801


git-svn-id: http://core.svn.wordpress.org/trunk@27636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 02:44:15 +00:00
Dominik Schilling e1e09075d4 Widget Customizer: Improve behavior of bigger widgets.
* Support widgets which are higher than browsers viewport.
* Use widgets width as max-width.
* Don't animate the width of wide widgets to make them visible, instead fade them in/out.
* Fix Chrome flickerings while updating wide widgets.

props adamsilverstein, westonruter, ocean90.
see #27348.
Built from https://develop.svn.wordpress.org/trunk@27798


git-svn-id: http://core.svn.wordpress.org/trunk@27633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 23:13:14 +00:00
Dominik Schilling 4038e52276 Add some missing CSS prefixes. props `grunt autoprefixer:core`.
Built from https://develop.svn.wordpress.org/trunk@27790


git-svn-id: http://core.svn.wordpress.org/trunk@27626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 19:17:15 +00:00
Andrew Nacin 999183669c Color scheme support for the new theme installer UI.
props ryelle.
fixes #27522.

Built from https://develop.svn.wordpress.org/trunk@27784


git-svn-id: http://core.svn.wordpress.org/trunk@27620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 17:56:14 +00:00
Andrew Nacin 68bfa704cf Remove unused JS variables after [27770]. see #27013.
Built from https://develop.svn.wordpress.org/trunk@27783


git-svn-id: http://core.svn.wordpress.org/trunk@27619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 17:31:14 +00:00
Andrew Nacin bec78b5e11 Proper IDs for the custom fields box.
props SergeyBiryukov.
fixes #14376.

Built from https://develop.svn.wordpress.org/trunk@27776


git-svn-id: http://core.svn.wordpress.org/trunk@27613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 06:56:14 +00:00
Andrew Nacin ce1ace6347 Fix flyout menus on most mobile devices.
props ocean90.
fixes #26482.

Built from https://develop.svn.wordpress.org/trunk@27775


git-svn-id: http://core.svn.wordpress.org/trunk@27612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 06:30:14 +00:00
Andrew Nacin 1ade5bb2f3 Comments: Update border color and help text.
props bcworkz.
fixes #26967.

Built from https://develop.svn.wordpress.org/trunk@27774


git-svn-id: http://core.svn.wordpress.org/trunk@27611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 05:08:14 +00:00
Helen Hou-Sandí 56a2b67e21 Make sure inputs in Press This have a type so they are styled appropriately. see #18380.
Built from https://develop.svn.wordpress.org/trunk@27772


git-svn-id: http://core.svn.wordpress.org/trunk@27609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 02:39:14 +00:00
Andrew Ozz 15549e75f3 Remove containment of scrolling inside the editor for now. See #27013
Built from https://develop.svn.wordpress.org/trunk@27770


git-svn-id: http://core.svn.wordpress.org/trunk@27607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 02:35:14 +00:00
Andrew Nacin f9964e361c Fix docs for hooks in deactivate_plugins() and activate_plugin(). see #27189, #27188.
Built from https://develop.svn.wordpress.org/trunk@27769


git-svn-id: http://core.svn.wordpress.org/trunk@27606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 02:02:14 +00:00
Helen Hou-Sandí c3b59e06b8 Better, more consistent styling for plugin details Thickbox and TinyMCE help.
props avryl. fixes #26952.

Built from https://develop.svn.wordpress.org/trunk@27765


git-svn-id: http://core.svn.wordpress.org/trunk@27602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 00:08:15 +00:00
Scott Taylor fd0e34ec9f The bulk editor and post format meta box should use the same checks for available post formats.
Props eightface.
Fixes #27187.


Built from https://develop.svn.wordpress.org/trunk@27762


git-svn-id: http://core.svn.wordpress.org/trunk@27599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 00:06:15 +00:00
Andrew Nacin 2133c89e8f Remove select and input from wpautop()'s HTML blocks list.
props rachelbaker, DH-Shredder.
fixes #22230.

Built from https://develop.svn.wordpress.org/trunk@27761


git-svn-id: http://core.svn.wordpress.org/trunk@27598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 00:01:15 +00:00
Andrew Nacin 8ff7cf5c3e Themes screen: Use a normal error for WP_Theme errors.
see #27235 for trunk.

Built from https://develop.svn.wordpress.org/trunk@27760


git-svn-id: http://core.svn.wordpress.org/trunk@27597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 23:37:25 +00:00
Scott Taylor d4e46e3f8d Fix double avatars and JS errors when spamming/trashing comments.
Props avryl, SergeyBiryukov.
Fixes #27329.
 

Built from https://develop.svn.wordpress.org/trunk@27759


git-svn-id: http://core.svn.wordpress.org/trunk@27596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 23:14:15 +00:00
Dominik Schilling d67790d44e Customizer: Improve accessibility.
Prevent the form only from saving when enter is pressed on a select element or an input, which hasn't the button type.

props westonruter, ocean90.
fixes #26633.
Built from https://develop.svn.wordpress.org/trunk@27757


git-svn-id: http://core.svn.wordpress.org/trunk@27594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 22:56:29 +00:00
Helen Hou-Sandí d8f50c98a0 Ensure active tabs have a background color to avoid any awkward bleed-through in case of overlap. props TobiasBg. fixes #27116.
Built from https://develop.svn.wordpress.org/trunk@27749


git-svn-id: http://core.svn.wordpress.org/trunk@27586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 20:57:15 +00:00
Andrew Nacin b5d0471fef Merge some theme update strings.
props pavelevap, yoavf.
fixes #25083.

Built from https://develop.svn.wordpress.org/trunk@27748


git-svn-id: http://core.svn.wordpress.org/trunk@27585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 20:08:15 +00:00
Andrew Nacin 2fd8b60c22 Avoid JS errors before the commentReply script loads. Let's make this unobtrusive soon.
props aubreypwd.
fixes #24741.

Built from https://develop.svn.wordpress.org/trunk@27747


git-svn-id: http://core.svn.wordpress.org/trunk@27584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 18:53:15 +00:00
Andrew Nacin 84a4d86536 Themes screens: Bump to 20 items per page so it fills a high resolution display. see #26968.
Built from https://develop.svn.wordpress.org/trunk@27744


git-svn-id: http://core.svn.wordpress.org/trunk@27581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 17:46:16 +00:00
Andrew Nacin 0331d62fef Fix LTR field handling:
* Restore .ltr class lost in the conversion to RTL as a build process.
 * Make email and url inputs always LTR.
 * Set an email field on user-edit to be LTR.

props MikeHansenMe, yoavf for initial patches.
fixes #26824.

Built from https://develop.svn.wordpress.org/trunk@27743


git-svn-id: http://core.svn.wordpress.org/trunk@27580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 17:12:14 +00:00
Helen Hou-Sandí 457b47d229 Better focus styles for form elements in the admin. These are purposefully not keyed to admin color schemes, as different colors could communicate a state like an error as opposed to focus. props celloexpressions. fixes #27173.
Built from https://develop.svn.wordpress.org/trunk@27741


git-svn-id: http://core.svn.wordpress.org/trunk@27578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 16:06:16 +00:00
Andrew Nacin bd4bce1b65 Don't clip post titles in the dashboard activity widget as it hides direct links to comments.
props SergeyBiryukov.
fixes #27474.

Built from https://develop.svn.wordpress.org/trunk@27740


git-svn-id: http://core.svn.wordpress.org/trunk@27577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 15:05:14 +00:00
Andrew Nacin 8c3925760f Upgrader skins: Strip tags before displaying error data.
fixes #25394.

Built from https://develop.svn.wordpress.org/trunk@27737


git-svn-id: http://core.svn.wordpress.org/trunk@27574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 14:39:16 +00:00
Andrew Nacin 7213fe1518 Ensure proper slashing of the password on install.
This isn't the ideal fix, but it makes things work for now.

props nofearinc.
fixes #26573.

Built from https://develop.svn.wordpress.org/trunk@27736


git-svn-id: http://core.svn.wordpress.org/trunk@27573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 14:31:16 +00:00
Andrew Ozz 339a33bb45 Autosave: don't create the temporary permalink if the title field had focus (the user was typing a title) at the time of the last autosave. Fixes #27503
Built from https://develop.svn.wordpress.org/trunk@27728


git-svn-id: http://core.svn.wordpress.org/trunk@27565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 22:22:14 +00:00
Andrew Nacin c538d8b52b Network Admin: Case-insensitive comparisons for the network-site comparison in the bootstrap.
props jeremyfelt.
fixes #17168.

Built from https://develop.svn.wordpress.org/trunk@27725


git-svn-id: http://core.svn.wordpress.org/trunk@27562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 21:07:15 +00:00
Andrew Nacin 5e526b9a94 Use dashicons in header images in the customizer.
props mcsf.
see #21785.

Built from https://develop.svn.wordpress.org/trunk@27722


git-svn-id: http://core.svn.wordpress.org/trunk@27559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 19:51:15 +00:00
Scott Taylor c38cf4f912 Popular tags' edit links should respect the current post type. Adds unit test.
Props mordauk, fahmiadib.
Fixes #25566.


Built from https://develop.svn.wordpress.org/trunk@27720


git-svn-id: http://core.svn.wordpress.org/trunk@27558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 18:40:15 +00:00
Andrew Nacin 11e5eaa6d5 Network Admin: Fix pagination on site-themes and site-users.
props kawauso, jeremyfelt.
fixes #17545.

Built from https://develop.svn.wordpress.org/trunk@27715


git-svn-id: http://core.svn.wordpress.org/trunk@27554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 16:57:15 +00:00
Andrew Nacin dd70d0e30b Don't allow the image editor thumbnail to be dragged. see #21811.
Built from https://develop.svn.wordpress.org/trunk@27712


git-svn-id: http://core.svn.wordpress.org/trunk@27551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 16:21:16 +00:00
Andrew Nacin fbd1443a0b Restore the update message in the dashboard, removed in 3.8.
props obenland.
fixes #26664.

Built from https://develop.svn.wordpress.org/trunk@27711


git-svn-id: http://core.svn.wordpress.org/trunk@27550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 14:36:15 +00:00
Andrew Nacin 156a5a234f Multisite: Don't set the $super_admins global in grant_super_admin(), revoke_super_admin().
Adds tests and docs.

props jdgrimes.
see #27205.

Built from https://develop.svn.wordpress.org/trunk@27706


git-svn-id: http://core.svn.wordpress.org/trunk@27545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 12:14:14 +00:00
Dominik Schilling ea6c9a5515 Widget Customizer: Improve widget highlighting.
* Prefix box-shadow in inject_preview_css()
* Remove border-radius in inject_preview_css()
* Prevent hidden box-shadows in Customizer

see #27358.
Built from https://develop.svn.wordpress.org/trunk@27702


git-svn-id: http://core.svn.wordpress.org/trunk@27541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 11:48:14 +00:00
Dominik Schilling b7d77cd8bf Widget Customizer: Fix shift+click issue in Firefox to open a widget.
props westonruter.
see #27358.
Built from https://develop.svn.wordpress.org/trunk@27701


git-svn-id: http://core.svn.wordpress.org/trunk@27540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 11:23:15 +00:00
Drew Jaynes 19daa96fb5 Fix typo from [27695]. See #26924.
Built from https://develop.svn.wordpress.org/trunk@27696


git-svn-id: http://core.svn.wordpress.org/trunk@27535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 08:07:15 +00:00
Drew Jaynes 7dc9b02577 Correct misleading verbiage in 'print' hook docs.
Standardizes 'print' hook docs on the concept that hooks are fired when scripts and styles are printed.

Props ericlewis for the initial patch.
Fixes #26924.

Built from https://develop.svn.wordpress.org/trunk@27695


git-svn-id: http://core.svn.wordpress.org/trunk@27534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 08:05:15 +00:00
Scott Taylor d85ac5b841 Let us pass `jshint:core`.
Built from https://develop.svn.wordpress.org/trunk@27693


git-svn-id: http://core.svn.wordpress.org/trunk@27532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-24 23:02:13 +00:00
Scott Taylor 4eadc109f8 In `wp_create_post_autosave()`, intersect the `$new_autosave`'s keys with the keys from `_wp_post_revision_fields()` to ensure that all expected fields are present.
Props kovshenin.
Fixes #25416.


Built from https://develop.svn.wordpress.org/trunk@27690


git-svn-id: http://core.svn.wordpress.org/trunk@27529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-24 20:32:14 +00:00
Andrew Nacin 1e207afcd2 Ensure Thickbox loading spinner is properly sized for HiDPI displays.
props paulwilde.
see #26952.

Built from https://develop.svn.wordpress.org/trunk@27678


git-svn-id: http://core.svn.wordpress.org/trunk@27521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-24 03:46:16 +00:00
Andrew Nacin c08ff58b13 Plugin Installer: Disable 'Latest Version Installed' buttons.
props paulwilde.
see #26952.

Built from https://develop.svn.wordpress.org/trunk@27677


git-svn-id: http://core.svn.wordpress.org/trunk@27520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-24 03:41:15 +00:00
Andrew Nacin 9babc32900 Use correct variable. see [27373].
props TobiasBg.
fixes #14424.

Built from https://develop.svn.wordpress.org/trunk@27675


git-svn-id: http://core.svn.wordpress.org/trunk@27518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-24 03:25:16 +00:00
Drew Jaynes cb58f19135 Inline documentation for hooks in wp-admin/includes/taxonomy.php.
Props kpdesign for the initial patch.
Fixes #27433.

Built from https://develop.svn.wordpress.org/trunk@27674


git-svn-id: http://core.svn.wordpress.org/trunk@27517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-24 03:14:15 +00:00
Drew Jaynes 0cee31065e Inline documentation for wp-admin/includes/class-wp-upgrader.php.
Props kpdesign for some minor cleanup.
Fixes #27436.

Built from https://develop.svn.wordpress.org/trunk@27673


git-svn-id: http://core.svn.wordpress.org/trunk@27516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-24 03:00:15 +00:00
Drew Jaynes 8efd225e4d Inline documentation for hooks in wp-admin/includes/file.php.
Fixes #27429.

Built from https://develop.svn.wordpress.org/trunk@27672


git-svn-id: http://core.svn.wordpress.org/trunk@27515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-24 02:45:15 +00:00
Drew Jaynes b4903834cf Remove some debug cruft accidentally committed in [27670].
See #27430.

Built from https://develop.svn.wordpress.org/trunk@27671


git-svn-id: http://core.svn.wordpress.org/trunk@27514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-24 02:38:17 +00:00
Drew Jaynes 1a0881f341 Inline documentation for hooks in wp-admin/includes/menu.php.
Also fixes syntax for a few unrelated multi-line comments in the file.

Props kpdesign for some minor cleanup.
Fixes #27430.

Built from https://develop.svn.wordpress.org/trunk@27670


git-svn-id: http://core.svn.wordpress.org/trunk@27513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-24 02:35:14 +00:00
Drew Jaynes 0b8798684b Inline documentation for hooks in wp-admin/includes/dashboard.php.
Props mauryaratan. Props kpdesign for some minor cleanup.
Fixes #25752.

Built from https://develop.svn.wordpress.org/trunk@27669


git-svn-id: http://core.svn.wordpress.org/trunk@27512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-24 02:21:15 +00:00
Drew Jaynes 155746131f Inline documentation for hooks in wp-admin/includes/post.php.
Also moves the primary PHPDoc for the `edit_posts_per_page` hook to wp-admin/includes/post.php.

Props kpdesign for some cleanup.
Fixes #27431.

Built from https://develop.svn.wordpress.org/trunk@27667


git-svn-id: http://core.svn.wordpress.org/trunk@27510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-24 01:49:14 +00:00
Andrew Ozz 69b74a75cd Plupload: switch to urlstream upload method when the 'flash' runtime is used in non IE browsers. This ensures cookies are sent but limits the maximum file size that flash can handle.
By default only IE9 and older use flash so this change is mostly for completeness. It would affect only the (extremely rare) cases where a plugin disables the html5 runtime.
Built from https://develop.svn.wordpress.org/trunk@27662


git-svn-id: http://core.svn.wordpress.org/trunk@27505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-23 23:45:19 +00:00
Andrew Ozz 33faa15a11 TinyMCE:
- Fix PressThis styling when the popup is resized.
- Don't force loading of the media JS.
- Add the 'image' plugin as fallback when no media button(s).
- Add back the link icon tooltip/menu item string for translation.
See #24067, see #24409

Built from https://develop.svn.wordpress.org/trunk@27660


git-svn-id: http://core.svn.wordpress.org/trunk@27503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-23 07:10:14 +00:00
Scott Taylor 38d1fb971f Turn on thumbnail support for `attachment:audio` and `attachment:video`. Change conditionals to check for theme OR post type support when determining whether to turn on the Featured Image UI pieces in the admin.
Fixes #27460.


Built from https://develop.svn.wordpress.org/trunk@27657


git-svn-id: http://core.svn.wordpress.org/trunk@27500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-23 02:35:14 +00:00
Andrew Ozz 960b8f86ef Move the styling of drag/drop on the editor uploading to media-views.css, see #27465
Built from https://develop.svn.wordpress.org/trunk@27656


git-svn-id: http://core.svn.wordpress.org/trunk@27499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-23 01:42:15 +00:00
Dominik Schilling 290e5e5271 Widget Customizer: Use Underscores `indexOf` for IE8 compatibility.
props adamsilverstein.
see #27485.
Built from https://develop.svn.wordpress.org/trunk@27654


git-svn-id: http://core.svn.wordpress.org/trunk@27497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-22 21:22:13 +00:00
Dominik Schilling 21158f33f7 Widget Customizer: Fix 'WidgetCustomizerPreview' is undefined error in IE8/9.
* Move `WidgetCustomizerPreview` to `wp.customize.WidgetCustomizerPreview`
* Move `WidgetCustomizerPreview_exports` to export_preview_data()
* Use `_wpWidgetCustomizerPreviewSettings` to transfer settings to `wp.customize.WidgetCustomizerPreview`

see #27485.
Built from https://develop.svn.wordpress.org/trunk@27653


git-svn-id: http://core.svn.wordpress.org/trunk@27496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-22 21:04:15 +00:00
Dominik Schilling 9b0ec406d1 Widget Customizer: Improve error handling. First pass.
* Replace Widget_Customizer_Exception with WP_Error
* Call Previewer.cheatin() to show the cheating message if a user can't change widgets
* Call Previewer.login() to show the login form if a user is logged out
* Show a generic error message on failures

see #27419.
Built from https://develop.svn.wordpress.org/trunk@27652


git-svn-id: http://core.svn.wordpress.org/trunk@27495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-22 20:55:18 +00:00
Dominik Schilling 3da04163cf Widget Customizer: Improve widget search.
* Removes jQuery.liveFilter dependency
* Filters widget collection directly
* Widget's name, ID and description will be searched

fixes #27451.
Built from https://develop.svn.wordpress.org/trunk@27650


git-svn-id: http://core.svn.wordpress.org/trunk@27493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-21 21:13:15 +00:00
Dominik Schilling 1b2bb74f76 Themes: Improve RegExp pattern for search.
* The replacement of spaces is now done globally.
* The search term is now escaped for RegExp meta characters.

props westonruter for the hint.
fixes #27479.
Built from https://develop.svn.wordpress.org/trunk@27649


git-svn-id: http://core.svn.wordpress.org/trunk@27492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-21 21:04:15 +00:00
Andrew Nacin 0e36651b36 Add context to 'Browse' (themes). see #27055, #27453.
Built from https://develop.svn.wordpress.org/trunk@27646


git-svn-id: http://core.svn.wordpress.org/trunk@27489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-21 00:20:15 +00:00
Andrew Ozz 4e30461545 Editing image file: properly refresh the view after restoring the original image or rescaling the image. Props gcorne, see #21811
Built from https://develop.svn.wordpress.org/trunk@27644


git-svn-id: http://core.svn.wordpress.org/trunk@27487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 23:25:14 +00:00
Scott Taylor 4ad3972f74 Fixes for `jshint`
Built from https://develop.svn.wordpress.org/trunk@27643


git-svn-id: http://core.svn.wordpress.org/trunk@27486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 22:27:15 +00:00
Andrew Nacin 3c15a9c9f2 Theme installer:
* Restore the feature filter.
 * Improve responsiveness.
 * Router updates, fixes.
 * Make "Upload Theme" button more consistent with the admin.
 * Avoid theme-count causing filters to jump.

props matveb.
see #27055.

Built from https://develop.svn.wordpress.org/trunk@27636


git-svn-id: http://core.svn.wordpress.org/trunk@27479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 04:20:15 +00:00
Helen Hou-Sandí 593bd2a495 Avoid an undefined function due to `/wp-admin/includes/dashboard.php` being included too late. props obenland. fixes #27457.
Built from https://develop.svn.wordpress.org/trunk@27630


git-svn-id: http://core.svn.wordpress.org/trunk@27473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 01:31:15 +00:00
Dominik Schilling d1f3abe55c Remove "Show" prefix from filter dropdowns, see #26743.
Built from https://develop.svn.wordpress.org/trunk@27626


git-svn-id: http://core.svn.wordpress.org/trunk@27469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 22:13:14 +00:00
Andrew Nacin deb8779af5 More translation cleanups.
Affects widgets (see #27112), custom headers (see #21785), theme installer (see #27055, reverts [27614]), and some media stuff. Untranslates some complicated strings that need additional study.

see #27453.

Built from https://develop.svn.wordpress.org/trunk@27620


git-svn-id: http://core.svn.wordpress.org/trunk@27463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 08:18:14 +00:00
Andrew Nacin d853e11960 Use an ellipsis instead of ...
see #27453, #27055.

Built from https://develop.svn.wordpress.org/trunk@27614


git-svn-id: http://core.svn.wordpress.org/trunk@27457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 05:55:14 +00:00
Andrew Nacin 111e6a73be Skipping placeholders in a string will only catch translators off guard.
see #27453, #27132.

Built from https://develop.svn.wordpress.org/trunk@27613


git-svn-id: http://core.svn.wordpress.org/trunk@27456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 05:53:14 +00:00
Andrew Nacin ecab3c3535 Remove two new strings from post_preview().
see #25272, #27453.

Built from https://develop.svn.wordpress.org/trunk@27612


git-svn-id: http://core.svn.wordpress.org/trunk@27455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 05:49:14 +00:00
Andrew Nacin 064f3d7191 Improve the autosave error message on nonce failure.
see #27453, #25272.

Built from https://develop.svn.wordpress.org/trunk@27611


git-svn-id: http://core.svn.wordpress.org/trunk@27454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 05:47:22 +00:00
Andrew Nacin 722bdc353f Context for theme install strings. Untranslate an error message until it can be cleaned up.
see #27453, #27055.

Built from https://develop.svn.wordpress.org/trunk@27610


git-svn-id: http://core.svn.wordpress.org/trunk@27453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 05:42:15 +00:00
Andrew Nacin 1e6f48044c Remove HTML from a new string. see #26709.
Built from https://develop.svn.wordpress.org/trunk@27605


git-svn-id: http://core.svn.wordpress.org/trunk@27448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 05:28:16 +00:00
Andrew Nacin 45d555941c Combine two strings, using placeholders for filenames and avoiding HTML. see #27057.
Built from https://develop.svn.wordpress.org/trunk@27604


git-svn-id: http://core.svn.wordpress.org/trunk@27447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 05:27:14 +00:00
John Blackbourn 80fe1b0e79 Introduce permission checks for post queries and edit links in the At a Glance dashboard widget. Fixes #27132. Props mattheu.
Built from https://develop.svn.wordpress.org/trunk@27596


git-svn-id: http://core.svn.wordpress.org/trunk@27439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 22:44:27 +00:00
Dominik Schilling 64af78ca43 Widget Customizer: Restore highlighting of widgets in preview.
props westonruter.
see #27358.
Built from https://develop.svn.wordpress.org/trunk@27584


git-svn-id: http://core.svn.wordpress.org/trunk@27427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 15:21:15 +00:00
John Blackbourn 181c2d091e Remove the "See more" toggle from the At a Glance dashboard widget. Fixes #26614.
Built from https://develop.svn.wordpress.org/trunk@27583


git-svn-id: http://core.svn.wordpress.org/trunk@27426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 12:56:14 +00:00
Andrew Nacin 38e79fbfab Style the cursor in the image editor in the media modal.
props tomauger.
fixes #27392.

Built from https://develop.svn.wordpress.org/trunk@27577


git-svn-id: http://core.svn.wordpress.org/trunk@27420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 00:17:15 +00:00
Andrew Nacin b0188044a2 Heartbeat: Hooks should always receive unslashed data.
This affects the privileged hooks; the unprivileged hooks already received unslashed data.

props johnbillion, TobiasBg.
fixes #27260.

Built from https://develop.svn.wordpress.org/trunk@27576


git-svn-id: http://core.svn.wordpress.org/trunk@27419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 00:15:15 +00:00
Dominik Schilling 6197d52c73 Customizer: Use `esc_url_raw` to escape customizer URL settings to prevent double encoding.
props westonruter, ocean90.
fixes #26569.
Built from https://develop.svn.wordpress.org/trunk@27574


git-svn-id: http://core.svn.wordpress.org/trunk@27417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-17 22:16:15 +00:00
Andrew Nacin 3c3e9a530b Filesystem: Fix getchmod() for direct and ssh2 transports, for directories.
props DavidAnderson.
fixes #26598.

Built from https://develop.svn.wordpress.org/trunk@27566


git-svn-id: http://core.svn.wordpress.org/trunk@27409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-17 20:17:15 +00:00
Andrew Nacin 890186e037 Comments dashboard widget: Use the proper class to avoid stretched "unapproved" red lines.
fixes #26910.

Built from https://develop.svn.wordpress.org/trunk@27564


git-svn-id: http://core.svn.wordpress.org/trunk@27407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-17 19:54:16 +00:00
Andrew Nacin 6c03a28512 Cap and theme support checks for the welcome panel.
props MikeHansenMe.
fixes #26276.

Built from https://develop.svn.wordpress.org/trunk@27563


git-svn-id: http://core.svn.wordpress.org/trunk@27406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-17 19:47:15 +00:00
Sergey Biryukov bfef727df3 Avoid PHP notices in Media Library if an attachment parent post type no longer exists.
props wpsmith.
fixes #27439.
Built from https://develop.svn.wordpress.org/trunk@27560


git-svn-id: http://core.svn.wordpress.org/trunk@27403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-17 15:33:15 +00:00
Andrew Ozz 513b6992e5 Restyle the plugin install details modal to match the rest of the admin. Props avryl and paulwilde for initial mockup, see #26952
Built from https://develop.svn.wordpress.org/trunk@27559


git-svn-id: http://core.svn.wordpress.org/trunk@27402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-16 18:28:17 +00:00
Andrew Nacin 5965616aca Define DOING_AJAX earlier in async-upload.php.
props avryl.
fixes #27387. see [22902].

Built from https://develop.svn.wordpress.org/trunk@27558


git-svn-id: http://core.svn.wordpress.org/trunk@27401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-15 19:59:15 +00:00
Andrew Nacin 0f32a52afa Themes screens: Lose search input focus when pressing enter.
This allows the keyboard to close on iOS, for example.

props matveb.
fixes #27233.

Built from https://develop.svn.wordpress.org/trunk@27555


git-svn-id: http://core.svn.wordpress.org/trunk@27398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-15 05:14:15 +00:00
Andrew Nacin 5803e838e4 Permalink Settings: Don't show "update your .htaccess now" if nothing needs to change.
props ldebrouwer, MikeHansenMe.
fixes #19268.

Built from https://develop.svn.wordpress.org/trunk@27549


git-svn-id: http://core.svn.wordpress.org/trunk@27392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-15 04:35:16 +00:00
Sergey Biryukov ab03c0db64 Fix .comment-grey-bubble markup and remove a stray </h5> tag.
props avryl.
fixes #27408.
Built from https://develop.svn.wordpress.org/trunk@27548


git-svn-id: http://core.svn.wordpress.org/trunk@27391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-15 04:32:15 +00:00
Andrew Nacin 2cf06e429f All destructive row actions should be styled as such.
This fixes spam and trash links in the dashboard activity widget.

props avryl.
fixes #27370.

Built from https://develop.svn.wordpress.org/trunk@27547


git-svn-id: http://core.svn.wordpress.org/trunk@27390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-15 04:26:16 +00:00
Dion Hulse 87c6791a41 WP_Filesystem: Update request_filesystem_credentials() to handle the correct ssh value of FS_METHOD. Props jnielsendotnet. Fixes #27265
Built from https://develop.svn.wordpress.org/trunk@27546


git-svn-id: http://core.svn.wordpress.org/trunk@27389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-15 03:09:16 +00:00
Dominik Schilling 574c2967b5 Customizer: Introduce a processing state.
The processing state will prevent a save when it doesn't return 0.
Widget Customizer will use the state to prevent a save while a widget is updating, which is an asynchronous process.

props westonruter.
fixes #27390.
Built from https://develop.svn.wordpress.org/trunk@27540


git-svn-id: http://core.svn.wordpress.org/trunk@27383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-14 19:16:14 +00:00
Andrew Ozz 93ec80e732 Modals: darken all overlays, update all box-shadows and headings, correct thickbox styling, make the link modal narrower and bring back the animation (css transition). Props avryl, see #26952
Built from https://develop.svn.wordpress.org/trunk@27532


git-svn-id: http://core.svn.wordpress.org/trunk@27375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-14 05:55:16 +00:00
John Blackbourn 184dc2bc33 `figcaption` should not be treated as a block-level element by `wpautop()`. See #25646. Props oso96_2000.
Built from https://develop.svn.wordpress.org/trunk@27527


git-svn-id: http://core.svn.wordpress.org/trunk@27370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-13 21:51:16 +00:00
Dominik Schilling f48e3f5719 Widget Customizer: Move style/script registration to script loader. Update Gruntfile.js.
fixes #27356.
Built from https://develop.svn.wordpress.org/trunk@27525


git-svn-id: http://core.svn.wordpress.org/trunk@27368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-13 19:41:14 +00:00
Dominik Schilling f46a085f7c Widget Customizer: Use ?wp_customize=on.
Let _wp_customize_include() handle customizer initialisation.
Sets also the priority for the Add Widget and Reorder buttons and removes debug cruft.

props westonruter.
fixes #27291.
Built from https://develop.svn.wordpress.org/trunk@27524


git-svn-id: http://core.svn.wordpress.org/trunk@27367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-13 18:38:14 +00:00
Scott Taylor 00e63d2d2c The Image Editor should apply changes to custom image sizes by checking `$_wp_additional_image_sizes` for `$size` in `wp_save_image()` before arbitrarily going to the options table.
Props Otto42, SergeyBiryukov.
Fixes #19889.


Built from https://develop.svn.wordpress.org/trunk@27522


git-svn-id: http://core.svn.wordpress.org/trunk@27365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-13 04:18:14 +00:00
Andrew Nacin 8e6ec4f72c Use correct variable in themes JS, fixes themes.php.
props SergeyBiryukov.
fixes #27360.

Built from https://develop.svn.wordpress.org/trunk@27509


git-svn-id: http://core.svn.wordpress.org/trunk@27352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-12 00:29:15 +00:00
John Blackbourn cc7f0b61ec Correct the "View Post" button link when changing a post slug. Fixes #16477. Props aubreypwd.
Built from https://develop.svn.wordpress.org/trunk@27508


git-svn-id: http://core.svn.wordpress.org/trunk@27351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 23:00:16 +00:00
John Blackbourn 75b86ecfb0 Avoid searching HTML tags when searching plugins and themes. Fixes #27136. Props enej.
Built from https://develop.svn.wordpress.org/trunk@27507


git-svn-id: http://core.svn.wordpress.org/trunk@27350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 22:24:15 +00:00
John Blackbourn f0f492a030 Present a normal admin page when bailing out of the Plugin Editor screen. Fixes #27067. Props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@27506


git-svn-id: http://core.svn.wordpress.org/trunk@27349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 22:14:14 +00:00
John Blackbourn 099447fba5 Add missing hyperlink styles to the login screen. Fixes #27245.
Built from https://develop.svn.wordpress.org/trunk@27505


git-svn-id: http://core.svn.wordpress.org/trunk@27348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 20:51:16 +00:00
Sergey Biryukov 6eb821aa04 Avoid unintentional overriding of .spinner styles for HiDPI displays.
props mauryaratan for initial patch.
fixes #27269.
Built from https://develop.svn.wordpress.org/trunk@27504


git-svn-id: http://core.svn.wordpress.org/trunk@27347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 19:42:14 +00:00
Sergey Biryukov f29df4f74c Remove duplicate description of WP_List_Table class.
props bravokeyl.
fixes #27346.
Built from https://develop.svn.wordpress.org/trunk@27502


git-svn-id: http://core.svn.wordpress.org/trunk@27345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 16:23:15 +00:00
Andrew Nacin fe260c6a15 Assign correct variable.
props nendeb55.
fixes #27351. see #14424, [27373].

Built from https://develop.svn.wordpress.org/trunk@27501


git-svn-id: http://core.svn.wordpress.org/trunk@27344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 13:24:14 +00:00
Andrew Nacin 9aca2a65f8 Bring the theme browsing experience from 3.8 to the theme installer. First pass.
props matveb with assists from me and gcorne.
see #27055.

Built from https://develop.svn.wordpress.org/trunk@27499


git-svn-id: http://core.svn.wordpress.org/trunk@27341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 07:47:15 +00:00
Andrew Nacin 69ccc8b53d JS linting for [27497].
see #21785.

Built from https://develop.svn.wordpress.org/trunk@27498


git-svn-id: http://core.svn.wordpress.org/trunk@27340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 04:20:14 +00:00
Andrew Nacin a589d9d757 Add header image uploads with cropping to the customizer.
props mcsf, ehg, gcorne.
see #21785.

Built from https://develop.svn.wordpress.org/trunk@27497


git-svn-id: http://core.svn.wordpress.org/trunk@27339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 04:13:16 +00:00
Drew Jaynes a271ca696b Fix docs for the `deactivate_$plugin` and `deactivated_plugin` hooks.
Props wpsmith for the original patch.
Fixes #27189

Built from https://develop.svn.wordpress.org/trunk@27491


git-svn-id: http://core.svn.wordpress.org/trunk@27335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-10 21:34:17 +00:00
Andrew Ozz 6f2ac2fc05 Adjust the height of the header and footer in the Find Posts modal on the Media Library screen, see #26952
Built from https://develop.svn.wordpress.org/trunk@27485


git-svn-id: http://core.svn.wordpress.org/trunk@27329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-09 22:20:14 +00:00
Andrew Nacin de769c267f Editor: Show 'View Post' for any post the author can read.
This expands it to private posts and matches the logic in the toolbar.

props mordauk, SergeyBiryukov.
fixes #27059.

Built from https://develop.svn.wordpress.org/trunk@27483


git-svn-id: http://core.svn.wordpress.org/trunk@27327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-09 13:53:14 +00:00
Dominik Schilling 3e356d7bdf Admin Menu: Set default value of `$icon_url` in `add_menu_page()` to `dashicons-admin-generic`, fixes #26630.
Built from https://develop.svn.wordpress.org/trunk@27482


git-svn-id: http://core.svn.wordpress.org/trunk@27326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-09 11:13:13 +00:00
Andrew Nacin fabb6d4898 Allow $crop in add_image_size() to receive crop anchors (top, left, right, bottom, center).
This also applies to set_post_thumbnail_size() and image_resize_dimensions().

props bradt, wonderboymusic, DH-Shredder.
fixes #19393.

Built from https://develop.svn.wordpress.org/trunk@27472


git-svn-id: http://core.svn.wordpress.org/trunk@27317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 06:14:15 +00:00
Andrew Nacin 17ccbc86c9 Rename the new page_templates filter to theme_page_templates, and pass it a post object for proper context.
see #13265.

Built from https://develop.svn.wordpress.org/trunk@27470


git-svn-id: http://core.svn.wordpress.org/trunk@27315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 04:19:16 +00:00
Andrew Nacin dce0b9adea Use SSL when linking to WordPress.org. see #27115.
Built from https://develop.svn.wordpress.org/trunk@27469


git-svn-id: http://core.svn.wordpress.org/trunk@27314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 04:14:15 +00:00
Andrew Nacin 833c8e5419 Widgets dashicons update.
props melchoyce, michael-arestad, empireoflight.
see #26936.

Built from https://develop.svn.wordpress.org/trunk@27468


git-svn-id: http://core.svn.wordpress.org/trunk@27313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 03:38:16 +00:00
Andrew Nacin edfe443afc Remove lame debugging. see #23057.
Built from https://develop.svn.wordpress.org/trunk@27467


git-svn-id: http://core.svn.wordpress.org/trunk@27312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 03:16:27 +00:00
Andrew Nacin 60953e88fd Normalize $reassign in wp_delete_user() to ensure the hooks receive consistent values.
fixes #23057.

Built from https://develop.svn.wordpress.org/trunk@27466


git-svn-id: http://core.svn.wordpress.org/trunk@27311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 03:16:14 +00:00
Sergey Biryukov d191483c4f Use correct function name. see [27374].
props lpointet.
see #14424.
Built from https://develop.svn.wordpress.org/trunk@27465


git-svn-id: http://core.svn.wordpress.org/trunk@27310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 02:45:15 +00:00
Andrew Ozz c3212baa4d Limit the drag/drop upload only to newer browsers (IE10+), add a fullscreen dropzone in DFW mode, props kovshenin, see #19845
Built from https://develop.svn.wordpress.org/trunk@27464


git-svn-id: http://core.svn.wordpress.org/trunk@27309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 01:35:15 +00:00
Sergey Biryukov 0a0589414e Fix docblock formatting in [27462]. see #23057.
Built from https://develop.svn.wordpress.org/trunk@27463


git-svn-id: http://core.svn.wordpress.org/trunk@27308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 01:26:13 +00:00
Sergey Biryukov 9c6504120f Pass $reassign parameter to 'delete_user' and 'deleted_user' actions.
props genkisan.
fixes #23057.
Built from https://develop.svn.wordpress.org/trunk@27462


git-svn-id: http://core.svn.wordpress.org/trunk@27307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 01:23:15 +00:00
Andrew Ozz 330a752417 Adjust .find-box-inside responsive style, props avryl, see #26952
Built from https://develop.svn.wordpress.org/trunk@27461


git-svn-id: http://core.svn.wordpress.org/trunk@27306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 00:47:14 +00:00
Andrew Ozz a8a20f4bb7 Set minimum z-index for the TinyMCE modals and adjust the z-index in DFW, see #26952
Built from https://develop.svn.wordpress.org/trunk@27460


git-svn-id: http://core.svn.wordpress.org/trunk@27305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 00:41:16 +00:00
Helen Hou-Sandí 4bb7e03548 At long last, a first pass at bringing the image editor into the media modal. props gcorne, DH-Shredder, tomauger. see #21811.
Built from https://develop.svn.wordpress.org/trunk@27445


git-svn-id: http://core.svn.wordpress.org/trunk@27292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-06 22:55:14 +00:00
Dominik Schilling f66096e4b4 Add missing Dashicons classes to Network Admin menu, see #26630.
Built from https://develop.svn.wordpress.org/trunk@27444


git-svn-id: http://core.svn.wordpress.org/trunk@27291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-06 22:52:15 +00:00
Andrew Nacin 449ffedfb9 maybe_regenerate_attachment_metadata() is now wp_maybe_generate_attachment_metadata().
props kovshenin.
fixes #26825.

Built from https://develop.svn.wordpress.org/trunk@27441


git-svn-id: http://core.svn.wordpress.org/trunk@27288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-06 19:34:14 +00:00
Dominik Schilling 5c88a352c0 Revisions: Restore [24929] which was reverted in [26072].
props avryl.
fixes #27267.
Built from https://develop.svn.wordpress.org/trunk@27437


git-svn-id: http://core.svn.wordpress.org/trunk@27284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-06 16:50:15 +00:00
Scott Taylor 01c0b48822 Make widget customizer code pass JSHint.
Fixes #27298.


Built from https://develop.svn.wordpress.org/trunk@27436


git-svn-id: http://core.svn.wordpress.org/trunk@27283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-06 16:45:15 +00:00
Drew Jaynes c64dc20146 Inline documentation for hooks in wp-admin/includes/class-wp-theme-install-list-table.php.
Props kpdesign for the cleanup.
Fixes #27293.

Built from https://develop.svn.wordpress.org/trunk@27430


git-svn-id: http://core.svn.wordpress.org/trunk@27277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-06 13:44:14 +00:00
Dominik Schilling 192afe238a Admin Menu: Use `.dashicons-before` as default $img_class.
props kovshenin for noticing and testing.
see #26630.
Built from https://develop.svn.wordpress.org/trunk@27425


git-svn-id: http://core.svn.wordpress.org/trunk@27272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 23:22:15 +00:00
Andrew Nacin e853a9cc57 Add widget management to the customizer.
This brings in the Widget Customizer plugin: https://wordpress.org/plugins/widget-customizer/.

props westonruter, shaunandrews, michael-arestad, johnregan3, akeda, topher1kenobe, topquarky, bobbravo2, ricardocorreia. And for good measure, props westonruter.
see #27112.

Built from https://develop.svn.wordpress.org/trunk@27419


git-svn-id: http://core.svn.wordpress.org/trunk@27266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 20:41:14 +00:00
Dominik Schilling d23cd0aa50 Introduce a `.dashicons-before` CSS class.
If you want to use a Dashicon before an element you can use the class because it will not change the elements content styling. With that you don't need to copy the entire `.dashicons` styling to your :before styling anymore.
To demonstrate this change, Admin Menu now uses Dashicons classes directly.

And it fixes a glitch in IE.

fixes #26630.
Built from https://develop.svn.wordpress.org/trunk@27418


git-svn-id: http://core.svn.wordpress.org/trunk@27265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 20:04:14 +00:00
Helen Hou-Sandí 84946c75e3 Indicate that the user deletion process affects all content attributed to a given user, not just posts. props seanchayes. fixes #26709.
Built from https://develop.svn.wordpress.org/trunk@27416


git-svn-id: http://core.svn.wordpress.org/trunk@27263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 19:20:14 +00:00
John Blackbourn 4676621110 Fix bulk activation of network-only plugins. Fixes #26487. Props dd32.
Built from https://develop.svn.wordpress.org/trunk@27413


git-svn-id: http://core.svn.wordpress.org/trunk@27260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 18:26:15 +00:00
Dominik Schilling 4048861564 Admin Menu: Center menu images vertically, see #26630.
Built from https://develop.svn.wordpress.org/trunk@27410


git-svn-id: http://core.svn.wordpress.org/trunk@27257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 12:59:14 +00:00
Andrew Nacin 39fcb291fe Always convert auto-drafts to drafts in edit_draft() and _wp_translate_postdata().
This regressed due to refactoring in [26995]. This commit fixes Quick Draft.

see #25272.

Built from https://develop.svn.wordpress.org/trunk@27405


git-svn-id: http://core.svn.wordpress.org/trunk@27252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 06:26:14 +00:00
Andrew Ozz 7121bb490d Restyles the modal for attaching media to posts, take II (also some autoprefixer and imagemin). Props avryl, see #26952.
Built from https://develop.svn.wordpress.org/trunk@27403


git-svn-id: http://core.svn.wordpress.org/trunk@27250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 03:54:15 +00:00
Andrew Ozz 19efb78b48 Restyles the modal for attaching media to posts, props avryl, see #26952
Built from https://develop.svn.wordpress.org/trunk@27401


git-svn-id: http://core.svn.wordpress.org/trunk@27248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-04 23:11:13 +00:00
Sergey Biryukov 3533e3575f Use esc_attr_e() instead of _e() for attribute values.
props DJPaul.
fixes #27274.
Built from https://develop.svn.wordpress.org/trunk@27400


git-svn-id: http://core.svn.wordpress.org/trunk@27247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-04 21:10:15 +00:00
Andrew Nacin f31ac162f5 Update the Customizer API inline docs.
props ericlewis.
fixes #27065.

Built from https://develop.svn.wordpress.org/trunk@27398


git-svn-id: http://core.svn.wordpress.org/trunk@27246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-04 20:21:14 +00:00
Andrew Nacin 2c68373c83 Convert the post lock icon to a dashicon.
props melchoyce, DH-Shredder.
fixes #26796.

Built from https://develop.svn.wordpress.org/trunk@27392


git-svn-id: http://core.svn.wordpress.org/trunk@27240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-04 06:53:14 +00:00
Andrew Ozz 2ccc89edfd DFW: revert adding the 'image' button, images are edited in the media modal. See #24067.
Built from https://develop.svn.wordpress.org/trunk@27391


git-svn-id: http://core.svn.wordpress.org/trunk@27239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-04 04:08:14 +00:00
Dominik Schilling 00f224624e "At a Glance" widget: Move `get_avatar()` line out of if-block.
This allows you to show avatars for custom comment types via the `get_avatar_comment_types` filter.

props zodiac1978.
fixes #26944.
Built from https://develop.svn.wordpress.org/trunk@27384


git-svn-id: http://core.svn.wordpress.org/trunk@27232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 20:14:14 +00:00
Andrew Nacin abe142d2c6 Revisions: Add 'Return to post editor' link.
props adamsilverstein, jenmylo.
fixes #24682.

Built from https://develop.svn.wordpress.org/trunk@27383


git-svn-id: http://core.svn.wordpress.org/trunk@27231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 19:50:15 +00:00
Drew Jaynes 690481f8e8 Generalize the hook documentation for the `set-screen-option` filter.
The filter covers more than [items]_per_page screen options.

Fixes #26186.

Built from https://develop.svn.wordpress.org/trunk@27379


git-svn-id: http://core.svn.wordpress.org/trunk@27228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 17:51:14 +00:00
Andrew Nacin 70d23fc559 Support multiple editor instances when drag-and-drop-uploading onto them.
Also reduces z-index to below the toolbar, and adds a comment.

props kovshenin.
see #19845.

Built from https://develop.svn.wordpress.org/trunk@27378


git-svn-id: http://core.svn.wordpress.org/trunk@27227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 17:44:16 +00:00
Drew Jaynes 849ce35cb9 Inline documentation for hooks in wp-admin/includes/misc.php.
Props JoshuaAbenazer.
Fixes #26186

Built from https://develop.svn.wordpress.org/trunk@27375


git-svn-id: http://core.svn.wordpress.org/trunk@27224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 17:20:16 +00:00
Andrew Nacin cc7a2e29f5 Slight renaming in our callback in [27373]. see #14424.
Built from https://develop.svn.wordpress.org/trunk@27374


git-svn-id: http://core.svn.wordpress.org/trunk@27223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 17:09:14 +00:00
Mark Jaquith fb56a9942b Eliminate some of our last remaining `create_function()` instances
* Moved some into private function callbacks
* Eliminated some that weren't necessary anymore

props obenland, markjaquith, nacin. fixes #14424
Built from https://develop.svn.wordpress.org/trunk@27373


git-svn-id: http://core.svn.wordpress.org/trunk@27222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 16:21:16 +00:00
Andrew Nacin 0c16c0477b Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc.
props Ipstenu, markjaquith.
see #27115.

Built from https://develop.svn.wordpress.org/trunk@27369


git-svn-id: http://core.svn.wordpress.org/trunk@27219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 02:34:27 +00:00
Andrew Ozz cab6362f2b Editor: throttle scrolling of the main window when the editor is active and is being scrolled with the mouse wheel or a trackpad, see #27013
Built from https://develop.svn.wordpress.org/trunk@27368


git-svn-id: http://core.svn.wordpress.org/trunk@27218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 02:34:14 +00:00
Andrew Nacin ffc4ca7b01 Introduce get_site_by_path() and further rewrite the site detection process for multisite.
This is the first big step to supporting arbitrary domains and paths. In this new approach, sites are detected first where possible, then the network is inferred. Allows filtering for arbitrary path segments, smooths out some weirdness, and removes various restrictions. A sunrise plugin could do much of its work by adding filters, if those are even needed.

see #27003.

Built from https://develop.svn.wordpress.org/trunk@27359


git-svn-id: http://core.svn.wordpress.org/trunk@27209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-02 22:25:14 +00:00
Drew Jaynes c0e436d3d3 Inline documentation for hooks in wp-admin/includes/image-edit.php.
Props theorboman. Props kpdesign for the cleanup.
Fixes #26149.

Built from https://develop.svn.wordpress.org/trunk@27357


git-svn-id: http://core.svn.wordpress.org/trunk@27208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-02 20:56:15 +00:00
Drew Jaynes 5da89414a8 Inline documentation for hooks in wp-admin/includes/class-wp-plugins-list-table.php.
Props nicolealleyinteractivecom, kpdesign.
Fixes #26957.

Built from https://develop.svn.wordpress.org/trunk@27356


git-svn-id: http://core.svn.wordpress.org/trunk@27207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-02 20:48:14 +00:00
Drew Jaynes 16941beac1 Tweak inline documentation for hooks in wp-admin/includes/class-wp-users-list-table.php.
Props kpdesign.
Fixes #26203.

Built from https://develop.svn.wordpress.org/trunk@27355


git-svn-id: http://core.svn.wordpress.org/trunk@27206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-02 20:32:15 +00:00
Sergey Biryukov dc32494f74 Display site deletion confirmation as a regular admin page.
props jeremyfelt.
fixes #27223.
Built from https://develop.svn.wordpress.org/trunk@27348


git-svn-id: http://core.svn.wordpress.org/trunk@27200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-02 08:39:15 +00:00
Andrew Nacin 482856e2e1 Add the ability to drag and drop files directly onto the editor.
The file will then begin to upload and the media manager will open.

props kovshenin.
see #19845.

Built from https://develop.svn.wordpress.org/trunk@27343


git-svn-id: http://core.svn.wordpress.org/trunk@27195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 21:34:17 +00:00
Drew Jaynes 15068e1cd4 Inline documentation for hooks in wp-admin/includes/class-wp-users-list-table.php.
Props leewillis77.
Fixes #26203.

Built from https://develop.svn.wordpress.org/trunk@27342


git-svn-id: http://core.svn.wordpress.org/trunk@27194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 15:00:15 +00:00
Dion Hulse d5775c8b6c Upgrader: Remove more debug from r27336. See #25860
Built from https://develop.svn.wordpress.org/trunk@27339


git-svn-id: http://core.svn.wordpress.org/trunk@27191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 06:06:14 +00:00
Dion Hulse 487efa7957 Upgrader: Remove some debug from r27336. See #25860
Built from https://develop.svn.wordpress.org/trunk@27338


git-svn-id: http://core.svn.wordpress.org/trunk@27190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 06:04:14 +00:00
Dion Hulse 6b280a820e Upgrader: Remove two stray spaces. See #25860
Built from https://develop.svn.wordpress.org/trunk@27337


git-svn-id: http://core.svn.wordpress.org/trunk@27189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 06:02:15 +00:00
Dion Hulse c94a32b0ad Upgrader: Copy wp-includes/version.php over last, to avoid an installation failing with the new version.php in place. Fixes #25860
Built from https://develop.svn.wordpress.org/trunk@27336


git-svn-id: http://core.svn.wordpress.org/trunk@27188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 06:01:16 +00:00
Scott Taylor e92770ba93 * Videos should always render at the same aspect ratio.
* Don't force a pseudo-mime-type for `.m4v` files
* Uniformly adapt to `$content_width` when setting video dimensions on the front end
* Add the `height` attribute to the initial `<video>` in the video playlist JS template
* Add some defensive/responsive CSS for a/v on the Edit Media page

See #27243.


Built from https://develop.svn.wordpress.org/trunk@27328


git-svn-id: http://core.svn.wordpress.org/trunk@27180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 21:28:14 +00:00
John Blackbourn 44e34f826b Don't filter out network-only plugins from the Plugins screen if they're individually active on the current site. Add some code comments for clarity. Props mordauk
Built from https://develop.svn.wordpress.org/trunk@27326


git-svn-id: http://core.svn.wordpress.org/trunk@27178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 20:22:14 +00:00
Sergey Biryukov 5f0f676199 Use a consistent format for translator comments.
props GaryJ.
fixes #27228.
Built from https://develop.svn.wordpress.org/trunk@27325


git-svn-id: http://core.svn.wordpress.org/trunk@27177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 08:09:13 +00:00
Sergey Biryukov e7467f9b44 Remove temporary hooks added in [26865].
fixes #26661.
Built from https://develop.svn.wordpress.org/trunk@27324


git-svn-id: http://core.svn.wordpress.org/trunk@27176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 00:45:16 +00:00
Sergey Biryukov f291730aec Avoid an undefined index notice in wp_doc_link_parse().
props pross for initial patch.
fixes #27214.
Built from https://develop.svn.wordpress.org/trunk@27323


git-svn-id: http://core.svn.wordpress.org/trunk@27175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 23:16:13 +00:00
Sergey Biryukov bc036d0843 Avoid an undefined index notice in wp_handle_upload().
props tivnet.
fixes #27225.
Built from https://develop.svn.wordpress.org/trunk@27319


git-svn-id: http://core.svn.wordpress.org/trunk@27171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 21:16:15 +00:00
Andrew Ozz d896fa2487 Upgrade Plupload to 2.1.1, props kovshenin, see #25663
Built from https://develop.svn.wordpress.org/trunk@27316


git-svn-id: http://core.svn.wordpress.org/trunk@27168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 20:01:16 +00:00
Sergey Biryukov af4f68b410 Use wp_dropdown_roles() in wp-admin/network/site-users.php.
props jeremyfelt.
fixes #27215.
Built from https://develop.svn.wordpress.org/trunk@27310


git-svn-id: http://core.svn.wordpress.org/trunk@27163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 10:22:14 +00:00
Andrew Nacin 7481fd46d0 Themes screen: Clicking back through history should properly close the overlay.
props gcorne.
fixes #27198.

Built from https://develop.svn.wordpress.org/trunk@27306


git-svn-id: http://core.svn.wordpress.org/trunk@27159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 00:18:13 +00:00
Andrew Nacin bee73edb62 Unslash in the time-format and date-format ajax endpoints.
props GregLone.
fixes #27216.

Built from https://develop.svn.wordpress.org/trunk@27305


git-svn-id: http://core.svn.wordpress.org/trunk@27158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 00:05:14 +00:00
Drew Jaynes 8dc5888cfa Improve inline documentation for `WP_Users_List_Table`.
Props leewillis77 for the initial patch.
Fixes #26564.

Built from https://develop.svn.wordpress.org/trunk@27301


git-svn-id: http://core.svn.wordpress.org/trunk@27154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 22:20:17 +00:00
Andrew Nacin c4545fbbf4 Remove unnecessary quotes from urls in CSS.
props TobiasBg.
fixes #22476.

Built from https://develop.svn.wordpress.org/trunk@27289


git-svn-id: http://core.svn.wordpress.org/trunk@27145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 17:23:13 +00:00
Andrew Nacin 0406d292c9 Remove title attributes on the fly when [27280] makes them incorrect. see #17703.
Built from https://develop.svn.wordpress.org/trunk@27281


git-svn-id: http://core.svn.wordpress.org/trunk@27137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 07:37:14 +00:00
Andrew Nacin 13e868ac55 Decrement update count bubbles as plugins/themes are updated, live.
props gcorne, mitchoyoshitaka.
fixes #17703.

Built from https://develop.svn.wordpress.org/trunk@27280


git-svn-id: http://core.svn.wordpress.org/trunk@27136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 06:55:14 +00:00
Andrew Nacin 2abdda257c Remove unused routing code in revisions.
props adamsilverstein.
fixes #26565.

Built from https://develop.svn.wordpress.org/trunk@27273


git-svn-id: http://core.svn.wordpress.org/trunk@27129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 20:07:14 +00:00
Mark Jaquith acb65e13c3 Improve pushState, replaceState and routing for Themes page
* Uses `pushState()` generally
* Uses `replaceState()` when updating a search query (so no history cruft from typing)

fixes #27198. props gcorne, adamsilverstein.
Built from https://develop.svn.wordpress.org/trunk@27268


git-svn-id: http://core.svn.wordpress.org/trunk@27124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 19:22:13 +00:00
Andrew Nacin 9c9c824de2 Clarify return values for get_preferred_from_update_core() and get_core_updates().
props SergeyBiryukov.
fixes #20251.

Built from https://develop.svn.wordpress.org/trunk@27264


git-svn-id: http://core.svn.wordpress.org/trunk@27121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 17:20:13 +00:00
Drew Jaynes cb8951b0b3 Remove all `@package` and `@subpackage` PHPDoc tags not at the file- or class-levels in core.
See #27200.

Built from https://develop.svn.wordpress.org/trunk@27262


git-svn-id: http://core.svn.wordpress.org/trunk@27119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 17:14:14 +00:00
Andrew Nacin bf028ce1e3 Remove _relocate_children(), which has had no purpose for some time.
props SergeyBiryukov, scribu.
fixes #19367.

Built from https://develop.svn.wordpress.org/trunk@27261


git-svn-id: http://core.svn.wordpress.org/trunk@27118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 17:10:14 +00:00
Andrew Nacin c102fd5a9d Make the user arguments for get_edit_profile_url() and get_dashboard_url() optional, defaulting to the current user.
props garyc40.
fixes #16686.

Built from https://develop.svn.wordpress.org/trunk@27260


git-svn-id: http://core.svn.wordpress.org/trunk@27117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 17:08:13 +00:00
Drew Jaynes 94549c1a4a Inline documentation for hooks in wp-admin/includes/screen.php.
Props enej, kpdesign.
Fixes #26821.

Built from https://develop.svn.wordpress.org/trunk@27256


git-svn-id: http://core.svn.wordpress.org/trunk@27113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 10:05:14 +00:00
Drew Jaynes 0ab444cd42 Inline documentation for hooks in wp-admin/includes/class-wp-posts-list-table.php.
Props nicolealleyinteractivecom, kpdesign.
Fixes #26397.

Built from https://develop.svn.wordpress.org/trunk@27255


git-svn-id: http://core.svn.wordpress.org/trunk@27112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 06:12:13 +00:00
Helen Hou-Sandí ad2fe1873e Fix the tags input in small viewports and make it a more reasonable size. props SergeyBiryukov. fixes #27082.
Built from https://develop.svn.wordpress.org/trunk@27254


git-svn-id: http://core.svn.wordpress.org/trunk@27111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 05:25:13 +00:00
Sergey Biryukov a73ce3610b Force UTF-8 in load-styles.php, like we do in load-scripts.php.
props iamfriendly, mjbanks.
fixes #25012.
Built from https://develop.svn.wordpress.org/trunk@27253


git-svn-id: http://core.svn.wordpress.org/trunk@27110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 01:28:15 +00:00
Sergey Biryukov 6f8cfb1c00 Prevent large images in comments from overflowing the meta box.
props mattheu.
fixes #26643.
Built from https://develop.svn.wordpress.org/trunk@27252


git-svn-id: http://core.svn.wordpress.org/trunk@27109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 01:22:14 +00:00
Sergey Biryukov 51d07be5fc Fix thickbox positioning if toolbar is not present.
fixes #26745.
Built from https://develop.svn.wordpress.org/trunk@27248


git-svn-id: http://core.svn.wordpress.org/trunk@27105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 00:26:13 +00:00
Sergey Biryukov 0cbdf53b18 Fix theme preview URL for themes loaded via AJAX on Install Themes screen.
props ocean90.
fixes #27128.
Built from https://develop.svn.wordpress.org/trunk@27247


git-svn-id: http://core.svn.wordpress.org/trunk@27104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 00:01:14 +00:00
Sergey Biryukov 5d3e652c23 Add Oxford comma to password hint.
props trepmal.
fixes #26457.
Built from https://develop.svn.wordpress.org/trunk@27246


git-svn-id: http://core.svn.wordpress.org/trunk@27103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-24 23:31:15 +00:00
Drew Jaynes ad3861242d Inline documentation for hooks in wp-admin/includes/template.php.
Props shelob9 for the initial patch. Props kpdesign.
Fixes #26089.

Built from https://develop.svn.wordpress.org/trunk@27237


git-svn-id: http://core.svn.wordpress.org/trunk@27094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-23 22:44:13 +00:00
Helen Hou-Sandí 9dd166a700 Make nav menu item add tabs and content consistent with similar tabs on the post edit screen. props corvannoorloos for the initial patch. fixes #26757.
Built from https://develop.svn.wordpress.org/trunk@27229


git-svn-id: http://core.svn.wordpress.org/trunk@27086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 22:11:14 +00:00
Andrew Nacin 8452a209c4 Embolden some instructions when installing a network.
props Ipstenu.
fixes #27057.

Built from https://develop.svn.wordpress.org/trunk@27226


git-svn-id: http://core.svn.wordpress.org/trunk@27083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 19:33:13 +00:00
Sergey Biryukov f9d5020cb5 Use filtered per_page value in WP_Plugin_Install_List_Table and WP_Theme_Install_List_Table.
props brasofilo.
fixes #25675.
Built from https://develop.svn.wordpress.org/trunk@27221


git-svn-id: http://core.svn.wordpress.org/trunk@27078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 18:30:14 +00:00
Andrew Nacin 912379a022 Simplify error in validate_file_to_edit().
props MattyRob for initial patch.
fixes #25924.

Built from https://develop.svn.wordpress.org/trunk@27219


git-svn-id: http://core.svn.wordpress.org/trunk@27076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 14:46:14 +00:00
Sergey Biryukov cc6aabb93e Prevent "Add" button in Tags meta box from wrapping to a new line in ru_RU.
fixes #26510.
Built from https://develop.svn.wordpress.org/trunk@27218


git-svn-id: http://core.svn.wordpress.org/trunk@27075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 22:35:13 +00:00
Scott Taylor a730c3744a Correct a missing conditional in `edit-form-advanced.php`.
See #26631, [27209]. 
Props nacin for noticing.


Built from https://develop.svn.wordpress.org/trunk@27216


git-svn-id: http://core.svn.wordpress.org/trunk@27073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 21:38:12 +00:00
Scott Taylor 7ff83d46aa Allow pseudo post types `attachment:audio` and `attachment:video` to get the media modal on Edit Media when they support featured images.
Introduces `post_supports_thumbnails( $post )` and `theme_supports_thumbnails( $post )` to cut down on duplicated code everytime this needs to be checked. There will be more cases forthcoming.

See #26631.


Built from https://develop.svn.wordpress.org/trunk@27209


git-svn-id: http://core.svn.wordpress.org/trunk@27066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 17:50:13 +00:00
Sergey Biryukov 20398546a0 Update $parent_file value in wp-admin/update-core.php.
props bcworkz.
fixes #27109.
Built from https://develop.svn.wordpress.org/trunk@27205


git-svn-id: http://core.svn.wordpress.org/trunk@27062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 16:42:12 +00:00
Drew Jaynes 61538d3f5e Inline documentation for hooks in wp-admin/includes/image.php.
Props theorboman, kpdesign.
Fixes #25832.

Built from https://develop.svn.wordpress.org/trunk@27202


git-svn-id: http://core.svn.wordpress.org/trunk@27059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 06:27:13 +00:00
Helen Hou-Sandí 2e07a4e45f Login styles do not depend on common.css. see #12506.
Built from https://develop.svn.wordpress.org/trunk@27200


git-svn-id: http://core.svn.wordpress.org/trunk@27057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 03:28:13 +00:00
Helen Hou-Sandí 060cc19157 Make login styles standalone. see #12506.
Built from https://develop.svn.wordpress.org/trunk@27199


git-svn-id: http://core.svn.wordpress.org/trunk@27056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 03:24:14 +00:00
John Blackbourn 32114a645d Add screen-reader friendly variations of some short text links in the Publish meta box. Fixes #25459.
Built from https://develop.svn.wordpress.org/trunk@27196


git-svn-id: http://core.svn.wordpress.org/trunk@27055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-19 22:44:16 +00:00
Helen Hou-Sandí ab31bf8683 Once upon a time not long ago,
The admin CSS was merged in #18314.
After a couple years as it stood,
The mess it had become just was no good.
One day we realized Grunt is pretty cool,
And said "we should use this as our build tool!"
Now we can maintain separate files with ease,
Using @import and cssmin meets all our needs.
Welcome to the future of the WordPress stylesheets,
And thanks to Slick Rick for the beats.

props jorbin for the initial patch.
fixes #26669.

Built from https://develop.svn.wordpress.org/trunk@27195


git-svn-id: http://core.svn.wordpress.org/trunk@27054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-19 21:43:14 +00:00
Sergey Biryukov 6919d9f197 Use correct variable. props avryl. fixes #27153.
Built from https://develop.svn.wordpress.org/trunk@27194


git-svn-id: http://core.svn.wordpress.org/trunk@27053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-19 15:29:14 +00:00
Scott Taylor ca4045ce76 Use `selected()` where appropriate in `touch_time()`, `page_template_dropdown()`, and `parent_dropdown()`. Also, add proper docs.
Props meloniq, DrewAPicture.
Fixes #25889.


Built from https://develop.svn.wordpress.org/trunk@27188


git-svn-id: http://core.svn.wordpress.org/trunk@27047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-17 22:27:15 +00:00
Andrew Nacin 53c2618e7e Rename the old media.css file, used for the pre-3.5 media library. Clean up script-loader CSS registrations.
see #26669.

Built from https://develop.svn.wordpress.org/trunk@27181


git-svn-id: http://core.svn.wordpress.org/trunk@27042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-16 00:36:14 +00:00
Andrew Nacin 11c3695c77 Dev/build tools: Use grunt-autoprefixer for CSS vendor prefixes.
We'll be using it for two distinct tasks:
 * Core CSS files will keep prefixes. `grunt autoprefixer:core` will update files directly in src/ as a pre-commit step, rather than doing it on build.
 * Color CSS files will receive prefixes when they are built.

This commit:
 * Adds prefixes we were missing to core CSS.
 * Removes prefixes that we no longer need from core CSS.
 * Removes all prefixes from colors CSS.

props ocean90.
fixes #27078.

Built from https://develop.svn.wordpress.org/trunk@27174


git-svn-id: http://core.svn.wordpress.org/trunk@27038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-13 08:30:17 +00:00
Andrew Nacin fae539978e Optimize 69 images (of 127) using the new Grunt task. (See [27172].)
fixes #25169.

Built from https://develop.svn.wordpress.org/trunk@27173


git-svn-id: http://core.svn.wordpress.org/trunk@27037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-13 08:03:14 +00:00
Sergey Biryukov c1ea9fc22c Merge two similar strings. props pavelevap. fixes #27096.
Built from https://develop.svn.wordpress.org/trunk@27167


git-svn-id: http://core.svn.wordpress.org/trunk@27033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-12 10:15:16 +00:00
Andrew Nacin 5f0981788d Detect and handle symlinking of plugins in plugin_basename().
props rmccue, MikeSchinkel, jdgrimes.
see #16953.

Built from https://develop.svn.wordpress.org/trunk@27158


git-svn-id: http://core.svn.wordpress.org/trunk@27024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-10 23:00:15 +00:00
Sergey Biryukov 805d6fe59b Update comment about structure of items in $menu global.
props kitchin.
fixes #26635.
Built from https://develop.svn.wordpress.org/trunk@27151


git-svn-id: http://core.svn.wordpress.org/trunk@27018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-09 21:43:12 +00:00
Drew Jaynes 7d9b9027bd Fixes for hooks documentation in wp-admin/admin-footer.php.
Adds some new lines, some hook-line spacing, docs-specific variables, and other language tweaks.

See #26869, #25229, [25252].

Built from https://develop.svn.wordpress.org/trunk@27145


git-svn-id: http://core.svn.wordpress.org/trunk@27012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-09 20:28:12 +00:00
Drew Jaynes 30c7a12aa2 Fix docs spacing missed in [27136].
See #27070.

Built from https://develop.svn.wordpress.org/trunk@27137


git-svn-id: http://core.svn.wordpress.org/trunk@27004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-08 22:19:11 +00:00
Drew Jaynes 8b3c9c6b97 Improve inline documentation for `submit_button()`.
See #27070.

Built from https://develop.svn.wordpress.org/trunk@27136


git-svn-id: http://core.svn.wordpress.org/trunk@27003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-08 22:14:12 +00:00
Drew Jaynes de97319ad8 Clarify `submit_button()` `$type` parameter docs to mention that the value doubles as the CSS class attribute.
See #27070

Built from https://develop.svn.wordpress.org/trunk@27135


git-svn-id: http://core.svn.wordpress.org/trunk@27002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-08 22:11:15 +00:00
Andrew Nacin dbea669271 Improve parameter documentation of add_meta_box().
props philiparthurmoore, DrewAPicture.
fixes #26698.

Built from https://develop.svn.wordpress.org/trunk@27132


git-svn-id: http://core.svn.wordpress.org/trunk@26999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-08 00:55:12 +00:00
Andrew Nacin 6adabc6e4d Various JSHint fixes. see #26446.
Built from https://develop.svn.wordpress.org/trunk@27131


git-svn-id: http://core.svn.wordpress.org/trunk@26998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-08 00:52:12 +00:00
Scott Taylor 03dda3b273 Introduce `maybe_regenerate_attachment_metadata( $attachment )`. On the Edit Media screen, call it for Audio and Video files.
The functions checks if the item is lacking metadata altogether. If a video or audio file was uploaded prior to 3.6, it does not have any metadata. This tries to fix it. Implements locking via a transient to protect against this running in parallel with another request.

This is the minimum viable product for #26825, but leaving the ticket open unless this function needs to be called in other places.

See #26825.


Built from https://develop.svn.wordpress.org/trunk@27127


git-svn-id: http://core.svn.wordpress.org/trunk@26994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 22:41:12 +00:00
Sergey Biryukov 8363d0660b Use .screen-reader-text class instead of an alt attribute for overlay button labels on Themes screen.
props bramd.
fixes #26603 for trunk.
Built from https://develop.svn.wordpress.org/trunk@27119


git-svn-id: http://core.svn.wordpress.org/trunk@26986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 17:33:12 +00:00
Andrew Nacin d4f8de5c92 Revisions browser: The back button should return to the post you were editing (use replaceState instead of pushState).
props adamsilverstein.
fixes #26997.

Built from https://develop.svn.wordpress.org/trunk@27114


git-svn-id: http://core.svn.wordpress.org/trunk@26981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 23:28:12 +00:00
Andrew Nacin 182903034b Network install: When showing the path to wp-config.php make sure our slashes are normalized.
props VarunAgw.
fixes #27025.

Built from https://develop.svn.wordpress.org/trunk@27112


git-svn-id: http://core.svn.wordpress.org/trunk@26979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 22:22:13 +00:00
Andrew Nacin 12a64b39db Fix the conditional enqueueing/printing of colors stylesheets, without breaking dependencies.
fixes #18380.
see #20729 which should properly fix this.

Built from https://develop.svn.wordpress.org/trunk@27111


git-svn-id: http://core.svn.wordpress.org/trunk@26978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 22:16:11 +00:00
Andrew Ozz 5ea367cfe1 Fix scrolling inside the Visual editor on MacOS, add the same functionality to the Text editor, see #27013
Built from https://develop.svn.wordpress.org/trunk@27110


git-svn-id: http://core.svn.wordpress.org/trunk@26977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 19:34:12 +00:00
Helen Hou-Sandí b2e6ad7c32 Fix some hover/focus styling and specificity issues. see #18380.
Built from https://develop.svn.wordpress.org/trunk@27109


git-svn-id: http://core.svn.wordpress.org/trunk@26976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 17:57:13 +00:00
Helen Hou-Sandí 9419dc2fe0 Some tweaks to [27106]:
* Add more @todo markings and remove one that's been resolved.
* Restore a missing comma in a `.wp-badge` background rule, and add a comment reminding us why it's there.

see #18380.

Built from https://develop.svn.wordpress.org/trunk@27107


git-svn-id: http://core.svn.wordpress.org/trunk@26974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 07:08:13 +00:00
Helen Hou-Sandí 0100dd772a Merge colors.css into wp-admin.css. Non-default color schemes became overloads rather than swaps in the 3.8 redesign. Benefits include:
* No more border-width, border-style, border-color insanity.
* Point releases are much less likely to require extra finagling to avoid rebuilding the color schemes.
* Yours truly has a better overall vision of ~14,000 lines of admin CSS and where we go from here.

1,065 net lines of red, y'all.
props helen, jorbin. fixes #18380.

Built from https://develop.svn.wordpress.org/trunk@27106


git-svn-id: http://core.svn.wordpress.org/trunk@26973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 06:25:18 +00:00
Drew Jaynes 68f9370ae9 Inline documentation for hooks in wp-admin/includes/class-wp-ms-themes-list-table.php.
Also marks two hooks in wp-admin/includes/class-wp-themes-list-table.php as duplicates.

Props ShinichiN, kpdesign, DrewAPicture.
Fixes #25608.

Built from https://develop.svn.wordpress.org/trunk@27090


git-svn-id: http://core.svn.wordpress.org/trunk@26962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-04 08:25:13 +00:00
Drew Jaynes 771f8dc244 Inline documentation for hooks in wp-admin/includes/class-wp-terms-list-table.php.
Props Ajay, kpdesign.
Fixes #26209.

Built from https://develop.svn.wordpress.org/trunk@27089


git-svn-id: http://core.svn.wordpress.org/trunk@26961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-04 07:56:12 +00:00
Drew Jaynes c858b251b6 Inline documentation for hooks in wp-admin/network/sites.php.
Props NikV, kpdesign.
Fixes #26124.

Built from https://develop.svn.wordpress.org/trunk@27088


git-svn-id: http://core.svn.wordpress.org/trunk@26960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-04 07:49:14 +00:00
Andrew Ozz 93d3e3efb6 Minor cleanup (jshint) of wp-fullscreen.js and /wordpress/plugin.js, see #24067
Built from https://develop.svn.wordpress.org/trunk@27085


git-svn-id: http://core.svn.wordpress.org/trunk@26958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-03 21:31:13 +00:00
Andrew Ozz 2f6d9d37cc Consolidate "close on Escape" in the media modal, DFW, wpLink and Thickbox. Props kovshenin, fixes #26854.
Built from https://develop.svn.wordpress.org/trunk@27080


git-svn-id: http://core.svn.wordpress.org/trunk@26953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-03 05:31:14 +00:00
Andrew Ozz 87c3c8adc0 Open previews of different posts in different windows/tabs. Prevent confusion when using a former preview window again if the user navigated to edit another post. If the first post is still being edited, clicking Preview there will use the current window to show the preview. Props ippetkov, fixes #20233.
Built from https://develop.svn.wordpress.org/trunk@27079


git-svn-id: http://core.svn.wordpress.org/trunk@26952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-02 23:50:13 +00:00
Andrew Nacin 39e32ed1eb Consistently trim and unslash search queries for the users list tables.
props aubreypwd.
fixes #26115.

Built from https://develop.svn.wordpress.org/trunk@27077


git-svn-id: http://core.svn.wordpress.org/trunk@26950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-02 22:10:12 +00:00
Andrew Nacin 59f86351c9 Use get_current_user_id() instead of $user_ID in user-edit.php.
props kovshenin.
fixes #26274.

Built from https://develop.svn.wordpress.org/trunk@27069


git-svn-id: http://core.svn.wordpress.org/trunk@26942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-02 10:04:13 +00:00
Andrew Nacin 718cc193c9 Ensure the last separator is removed from the user and network admin menus.
props johnjamesjacoby.
fixes #25425.

Built from https://develop.svn.wordpress.org/trunk@27066


git-svn-id: http://core.svn.wordpress.org/trunk@26939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-02 06:19:12 +00:00
Scott Taylor 0347a8944e Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root.
Props yoavf, TobiasBg.
Fixes #26073.


Built from https://develop.svn.wordpress.org/trunk@27053


git-svn-id: http://core.svn.wordpress.org/trunk@26927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-29 04:43:30 +00:00
Drew Jaynes 0715a1d551 Inline documentation for hooks in wp-admin/includes/export.php.
Props cmmarslender, kpdesign.
Fixes #26894.

Built from https://develop.svn.wordpress.org/trunk@27048


git-svn-id: http://core.svn.wordpress.org/trunk@26922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-28 08:10:12 +00:00
Drew Jaynes b977d778b2 Inline documentation for hooks in wp-admin/includes/update-core.php.
Props JoshuaAbenazer, kpdesign.
Fixes #25998.

Built from https://develop.svn.wordpress.org/trunk@27047


git-svn-id: http://core.svn.wordpress.org/trunk@26921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-28 08:02:14 +00:00
Helen Hou-Sandí 291ed370b4 Autocomplete for the new site admin email. Better than trying to remember which email address you used.
fixes #25348.

Built from https://develop.svn.wordpress.org/trunk@27046


git-svn-id: http://core.svn.wordpress.org/trunk@26920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-27 23:10:12 +00:00
Andrew Nacin d39d60e841 Add wp_install and wp_upgrade hooks to the respective functions.
props Denis-de-Bernardy.
fixes #25762.

Built from https://develop.svn.wordpress.org/trunk@27045


git-svn-id: http://core.svn.wordpress.org/trunk@26919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-27 16:32:12 +00:00
Dominik Schilling ea7f080573 Update help content for Dashboard. props kpdesign. fixes #26632.
Built from https://develop.svn.wordpress.org/trunk@27043


git-svn-id: http://core.svn.wordpress.org/trunk@26917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-27 14:47:12 +00:00
Andrew Ozz 398ae265bc DFW: remove unused #wp-fullscreen-title-prompt-text selectors. See #24067.
Built from https://develop.svn.wordpress.org/trunk@27039


git-svn-id: http://core.svn.wordpress.org/trunk@26915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-27 00:39:12 +00:00
Andrew Ozz 864ab9ae56 Autosave:
- Move the 'Saving post' and 'Draft saved at...' strings from autosaveL10n to postL10n as they are used only there.
- Use the custom jQuery events 'before-autosave' and 'after-autosave' to show these messages.
- Separate autosave.suspend() for local and server so local autosaves can continue while server autosaves are suspended.
- Remove the recently added autosave.server.disable() and use autosave.server.suspend() instead.
- Bring back .button.disabled, button-primary.disabled and use .disabled to prevent multiple form submissions.
See #25272.

Built from https://develop.svn.wordpress.org/trunk@27038


git-svn-id: http://core.svn.wordpress.org/trunk@26914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-27 00:28:13 +00:00
Andrew Ozz ced6e2a428 Remove one more valign, props neoxx, fixes #22712.
Built from https://develop.svn.wordpress.org/trunk@27037


git-svn-id: http://core.svn.wordpress.org/trunk@26913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-26 20:38:11 +00:00
Andrew Ozz 87589dd445 Remove table cellspacing attribute from the admin, part-props MattyRob, fixes #22086.
Built from https://develop.svn.wordpress.org/trunk@27036


git-svn-id: http://core.svn.wordpress.org/trunk@26912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-26 20:28:12 +00:00
Andrew Ozz 61540893f3 Fix tabbing order when opening/closing post status and visibility in the Publish postbox and cache some of the jQuery selectors. Part-props atimmer, fixes #25460.
Built from https://develop.svn.wordpress.org/trunk@27035


git-svn-id: http://core.svn.wordpress.org/trunk@26911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-26 03:07:16 +00:00
Dominik Schilling 496c05f1e9 Remove unused code. props nofearinc. fixes #26205.
Built from https://develop.svn.wordpress.org/trunk@27033


git-svn-id: http://core.svn.wordpress.org/trunk@26909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-26 00:12:11 +00:00
Andrew Ozz eb1d21d782 Remove all "valign" attributes from tables in wp-admin, props MikeHansenMe, Marventus. Fixes #22712.
Built from https://develop.svn.wordpress.org/trunk@27029


git-svn-id: http://core.svn.wordpress.org/trunk@26905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-24 19:06:15 +00:00
Andrew Nacin ab733945b5 Properly detect line height of Quick Draft textarea.
props batmoo.
fixes #26915 for trunk.

Built from https://develop.svn.wordpress.org/trunk@27021


git-svn-id: http://core.svn.wordpress.org/trunk@26897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-23 18:03:12 +00:00
Sergey Biryukov d136519061 Fix typo in CSS. props ciantic, MikeHansenMe. fixes #26898.
Built from https://develop.svn.wordpress.org/trunk@27020


git-svn-id: http://core.svn.wordpress.org/trunk@26896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-23 12:22:11 +00:00
Andrew Ozz 4d531835a8 Autosave: don't set "submit" buttons to disabled right before submitting the form. They are not sent with the form data, see #25272.
Built from https://develop.svn.wordpress.org/trunk@27015


git-svn-id: http://core.svn.wordpress.org/trunk@26892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 21:26:10 +00:00
Andrew Nacin e18a013956 Themes screen: Add aria-describedby attributes to provide better information to screen readers.
props joedolson for initial patch.
fixes #26602 for trunk.

Built from https://develop.svn.wordpress.org/trunk@27012


git-svn-id: http://core.svn.wordpress.org/trunk@26889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 21:00:11 +00:00
Andrew Ozz 33c41db77a Improve keyboard accessibility for the admin menu when in responsive mode, props SergeyBiryukov, fixes #26639 for trunk.
Built from https://develop.svn.wordpress.org/trunk@27011


git-svn-id: http://core.svn.wordpress.org/trunk@26888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 20:08:11 +00:00
Andrew Nacin c64266f38f Themes screen: Various IE8 adjustments and fixes.
props morganestes, matveb.
fixes #26541.

Built from https://develop.svn.wordpress.org/trunk@27007


git-svn-id: http://core.svn.wordpress.org/trunk@26884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 18:54:11 +00:00
Andrew Ozz 97afd9c251 Autosave: don't disable the buttons on previewing a post, see #25272.
Built from https://develop.svn.wordpress.org/trunk@27003


git-svn-id: http://core.svn.wordpress.org/trunk@26880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 17:58:12 +00:00
Andrew Nacin 06efe8130d Dashboard widgets: Don't link to Pages or Posts for Authors or Contributors respectively.
props mattheu.
see #26574 for trunk.

Built from https://develop.svn.wordpress.org/trunk@26999


git-svn-id: http://core.svn.wordpress.org/trunk@26876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 16:52:11 +00:00
Andrew Ozz 335add2573 Autosave: refactor autosave.js, use heartbeat for transport and move all "Add/Edit Post" related functionality to post.js. See #25272.
Built from https://develop.svn.wordpress.org/trunk@26995


git-svn-id: http://core.svn.wordpress.org/trunk@26872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 04:56:16 +00:00
Matt Thomas 9f4f560258 Eliminate the 1px padding adjustment on active buttons because it creates an un-clickable dead zone 1px high and spanning the entire width of the button. Modify the background color of active buttons for better contrast to make the active state more obvious.
See #26700, props johnbillion.


Built from https://develop.svn.wordpress.org/trunk@26993


git-svn-id: http://core.svn.wordpress.org/trunk@26870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-21 21:27:12 +00:00
Drew Jaynes 5ee0b5641e Hook docs spacing and standards fixes for wp-admin/includes/ajax-actions.php.
See #25374.

Built from https://develop.svn.wordpress.org/trunk@26981


git-svn-id: http://core.svn.wordpress.org/trunk@26858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-18 17:06:12 +00:00
Andrew Ozz 9198e66955 TinyMCE: set the 'add_unload_trigger' option to false for the main editor. Prevents DOM problems in Firefox when reloading the page, see #24067.
Built from https://develop.svn.wordpress.org/trunk@26979


git-svn-id: http://core.svn.wordpress.org/trunk@26856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 20:35:12 +00:00
Andrew Ozz 920af73acd DFW: fix reference to off() when pressing Esc. Props kovshenin, see #24067.
Built from https://develop.svn.wordpress.org/trunk@26966


git-svn-id: http://core.svn.wordpress.org/trunk@26845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 00:13:11 +00:00
Andrew Ozz 443e88b1c2 Widgets: fix scaling of extra-wide widgets on 480px and 320px devices, fixes #26701 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26963


git-svn-id: http://core.svn.wordpress.org/trunk@26842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-16 21:56:11 +00:00
Matt Thomas 5b327853e4 The comment screen hides the author column at narrow screen sizes; this adds back the author info above the comment content. Fixes #26618, props SergeyBiryukov, nacin.
Built from https://develop.svn.wordpress.org/trunk@26961


git-svn-id: http://core.svn.wordpress.org/trunk@26840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-16 20:34:10 +00:00
Andrew Nacin 3189d79f46 Don't let Quick Draft ignore default comment_status and ping_status.
props kovshenin.
fixes #26722.

Built from https://develop.svn.wordpress.org/trunk@26959


git-svn-id: http://core.svn.wordpress.org/trunk@26838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-16 20:24:13 +00:00
Andrew Nacin 0cf6bbc60a RTL: Flip half-star star ratings.
props SergeyBiryukov.
fixes #26814.

Built from https://develop.svn.wordpress.org/trunk@26952


git-svn-id: http://core.svn.wordpress.org/trunk@26831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 08:19:12 +00:00
Andrew Ozz 71101bc9e2 TinyMCE: fix `send_to_editor()`. It no longer needs to replace shortcode strings with html placeholers before inserting them in the editor. This is handled properly by the editor's `'BeforeSetContent'` event callbacks. See #24067.
Built from https://develop.svn.wordpress.org/trunk@26945


git-svn-id: http://core.svn.wordpress.org/trunk@26824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-14 23:35:11 +00:00
Sergey Biryukov 1db81755ac Remove unnecessary sprintf(). props jdgrimes. fixes #25489.
Built from https://develop.svn.wordpress.org/trunk@26943


git-svn-id: http://core.svn.wordpress.org/trunk@26823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-14 11:18:12 +00:00
Andrew Nacin f49bd78ae4 Fix alignment and borders of plugin/theme updates on the Updates screen.
props morganestes, ocean90.
see #26699, for trunk.

Built from https://develop.svn.wordpress.org/trunk@26935


git-svn-id: http://core.svn.wordpress.org/trunk@26816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-13 16:00:11 +00:00
Andrew Ozz 90403aed4b Deprecate rich_edit_exists(). It doesn't make sense to support deleting the TinyMCE directory when we have auto-updates. Fixes #26786.
Built from https://develop.svn.wordpress.org/trunk@26933


git-svn-id: http://core.svn.wordpress.org/trunk@26814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-13 00:00:12 +00:00
Helen Hou-Sandí f1dc3d77c8 Move media modal colors out of `colors.css` and into `media-views.css`, as the modal can be triggered on the front end. props avryl, props collinsinternet for the initial patch. see #26677 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26929


git-svn-id: http://core.svn.wordpress.org/trunk@26810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-09 16:36:12 +00:00
Helen Hou-Sandí a3b2f6f49d Break long words in Quick Draft content to prevent ugly overflow, as was previously done. props aubreypwd, SergeyBiryukov. see #26658 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26928


git-svn-id: http://core.svn.wordpress.org/trunk@26809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-09 04:01:13 +00:00
Dominik Schilling dea41019ef Dashicons: Update to the latest dashicons files.
props empireoflight, melchoyce.
see #26518 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26925


git-svn-id: http://core.svn.wordpress.org/trunk@26806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 22:26:10 +00:00
Helen Hou-Sandí 60f3e98d51 Pass the $user_id to the `admin_color_scheme_picker` hook for context. props nacin. see #26607 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26924


git-svn-id: http://core.svn.wordpress.org/trunk@26805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 21:49:10 +00:00
Dominik Schilling 441ccdd314 Fix another CSS clashing on the Network Themes page.
props SergeyBiryukov.
see #26513 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26923


git-svn-id: http://core.svn.wordpress.org/trunk@26804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 21:36:10 +00:00
Andrew Nacin 9e942606c8 Keyboard navigation friendliness for themes.php.
props matveb, azaozz, jorbin.
see #26527.

Built from https://develop.svn.wordpress.org/trunk@26922


git-svn-id: http://core.svn.wordpress.org/trunk@26803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 21:35:09 +00:00
Andrew Nacin 56e3b1f46e Themes: Search the theme's slug too.
props matveb.
see #26730 for trunk.

Built from https://develop.svn.wordpress.org/trunk@26921


git-svn-id: http://core.svn.wordpress.org/trunk@26802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 21:29:10 +00:00
Andrew Nacin 5baeb300a0 Fix CSS clashing on the Network Themes page.
props SergeyBiryukov.
see #26517 for trunk.

Built from https://develop.svn.wordpress.org/trunk@26919


git-svn-id: http://core.svn.wordpress.org/trunk@26800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 21:22:09 +00:00
Drew Jaynes f5213d39d0 Inline documentation for hooks in wp-admin/includes/meta-boxes.php.
Props SpencerFinnell for the initial patch.
Fixes #26092.

Built from https://develop.svn.wordpress.org/trunk@26918


git-svn-id: http://core.svn.wordpress.org/trunk@26799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 04:06:12 +00:00
Drew Jaynes b3b3316102 Inline documentation for hooks in wp-admin/media-upload.php.
Props piontkowski for the initial patch.
Fixes #26075.

Built from https://develop.svn.wordpress.org/trunk@26917


git-svn-id: http://core.svn.wordpress.org/trunk@26798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 04:00:11 +00:00
Drew Jaynes 76ad336c2c Inline documentation for hooks in wp-admin/includes/class-wp-media-list-table.php.
Props theorboman for the initial patch. Props kpdesign.
Fixes #25839.

Built from https://develop.svn.wordpress.org/trunk@26916


git-svn-id: http://core.svn.wordpress.org/trunk@26797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 03:53:14 +00:00
Drew Jaynes 8eff8141ce Inline documentation for hooks in wp-admin/network/upgrade.php.
Props miyauchi for the initial patch.
Fixes #25881.

Built from https://develop.svn.wordpress.org/trunk@26914


git-svn-id: http://core.svn.wordpress.org/trunk@26795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-07 04:23:11 +00:00
Drew Jaynes 8319f59336 Inline documentation for hooks in wp-admin/network/admin.php.
Props Hanni.
Fixes #26216.

Built from https://develop.svn.wordpress.org/trunk@26913


git-svn-id: http://core.svn.wordpress.org/trunk@26794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-07 04:05:10 +00:00
Drew Jaynes f51b1f8def Inline documentation for hooks in wp-admin/includes/media.php.
Props kpdesign, DrewAPicture.
Fixes #25375.

Built from https://develop.svn.wordpress.org/trunk@26908


git-svn-id: http://core.svn.wordpress.org/trunk@26791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-06 05:48:12 +00:00
Drew Jaynes 077afc8d48 Fix a copy/paste error in the 'show_user_profile' hook description in wp-admin/user-edit.php.
Props neoxx.
Fixes #26597.

Built from https://develop.svn.wordpress.org/trunk@26907


git-svn-id: http://core.svn.wordpress.org/trunk@26790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-05 18:58:11 +00:00
Sergey Biryukov 3a7ce85b4f Change 'Width' to 'Layout' to match the hard-coded list of translatable theme features in get_theme_feature_list().
props janrenn.
fixes #26777 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26905


git-svn-id: http://core.svn.wordpress.org/trunk@26788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-05 17:16:11 +00:00
Andrew Ozz 915607ca0d Thickbox is needed for the media modal back-compat. Are there plugins that still use this? Also needed for PressThis. See #24067.
Built from https://develop.svn.wordpress.org/trunk@26898


git-svn-id: http://core.svn.wordpress.org/trunk@26781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 22:49:09 +00:00
Andrew Ozz 87c75ab93a DFW: fix buttons and the title width, make the fade out/in when opening and closing a bit faster. See #24067.
Built from https://develop.svn.wordpress.org/trunk@26896


git-svn-id: http://core.svn.wordpress.org/trunk@26779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 04:18:10 +00:00
Drew Jaynes da7a2421a3 Inline documentation for hooks in wp-admin/edit-tag-form.php.
Props nicolealleyinteractivecom, kpdesign.
Fixes #25448.

Built from https://develop.svn.wordpress.org/trunk@26895


git-svn-id: http://core.svn.wordpress.org/trunk@26778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 04:02:10 +00:00
Drew Jaynes fa271ded20 Inline documentation for hooks in wp-admin/update-core.php.
Props JoshuaAbenazer, kpdesign.
Fixes #25991.

Built from https://develop.svn.wordpress.org/trunk@26894


git-svn-id: http://core.svn.wordpress.org/trunk@26777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 03:07:10 +00:00
Drew Jaynes cea5ae90f5 Inline documentation for hooks in wp-admin/menu-header.php.
Props piontkowski, kpdesign.
Fixes #26051.

Built from https://develop.svn.wordpress.org/trunk@26893


git-svn-id: http://core.svn.wordpress.org/trunk@26776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 02:46:12 +00:00
Andrew Ozz 2a68f85fa1 Comment moderation shortcuts:
- Fix "toggle checkboxes" (shift+x).
- Add noDisable selector and use it to stop disabling the shortcuts when a select-comment checkbox is focused.
See #26755.
Built from https://develop.svn.wordpress.org/trunk@26889


git-svn-id: http://core.svn.wordpress.org/trunk@26772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 00:11:14 +00:00
Sergey Biryukov 8a82e4c463 Force LTR direction for code and plugin/theme editors.
props SergeyBiryukov, nivijah.
fixes #26666 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26888


git-svn-id: http://core.svn.wordpress.org/trunk@26771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 11:04:09 +00:00
Sergey Biryukov c829c31aa9 Fix incorrect -mox prefixes in CSS.
props morganestes.
fixes #26702 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26887


git-svn-id: http://core.svn.wordpress.org/trunk@26770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 10:53:10 +00:00
Sergey Biryukov 1540000b92 Remove invalid min-width property.
props jorbin.
fixes #26563 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26886


git-svn-id: http://core.svn.wordpress.org/trunk@26769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 10:48:10 +00:00
Sergey Biryukov db094e0f30 Add missing id attribute to "Search Installed Themes" input.
fixes #26599 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26885


git-svn-id: http://core.svn.wordpress.org/trunk@26768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 10:44:11 +00:00
Sergey Biryukov 0ddaa76f3e Use correct example of a Dashicons helper class in add_menu_page() and register_post_type() docs.
props Rarst.
fixes #26617 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26884


git-svn-id: http://core.svn.wordpress.org/trunk@26767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 10:33:11 +00:00
Sergey Biryukov a25d9ae3ba Make sure "UPDATE LOG" in debug emails matches the underlining when translated.
fixes #26621.
Built from https://develop.svn.wordpress.org/trunk@26883


git-svn-id: http://core.svn.wordpress.org/trunk@26766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 10:27:10 +00:00
Sergey Biryukov 2f3ebce172 Always show Background Image section heading and the opening table tag on Custom Background screen, to make in consistent with Custom Header and avoid broken markup.
props obenland.
fixes #26731.
Built from https://develop.svn.wordpress.org/trunk@26878


git-svn-id: http://core.svn.wordpress.org/trunk@26761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-29 08:06:11 +00:00
Andrew Ozz 855889f7aa TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876


git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 23:53:15 +00:00
Andrew Nacin 731933638d Always do an HTTP request on credits.php when running a development version of WordPress.
fixes #26727.

Built from https://develop.svn.wordpress.org/trunk@26872


git-svn-id: http://core.svn.wordpress.org/trunk@26757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-27 15:12:11 +00:00
Sergey Biryukov cdba99d3b3 Being consistent is the gist, no single @since should have been missed.
see #26713.
Built from https://develop.svn.wordpress.org/trunk@26869


git-svn-id: http://core.svn.wordpress.org/trunk@26755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-25 02:00:11 +00:00
Drew Jaynes cd8cedc40d First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin.
Props JustinSainton, SergeyBiryukov, DrewAPicture.
Fixes #26713.

Built from https://develop.svn.wordpress.org/trunk@26868


git-svn-id: http://core.svn.wordpress.org/trunk@26754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-24 18:57:12 +00:00
Sergey Biryukov cce9d251a4 Add comments for temporary hooks. see #26661.
Built from https://develop.svn.wordpress.org/trunk@26866


git-svn-id: http://core.svn.wordpress.org/trunk@26752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-23 00:48:11 +00:00
Sergey Biryukov 507b595c2b Add temporary hooks for the widgets feature team to wp_widget_control().
props westonruter.
see #26661.
Built from https://develop.svn.wordpress.org/trunk@26865


git-svn-id: http://core.svn.wordpress.org/trunk@26751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-23 00:45:11 +00:00
Andrew Nacin c06ed485b8 Don't use a JS reserved word in a Backbone template, this breaks IE8.
props ocean90.
fixes #26539.

Built from https://develop.svn.wordpress.org/trunk@26853


git-svn-id: http://core.svn.wordpress.org/trunk@26740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 22:49:09 +00:00
Ryan Boren 07c16fd23c The Pinking Shears stir from their slumber, awakened by what may seem, to those
innocent in the ways of The Shears, a triviality, a nothing-of-consequence. But there are consequences indeed for recklessly trailing your whitespace. Naturally, they a dire!

One, two! One, two! And through and through
The Pinking Shears went snicker-snack!
They plucked your tail and with your space
They went sniksnuking back.

Let me tell you, that can be uncomfortable, so always pre-sniksnuk your trailing whites. May The Shears be with you.

Built from https://develop.svn.wordpress.org/trunk@26851


git-svn-id: http://core.svn.wordpress.org/trunk@26738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 19:49:11 +00:00
Andrew Nacin a6a71fa437 Script handles of `false` are properly treated as meta groups. `true` does not work.
props SergeyBiryukov.
fixes #26525.

Built from https://develop.svn.wordpress.org/trunk@26848


git-svn-id: http://core.svn.wordpress.org/trunk@26735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 17:42:09 +00:00
Andrew Nacin 2d56715ba3 Suppress admin notices on the about page.
Brings back [19393], accidentally reverted in [26718].

props ocean90.
fixes #26519.

Built from https://develop.svn.wordpress.org/trunk@26847


git-svn-id: http://core.svn.wordpress.org/trunk@26734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 17:39:10 +00:00
Andrew Nacin fc7a4e3f3c On update, delete files removed in 3.8.
props JPry.
fixes #26535.

Built from https://develop.svn.wordpress.org/trunk@26846


git-svn-id: http://core.svn.wordpress.org/trunk@26733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 17:38:10 +00:00
Andrew Nacin ed02353657 Use the WP.org CDN for About page images. fixes #26534.
Built from https://develop.svn.wordpress.org/trunk@26845


git-svn-id: http://core.svn.wordpress.org/trunk@26732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 17:33:14 +00:00
Matt Thomas 3589ec69bc Return container shadows to 1px blur as they were pre- r26293. This is a better match for the 1px shadow we use on buttons and screen options. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26841


git-svn-id: http://core.svn.wordpress.org/trunk@26728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 20:21:10 +00:00
Matt Thomas 55024b9db4 Adjust the border-color and box-shadow on container elements to match the new f1f1f1 background-color. See #25858, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26840


git-svn-id: http://core.svn.wordpress.org/trunk@26727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:52:11 +00:00
Andrew Ozz d9feeb5b29 Themes: set maximum width for overlay view, props matveb, fixes #26507.
Built from https://develop.svn.wordpress.org/trunk@26839


git-svn-id: http://core.svn.wordpress.org/trunk@26726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:51:10 +00:00
Andrew Ozz 4f44dc74b1 Themes: fix overlays and buttons in responsive mode, props matveb, fixes #26481.
Built from https://develop.svn.wordpress.org/trunk@26838


git-svn-id: http://core.svn.wordpress.org/trunk@26725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:38:10 +00:00
Matt Thomas 39b1bc785d Slightly darkening the page backcground to f1f1f1 for better contrast with white interface elements on top of it. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26837


git-svn-id: http://core.svn.wordpress.org/trunk@26724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:28:12 +00:00
Matt Thomas 2c7b69f7c1 In Press This, extend the sidebar for ru_RU. Fixes #26508, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26836


git-svn-id: http://core.svn.wordpress.org/trunk@26723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:23:10 +00:00
Matt Thomas 8210442632 Increase the height of the Add Photos box in Press This to prevent unnecessary scrolling. Fixes #26506, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26835


git-svn-id: http://core.svn.wordpress.org/trunk@26722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:16:10 +00:00
Matt Thomas 4fb4588829 Style the Add Comment button as a button. Fixes #26500, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26834


git-svn-id: http://core.svn.wordpress.org/trunk@26721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:14:11 +00:00
Matt Thomas 8cf1d699d9 Add line height to #commentstatusdiv p so that its checkboxes get some padding between them at responsive sizes. Fixes #26499, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26833


git-svn-id: http://core.svn.wordpress.org/trunk@26720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:12:18 +00:00
Andrew Nacin 659334bd59 Introduce dashboard_glance_items filter which replaces 3.7 right_now_* hooks that were tied to table markup.
fixes #26495.

Built from https://develop.svn.wordpress.org/trunk@26832


git-svn-id: http://core.svn.wordpress.org/trunk@26719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:12:10 +00:00
Matt Thomas f6011db8ed Eliminate the padding on #titlediv #title to prevent characters with descenders getting cropped in some browsers. Fixes #26509, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26830


git-svn-id: http://core.svn.wordpress.org/trunk@26717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:09:20 +00:00
Andrew Nacin 485c929353 Final text adjustments to the 3.8 About page. Also:
* Offload screenshots to WP.org, as we had done in 3.6.
 * Offer strings for translation.
 
props markjaquith, nacin.
fixes #26387.

Built from https://develop.svn.wordpress.org/trunk@26829


git-svn-id: http://core.svn.wordpress.org/trunk@26716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:09:11 +00:00
Andrew Nacin 00bfe5d66a Fix typo in help string. props kpdesign. fixes #25688.
Built from https://develop.svn.wordpress.org/trunk@26828


git-svn-id: http://core.svn.wordpress.org/trunk@26715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 15:38:13 +00:00
Andrew Nacin 87265a374b Themes: use explicit 'search installed themes' label and placeholder.
fixes #26496.

Built from https://develop.svn.wordpress.org/trunk@26827


git-svn-id: http://core.svn.wordpress.org/trunk@26714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 07:41:10 +00:00
Andrew Nacin 2530fbbfba Themes: Avoid a JS error in the keyup event handler when the overlay is not yet initialized.
fixes #26497.

Built from https://develop.svn.wordpress.org/trunk@26826


git-svn-id: http://core.svn.wordpress.org/trunk@26713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 07:07:10 +00:00
Andrew Nacin f70e3595b8 Tighten up the help documentation on the updates page, and add a section for updating translations. see #25688.
Built from https://develop.svn.wordpress.org/trunk@26825


git-svn-id: http://core.svn.wordpress.org/trunk@26712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 06:47:10 +00:00
Matt Thomas fb2ec8d5a4 Specify transition: none on plugin information dialog tabs to keep them from jump jumping around. Fixes #26498.
Built from https://develop.svn.wordpress.org/trunk@26824


git-svn-id: http://core.svn.wordpress.org/trunk@26711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 06:31:10 +00:00
Matt Thomas e46580b657 Provide an SVG > PNG fallback for the WordPress logo on readme.html. See #26348.
Built from https://develop.svn.wordpress.org/trunk@26823


git-svn-id: http://core.svn.wordpress.org/trunk@26710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 05:35:11 +00:00
Andrew Ozz 3bdfaafaa0 Fix error in postbox.js attempting to change screen columns on mobile devices orientation changes, fixes #26493.
Built from https://develop.svn.wordpress.org/trunk@26822


git-svn-id: http://core.svn.wordpress.org/trunk@26709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 04:21:10 +00:00
Helen Hou-Sandí eaec1347f2 Remove many of the now-unused images in core. Some images have been left for now, notably our previous style icons, action indicators, and images that see a higher frequency of use in plugins to allow them more time to adapt to the new design. props ocean90, Ipstenu, coffee2code. fixes #26036.
Built from https://develop.svn.wordpress.org/trunk@26821


git-svn-id: http://core.svn.wordpress.org/trunk@26708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 03:21:12 +00:00
Matt Thomas ad50180eca Add widgets page draggable/sortable items to -ms-touch-action rules for proper touch scrolling in IE 10 and 11.
Built from https://develop.svn.wordpress.org/trunk@26820


git-svn-id: http://core.svn.wordpress.org/trunk@26707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 02:57:10 +00:00
Andrew Ozz 448a401f77 Make older mobile browsers and IE7 usable:
- Text labels in the toolbar.
- Image icons in the visual editor.
- Some IE7 structural css fixes.
Fixes #26369.
Built from https://develop.svn.wordpress.org/trunk@26819


git-svn-id: http://core.svn.wordpress.org/trunk@26706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 02:41:10 +00:00
Matt Thomas 652bfa0090 Updates screen Help page should explain the auto-update feature. Fixes #25688, props jenmylo, trepmal.
Built from https://develop.svn.wordpress.org/trunk@26818


git-svn-id: http://core.svn.wordpress.org/trunk@26705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 02:37:10 +00:00
Matt Thomas 99063349c6 Expand adminmenu from 150px to 160px, creating more room for pending comment counts and translated text. Fixes #25918, props ocean90.
Built from https://develop.svn.wordpress.org/trunk@26817


git-svn-id: http://core.svn.wordpress.org/trunk@26704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 02:29:10 +00:00
Andrew Nacin 1154c059ef RTL font-family overrides. (Tahoma generally, and Arial for Hebrew.)
props yoavf.
fixes #24977.

Built from https://develop.svn.wordpress.org/trunk@26816


git-svn-id: http://core.svn.wordpress.org/trunk@26703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 01:31:11 +00:00
Andrew Nacin 6d226fb454 Don't set the theme overlay active state in the Theme view, as it overwrites the same work in the Details view.
fixes #26481.

Built from https://develop.svn.wordpress.org/trunk@26815


git-svn-id: http://core.svn.wordpress.org/trunk@26702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 01:27:10 +00:00
Andrew Nacin 1fb828504e Avoid notices when default and light are not registered color schemes. see #26468.
Built from https://develop.svn.wordpress.org/trunk@26814


git-svn-id: http://core.svn.wordpress.org/trunk@26701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 00:49:09 +00:00
Matt Thomas cd465575f1 Expand the Quick Draft section by default. Fixes #26463, props bassgang.
Built from https://develop.svn.wordpress.org/trunk@26813


git-svn-id: http://core.svn.wordpress.org/trunk@26700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 00:43:11 +00:00
Matt Thomas c972cbb188 Ensure that plugins needing updates that aren't activated get their checkbox aligned properly. Fixes #26489, props ocean90.
Built from https://develop.svn.wordpress.org/trunk@26811


git-svn-id: http://core.svn.wordpress.org/trunk@26698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 00:30:11 +00:00
Matt Thomas 621f5cdb08 Use $button-color for .action-button on plugin details thickbox. Fixes #26486, props ocean90.
Built from https://develop.svn.wordpress.org/trunk@26809


git-svn-id: http://core.svn.wordpress.org/trunk@26696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 21:13:11 +00:00
Matt Thomas 9c539f43b7 Remove 1px margin from post title input so it lines up with the top right-column meta box. Fixes #26483, props ocean90.
Built from https://develop.svn.wordpress.org/trunk@26807


git-svn-id: http://core.svn.wordpress.org/trunk@26694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 20:27:10 +00:00
Matt Thomas dfceeb7471 A few updates to the About page
- Updated text on about-overview.png
- Changed about-typography, about-contrast, and about-modern-aesthetics from PNG24 to PNG8, saving 83 KB
- Reluctantly changed about-twentyfourteen from PNG to JPEG, because it saves a whopping 615 KB
- Tweak the headline size and styling of the about-twentyfourteen image to account for its lack of a transparent background.

See #26387.


Built from https://develop.svn.wordpress.org/trunk@26806


git-svn-id: http://core.svn.wordpress.org/trunk@26693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 20:05:12 +00:00
Dominik Schilling 02fb5044c4 Adjust the active tab colors in the plugin info Thickbox, see [26788], #25858.
Built from https://develop.svn.wordpress.org/trunk@26805


git-svn-id: http://core.svn.wordpress.org/trunk@26692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 19:03:13 +00:00
Helen Hou-Sandí 355846659e Remove duplicated lines in Ectoplasm's .scss file. see #26468.
Built from https://develop.svn.wordpress.org/trunk@26804


git-svn-id: http://core.svn.wordpress.org/trunk@26691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 17:29:11 +00:00
Sergey Biryukov 1017bcf4f4 Use correct flag icon color from the chosen color scheme.
props TobiasBg.
fixes #26480.
Built from https://develop.svn.wordpress.org/trunk@26802


git-svn-id: http://core.svn.wordpress.org/trunk@26689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 14:32:11 +00:00
Drew Jaynes 919cb11089 A couple of copy edits for the About page.
See #26387.

Built from https://develop.svn.wordpress.org/trunk@26801


git-svn-id: http://core.svn.wordpress.org/trunk@26688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 08:55:11 +00:00
Andrew Nacin 5b5a31e78e About page: Don't load zxcvbn, which is a dependency of an unused piece of user-profile.js.
Built from https://develop.svn.wordpress.org/trunk@26799


git-svn-id: http://core.svn.wordpress.org/trunk@26686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 07:28:10 +00:00
Andrew Nacin d2cb57b806 Remove image referenced as removed in [26795]. see #26387.
Built from https://develop.svn.wordpress.org/trunk@26798


git-svn-id: http://core.svn.wordpress.org/trunk@26685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 07:27:10 +00:00
Andrew Nacin 790f951105 Move pointer-specific CSS from wp-admin.css to wp-pointer.css.
props ocean90.
fixes #26477.

Built from https://develop.svn.wordpress.org/trunk@26797


git-svn-id: http://core.svn.wordpress.org/trunk@26684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 07:17:10 +00:00
Andrew Nacin 7b3910917d About screen: Only show the pick-a-color section if there are 2 or more of the eight new color schemes available. And only show the eight core schemes.
This hides the section in develop.svn /src's directory (use /build for colors) and when a plugin is manipulating/unregistering colors. In both situations, which are rare, losing the section is fine.

This removes a fallback image as we were previously showing the section in these cases; the rest of the page shows off the design (and color opportunities) well enough on its own to avoid this confusing section.

see #26387.

Built from https://develop.svn.wordpress.org/trunk@26795


git-svn-id: http://core.svn.wordpress.org/trunk@26682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 07:14:10 +00:00
Andrew Nacin cb24a671ef Remove 3.7 about images. see #26387.
Built from https://develop.svn.wordpress.org/trunk@26794


git-svn-id: http://core.svn.wordpress.org/trunk@26681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 07:10:11 +00:00
Andrew Nacin 7dbfca1778 Nonces are already per-user. see #22862.
Built from https://develop.svn.wordpress.org/trunk@26793


git-svn-id: http://core.svn.wordpress.org/trunk@26680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 07:05:10 +00:00
Matt Thomas 31c6f909d2 Adjusting about-colors.png so it lines up on the grid with images above and below it. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26792


git-svn-id: http://core.svn.wordpress.org/trunk@26679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 05:32:11 +00:00
Matt Thomas 784896d48b Minor adjustments to the Twenty Fourteen screenshot on the About page. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26791


git-svn-id: http://core.svn.wordpress.org/trunk@26678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 05:19:11 +00:00
Matt Thomas e3246ddf92 Correcting the device proportions on the Twenty Fourteen screenshot; see #26387.
Built from https://develop.svn.wordpress.org/trunk@26790


git-svn-id: http://core.svn.wordpress.org/trunk@26677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 05:15:11 +00:00
Matt Thomas b3b7d22739 A few more adjustments to about page screenshots, with better sample content. See #26387
Built from https://develop.svn.wordpress.org/trunk@26789


git-svn-id: http://core.svn.wordpress.org/trunk@26676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 05:08:11 +00:00
Matt Thomas 68b7f94042 A small adjustment to the page background color per yesterday's conversation with nacin, from #eee to #f3f3f3. This retains enough contrast with white widget containers while making for a more comfortable reading experiences on pages that heavily use the default background color, like the About page. A few adjustments to go along with it:
- Horizontal rules on the About page are lighter, to match their previous level of contrast with #eee
- Eliminated the .flush-top class on <hr>s on the About page since we want the styles applied to all About page <hr>s.
- Color schemes should match the bottom border of active tabs to the scheme's body-background variable.
- Lighten the comment background color on the Dashboard activity widget to keep adequate contrast with the new lighter body background.

See #25858.


Built from https://develop.svn.wordpress.org/trunk@26788


git-svn-id: http://core.svn.wordpress.org/trunk@26675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 04:12:11 +00:00
Matt Thomas f794822568 Updated About page screenshots; better image reduction with sharper text, hiding all browser chrome in device screenshots, correct the proportions of phone and tablet in Twenty Fourteen screenshot. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26787


git-svn-id: http://core.svn.wordpress.org/trunk@26674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 03:24:10 +00:00
Andrew Ozz 95a02fbe43 Fake a "non-responsive" window width for IE < 9 when folding/unfolding the menu (old IE doesn't support @media), fixes #26458.
Built from https://develop.svn.wordpress.org/trunk@26785


git-svn-id: http://core.svn.wordpress.org/trunk@26672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 18:46:11 +00:00
Andrew Ozz 7192115dca Dashboard: set two columns as default for IE8 (as it doesn't support @media rules), see #25824.
Built from https://develop.svn.wordpress.org/trunk@26784


git-svn-id: http://core.svn.wordpress.org/trunk@26671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 18:43:11 +00:00
Andrew Nacin b0d9b30138 RTL should use Tahoma, Hebrew should use Arial.
props yoavf.
see #24977.

Built from https://develop.svn.wordpress.org/trunk@26783


git-svn-id: http://core.svn.wordpress.org/trunk@26670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 16:20:11 +00:00
Matt Thomas a2aca5cd15 Fix a missing drop shadow on about-colors, make sure screenshot lines up with columns below in about-overview. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26779


git-svn-id: http://core.svn.wordpress.org/trunk@26666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 08:07:11 +00:00
Andrew Nacin 71fa7d8e6c Fix JSHint errors and remove unreachable code. props adamsilverstein. see #25963.
Built from https://develop.svn.wordpress.org/trunk@26778


git-svn-id: http://core.svn.wordpress.org/trunk@26665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:52:11 +00:00
Andrew Nacin d6ccebf600 Freedoms/Credits: Allow for big first paragraphs, overridden by the font-size change in [26719]. Reduced slightly to prevent wrapping on freedoms.
see #26387.

Built from https://develop.svn.wordpress.org/trunk@26777


git-svn-id: http://core.svn.wordpress.org/trunk@26664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:49:10 +00:00
Andrew Nacin c09252b950 Core updates for the new color schemes.
* Update about page, there's now 8.
 * Display them four wide, not three, and ensure adequate spacing.
 * Use a dedicated nonce.
 * Push Light to the front in addition to Default.
 * Use user-profile.js on about.php. A few extra things are initialized but they are harmless.

see #26468, #26387.

Built from https://develop.svn.wordpress.org/trunk@26776


git-svn-id: http://core.svn.wordpress.org/trunk@26663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:46:21 +00:00
Matt Thomas ac0e68e622 Updated about page screenshots with more colors, updated typography shot, simplified hero screenshot of desktop browser. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26775


git-svn-id: http://core.svn.wordpress.org/trunk@26662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:46:11 +00:00
Andrew Nacin 49443c97e3 Sync new about.php "Thank you" line with freedoms and credits.
props rickalee.
fixes #26472.

Built from https://develop.svn.wordpress.org/trunk@26774


git-svn-id: http://core.svn.wordpress.org/trunk@26661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:37:11 +00:00
Andrew Nacin ce94d432a7 Add four more color schemes to round out our collection at eight.
The new schemes are Ectoplasm, Coffee, Ocean, Sunrise. For those following along, the first three were at one point named Ghostbusters, Pixel, and Cape Cod.

See [26137] for the original color schemes.

props ryelle, melchoyce, drw158, littlethingsstudio.
fixes #26468. see #25858, #22862.

Built from https://develop.svn.wordpress.org/trunk@26773


git-svn-id: http://core.svn.wordpress.org/trunk@26660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:26:12 +00:00
Matt Thomas 9c3a58a32a Eliminate right padding on .wp-menu-name, see #26452.
Built from https://develop.svn.wordpress.org/trunk@26772


git-svn-id: http://core.svn.wordpress.org/trunk@26659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 06:29:11 +00:00
Matt Thomas 9cab8ef207 Nudging a few pixels that were out of place. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26769


git-svn-id: http://core.svn.wordpress.org/trunk@26657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 03:32:11 +00:00
Matt Thomas 4dc7875c1d Making some adjustments to the hero screenshot image on the About page, see #26387.
Built from https://develop.svn.wordpress.org/trunk@26768


git-svn-id: http://core.svn.wordpress.org/trunk@26656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 03:29:10 +00:00
Ryan Boren b07b8d4fe8 Make the Backbone routes pushSTate capable with ?theme=themename type urls instead of hashes. Same applies to search queries.
Props adamsilverstein, nacin
fixes #25963

Built from https://develop.svn.wordpress.org/trunk@26767


git-svn-id: http://core.svn.wordpress.org/trunk@26655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 03:11:10 +00:00
Matt Thomas dde01ceb85 Provide a bit more horizontal space for .wp-menu-name. See #26452.
Built from https://develop.svn.wordpress.org/trunk@26766


git-svn-id: http://core.svn.wordpress.org/trunk@26654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 02:03:10 +00:00
Andrew Nacin 51a89c8ae6 Themes: Ensure the image returns a width before checking that it is less than 300px.
see #26459.

Built from https://develop.svn.wordpress.org/trunk@26765


git-svn-id: http://core.svn.wordpress.org/trunk@26653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 01:59:10 +00:00
Andrew Nacin 9472ced40f Use &nbsp; instead of &#160; as it's more familiar to translators.
See #26387, [26760].

Built from https://develop.svn.wordpress.org/trunk@26764


git-svn-id: http://core.svn.wordpress.org/trunk@26652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 01:34:12 +00:00
Matt Thomas 2047f5715f Copy edits to the About page:
- Open Sans is Open Source, so it can't meet Open Source
- 'icons and graphics' is redundant
- Let's not overuse 'beautiful'
- Choose > pick so we don't use 'choose' twice in the same line

See #26387.


Built from https://develop.svn.wordpress.org/trunk@26763


git-svn-id: http://core.svn.wordpress.org/trunk@26651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 01:18:11 +00:00
Andrew Nacin 7e1431aac1 Use wp_specialchars_decode() in the upgrade debugging email subject, same as the production email.
props markoheijnen.
fixes #26471.

Built from https://develop.svn.wordpress.org/trunk@26762


git-svn-id: http://core.svn.wordpress.org/trunk@26650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 01:15:10 +00:00
Matt Thomas e14955f9c5 Use non-breaking spaces before the last word in headlines to prevent widows when wrapping at responsive sizes. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26760


git-svn-id: http://core.svn.wordpress.org/trunk@26648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 00:53:12 +00:00
Andrew Nacin 7ab63ed719 Update the help text on themes.php. The Install Themes tab is now an Add New button.
props ethitter.
fixes #26285.

Built from https://develop.svn.wordpress.org/trunk@26759


git-svn-id: http://core.svn.wordpress.org/trunk@26647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 00:45:10 +00:00
Andrew Nacin 17e3271415 Translator's comment for a date_i18n() string.
props netweb.
fixes #26470.

Built from https://develop.svn.wordpress.org/trunk@26758


git-svn-id: http://core.svn.wordpress.org/trunk@26646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 00:38:13 +00:00
Andrew Nacin 99c9e24814 Proper CSS specificity for columns-based dashboard grids.
props kovshenin.
fixes #26354.

Built from https://develop.svn.wordpress.org/trunk@26756


git-svn-id: http://core.svn.wordpress.org/trunk@26644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 23:47:10 +00:00
Matt Thomas 2eb9b9fb43 On the About page: comprise > compromise, assuming that this is a typo. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26754


git-svn-id: http://core.svn.wordpress.org/trunk@26642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 23:36:11 +00:00
Andrew Nacin dfdcf6246a Themes: Avoid overlap with themes with small screenshots and no description.
props matveb.
fixes #26465.

Built from https://develop.svn.wordpress.org/trunk@26753


git-svn-id: http://core.svn.wordpress.org/trunk@26641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 23:16:11 +00:00
Matt Thomas 88c2c9a089 I believe we're consistent about capitalizing Open Source elsewhere. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26751


git-svn-id: http://core.svn.wordpress.org/trunk@26639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 22:22:09 +00:00
Matt Thomas 05a9478303 Visual refinements to the About page and screenshots. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26750


git-svn-id: http://core.svn.wordpress.org/trunk@26638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 22:18:11 +00:00
Andrew Nacin 9891557341 Themes: Final gutter and breakpoint adjustments.
props matveb.
fixes #26462.

Built from https://develop.svn.wordpress.org/trunk@26747


git-svn-id: http://core.svn.wordpress.org/trunk@26635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 21:27:10 +00:00
Matt Thomas e0957c8eb7 Adding autosave for color schemes and removing RTL handling. See #26387, props ryelle.
Built from https://develop.svn.wordpress.org/trunk@26746


git-svn-id: http://core.svn.wordpress.org/trunk@26634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 21:26:10 +00:00
Matt Thomas 03ab0cc95f Provide a default generic avatar icon in the My Account menu if avatars are disabled, ensuring that the link is visible at responsive sizes. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26744


git-svn-id: http://core.svn.wordpress.org/trunk@26633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 21:23:10 +00:00
Andrew Ozz 2da2559d26 Responsive menu: fix calculation of the responsive trigger width from JS. It is affected by a vertical scrollbar width in some browsers. See #26458.
Built from https://develop.svn.wordpress.org/trunk@26743


git-svn-id: http://core.svn.wordpress.org/trunk@26632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 20:50:10 +00:00
Matt Thomas 8d82adf989 Add missing about.color-schemes.png. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26742


git-svn-id: http://core.svn.wordpress.org/trunk@26631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 20:17:11 +00:00
Andrew Nacin 61b7831f56 Dashboard: Restore a line that vanished from my editor to print recently published posts. Also fix an off-by-one error.
see [26704]. see #26066.

Built from https://develop.svn.wordpress.org/trunk@26741


git-svn-id: http://core.svn.wordpress.org/trunk@26630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 20:13:11 +00:00
Andrew Nacin 0446853711 Themes: Adjust screenshot ratios.
* On the details overlay, always show the full 4/3 ratio.
 * On the grid, reduce to ~3/2 only if the screen width is less than 1400px. Otherwise, show the screenshot at 4/3 ratio.

props matveb, nacin.
fixes #26159.

Built from https://develop.svn.wordpress.org/trunk@26739


git-svn-id: http://core.svn.wordpress.org/trunk@26628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:51:10 +00:00
Andrew Nacin 3964c1f132 Themes: If a theme only has a very-old-school 300px-wide screenshot (or narrower), don't stretch it.
props matveb.
fixes #26459.

Built from https://develop.svn.wordpress.org/trunk@26738


git-svn-id: http://core.svn.wordpress.org/trunk@26627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:42:11 +00:00
Matt Thomas 41b8584cd2 Updates to the About page:
* A live color scheme preview
* Replace the hard-coded version number
* Copy edits
* New screenshots
* Size adjustments to the header and WP badge
* Capitalize 'Open Sans'

See #26387, props markoheijnen, ryelle, siobhan, melchoyce.


Built from https://develop.svn.wordpress.org/trunk@26737


git-svn-id: http://core.svn.wordpress.org/trunk@26626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:36:11 +00:00
Drew Jaynes 7bf5470bab Inline documentation fixes for hooks and functions introduced in 3.8.0.
Built from https://develop.svn.wordpress.org/trunk@26736


git-svn-id: http://core.svn.wordpress.org/trunk@26625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:18:11 +00:00
Andrew Nacin a41e7e8b9b Core updates: Explicitly call wp_cache_delete() after a DB upgrade, as not all cache backends allow the entire backend to be flushed.
props dd32.
fixes #26173.

Built from https://develop.svn.wordpress.org/trunk@26734


git-svn-id: http://core.svn.wordpress.org/trunk@26623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:00:10 +00:00
Matt Thomas d6068ae5b8 Ensure that disabled select elements are distinguishable from normal ones. Fixes #26456, props TobiasBg.
Built from https://develop.svn.wordpress.org/trunk@26733


git-svn-id: http://core.svn.wordpress.org/trunk@26622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 18:50:11 +00:00
Drew Jaynes fdbc44ff48 Inline documentation fixes for `wp_heartbeat_set_suspension()`.
See #25073.

Built from https://develop.svn.wordpress.org/trunk@26732


git-svn-id: http://core.svn.wordpress.org/trunk@26621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 18:43:10 +00:00
Andrew Nacin ee54355c16 Add back CSS rules for RTL resize handles.
Disable CSSJanus' swapLtrRtlInUrl option, as we currently don't use it otherwise (and it breaks this if left on).

props ocean90.
fixes #26449.

Built from https://develop.svn.wordpress.org/trunk@26731


git-svn-id: http://core.svn.wordpress.org/trunk@26620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 18:35:11 +00:00
Andrew Nacin d59d76b3d4 Themes: Set a max-width on screenshots so they don't get blurry at very wide screen widths.
props matveb.
fixes #26172.

Built from https://develop.svn.wordpress.org/trunk@26730


git-svn-id: http://core.svn.wordpress.org/trunk@26619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 18:31:10 +00:00
Andrew Nacin 32736c45ff Remove screenshotGallery. see #25948.
Built from https://develop.svn.wordpress.org/trunk@26728


git-svn-id: http://core.svn.wordpress.org/trunk@26617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 17:11:10 +00:00
Andrew Nacin df48cebeb4 No-JavaScript and no-Customizer support for the new Themes screen.
JavaScript is rarely disabled, but graceful degradation is still important. For example, syntax errors can occur, usually with major WP updates that overhaul entire experiences and update external libraries combined with themes or plugins doing weird or old things. If this error is due to their current theme, a user needs to be able to access the themes screen to switch away from the theme. A more subtle issue could make things painful to diagnose.

This commit renders the grid in PHP (the template is duplicated, but it lightweight, fairly mundane, and easy to sync). On Backbone render, the grid is then re-rendered from JavaScript so searches can occur. Customize and Live Preview is disabled if JS fails to kick in. If JS is disabled, old-school "Preview" links are displayed.

No-Customizer support: The customizer is only supported when the browser supports postMessage (IE8+), and if the frontend is a different domain, CORS (IE10+). We use the .hide-if-no-customize class for this. Pre-customize "Preview" links should use .hide-if-customize.

The .load-customize class should be used to declare a link that opens the customizer. This enables customize-loader.js to intercept this link and load the customizer on top of the current window, making for a smoother experience.

fixes #25964.

Built from https://develop.svn.wordpress.org/trunk@26726


git-svn-id: http://core.svn.wordpress.org/trunk@26615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 16:11:10 +00:00
Andrew Nacin 9ecfa135d8 Map old -width theme tags to new -layout tags for the purposes of translation in the admin.
see #21442.

Built from https://develop.svn.wordpress.org/trunk@26725


git-svn-id: http://core.svn.wordpress.org/trunk@26614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 14:37:10 +00:00
Andrew Nacin b9bbf2e814 Use p.description instead of <small> on the discussion settings page. see #26441.
Built from https://develop.svn.wordpress.org/trunk@26724


git-svn-id: http://core.svn.wordpress.org/trunk@26613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 14:22:11 +00:00
Andrew Nacin 135adf3975 Un-translate all of the about page strings so translators don't start working on incomplete copy. see #26387.
Built from https://develop.svn.wordpress.org/trunk@26723


git-svn-id: http://core.svn.wordpress.org/trunk@26612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 14:20:12 +00:00
Matt Thomas 2941e1d1bb Switch this header on the ABout page from title case to sentence case to match the style of all other headers on the page. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26721


git-svn-id: http://core.svn.wordpress.org/trunk@26610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 12:37:11 +00:00
Matt Thomas 6acf620961 Slight adjustment to centered headlines in About page. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26720


git-svn-id: http://core.svn.wordpress.org/trunk@26609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 12:33:11 +00:00
Matt Thomas b42583aedb Updates to the About page:
- Better screenshots
- Align screenshots with the dividers between sections
- Increase body text size
- Add a mention of Twenty Fourteen by name
- i18nalize 'Now with more color'
- Replace &rsquo; with &#8217;

See #26387.


Built from https://develop.svn.wordpress.org/trunk@26719


git-svn-id: http://core.svn.wordpress.org/trunk@26608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 12:16:10 +00:00
Matt Thomas 443565c4c6 Committing a first pass at a new About page for 3.8. See #26387, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26718


git-svn-id: http://core.svn.wordpress.org/trunk@26607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 07:50:12 +00:00
Matt Thomas 4591dc785b Correct the direction of arrow icons when comparing revisions in RTL. Fixes #26439, props adamsilverstein.
Built from https://develop.svn.wordpress.org/trunk@26717


git-svn-id: http://core.svn.wordpress.org/trunk@26606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 07:21:10 +00:00
Matt Thomas 1f5503f92e Keep draggable panels from interfering with swipe scrolling on touch devices running Internet Explorer 10/11. Fixes #26297, props georgestephanis.
Built from https://develop.svn.wordpress.org/trunk@26715


git-svn-id: http://core.svn.wordpress.org/trunk@26604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 04:44:10 +00:00
Matt Thomas dc05d0530b Hide the 'Dismiss' label in the dashboard welcome panel at smartphone sizes, so the close link doesn't overlap the Welcome headline. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26712


git-svn-id: http://core.svn.wordpress.org/trunk@26601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 01:16:11 +00:00
Matt Mullenweg ba93d95af0 Add and display new tags to highlight the ever-growing number of responsive themes available. Fixes #21442.
Props Otto42 and lancewillett.

Built from https://develop.svn.wordpress.org/trunk@26711


git-svn-id: http://core.svn.wordpress.org/trunk@26600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 01:07:11 +00:00
Matt Thomas 328a393f69 Fix the positioning of arrow icons in the slider buttons in Revisions. See #26439.
Built from https://develop.svn.wordpress.org/trunk@26709


git-svn-id: http://core.svn.wordpress.org/trunk@26598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 00:43:10 +00:00
Andrew Nacin d1dcd30c5f Themes: Switch to a text overlay instead of an icon on hover. Numerous reasons outlined in the ticket.
props shaunandrews.
fixes #26440.

Built from https://develop.svn.wordpress.org/trunk@26708


git-svn-id: http://core.svn.wordpress.org/trunk@26597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:43:11 +00:00
Andrew Nacin 8a2accaa41 Fix various i18n issues on the dashboard. Limits it to posts and pages only for 3.8.
props SergeyBiryukov, dimadin.
fixes #26066.

Built from https://develop.svn.wordpress.org/trunk@26704


git-svn-id: http://core.svn.wordpress.org/trunk@26594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:34:11 +00:00
Andrew Ozz 765b617a8c Widgets: jshint cleanup of widgets.js, see #25821.
Built from https://develop.svn.wordpress.org/trunk@26703


git-svn-id: http://core.svn.wordpress.org/trunk@26593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:14:09 +00:00
Andrew Nacin 1a34e361ac Fix z-indexes as it relates to thickbox, the theme modal, and admin menu.
props ryelle, shaunandrews.
fixes #26442.

Built from https://develop.svn.wordpress.org/trunk@26701


git-svn-id: http://core.svn.wordpress.org/trunk@26591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:10:11 +00:00
Andrew Nacin 8de0c10bb9 Restore "Search Engines Discouraged" to the dashboard.
props JustinSainton.
fixes #26431.

Built from https://develop.svn.wordpress.org/trunk@26700


git-svn-id: http://core.svn.wordpress.org/trunk@26590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:05:10 +00:00
Andrew Nacin 4a3e2f84b9 Dashboard: Rename the Site Content widget (née Right Now) to At a Glance.
see #25824.

Built from https://develop.svn.wordpress.org/trunk@26697


git-svn-id: http://core.svn.wordpress.org/trunk@26587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:38:11 +00:00
Andrew Nacin d0e4753aef Widgets: Add click-to-add widgets to the bottom (not top) of the target sidebar.
fixes #25821.

Built from https://develop.svn.wordpress.org/trunk@26696


git-svn-id: http://core.svn.wordpress.org/trunk@26586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:27:11 +00:00
Andrew Nacin b8882b3511 Widgets: Only scroll to the newly clicked-and-added widget if it is out of the viewport.
props shaunandrews.
see #25821.

Built from https://develop.svn.wordpress.org/trunk@26695


git-svn-id: http://core.svn.wordpress.org/trunk@26585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:22:11 +00:00
Andrew Nacin 0617feaa30 Final SVG painter fixes.
* wp.svgPainter and now moved to wp-admin.
 * Restore !important background-image handling.
 * Delay executing the IE9-specific base64 code if we don't need it.
 * Make painted icons lose their color after hover at the same speed as dashicons (100ms).

props azaozz.
fixes #26333.

Built from https://develop.svn.wordpress.org/trunk@26693


git-svn-id: http://core.svn.wordpress.org/trunk@26583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:01:10 +00:00
Andrew Nacin 8b8c8e96e7 Deactivate MP6 on update to 3.8.
If left on, it introduces a lot of weird issues not easily diagnosed. MP6 will be updated before release to prevent itself from functioning 3.8+, but this will cut down on support requests by people who update core but not MP6, which was a fairly popular plugin.

fixes #26334.

Built from https://develop.svn.wordpress.org/trunk@26692


git-svn-id: http://core.svn.wordpress.org/trunk@26582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:30:11 +00:00
Andrew Nacin 1788d5840f Dashboard backwards compatibility updates.
* Restore missing wp_dashboard_rss_control() helper.
 * Restore all original 3.7 functions, deprecating many, reusing others. 
 * Rename and remove functions so as not to clash with the original dash plugin.
 * Filter cleanup/restoration.

see #25824, #26334.

Built from https://develop.svn.wordpress.org/trunk@26690


git-svn-id: http://core.svn.wordpress.org/trunk@26580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:23:10 +00:00
Andrew Nacin e92d80f5c6 Themes: Let theme author links look like links.
props matveb.
fixes #26425.

Built from https://develop.svn.wordpress.org/trunk@26688


git-svn-id: http://core.svn.wordpress.org/trunk@26578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:58:21 +00:00
Matt Thomas 6202106205 Un-hide dropdown submenus at responsive sizes, make submenus within dropdowns appear as inline lists at mobile device sizes. See #25972.
Built from https://develop.svn.wordpress.org/trunk@26687


git-svn-id: http://core.svn.wordpress.org/trunk@26577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:58:10 +00:00
Andrew Nacin e509a66071 Themes: Only show author names during a search if it matches 3 or more characters.
props matveb.
fixes #26422.

Built from https://develop.svn.wordpress.org/trunk@26686


git-svn-id: http://core.svn.wordpress.org/trunk@26576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:57:11 +00:00
Andrew Nacin 462d342de1 Themes: when initiating a search, avoid triggering a reset event when it's not necessary.
props matveb.
fixes #26434.

Built from https://develop.svn.wordpress.org/trunk@26685


git-svn-id: http://core.svn.wordpress.org/trunk@26575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:15:11 +00:00
Andrew Nacin 08430e2684 Theme: When showing an author in the grid (during a search), don't include the author's link.
fixes #26433.

Built from https://develop.svn.wordpress.org/trunk@26684


git-svn-id: http://core.svn.wordpress.org/trunk@26574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:08:10 +00:00
Matt Thomas 7c45ae9f1c More consistent vertical alignment of the .awaiting-mod/new updates indicator. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26682


git-svn-id: http://core.svn.wordpress.org/trunk@26572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:48:10 +00:00
Andrew Nacin 72f9712a1f Themes: Refine how we display the current theme.
props shaunandrews, kwight, matveb.
see #26003.

Built from https://develop.svn.wordpress.org/trunk@26681


git-svn-id: http://core.svn.wordpress.org/trunk@26571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:42:16 +00:00
Helen Hou-Sandí 1fcbe8c80b Bring screen reader shortcuts and image edit controls in line with admin design. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26677


git-svn-id: http://core.svn.wordpress.org/trunk@26567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:17:09 +00:00
Helen Hou-Sandí 9aea0dea8a Lovingly restore corners that had previously been nibbled upon by a mouse. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26676


git-svn-id: http://core.svn.wordpress.org/trunk@26566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:07:10 +00:00
Matt Thomas 48f6631c4e Line up ALL the things:
* Make folded adminmenu icons line up with the W icon in the toolbar
* Make the W link in the toolbar the same width as the folded adminmenu
* Reduce padding on toolbar links to match reduced padding between W and Globe icons
* Reduce right-side padding on toolbar links to account for 1px of extra padding around icons on the left

See #25858.


Built from https://develop.svn.wordpress.org/trunk@26675


git-svn-id: http://core.svn.wordpress.org/trunk@26565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:03:10 +00:00
Helen Hou-Sandí 7f8584d37b More targeted background image styling for admin menu SVG icons. fixes #25147.
Built from https://develop.svn.wordpress.org/trunk@26671


git-svn-id: http://core.svn.wordpress.org/trunk@26561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 17:53:10 +00:00
Andrew Nacin 21d946cf52 Define globals and add semicolons to wp-fullscreen.js.
`grunt jshint` now runs clean for WordPress core!

props mattwiebe.
fixes #26029.

Built from https://develop.svn.wordpress.org/trunk@26667


git-svn-id: http://core.svn.wordpress.org/trunk@26557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 16:05:11 +00:00
Andrew Nacin 9b29ad0529 Allow for Dashicons and base64-encoded data:image/svg+xml URIs when specifying menu icons.
Both of these icons can be colored to match the color scheme, including hover states.
Both are accepted for register_post_type()'s menu_icon argument, and also add_menu_page()'s $icon_url argument.

To use a Dashicon, pass the name of the helper class, e.g. 'dashicons-piechart'.
To use an SVG, pass a valid data URI string starting with 'data:image/svg+xml;base64,'.

props helen.
fixes #25147.

Built from https://develop.svn.wordpress.org/trunk@26664


git-svn-id: http://core.svn.wordpress.org/trunk@26554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 06:38:09 +00:00
Andrew Nacin 11715a29b8 Themes: Disable collapse actions when showing only a single theme; improve the responsive layout.
props matveb.
fixes #25962.

Built from https://develop.svn.wordpress.org/trunk@26660


git-svn-id: http://core.svn.wordpress.org/trunk@26550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 04:57:10 +00:00
Matt Mullenweg e20a684463 Create a new tag for themes that have passed the theme check guidelines for accessibility. Fixes #26157
Props lancewillett.


Built from https://develop.svn.wordpress.org/trunk@26658


git-svn-id: http://core.svn.wordpress.org/trunk@26548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 03:49:10 +00:00
Helen Hou-Sandí 52909e1956 Restore CSS for the Site Content, née Right Now, Dashboard widget. Removes a nice large swath of unnecessary styles. fixes #26392, see #25824.
Built from https://develop.svn.wordpress.org/trunk@26656


git-svn-id: http://core.svn.wordpress.org/trunk@26546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 02:37:10 +00:00
Andrew Nacin a56aa77d67 Themes: When only one theme is available, show just the details view.
Only one theme may be available when no other themes are allowed (multisite), no other themes are installed, or when the user is denied the switch_themes capability but still has edit_theme_options.

props matveb, markjaquith.
see #25962.

Built from https://develop.svn.wordpress.org/trunk@26652


git-svn-id: http://core.svn.wordpress.org/trunk@26542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 00:16:10 +00:00
Andrew Ozz b0a9fb217a Widgets: on clicking Add, don't move the chooser out of the widget early as that makes is visible at the bottom of the screen. Remove the cloned copy of it instead. Part-props jeremyfelt, fixes #26417.
Built from https://develop.svn.wordpress.org/trunk@26651


git-svn-id: http://core.svn.wordpress.org/trunk@26541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 00:02:11 +00:00
Andrew Ozz 1ae48b7644 DFW: don't block the "keyup" event, fixes toggling the checkbox in the Link dialog with the spacebar. Fixes #25934.
Built from https://develop.svn.wordpress.org/trunk@26649


git-svn-id: http://core.svn.wordpress.org/trunk@26539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 23:51:10 +00:00
Drew Jaynes b3bc78df8f Hook docs fixes following [26645].
See #25721.

Built from https://develop.svn.wordpress.org/trunk@26648


git-svn-id: http://core.svn.wordpress.org/trunk@26538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 23:32:11 +00:00
Andrew Nacin 626d00589b westi forgot my full stop. see #23569.
Built from https://develop.svn.wordpress.org/trunk@26641


git-svn-id: http://core.svn.wordpress.org/trunk@26531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:57:09 +00:00
Peter Westwood 1bbcf590b9 Improve the description of the Network Admin Email option to better describe what the address will be used for. Fixes #23569 props nacin.
Built from https://develop.svn.wordpress.org/trunk@26640


git-svn-id: http://core.svn.wordpress.org/trunk@26530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:54:10 +00:00
Andrew Nacin fce306232a Allow HTML in the theme name for the themes.php template.
props matveb.
fixes #26411.

Built from https://develop.svn.wordpress.org/trunk@26638


git-svn-id: http://core.svn.wordpress.org/trunk@26528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:41:10 +00:00
Matt Thomas 5717988ecd Remove unneeded transition styles on adminmenu links that make the transition between expanded and collapsed menubars choppy in Safari and Chrome. Fixes #26406.
Built from https://develop.svn.wordpress.org/trunk@26637


git-svn-id: http://core.svn.wordpress.org/trunk@26527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:40:10 +00:00
Helen Hou-Sandí dbe43017b5 Remove more references to MP6 and standardize on `.wp-ui-*` for prefixed generic class names. props nacin, kovshenin, fixes #26263.
Built from https://develop.svn.wordpress.org/trunk@26635


git-svn-id: http://core.svn.wordpress.org/trunk@26525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:16:11 +00:00
Sergey Biryukov cac815c4e9 Avoid a PHP notice on Edit Menus screen when a menu is attached to a non-existing location.
props nofearinc.
fixes #26287.
Built from https://develop.svn.wordpress.org/trunk@26634


git-svn-id: http://core.svn.wordpress.org/trunk@26524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 20:37:11 +00:00
Matt Thomas 21c732c9b7 Add more columns in the theme browser on screens over 2000px wide to ensure that theme screenshots never appear larger than their resolution allows. Fixes #26172, props shaunandrews.
Built from https://develop.svn.wordpress.org/trunk@26633


git-svn-id: http://core.svn.wordpress.org/trunk@26523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 20:32:12 +00:00
Drew Jaynes 087289b6a4 Hook docs pinking shears.
Built from https://develop.svn.wordpress.org/trunk@26631


git-svn-id: http://core.svn.wordpress.org/trunk@26521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 20:03:09 +00:00
Andrew Nacin e6f229c29b Pinking shears. see #26086 props atimmer.
Built from https://develop.svn.wordpress.org/trunk@26627


git-svn-id: http://core.svn.wordpress.org/trunk@26517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:34:09 +00:00
Andrew Nacin bd17d08545 Add wp_prepare_themes_for_js filter to wp_prepare_themes_for_js().
props kovshenin.
fixes #25948.

Built from https://develop.svn.wordpress.org/trunk@26625


git-svn-id: http://core.svn.wordpress.org/trunk@26515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:21:10 +00:00
Matt Thomas b0e68361b7 Prevent the spinner from bumping the Cancel button to a new line in de_DE and ru_RU. Fixes #21890; props SergeyBiryukov, ocean90.
Built from https://develop.svn.wordpress.org/trunk@26624


git-svn-id: http://core.svn.wordpress.org/trunk@26514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:15:09 +00:00
Andrew Nacin 7ac1f7916f Return some semicolons. fixes #25594.
Built from https://develop.svn.wordpress.org/trunk@26623


git-svn-id: http://core.svn.wordpress.org/trunk@26513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:08:10 +00:00
Andrew Nacin 4b2e6ac5ad RTL fix for themes.php. props yoavf. fixes #26405.
Built from https://develop.svn.wordpress.org/trunk@26622


git-svn-id: http://core.svn.wordpress.org/trunk@26512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 18:58:10 +00:00
Andrew Ozz 414a0f0693 Revert [26618], no longer needed after reverting [26593], also fails to remove a border-top from .widget-inside when the widget is in a sidebar. See #26391.
Built from https://develop.svn.wordpress.org/trunk@26621


git-svn-id: http://core.svn.wordpress.org/trunk@26511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 18:54:10 +00:00
Matt Thomas 014d84cd1a Allow error messages to push the adminmenu down. Fixes #26312, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26620


git-svn-id: http://core.svn.wordpress.org/trunk@26510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 18:51:09 +00:00
Matt Thomas 0b4708ea9e Ensure that .widget-inside gets the necessary interior padding regardless of its containing element. Fixes #26391, props cainm.
Built from https://develop.svn.wordpress.org/trunk@26618


git-svn-id: http://core.svn.wordpress.org/trunk@26508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 18:17:10 +00:00
Andrew Nacin 757a470708 Include columns-# CSS class in wp_dashboard() for when the screen supports it.
props westi.
fixes #26354.

Built from https://develop.svn.wordpress.org/trunk@26617


git-svn-id: http://core.svn.wordpress.org/trunk@26507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 17:28:11 +00:00
Andrew Nacin cd210390a2 Build RTL stylesheets for color schemes.
props dd32.
fixes #26315.

Built from https://develop.svn.wordpress.org/trunk@26616


git-svn-id: http://core.svn.wordpress.org/trunk@26506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 17:21:20 +00:00
Matt Thomas 3555bc8105 Improve the styling of browser file input controls. Fixes #26393.
Built from https://develop.svn.wordpress.org/trunk@26615


git-svn-id: http://core.svn.wordpress.org/trunk@26505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 17:21:11 +00:00
Andrew Nacin 2e96bd6fd8 Nav Menu admin: Suppress outlines on expand/collapse arrows. fixes #26398.
Built from https://develop.svn.wordpress.org/trunk@26614


git-svn-id: http://core.svn.wordpress.org/trunk@26504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 17:16:10 +00:00
Andrew Nacin bfc16271ca Nav Menus: Delegate click events for move links.
props ankit.gade.
fixes #25594.

Built from https://develop.svn.wordpress.org/trunk@26613


git-svn-id: http://core.svn.wordpress.org/trunk@26503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 17:10:11 +00:00
Andrew Nacin 7e5b2a013a Restore original properties of the right now (activity) and primary (news) dashboard widgets.
This avoids issues with those trying to remove/disable core meta boxes.

fixes #26392.

Built from https://develop.svn.wordpress.org/trunk@26611


git-svn-id: http://core.svn.wordpress.org/trunk@26501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 16:56:10 +00:00
Andrew Nacin 8a622c122c Temporarily switch to a pinned version of grunt-cssjanus. This in turn temporarily pins cssjanus to a patched fork.
fixes #26181, #26182.

Built from https://develop.svn.wordpress.org/trunk@26610


git-svn-id: http://core.svn.wordpress.org/trunk@26500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 16:39:19 +00:00
Matt Thomas baefdf5bf8 Revert r26593 so Available and Inactive widgets are once again collapsible. Make the arrows only appear on hover when uncollapsed. Fixes #26327, props nacin.
Built from https://develop.svn.wordpress.org/trunk@26608


git-svn-id: http://core.svn.wordpress.org/trunk@26498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 16:31:10 +00:00
Helen Hou-Sandí a6fdf9cc8c Utilize a more widely-adopted CSS method for hiding screen reader text, as seen in projects like jQuery UI and HTML5 Boilerplate. props codebykat for the initial patch. fixes #23684, #26107.
Built from https://develop.svn.wordpress.org/trunk@26602


git-svn-id: http://core.svn.wordpress.org/trunk@26492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 04:32:11 +00:00
Andrew Ozz e6dd5fbf48 Svg-painter:
- Clean up the JS, better names, etc.
- Convert the base64 encode/decode code from jQuery plugin to local use.
- Add missing icon colors for the default theme.
- Make it more error-proof.
Fixes #26333.
Built from https://develop.svn.wordpress.org/trunk@26601


git-svn-id: http://core.svn.wordpress.org/trunk@26491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 04:13:11 +00:00
Andrew Nacin 9be4bd5720 Rename the new custom-background arguments passed to add_theme_support().
* background-position becomes default-position-x
 * background-attachment becomes default-attachment
 * background-repeat becomes default-repeat

These are in line with existing default-image and default-color arguments, and also makes the position argument unambiguous and forwards compatible.

fixes #20816.

Built from https://develop.svn.wordpress.org/trunk@26594


git-svn-id: http://core.svn.wordpress.org/trunk@26484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:36:10 +00:00
Matt Thomas 26a22db98e Set Available and Inactive Widget areas to not collapse, since they don't look like collapsing elements. Fixes #26327, props MikeHansenMe.
Built from https://develop.svn.wordpress.org/trunk@26593


git-svn-id: http://core.svn.wordpress.org/trunk@26483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:32:10 +00:00
Matt Thomas d050370578 Ensure that theme customizer buttons don't overlap on small screens; allow small-screen theme popup to use the full height of the viewport since the adminmenu is no longer fixed; ensure that buttons in the theme customizer wrap as efficiently as they can on mobile. Fixes #26361, props mattheu, iammattthomas.
Built from https://develop.svn.wordpress.org/trunk@26592


git-svn-id: http://core.svn.wordpress.org/trunk@26482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:14:10 +00:00
Andrew Nacin c4f7821a16 Use current_user_can('manage_network_plugins') in validate_active_plugins() instead of is_super_admin().
props jdgrimes.
fixes #26068.

Built from https://develop.svn.wordpress.org/trunk@26590


git-svn-id: http://core.svn.wordpress.org/trunk@26480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:12:10 +00:00
Matt Thomas a593e88fa5 Ensure that 'Add New Theme' text doesn't overlap the + icon even at Firefox's ridiculously small 230px wide browser. Fixes #26226.
Built from https://develop.svn.wordpress.org/trunk@26584


git-svn-id: http://core.svn.wordpress.org/trunk@26474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:29:09 +00:00
Matt Thomas 4df7acf1d9 Reset the login form inputs to the standard sans-serif font in IE8 to prevent invisible password field inputs when webfonts are used. Fixes #26348, props SergeyBiryukov, iammattthomas.
Built from https://develop.svn.wordpress.org/trunk@26583


git-svn-id: http://core.svn.wordpress.org/trunk@26473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:12:11 +00:00
Matt Thomas 3951d34906 Correct the alignment of Activate and Live Preview buttons in responsive Themes page. Fixes #26373, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26582


git-svn-id: http://core.svn.wordpress.org/trunk@26472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:04:09 +00:00
Andrew Nacin 66425e1489 Use jQuery.prop('checked') instead of jQuery.attr.
props Frank Klein.
fixes #26378.

Built from https://develop.svn.wordpress.org/trunk@26571


git-svn-id: http://core.svn.wordpress.org/trunk@26462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:21:11 +00:00
Andrew Nacin dd465838e6 Rename colors-fresh.css to colors.css. fixes #26137.
Built from https://develop.svn.wordpress.org/trunk@26570


git-svn-id: http://core.svn.wordpress.org/trunk@26461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:16:11 +00:00
Andrew Nacin a3fba0096d In dbDelta(), ensure we are not running CREATE TABLE queries for global tables we wish to not upgrade.
props fliespl.
fixes #22134.

Built from https://develop.svn.wordpress.org/trunk@26566


git-svn-id: http://core.svn.wordpress.org/trunk@26457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:44:10 +00:00
Helen Hou-Sandí 1a3a45dcef Auto-resize the Quick Draft textarea. props lessbloat, markjaquith, helen. fixes #26053.
Built from https://develop.svn.wordpress.org/trunk@26564


git-svn-id: http://core.svn.wordpress.org/trunk@26455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:35:09 +00:00
Helen Hou-Sandí 725eb939d7 Better Dashboard treatment when in no-JS, especially Quick Draft. props georgestephanis, helen. fixes #26376.
Built from https://develop.svn.wordpress.org/trunk@26563


git-svn-id: http://core.svn.wordpress.org/trunk@26454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:32:19 +00:00
Matt Thomas 3a68881300 Remove unnecessary padding on welcome panel icons at responsive sizes. Fixes #26374, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26554


git-svn-id: http://core.svn.wordpress.org/trunk@26445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 16:22:11 +00:00
Dion Hulse 3b706af9c3 Themes: Update the CSS definitions in the SCSS files to be as specific as the base CSS rules. See #25948, #25966
Built from https://develop.svn.wordpress.org/trunk@26551


git-svn-id: http://core.svn.wordpress.org/trunk@26443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 02:11:10 +00:00
Andrew Ozz fda55bd33b Comments moderation screen:
- Don't resize the textarea when replying to long comments.
- Limit the resizing of the textarea when quick-editing long comments to 500px.
Props SergeyBiryukov, fixes #25746.
Built from https://develop.svn.wordpress.org/trunk@26550


git-svn-id: http://core.svn.wordpress.org/trunk@26442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:55:10 +00:00
Andrew Ozz 0f20e57329 Heartbeat:
- Bring back heartbeat.interval().
- Rename wp_disable_heartbeat_suspend() to wp_heartbeat_set_suspension().
- Rename the option for disabling suspension from options.suspend to options.suspension.
Fixes #25073.
Built from https://develop.svn.wordpress.org/trunk@26549


git-svn-id: http://core.svn.wordpress.org/trunk@26441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:45:10 +00:00
Andrew Nacin 3fe7726bd4 Remove @uses from get_screen_icon() / screen_icon(). see #26119.
Built from https://develop.svn.wordpress.org/trunk@26541


git-svn-id: http://core.svn.wordpress.org/trunk@26433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:59:10 +00:00
Drew Jaynes 201306f5da Inline documentation for hooks in wp-admin/includes/update.php.
Props stevenkword for the initial patches.
Fixes #26252.

Built from https://develop.svn.wordpress.org/trunk@26540


git-svn-id: http://core.svn.wordpress.org/trunk@26432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:55:10 +00:00
Matt Thomas 948858e60a Better visual alignment on side-sortables tabs. Fixes #26323, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26539


git-svn-id: http://core.svn.wordpress.org/trunk@26431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:44:10 +00:00
Andrew Nacin 4728680f8f Only informally deprecate get_screen_icon() and screen_icon(). fixes #26119.
Built from https://develop.svn.wordpress.org/trunk@26537


git-svn-id: http://core.svn.wordpress.org/trunk@26429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 20:00:11 +00:00
Matt Thomas b4f2763f8d Restyle .sub text and .mu-storage header to match new admin design conventions. Fixes #26357.
Built from https://develop.svn.wordpress.org/trunk@26536


git-svn-id: http://core.svn.wordpress.org/trunk@26428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:46:10 +00:00
Andrew Nacin 710803793b Simplify the color scheme profile saving JS. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26535


git-svn-id: http://core.svn.wordpress.org/trunk@26427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:45:10 +00:00
Dominik Schilling 35f42dd2bd Reset responsive styles for the checkbox in auth check window.
props iammattthomas.
fixes #26360.
Built from https://develop.svn.wordpress.org/trunk@26532


git-svn-id: http://core.svn.wordpress.org/trunk@26425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:01:10 +00:00
Andrew Nacin bb32d28c75 For the current theme, display all available actions, as dictated by the admin menu.
Restores 3.7 behavior. This could include things like Header and Background as well as theme options pages.

see #25948.

Built from https://develop.svn.wordpress.org/trunk@26531


git-svn-id: http://core.svn.wordpress.org/trunk@26424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 18:58:09 +00:00
Andrew Nacin c6ddea79d1 Themes: Always include the current theme in the list, even if it is not allowed.
see #25948.

Built from https://develop.svn.wordpress.org/trunk@26529


git-svn-id: http://core.svn.wordpress.org/trunk@26422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 18:46:11 +00:00
Matt Thomas 8d6aa0ab25 Updating .wp-dialog styling to match the new admin design. Fixes #26328, props SergeyBiryukov, Ocean90.
Built from https://develop.svn.wordpress.org/trunk@26528


git-svn-id: http://core.svn.wordpress.org/trunk@26421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 17:59:10 +00:00
Matt Thomas 076a40e860 Adding a SVG > PNG fallback for IE8 support. See #26348.
Built from https://develop.svn.wordpress.org/trunk@26527


git-svn-id: http://core.svn.wordpress.org/trunk@26420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 17:30:10 +00:00
Dion Hulse 0e5af31e0f Themes: Update notifiations shouldn't be a <a> if they're not links, data.update already contains <p> tags. See #25948
Built from https://develop.svn.wordpress.org/trunk@26524


git-svn-id: http://core.svn.wordpress.org/trunk@26417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 08:38:10 +00:00
Dion Hulse ea219afa23 Themes: Standardise on dot notation for object access in the Templates. See #25948
Built from https://develop.svn.wordpress.org/trunk@26523


git-svn-id: http://core.svn.wordpress.org/trunk@26416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:34:10 +00:00
Dion Hulse b6a102f1f5 Themes: Remove some HTML from a new string and put it in the replacement value instead. See #25948
Built from https://develop.svn.wordpress.org/trunk@26522


git-svn-id: http://core.svn.wordpress.org/trunk@26415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:20:09 +00:00
Dion Hulse c054cdad32 Themes: Bail if the search term matches the currently rendered themes, Fixes the events being clobbered. Props jblz. Fixes #26347
Built from https://develop.svn.wordpress.org/trunk@26521


git-svn-id: http://core.svn.wordpress.org/trunk@26414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:16:10 +00:00
Dion Hulse 6c9356b360 Themes: Indent the HTML for proper indentation after r26519 added an extra div. See #25961, #26192
Built from https://develop.svn.wordpress.org/trunk@26520


git-svn-id: http://core.svn.wordpress.org/trunk@26413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:14:10 +00:00
Dion Hulse 4829e81966 Themes: Make the Theme Detail view div use more of the available viewport, Fix the Header and Footer in the viewport and only scroll the theme details, Prefix some more theme CSS classes. Props shaunandrews for the initial viewport patch. Fixes #25961, #26192
Built from https://develop.svn.wordpress.org/trunk@26519


git-svn-id: http://core.svn.wordpress.org/trunk@26412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:12:09 +00:00
Andrew Ozz 8d6059b383 Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119
Built from https://develop.svn.wordpress.org/trunk@26518


git-svn-id: http://core.svn.wordpress.org/trunk@26411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 03:53:11 +00:00
Dion Hulse ec734890a9 Themes: Add a updated Help text. Props designsimply & hanni. See #26285
Built from https://develop.svn.wordpress.org/trunk@26517


git-svn-id: http://core.svn.wordpress.org/trunk@26410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 03:23:10 +00:00
Andrew Ozz 830bcf9957 Make the responsive menu usable with a mouse, fix non-folded and :focus styles, toggle the submenus on touchend/click. Fixes #26086.
Built from https://develop.svn.wordpress.org/trunk@26516


git-svn-id: http://core.svn.wordpress.org/trunk@26409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 03:19:11 +00:00
Dion Hulse f1f6cec5e8 Themes: For searches, replace the document hash, don't add a new history event for each keypress. See #25948
Built from https://develop.svn.wordpress.org/trunk@26515


git-svn-id: http://core.svn.wordpress.org/trunk@26408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 01:51:09 +00:00
Dion Hulse 527efd828c Themes: We no longer have a delete link on the multi-grid view. See #25948
Built from https://develop.svn.wordpress.org/trunk@26514


git-svn-id: http://core.svn.wordpress.org/trunk@26407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 00:55:09 +00:00
Dion Hulse 707eca46ab Themes: Fix the routing for Themes in a sub-directory (/wp-content/themes/prefix/theme-name/style.css) and navigate to hash-url's for searches. See #25948
Built from https://develop.svn.wordpress.org/trunk@26513


git-svn-id: http://core.svn.wordpress.org/trunk@26406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 00:48:09 +00:00
Dion Hulse 578469fb12 Add braces around a conditional hook. This wasn't causing an issue as `if ( conditional ) /* multiline comment */ command();` is perfectly OK, but left open doubt and potential future bugs. See #25229
Built from https://develop.svn.wordpress.org/trunk@26509


git-svn-id: http://core.svn.wordpress.org/trunk@26403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 23:13:09 +00:00
Sergey Biryukov 8ddb058d36 Fix Customize link in theme info window. props kovshenin. see #25948.
Built from https://develop.svn.wordpress.org/trunk@26508


git-svn-id: http://core.svn.wordpress.org/trunk@26402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 21:09:10 +00:00
Dominik Schilling f43440871f Themes: Fix position of admin notice with .error class. fixes #26304.
Built from https://develop.svn.wordpress.org/trunk@26507


git-svn-id: http://core.svn.wordpress.org/trunk@26401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 20:23:09 +00:00
Andrew Ozz a6ac0bea23 Improve the admin color scheme picker:
- Easier to extend.
- Remove the "drop-down" look, show all choices inline.
- Some PHP and JS cleanup.
Props ryelle, fixes #26336.
Built from https://develop.svn.wordpress.org/trunk@26506


git-svn-id: http://core.svn.wordpress.org/trunk@26400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 19:50:09 +00:00
Andrew Ozz db074f8e65 Widgets: improve the help text on the Widgets screen, props siobhan, props Hanni, fixes #26244.
Built from https://develop.svn.wordpress.org/trunk@26505


git-svn-id: http://core.svn.wordpress.org/trunk@26399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 18:29:09 +00:00
Dominik Schilling 19b3779e0e Themes: Fix HTML markup for screenshots. props kovshenin. fixes #25959.
Built from https://develop.svn.wordpress.org/trunk@26504


git-svn-id: http://core.svn.wordpress.org/trunk@26398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 18:00:09 +00:00
Drew Jaynes c9077348ee Inline documentation for hooks in wp-admin/includes/user.php.
Props aaronholbrook for the initial patch.
Fixes #26099.

Built from https://develop.svn.wordpress.org/trunk@26503


git-svn-id: http://core.svn.wordpress.org/trunk@26397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 17:54:10 +00:00
Sergey Biryukov fd0885cf5b Fetch only the required fields in confirm_delete_users().
props rodrigosprimo.
fixes #25178.
Built from https://develop.svn.wordpress.org/trunk@26499


git-svn-id: http://core.svn.wordpress.org/trunk@26393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 11:58:09 +00:00
Dion Hulse d37d97c9c0 Themes: In the detailed view, disable the next/previous buttons when there are no more items. Fixes #26314
Built from https://develop.svn.wordpress.org/trunk@26498


git-svn-id: http://core.svn.wordpress.org/trunk@26392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 05:59:11 +00:00
Dion Hulse 5e9796a2fa Themes: For small screen sizes, still allow access to the Customize button (Don't hide the theme actions). See #25948
Built from https://develop.svn.wordpress.org/trunk@26496


git-svn-id: http://core.svn.wordpress.org/trunk@26390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 05:16:10 +00:00
Dion Hulse f809af5bd0 Prefix the new Theme classes. Fixes #25966
Built from https://develop.svn.wordpress.org/trunk@26495


git-svn-id: http://core.svn.wordpress.org/trunk@26389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 05:12:10 +00:00
Dion Hulse d4ec4ebef6 Rotate the Collapse arrows correctly for RTL, switch the Theme next/previous arrows in RTL. Fixes #26340
Built from https://develop.svn.wordpress.org/trunk@26494


git-svn-id: http://core.svn.wordpress.org/trunk@26388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 04:56:09 +00:00
Drew Jaynes ee8aa9ee4c Inline documentation for hooks in wp-admin/user-new.php & wp-admin/user-edit.php.
Also fixes one parameter type in wp-includes/user.php.

Fixes #25726.

Built from https://develop.svn.wordpress.org/trunk@26493


git-svn-id: http://core.svn.wordpress.org/trunk@26387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 01:35:10 +00:00
Dominik Schilling cc11eeac5b Themes: Merge theme.css into wp-admin.css. fixes #25966.
Built from https://develop.svn.wordpress.org/trunk@26484


git-svn-id: http://core.svn.wordpress.org/trunk@26381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 17:32:10 +00:00
Dominik Schilling d87b227786 Themes: Prepare wp-admin.css for a merge with theme.css.
* Remove styles for `#current-theme` and `.theme-options`. Markup removed in [26141].
* Move "Tabbed Admin Screen Interface" section out of "Themes" section. See [26466].

see #25966.
Built from https://develop.svn.wordpress.org/trunk@26483


git-svn-id: http://core.svn.wordpress.org/trunk@26380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 16:36:10 +00:00
Dominik Schilling 9c46da21fc Themes: Prepare theme.css for a merge with wp-admin.css.
* Let the code breathe.
* Add necessary vendor prefixes.
* Remove .current-label:before since it was hidden.

see #25966.
Built from https://develop.svn.wordpress.org/trunk@26482


git-svn-id: http://core.svn.wordpress.org/trunk@26379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 15:36:11 +00:00
Dominik Schilling 4d3fd06160 Themes: Add type="search" to search. fixes #26331.
Built from https://develop.svn.wordpress.org/trunk@26481


git-svn-id: http://core.svn.wordpress.org/trunk@26378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 22:20:10 +00:00
Dominik Schilling 326bb3dfea Themes: Search the description too.
props dd32.
fixes #26309.
Built from https://develop.svn.wordpress.org/trunk@26480


git-svn-id: http://core.svn.wordpress.org/trunk@26377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 22:18:10 +00:00
Dominik Schilling 2b3e31d6de Network Admin: Remove a superfluous description field and merge two similar strings.
props Hanni, SergeyBiryukov.
fixes #26260.
Built from https://develop.svn.wordpress.org/trunk@26478


git-svn-id: http://core.svn.wordpress.org/trunk@26376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 21:01:10 +00:00
Dominik Schilling 1302f791c0 Mobile: Add some bottom spacing to checkboxes on Nav Menu screen.
props mattheu.
fixes #26325.
Built from https://develop.svn.wordpress.org/trunk@26477


git-svn-id: http://core.svn.wordpress.org/trunk@26375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 19:16:10 +00:00
Dominik Schilling cc4a1b05b0 Fix selector for category checklists to apply styles to custom taxonomies too.
props mattheu.
fixes #26324.
Built from https://develop.svn.wordpress.org/trunk@26476


git-svn-id: http://core.svn.wordpress.org/trunk@26374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 19:05:10 +00:00
Dominik Schilling 6fdf778e3e Admin CSS: Pinking shears.
Built from https://develop.svn.wordpress.org/trunk@26475


git-svn-id: http://core.svn.wordpress.org/trunk@26373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 19:03:10 +00:00
Andrew Ozz 04d8ac5830 Widgets: highlight all drop zones (open and closed sidebars) on starting to drag a widget to indicate "droppability", fixes #26168.
Built from https://develop.svn.wordpress.org/trunk@26474


git-svn-id: http://core.svn.wordpress.org/trunk@26372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 17:58:10 +00:00
Dominik Schilling e5ab876603 Themes: Add missing close tag, see [26462]. see #25959.
Built from https://develop.svn.wordpress.org/trunk@26473


git-svn-id: http://core.svn.wordpress.org/trunk@26371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 17:17:11 +00:00
Dion Hulse 0af3bf7748 Themes: Restore a label accidentally removed in r26470. Props SergeyBiryukov. See #25948
Built from https://develop.svn.wordpress.org/trunk@26472


git-svn-id: http://core.svn.wordpress.org/trunk@26370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 12:04:11 +00:00
Dion Hulse deb9469bb7 Remove RTL and MP6 references from colors-fresh.css as they're now irrelevant to the file.
Built from https://develop.svn.wordpress.org/trunk@26471


git-svn-id: http://core.svn.wordpress.org/trunk@26369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 11:24:09 +00:00
Dion Hulse 8ad620e51f Themes: Do extra Cap checks before outputting links, and use full URI's. See #25948
Built from https://develop.svn.wordpress.org/trunk@26470


git-svn-id: http://core.svn.wordpress.org/trunk@26368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 09:01:09 +00:00
Dion Hulse c8b13eaa35 Themes: When the user doesn't have switch_themes capabilities, and we've passed the current theme, detect the theme slug/stylesheet correctly so that the flags are set properly. See #25948
Built from https://develop.svn.wordpress.org/trunk@26469


git-svn-id: http://core.svn.wordpress.org/trunk@26367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 08:38:09 +00:00
Dion Hulse 1a8b4dfced Themes: Add a clearing <br/> to the end of .theme-browser.
This is needed to cause the browser to render .theme-browser's height as it's true height, previously the reported height was 1*.theme which caused the Theme scroller to kick in immediately (as the threshold was less than 0).
See #25981 See #25948

Built from https://develop.svn.wordpress.org/trunk@26468


git-svn-id: http://core.svn.wordpress.org/trunk@26366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 05:17:11 +00:00
Dion Hulse a2607efe8b Themes: Use _.throttle() instead of a custom one. Props matveb. Fixes #25981
Built from https://develop.svn.wordpress.org/trunk@26467


git-svn-id: http://core.svn.wordpress.org/trunk@26365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 05:14:09 +00:00
Dion Hulse f581667614 Themes: Remove the Tabs from the header of the Add New Theme page. Fixes #26310
Built from https://develop.svn.wordpress.org/trunk@26466


git-svn-id: http://core.svn.wordpress.org/trunk@26364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:41:10 +00:00
Dion Hulse 9e80aaba10 Themes: Remove a now defunct CSS class, .feature-container, which is no longer in use after r26141. See #25948
Built from https://develop.svn.wordpress.org/trunk@26465


git-svn-id: http://core.svn.wordpress.org/trunk@26363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:35:10 +00:00
Dion Hulse ff3732e227 Themes: Update the responsive layouts for the Search box after r26461. See #26305
Built from https://develop.svn.wordpress.org/trunk@26464


git-svn-id: http://core.svn.wordpress.org/trunk@26362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:29:09 +00:00
Dion Hulse 54d658ee4e Themes: Remove some unused CSS (we have neither a .theme-categories or .theme-linear-grid). See #25948
Built from https://develop.svn.wordpress.org/trunk@26463


git-svn-id: http://core.svn.wordpress.org/trunk@26361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:22:10 +00:00
Dion Hulse 2c78650fd0 Themes: Add a default image for when a theme doesn't have a screenshot. Props matveb. See #25959
Built from https://develop.svn.wordpress.org/trunk@26462


git-svn-id: http://core.svn.wordpress.org/trunk@26360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:04:11 +00:00
Dion Hulse 483824f8fb Themes: Display Activated/Deleted messages below the H2, before the Themes. See #26305
Built from https://develop.svn.wordpress.org/trunk@26461


git-svn-id: http://core.svn.wordpress.org/trunk@26359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 02:40:09 +00:00
Dion Hulse 3e094ca937 Themes: Remove a mp6 reference which is no longer needed. See #25948
Built from https://develop.svn.wordpress.org/trunk@26460


git-svn-id: http://core.svn.wordpress.org/trunk@26358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 02:03:10 +00:00
Dion Hulse 72166b14ad Themes: Remove an unused Delete Theme link on the multiple view. See #25948
Built from https://develop.svn.wordpress.org/trunk@26459


git-svn-id: http://core.svn.wordpress.org/trunk@26357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 01:55:10 +00:00
Dion Hulse bdb9112f28 Themes: Style the Theme Author the same in the multi and singular view, make the links readable. Fixes #26306
Built from https://develop.svn.wordpress.org/trunk@26458


git-svn-id: http://core.svn.wordpress.org/trunk@26356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 01:53:10 +00:00
Helen Hou-Sandí 99f969df3c Add remove_option(), remove_options(), and get_options() methods to WP_Screen, along with unit tests. props ocean90, DrewAPicture. fixes #25799.
Built from https://develop.svn.wordpress.org/trunk@26456


git-svn-id: http://core.svn.wordpress.org/trunk@26354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 05:10:09 +00:00
Helen Hou-Sandí 23b03c0a4f Also get more targeted for taxonomy columns. Consolidate column hiding into one rule. props SergeyBiryukov. fixes #26298.
Built from https://develop.svn.wordpress.org/trunk@26454


git-svn-id: http://core.svn.wordpress.org/trunk@26352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 03:53:09 +00:00
Helen Hou-Sandí e6e69d33d8 Get more specific with responsive list table column hiding. Removes unused styling for the plugins list table. fixes #26298.
Built from https://develop.svn.wordpress.org/trunk@26453


git-svn-id: http://core.svn.wordpress.org/trunk@26351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 03:21:10 +00:00
Helen Hou-Sandí 2c0501573d Keep #screen-meta font size consistent. props SergeyBiryukov. fixes #26300.
Built from https://develop.svn.wordpress.org/trunk@26452


git-svn-id: http://core.svn.wordpress.org/trunk@26350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 03:02:09 +00:00
Dion Hulse d4d7ec693b Core Updates: Fix a case where options (db_version specifically) can end up with stale values in the cache after a update is performed. Fixes #26173 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26448


git-svn-id: http://core.svn.wordpress.org/trunk@26346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 02:16:09 +00:00
Andrew Ozz adf6080d19 Fix pending comments/plugins count bubbles, fixes #25918
Built from https://develop.svn.wordpress.org/trunk@26447


git-svn-id: http://core.svn.wordpress.org/trunk@26345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 01:30:10 +00:00
Matt Thomas a14c73be87 Add spacing between elements, correct vertical alignment in Add New Category form. Fixes #26291, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26443


git-svn-id: http://core.svn.wordpress.org/trunk@26341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 23:07:11 +00:00
Matt Thomas 3a191feb1e Prevent submenu flyouts from appearing below elements in the main column. Fixes #26280.
Built from https://develop.svn.wordpress.org/trunk@26442


git-svn-id: http://core.svn.wordpress.org/trunk@26340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 23:02:09 +00:00
Andrew Ozz 1858b65dbb Widgets: fix no-js and accessibility modes, props shaunandrews, fixes #26165.
Built from https://develop.svn.wordpress.org/trunk@26439


git-svn-id: http://core.svn.wordpress.org/trunk@26337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 22:17:10 +00:00
Matt Thomas 3d43a7933b Fix the alignment of checkboxes in menu location settings, and add responsive adjustments for those checkboxes. Fixes #26259, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26438


git-svn-id: http://core.svn.wordpress.org/trunk@26336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 20:20:10 +00:00
Matt Thomas a3261ab61a Set the font size for all text within .form-table to 14px. Fixes #26271.
Built from https://develop.svn.wordpress.org/trunk@26437


git-svn-id: http://core.svn.wordpress.org/trunk@26335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 20:12:11 +00:00
Matt Thomas 06f391665e Give th.th-full font-weight: 400 so its label doesn't get emboldened. Fixes #26272.
Built from https://develop.svn.wordpress.org/trunk@26436


git-svn-id: http://core.svn.wordpress.org/trunk@26334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:57:10 +00:00
Matt Thomas acdc440547 Design fixes to the color picker:
* Apply top: 0 to .wp-color-result (open and closed).
* Reduce text size in hex-value field.
* Move hex-value-field styles to color-picker.css.

Fixes #26289, props mattheu.


Built from https://develop.svn.wordpress.org/trunk@26435


git-svn-id: http://core.svn.wordpress.org/trunk@26333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:51:11 +00:00
Matt Thomas 6f6c835c6c Style the hr element in the admin. Fixes #23856.
Built from https://develop.svn.wordpress.org/trunk@26434


git-svn-id: http://core.svn.wordpress.org/trunk@26332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:37:09 +00:00
Matt Thomas 01fdd027f0 Press This fixes:
* Override responsive styles for the Press This window
* Remove the old header logo in Press This
* Add the new Dashicon WP logo

See #25858.


Built from https://develop.svn.wordpress.org/trunk@26433


git-svn-id: http://core.svn.wordpress.org/trunk@26331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:16:10 +00:00
Andrew Ozz f752cc6658 Widgets: prevent the sidebars from getting too wide, add a little more space between Available Widgets and the sidebars, props shaunandrews, see #25821.
Built from https://develop.svn.wordpress.org/trunk@26432


git-svn-id: http://core.svn.wordpress.org/trunk@26330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 17:45:09 +00:00
Andrew Ozz e5b13dfdf3 Dashboard: set containment for postboxes to "document" and give empty sortables some min-height so postboxes can be dropped there. Props lessbloat, fixes #26026.
Built from https://develop.svn.wordpress.org/trunk@26429


git-svn-id: http://core.svn.wordpress.org/trunk@26329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 02:03:10 +00:00
Andrew Ozz 162037903d Heartbeat: introduce "suspend" functionality and enable it after 20 min. of inactivity, see #25073.
Built from https://develop.svn.wordpress.org/trunk@26428


git-svn-id: http://core.svn.wordpress.org/trunk@26328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:56:10 +00:00
Andrew Ozz 29af7b55f3 Widgets: remove leftover debug bits and fix jshint warnings in widgets.js, see #25952.
Built from https://develop.svn.wordpress.org/trunk@26427


git-svn-id: http://core.svn.wordpress.org/trunk@26327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:42:09 +00:00
Andrew Ozz f46e743343 Widgets: drop onto closed sidebars.
- Make dropping a widget easier by preventing the source sidebar from resizing while the widget is being dragged.
- Move widgets dropped on closed sidebars to the top. UI Sortable places them randomly near the bottom.
- Fix possible regression in wp_list_widget_controls(), add an optional argument to output the sidebar name inside the sortable container.
- Updated styles for sidebar description and widget-hover class.
Part props shaunandrews, fixes #25952.
Built from https://develop.svn.wordpress.org/trunk@26426


git-svn-id: http://core.svn.wordpress.org/trunk@26326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:30:10 +00:00
Sergey Biryukov 49a0254863 Fix the ability to save changes made to an image.
props markoheijnen.
fixes #26000.
Built from https://develop.svn.wordpress.org/trunk@26425


git-svn-id: http://core.svn.wordpress.org/trunk@26325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 23:31:10 +00:00
Matt Thomas 2205a0885a Correct the alignment of sortable list table headers. Fixes #26131, props jeremyfelt.
Built from https://develop.svn.wordpress.org/trunk@26424


git-svn-id: http://core.svn.wordpress.org/trunk@26324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:55:11 +00:00
Matt Thomas bc4a8f6494 Prevent horizontal scrolling when the responsive sidebar is open, pushing the main column off to the right. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26423


git-svn-id: http://core.svn.wordpress.org/trunk@26323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:44:10 +00:00
Matt Thomas 5a3717d526 Match current theme background and add theme hover state color to the highlight color in color schemes. Fixes #25967, props ryelle.
Built from https://develop.svn.wordpress.org/trunk@26422


git-svn-id: http://core.svn.wordpress.org/trunk@26322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:36:11 +00:00
Andrew Ozz 758a07bfd3 Remove cloning of the search box with JS and move it to the bottom of the screen with CSS instead, see #26086
Built from https://develop.svn.wordpress.org/trunk@26421


git-svn-id: http://core.svn.wordpress.org/trunk@26321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:19:14 +00:00
Matt Thomas 2fdde46bd8 Unify the style of button-small everywhere we use it, and make sure the edit slug input lines up with its button and label. Fixes #26261, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26420


git-svn-id: http://core.svn.wordpress.org/trunk@26320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:10:09 +00:00
Matt Thomas f11e29b4ef Remove gradients and text-shadow from ui-slider-handle and restyle it to mimic buttons. Match the background color to the chosen color scheme's -color. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26417


git-svn-id: http://core.svn.wordpress.org/trunk@26317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 21:38:10 +00:00
Matt Thomas 36b2183f03 Hide registered and users columns in Sites table on small screens to prevent columms from becoming too narrow. Fixes #25973, props johnbillion.
Built from https://develop.svn.wordpress.org/trunk@26416


git-svn-id: http://core.svn.wordpress.org/trunk@26316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 19:37:09 +00:00
Matt Thomas e682d6ba29 Match the background color of the responsive toggle button active state to -submenu-background, so it matches color schemes. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26415


git-svn-id: http://core.svn.wordpress.org/trunk@26315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 19:17:10 +00:00
Matt Thomas 126f6cec39 Eliminate the transition animation on the responsive sidebar; set the responsive sidebar to display: none by default so it doesn't appear momentarily when loading the page. Fixes #25969.
Built from https://develop.svn.wordpress.org/trunk@26414


git-svn-id: http://core.svn.wordpress.org/trunk@26314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 19:06:11 +00:00
Matt Thomas d4eff70d07 Reintroduce a drop zone indicator in empty sidebars on the Widgets page. Fixes #26168, props shaunandrews.
Built from https://develop.svn.wordpress.org/trunk@26413


git-svn-id: http://core.svn.wordpress.org/trunk@26313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 18:20:10 +00:00
Matt Thomas 24d4ba3ac4 Adjust the mceResize handle so it matches the handle on the plain text editor. See #26241.
Built from https://develop.svn.wordpress.org/trunk@26412


git-svn-id: http://core.svn.wordpress.org/trunk@26312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:53:10 +00:00
Matt Thomas 6a61711d24 Better alignment of Visual and Text tabs with editor, better alignment of word count container with editor, eliminate gap between tabs and editor on Press This. Fixes #26238, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26411


git-svn-id: http://core.svn.wordpress.org/trunk@26311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:48:09 +00:00
Matt Thomas 47b5c62d3e Restore the bottom border to .wp-editor-container so it's not missing when the editor appears outside the main editor container. Fixes #26241, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26410


git-svn-id: http://core.svn.wordpress.org/trunk@26310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:42:10 +00:00
Matt Thomas f02c3f3037 Keep the resize handle from jumping around when switching between the Visual and Text editors. Fixes #26246, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26408


git-svn-id: http://core.svn.wordpress.org/trunk@26308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:29:09 +00:00
Matt Thomas 268c0dd8d8 Improvements to hover and focus states on the adminbar:
* Add a clear hover state for top-level links in the adminbar.
* Add :focus styles to the adminbar for keyboard accessibility.
* Ensure that the username link in the profile submenu gets a :hover style.
* Add adminbar hover styles to color schemes.
* Set -webkit-font-smoothing to subpixel-antialiased on the adminbar so that Safari doesn't switch to standard antialiasing on mouseover.

Fixes #26152, props ryelle.


Built from https://develop.svn.wordpress.org/trunk@26407


git-svn-id: http://core.svn.wordpress.org/trunk@26307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:18:11 +00:00
Sergey Biryukov f0a4d5a991 Rename mp6_color_scheme JS global to wp_color_scheme.
props kovshenin.
see #26263.
Built from https://develop.svn.wordpress.org/trunk@26406


git-svn-id: http://core.svn.wordpress.org/trunk@26306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 13:58:10 +00:00
Sergey Biryukov e93a99f1b5 Apply paragraph description class on wp-admin/network.php for consistency.
props Hanni.
fixes #26264.
Built from https://develop.svn.wordpress.org/trunk@26405


git-svn-id: http://core.svn.wordpress.org/trunk@26305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 13:23:09 +00:00
Andrew Ozz b8984636c2 Clean up the sticky menu and responsive tweaks JS:
- More descriptive names.
- Share cached jQuery elements.
- Fix re-enabling of touch events on the admin menu.
- Fix disabling/enabling of UI Sortable.
Props tollmanz, props sanchothefat, see #26086, fixes #26088.
Built from https://develop.svn.wordpress.org/trunk@26402


git-svn-id: http://core.svn.wordpress.org/trunk@26302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 08:57:10 +00:00
Drew Jaynes 73f42e01a2 Inline documentation for hooks in wp-admin/includes/class-wp-list-table.php.
Props miyauchi, kpdesign.
Fixes 25848.

Built from https://develop.svn.wordpress.org/trunk@26401


git-svn-id: http://core.svn.wordpress.org/trunk@26301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 08:12:09 +00:00
Drew Jaynes 89211ee8d6 Inline documentation for hooks in wp-admin/post.php.
Props nukaga, kpdesign.
Fixes #25846.

Built from https://develop.svn.wordpress.org/trunk@26399


git-svn-id: http://core.svn.wordpress.org/trunk@26299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 07:44:10 +00:00
Helen Hou-Sandí e6a98258be Add some deleted images to the `$_old_files` array. see [26391], [26395], #26232, #26178.
Built from https://develop.svn.wordpress.org/trunk@26397


git-svn-id: http://core.svn.wordpress.org/trunk@26297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:42:09 +00:00
Matt Thomas 2d2d9c083e Remove the new thickbox styles from wp-admin.css. See #26178
Built from https://develop.svn.wordpress.org/trunk@26396


git-svn-id: http://core.svn.wordpress.org/trunk@26296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:35:10 +00:00
Helen Hou-Sandí 236f388d6d Don't show the Activity widget on the Network Admin Dashboard. props ocean90. fixes #26184.
Built from https://develop.svn.wordpress.org/trunk@26394


git-svn-id: http://core.svn.wordpress.org/trunk@26294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:29:10 +00:00
Matt Thomas e34a91cb56 Make ratings stars 20px to match dashicons native size so they're crisp on all screens. See #26170, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26393


git-svn-id: http://core.svn.wordpress.org/trunk@26293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:12:09 +00:00
Helen Hou-Sandí 2c9af1367e Dashboard columns:
* Improve responsive breakpoints for.
* Remove obsolete network admin option.
* Remove unnecessary JS.

props SergeyBiryukov, kraftbj, lessbloat. fixes #26074.

Built from https://develop.svn.wordpress.org/trunk@26392


git-svn-id: http://core.svn.wordpress.org/trunk@26292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:09:10 +00:00
Helen Hou-Sandí e911c4272a Dashboard JS cleanup. props kadamwhite, helen. see #25824.
Built from https://develop.svn.wordpress.org/trunk@26390


git-svn-id: http://core.svn.wordpress.org/trunk@26290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:38:09 +00:00
Matt Thomas 1163eaeb7c Remove button-secondary class from Collapse link in theme installer; unify Collapse button styles in theme installer and Customize screen; add a border around the Collapse icon so it remains visible on dark backgrounds; move the color styles to colors-fresh. Fixes #26230.
Built from https://develop.svn.wordpress.org/trunk@26389


git-svn-id: http://core.svn.wordpress.org/trunk@26289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:14:09 +00:00
Matt Thomas 0e99fe6bb5 Add #adminmenu to this background color rule so it remains visible on mobile when the sidebar is longer than the main column, like on media-new.php. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26387


git-svn-id: http://core.svn.wordpress.org/trunk@26287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:51:09 +00:00
Matt Thomas e86c507db0 Move responsive button styles from wp-admin.css to buttons.css. Fixes #25968, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26386


git-svn-id: http://core.svn.wordpress.org/trunk@26286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:36:09 +00:00
Matt Thomas 9f529e99e3 Style the color picker button to match the new standard button style. Adjust font size and height of 'Default' button to match color picker button. Fixes #26179.
Built from https://develop.svn.wordpress.org/trunk@26385


git-svn-id: http://core.svn.wordpress.org/trunk@26285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:28:09 +00:00
Matt Thomas 10dc5dc6a1 Make sure that select elements vertically align properly with other text. Fixes #26136, props jeremyfelt.
Built from https://develop.svn.wordpress.org/trunk@26384


git-svn-id: http://core.svn.wordpress.org/trunk@26284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:03:09 +00:00
Matt Thomas eaa3690f2c Combine these selectors which both target the 'Menu Structure' heading on Edit Menus. Use .menu-edit instead of #post-body to ensure this margin applies only to the Edit Menus page. Fixes #26228.
Built from https://develop.svn.wordpress.org/trunk@26383


git-svn-id: http://core.svn.wordpress.org/trunk@26283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:54:09 +00:00
Matt Thomas 435c690d8f Allow #wpwrap to scroll horizontally if needed, and hide overflow only on specific elements that need it. See #26169.
Built from https://develop.svn.wordpress.org/trunk@26382


git-svn-id: http://core.svn.wordpress.org/trunk@26282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:42:10 +00:00
Dion Hulse 89dfee993d Replace the Star ratings in the dashboard with dashicons ratings.
This also moves the ratings to only displaying full, half, or empty stars (ie. 3.0, 3.5, 4.0, no 3.7 ratings - which are rounded).
Fixes #26170

Built from https://develop.svn.wordpress.org/trunk@26380


git-svn-id: http://core.svn.wordpress.org/trunk@26280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:25:21 +00:00
Matt Thomas 43ef093ce1 Add padding to #wpbody at viewports < 600px so that content isn't overlapped by the absolute-positioned adminbar. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26379


git-svn-id: http://core.svn.wordpress.org/trunk@26279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:05:10 +00:00
Dion Hulse a0f43f5cbf Style Concatenation: Fix loading of dashicons non-woff files when concatenation is in use. Fixes #26250
Built from https://develop.svn.wordpress.org/trunk@26374


git-svn-id: http://core.svn.wordpress.org/trunk@26274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 01:47:10 +00:00
Matt Thomas e54ee86aaa Make the responsive layout behave better when the user zooms the page:
* Change the smartphone media query from 480 to 600px so it captures large screen phones in landscape mode.
* Set #wpadminbar to position: absolute at smartphone sizes so it scrolls with the page, freeing up the viewport.
* Remove the transition states on #adminmenu for better performance on mobile devices
* Make the responsive sidebar scroll with the page instead of using a fixed position
* Remove the -webkit-overflow-scrolling rule that was disabling scroll-to-top when tapping the iOS status bar.
* Remove unnecessary zoom declaration from -ms-viewport.

See #25858.


Built from https://develop.svn.wordpress.org/trunk@26373


git-svn-id: http://core.svn.wordpress.org/trunk@26273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 01:38:10 +00:00
Helen Hou-Sandí f9469c921d Contain Dashboard widget dragging. props lessbloat. fixes #26026.
Built from https://develop.svn.wordpress.org/trunk@26372


git-svn-id: http://core.svn.wordpress.org/trunk@26272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 00:55:09 +00:00
Matt Thomas a901416416 Darken light gray text on dashboard widgets to ensure adequate color contrast. Fixes #26162, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26371


git-svn-id: http://core.svn.wordpress.org/trunk@26271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-25 23:50:09 +00:00
Dion Hulse dc9c5073f5 Themes: Fix the Customize button for the current theme. Props jacklenox. Fixes #26214
Built from https://develop.svn.wordpress.org/trunk@26369


git-svn-id: http://core.svn.wordpress.org/trunk@26270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-25 07:04:10 +00:00
Mark Jaquith 22c6024f9e Remove unnecessarily gendered pronouns.
fixes #26225

Built from https://develop.svn.wordpress.org/trunk@26368


git-svn-id: http://core.svn.wordpress.org/trunk@26269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-25 02:05:10 +00:00
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
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 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
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
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
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 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
Matt Thomas 929486f848 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.
Built from https://develop.svn.wordpress.org/trunk@26256


git-svn-id: http://core.svn.wordpress.org/trunk@26162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 22:10:10 +00:00
Matt Thomas fe476702fc Make password inputs on profile.php match the width of other text inputs. Fixes #26079, props johnbillion.
Built from https://develop.svn.wordpress.org/trunk@26253


git-svn-id: http://core.svn.wordpress.org/trunk@26159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 21:31:09 +00:00
Scott Taylor da05f7435b 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.

Built from https://develop.svn.wordpress.org/trunk@26252


git-svn-id: http://core.svn.wordpress.org/trunk@26158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 20:45:11 +00:00
Sergey Biryukov 0df020b516 Remove unused global reference. props jeremyfelt. fixes #26103.
Built from https://develop.svn.wordpress.org/trunk@26251


git-svn-id: http://core.svn.wordpress.org/trunk@26157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 20:19:09 +00:00
Matt Thomas 116d02da86 Put the 'Safe Draft' button back in its place in the Publish box. Fixes #26081, props aubreypwd.
Built from https://develop.svn.wordpress.org/trunk@26248


git-svn-id: http://core.svn.wordpress.org/trunk@26154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 19:04:09 +00:00
Matt Thomas 7fe71ffe81 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.


Built from https://develop.svn.wordpress.org/trunk@26247


git-svn-id: http://core.svn.wordpress.org/trunk@26153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 18:53:10 +00:00
Sergey Biryukov 83adea3986 Remove debug cruft. props nbachiyski. see #25791.
Built from https://develop.svn.wordpress.org/trunk@26245


git-svn-id: http://core.svn.wordpress.org/trunk@26152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 13:18:09 +00:00
Andrew Nacin 89005c8b31 Add level-X classes to the posts list table rows.
props jhned.
fixes #25791.

Built from https://develop.svn.wordpress.org/trunk@26244


git-svn-id: http://core.svn.wordpress.org/trunk@26151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 20:40:09 +00:00
Andrew Nacin fb69ea9028 Stop using .rtl classes, instead relying on flipping LTR CSS to RTL.
props yoavf.
fixes #24977.

Built from https://develop.svn.wordpress.org/trunk@26243


git-svn-id: http://core.svn.wordpress.org/trunk@26150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 16:18:11 +00:00
Sergey Biryukov 35ec8405f0 Fix date comparison in dashboard_relative_date(). fixes #26033.
Built from https://develop.svn.wordpress.org/trunk@26242


git-svn-id: http://core.svn.wordpress.org/trunk@26149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 03:30:09 +00:00
Sergey Biryukov ecd594b5a6 PHPDoc and i18n fixes for dashboard widgets.
props dimadin for initial patch.
see #25824.
Built from https://develop.svn.wordpress.org/trunk@26241


git-svn-id: http://core.svn.wordpress.org/trunk@26148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 03:21:10 +00:00