Dion Hulse
13ba79ef36
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
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26469 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 08:37:17 +00:00
Dion Hulse
59ecd28d2e
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
git-svn-id: https://develop.svn.wordpress.org/trunk@26468 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 05:17:00 +00:00
Dion Hulse
cfdfd0908b
Themes: Use _.throttle() instead of a custom one. Props matveb. Fixes #25981
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26467 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 05:13:25 +00:00
Dion Hulse
766427b133
Themes: Remove the Tabs from the header of the Add New Theme page. Fixes #26310
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26466 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 04:40:20 +00:00
Dion Hulse
d9bd17c40f
Themes: Remove a now defunct CSS class, .feature-container, which is no longer in use after r26141. See #25948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26465 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 04:34:16 +00:00
Dion Hulse
3358f56dc3
Themes: Update the responsive layouts for the Search box after r26461. See #26305
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26464 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 04:28:16 +00:00
Dion Hulse
dfde90a312
Themes: Remove some unused CSS (we have neither a .theme-categories or .theme-linear-grid). See #25948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26463 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 04:21:46 +00:00
Dion Hulse
e937af37af
Themes: Add a default image for when a theme doesn't have a screenshot. Props matveb. See #25959
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26462 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 04:03:30 +00:00
Dion Hulse
503b0e73c4
Themes: Display Activated/Deleted messages below the H2, before the Themes. See #26305
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26461 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 02:39:15 +00:00
Dion Hulse
cda0502917
Themes: Remove a mp6 reference which is no longer needed. See #25948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26460 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 02:02:23 +00:00
Dion Hulse
23f2fbc433
Themes: Remove an unused Delete Theme link on the multiple view. See #25948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26459 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 01:54:25 +00:00
Dion Hulse
d6703f1776
Themes: Style the Theme Author the same in the multi and singular view, make the links readable. Fixes #26306
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26458 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 01:52:07 +00:00
Helen Hou-Sandi
62479c7420
Pass the post type to the post_type_archive_title
filter for better context. Adds lovely docs. props DrewAPicture. fixes #25605 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26457 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 05:23:50 +00:00
Helen Hou-Sandi
eaa7c65263
Add remove_option(), remove_options(), and get_options() methods to WP_Screen, along with unit tests. props ocean90, DrewAPicture. fixes #25799 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26456 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 05:09:06 +00:00
Helen Hou-Sandi
1b5c962326
Increase the contrast of sidebar text in the media modal. props neil_pie. fixes #26288 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26455 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 04:13:43 +00:00
Helen Hou-Sandi
01f36c50fe
Also get more targeted for taxonomy columns. Consolidate column hiding into one rule. props SergeyBiryukov. fixes #26298 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26454 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 03:52:28 +00:00
Helen Hou-Sandi
e5b3f96670
Get more specific with responsive list table column hiding. Removes unused styling for the plugins list table. fixes #26298 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26453 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 03:20:36 +00:00
Helen Hou-Sandi
bcab93583f
Keep #screen-meta font size consistent. props SergeyBiryukov. fixes #26300 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26452 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 03:01:22 +00:00
Helen Hou-Sandi
68c1ce14d4
Make sure toolbar reset includes text-shadow: none. props kwight. fixes #25260 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26451 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 02:57:24 +00:00
Dion Hulse
d3e135b888
Fix a regression in wp_mkdir_p() where the $mode of the parent folder is not correctly applied to all created paths. Fixes #25822 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26449 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 02:19:24 +00:00
Dion Hulse
f4e65810bd
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.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26448 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 02:15:55 +00:00
Andrew Ozz
3d907b582a
Fix pending comments/plugins count bubbles, fixes #25918
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26447 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 01:29:14 +00:00
Andrew Ozz
947839dac8
TinyMCE: fix editor.css.
...
- Re-enable the default images for buttons not used in WordPress.
- Remove redundant styles for the old buttons sprite.
Fixes #26294 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26446 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-28 00:52:25 +00:00
Matt Thomas
6df668fdac
Ensure that arrows in dropdowns are the default text color if you haven't hovered. Fixes #26293 , props ipstenu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26445 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 23:11:59 +00:00
Sergey Biryukov
2ae03311b3
Twenty Fourteen: use display context for site description in sidebar.php.
...
props michelwppi.
fixes #25808 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26444 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 23:09:23 +00:00
Matt Thomas
15728818b0
Add spacing between elements, correct vertical alignment in Add New Category form. Fixes #26291 , props mattheu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26443 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 23:06:09 +00:00
Matt Thomas
af4c711238
Prevent submenu flyouts from appearing below elements in the main column. Fixes #26280 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26442 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 23:01:53 +00:00
Matt Thomas
acb98dc95a
Updating the #wp-auth-check login form to match the new admin design:
...
* Remove border-radius on the container and add a box shadow
* Style the top bar background to match the new #eee page background
* Replace the close button PNG with a Dashicon
* Remove a no-longer-needed button style override in buttons.css that caused padding to change when clicking the submit button.
See #25858 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26441 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 22:35:25 +00:00
Peter Westwood
d428ac9a5d
KSES: Extend support in wp_kses_normalize_entities to named entities with up to two numbers on the end of the name so as to support a wider list of valid entities.
...
Fixes â#26290
git-svn-id: https://develop.svn.wordpress.org/trunk@26440 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 22:31:04 +00:00
Andrew Ozz
fb115b009e
Widgets: fix no-js and accessibility modes, props shaunandrews, fixes #26165 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26439 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 22:16:27 +00:00
Matt Thomas
902a3571b6
Fix the alignment of checkboxes in menu location settings, and add responsive adjustments for those checkboxes. Fixes #26259 , props mattheu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26438 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 20:19:56 +00:00
Matt Thomas
e31bda9bf4
Set the font size for all text within .form-table to 14px. Fixes #26271 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26437 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 20:11:43 +00:00
Matt Thomas
ae0d35a7ed
Give th.th-full font-weight: 400 so its label doesn't get emboldened. Fixes #26272 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26436 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 19:56:05 +00:00
Matt Thomas
4be0cfa019
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26435 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 19:50:48 +00:00
Matt Thomas
8b21aa420c
Style the hr element in the admin. Fixes #23856 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26434 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 19:36:36 +00:00
Matt Thomas
e029951d27
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26433 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 19:15:29 +00:00
Andrew Ozz
33abd3765e
Widgets: prevent the sidebars from getting too wide, add a little more space between Available Widgets and the sidebars, props shaunandrews, see #25821 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26432 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 17:44:26 +00:00
Peter Westwood
be669106d5
Unit Tests: Add the ticket number to the new tests. See #26290
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26431 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 14:47:03 +00:00
Peter Westwood
02ab2c69bb
Unit Tests: Add some simple test cases to highlight the types of html entity that kses currently blocks. See #26290
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26430 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 14:44:57 +00:00
Andrew Ozz
5ec7a534a9
Dashboard: set containment for postboxes to "document" and give empty sortables some min-height so postboxes can be dropped there. Props lessbloat, fixes #26026 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26429 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 02:02:19 +00:00
Andrew Ozz
3b2dc8f443
Heartbeat: introduce "suspend" functionality and enable it after 20 min. of inactivity, see #25073 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26428 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 01:55:59 +00:00
Andrew Ozz
c83ea1d936
Widgets: remove leftover debug bits and fix jshint warnings in widgets.js, see #25952 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26427 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 01:41:27 +00:00
Andrew Ozz
f4264f9446
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26426 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 01:29:49 +00:00
Sergey Biryukov
60a28aa61a
Fix the ability to save changes made to an image.
...
props markoheijnen.
fixes #26000 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26425 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 23:30:59 +00:00
Matt Thomas
c294a6bd3e
Correct the alignment of sortable list table headers. Fixes #26131 , props jeremyfelt.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26424 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:54:20 +00:00
Matt Thomas
d797d9955e
Prevent horizontal scrolling when the responsive sidebar is open, pushing the main column off to the right. See #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26423 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:43:39 +00:00
Matt Thomas
8a8f55024a
Match current theme background and add theme hover state color to the highlight color in color schemes. Fixes #25967 , props ryelle.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26422 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:35:38 +00:00
Andrew Ozz
4ccea9a8f6
Remove cloning of the search box with JS and move it to the bottom of the screen with CSS instead, see #26086
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26421 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:18:14 +00:00
Matt Thomas
eb4dccce32
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.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26420 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:09:28 +00:00
Matt Thomas
8dcf785e95
Admin pointers don't work at responsive sizes because of responsive layout adjustments. Hide the pointers for now until they're made responsive. Fixes #25984 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26419 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 21:46:55 +00:00