Commit Graph

726 Commits

Author SHA1 Message Date
Matt Thomas
5215809f2a Allow error messages to push the adminmenu down. Fixes #26312, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26620 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:50:25 +00:00
Matt Thomas
24240d260c Ensure that .widget-inside gets the necessary interior padding regardless of its containing element. Fixes #26391, props cainm.
git-svn-id: https://develop.svn.wordpress.org/trunk@26618 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:16:38 +00:00
Andrew Nacin
6cad5246df Include columns-# CSS class in wp_dashboard() for when the screen supports it.
props westi.
fixes #26354.


git-svn-id: https://develop.svn.wordpress.org/trunk@26617 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:27:34 +00:00
Matt Thomas
c4849c6307 Improve the styling of browser file input controls. Fixes #26393.
git-svn-id: https://develop.svn.wordpress.org/trunk@26615 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:20:13 +00:00
Andrew Nacin
8faee176db Nav Menu admin: Suppress outlines on expand/collapse arrows. fixes #26398.
git-svn-id: https://develop.svn.wordpress.org/trunk@26614 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:15:36 +00:00
Andrew Nacin
1913b4c665 Nav Menus: Delegate click events for move links.
props ankit.gade.
fixes #25594.


git-svn-id: https://develop.svn.wordpress.org/trunk@26613 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:09:20 +00:00
Andrew Nacin
3dcc14f58c 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26611 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 16:55:58 +00:00
Matt Thomas
71588c2933 Revert r26593 so Available and Inactive widgets are once again collapsible. Make the arrows only appear on hover when uncollapsed. Fixes #26327, props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@26608 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 16:30:05 +00:00
Helen Hou-Sandi
55d4555b68 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26602 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 04:31:13 +00:00
Andrew Ozz
93a5bff7a7 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@26601 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 04:12:41 +00:00
Andrew Nacin
fdc32636fa 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26594 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:35:26 +00:00
Matt Thomas
933a5f252f Set Available and Inactive Widget areas to not collapse, since they don't look like collapsing elements. Fixes #26327, props MikeHansenMe.
git-svn-id: https://develop.svn.wordpress.org/trunk@26593 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:31:37 +00:00
Matt Thomas
3ce67886f4 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26592 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:13:14 +00:00
Andrew Nacin
57bede1005 Use current_user_can('manage_network_plugins') in validate_active_plugins() instead of is_super_admin().
props jdgrimes.
fixes #26068.


git-svn-id: https://develop.svn.wordpress.org/trunk@26590 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:11:21 +00:00
Matt Thomas
8722b53c96 Ensure that 'Add New Theme' text doesn't overlap the + icon even at Firefox's ridiculously small 230px wide browser. Fixes #26226.
git-svn-id: https://develop.svn.wordpress.org/trunk@26584 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:28:50 +00:00
Matt Thomas
a8a4ce9f0d 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26583 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:11:22 +00:00
Matt Thomas
768fd40c04 Correct the alignment of Activate and Live Preview buttons in responsive Themes page. Fixes #26373, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26582 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:03:45 +00:00
Andrew Nacin
f38ae9cc6c Use jQuery.prop('checked') instead of jQuery.attr.
props Frank Klein.
fixes #26378.


git-svn-id: https://develop.svn.wordpress.org/trunk@26571 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:20:19 +00:00
Andrew Nacin
2cb2a1b86e Rename colors-fresh.css to colors.css. fixes #26137.
git-svn-id: https://develop.svn.wordpress.org/trunk@26570 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:15:52 +00:00
Andrew Nacin
f627d23555 In dbDelta(), ensure we are not running CREATE TABLE queries for global tables we wish to not upgrade.
props fliespl.
fixes #22134.


git-svn-id: https://develop.svn.wordpress.org/trunk@26566 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:43:52 +00:00
Helen Hou-Sandi
6c3f6cad42 Auto-resize the Quick Draft textarea. props lessbloat, markjaquith, helen. fixes #26053.
git-svn-id: https://develop.svn.wordpress.org/trunk@26564 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:34:46 +00:00
Helen Hou-Sandi
6e77a372e2 Better Dashboard treatment when in no-JS, especially Quick Draft. props georgestephanis, helen. fixes #26376.
git-svn-id: https://develop.svn.wordpress.org/trunk@26563 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:31:33 +00:00
Matt Thomas
8fea99016f Remove unnecessary padding on welcome panel icons at responsive sizes. Fixes #26374, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26554 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 16:21:23 +00:00
Dion Hulse
49c57fa9b9 Themes: Update the CSS definitions in the SCSS files to be as specific as the base CSS rules. See #25948, #25966
git-svn-id: https://develop.svn.wordpress.org/trunk@26551 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 02:10:29 +00:00
Andrew Ozz
ba4643f76e 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@26550 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 00:54:42 +00:00
Andrew Ozz
75ac2cf131 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@26549 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 00:44:22 +00:00
Andrew Nacin
ea5963f944 Remove @uses from get_screen_icon() / screen_icon(). see #26119.
git-svn-id: https://develop.svn.wordpress.org/trunk@26541 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 21:58:57 +00:00
Drew Jaynes
4f78450a25 Inline documentation for hooks in wp-admin/includes/update.php.
Props stevenkword for the initial patches.
Fixes #26252.


git-svn-id: https://develop.svn.wordpress.org/trunk@26540 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 21:54:24 +00:00
Matt Thomas
44457b54ec Better visual alignment on side-sortables tabs. Fixes #26323, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26539 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 21:43:44 +00:00
Andrew Nacin
85be737cae Only informally deprecate get_screen_icon() and screen_icon(). fixes #26119.
git-svn-id: https://develop.svn.wordpress.org/trunk@26537 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:59:40 +00:00
Matt Thomas
2598e7bd10 Restyle .sub text and .mu-storage header to match new admin design conventions. Fixes #26357.
git-svn-id: https://develop.svn.wordpress.org/trunk@26536 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:45:22 +00:00
Andrew Nacin
16b6b6b8e4 Simplify the color scheme profile saving JS. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26535 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:44:50 +00:00
Dominik Schilling (ocean90)
f2ca7ece13 Reset responsive styles for the checkbox in auth check window.
props iammattthomas.
fixes #26360.

git-svn-id: https://develop.svn.wordpress.org/trunk@26532 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:00:21 +00:00
Andrew Nacin
0c0a90bfc1 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26531 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 18:57:32 +00:00
Andrew Nacin
616eb91d95 Themes: Always include the current theme in the list, even if it is not allowed.
see #25948.


git-svn-id: https://develop.svn.wordpress.org/trunk@26529 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 18:45:28 +00:00
Matt Thomas
568ba838b7 Updating .wp-dialog styling to match the new admin design. Fixes #26328, props SergeyBiryukov, Ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26528 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 17:58:45 +00:00
Matt Thomas
9fbdcfefbb Adding a SVG > PNG fallback for IE8 support. See #26348.
git-svn-id: https://develop.svn.wordpress.org/trunk@26527 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 17:29:48 +00:00
Dion Hulse
dd5f228729 Themes: Update notifiations shouldn't be a <a> if they're not links, data.update already contains <p> tags. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26524 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 08:37:58 +00:00
Dion Hulse
4a62bbe5d8 Themes: Standardise on dot notation for object access in the Templates. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26523 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:33:57 +00:00
Dion Hulse
ca6e76914f Themes: Remove some HTML from a new string and put it in the replacement value instead. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26522 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:19:40 +00:00
Dion Hulse
63a4a1b10c Themes: Bail if the search term matches the currently rendered themes, Fixes the events being clobbered. Props jblz. Fixes #26347
git-svn-id: https://develop.svn.wordpress.org/trunk@26521 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:15:14 +00:00
Dion Hulse
91b903fb6d Themes: Indent the HTML for proper indentation after r26519 added an extra div. See #25961, #26192
git-svn-id: https://develop.svn.wordpress.org/trunk@26520 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:13:11 +00:00
Dion Hulse
919b03d9ce 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
git-svn-id: https://develop.svn.wordpress.org/trunk@26519 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:11:43 +00:00
Andrew Ozz
b33d0da84c Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119
git-svn-id: https://develop.svn.wordpress.org/trunk@26518 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 03:52:23 +00:00
Dion Hulse
0ef7e951d6 Themes: Add a updated Help text. Props designsimply & hanni. See #26285
git-svn-id: https://develop.svn.wordpress.org/trunk@26517 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 03:22:03 +00:00
Andrew Ozz
eb2767a578 Make the responsive menu usable with a mouse, fix non-folded and :focus styles, toggle the submenus on touchend/click. Fixes #26086.
git-svn-id: https://develop.svn.wordpress.org/trunk@26516 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 03:18:40 +00:00
Dion Hulse
8eedbe32ac Themes: For searches, replace the document hash, don't add a new history event for each keypress. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26515 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 01:50:24 +00:00
Dion Hulse
c6e661e84d Themes: We no longer have a delete link on the multi-grid view. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26514 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 00:54:27 +00:00
Dion Hulse
e3d4717077 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
git-svn-id: https://develop.svn.wordpress.org/trunk@26513 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 00:47:49 +00:00
Dion Hulse
71bc2a38fa 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
git-svn-id: https://develop.svn.wordpress.org/trunk@26509 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 23:12:38 +00:00
Sergey Biryukov
1d4807f7c5 Fix Customize link in theme info window. props kovshenin. see #25948.
git-svn-id: https://develop.svn.wordpress.org/trunk@26508 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 21:08:15 +00:00
Dominik Schilling (ocean90)
cfaf5be6d8 Themes: Fix position of admin notice with .error class. fixes #26304.
git-svn-id: https://develop.svn.wordpress.org/trunk@26507 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 20:22:06 +00:00
Andrew Ozz
e5304e8470 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@26506 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 19:49:55 +00:00
Andrew Ozz
3f7cbafb94 Widgets: improve the help text on the Widgets screen, props siobhan, props Hanni, fixes #26244.
git-svn-id: https://develop.svn.wordpress.org/trunk@26505 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 18:28:12 +00:00
Dominik Schilling (ocean90)
c52896dbae Themes: Fix HTML markup for screenshots. props kovshenin. fixes #25959.
git-svn-id: https://develop.svn.wordpress.org/trunk@26504 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 17:59:32 +00:00
Drew Jaynes
720930f356 Inline documentation for hooks in wp-admin/includes/user.php.
Props aaronholbrook for the initial patch.
Fixes #26099.


git-svn-id: https://develop.svn.wordpress.org/trunk@26503 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 17:53:18 +00:00
Sergey Biryukov
108e1d4e12 Fetch only the required fields in confirm_delete_users().
props rodrigosprimo.
fixes #25178.

git-svn-id: https://develop.svn.wordpress.org/trunk@26499 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 11:57:31 +00:00
Dion Hulse
056c99305b Themes: In the detailed view, disable the next/previous buttons when there are no more items. Fixes #26314
git-svn-id: https://develop.svn.wordpress.org/trunk@26498 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 05:58:42 +00:00
Dion Hulse
e8520f1b7c Themes: For small screen sizes, still allow access to the Customize button (Don't hide the theme actions). See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26496 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 05:15:19 +00:00
Dion Hulse
3b850b43f9 Prefix the new Theme classes. Fixes #25966
git-svn-id: https://develop.svn.wordpress.org/trunk@26495 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 05:11:44 +00:00
Dion Hulse
4bb1a4ed85 Rotate the Collapse arrows correctly for RTL, switch the Theme next/previous arrows in RTL. Fixes #26340
git-svn-id: https://develop.svn.wordpress.org/trunk@26494 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 04:55:38 +00:00
Drew Jaynes
ab9d51d632 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26493 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 01:34:15 +00:00
Dominik Schilling (ocean90)
5ec5f0d9e2 Themes: Merge theme.css into wp-admin.css. fixes #25966.
git-svn-id: https://develop.svn.wordpress.org/trunk@26484 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-30 17:31:02 +00:00
Dominik Schilling (ocean90)
a55555f22c 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@26483 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-30 16:35:12 +00:00
Dominik Schilling (ocean90)
ea815443b6 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@26482 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-30 15:35:07 +00:00
Dominik Schilling (ocean90)
510aa812ca Themes: Add type="search" to search. fixes #26331.
git-svn-id: https://develop.svn.wordpress.org/trunk@26481 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 22:19:08 +00:00
Dominik Schilling (ocean90)
2d74676237 Themes: Search the description too.
props dd32.
fixes #26309.

git-svn-id: https://develop.svn.wordpress.org/trunk@26480 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 22:17:28 +00:00
Dominik Schilling (ocean90)
4aa9587a56 Network Admin: Remove a superfluous description field and merge two similar strings.
props Hanni, SergeyBiryukov.
fixes #26260.

git-svn-id: https://develop.svn.wordpress.org/trunk@26478 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 21:00:35 +00:00
Dominik Schilling (ocean90)
4014c3edc1 Mobile: Add some bottom spacing to checkboxes on Nav Menu screen.
props mattheu.
fixes #26325.

git-svn-id: https://develop.svn.wordpress.org/trunk@26477 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 19:15:38 +00:00
Dominik Schilling (ocean90)
f6d8114bc2 Fix selector for category checklists to apply styles to custom taxonomies too.
props mattheu.
fixes #26324.

git-svn-id: https://develop.svn.wordpress.org/trunk@26476 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 19:04:44 +00:00
Dominik Schilling (ocean90)
1cdb0ac2fa Admin CSS: Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@26475 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 19:02:44 +00:00
Andrew Ozz
28da4145a6 Widgets: highlight all drop zones (open and closed sidebars) on starting to drag a widget to indicate "droppability", fixes #26168.
git-svn-id: https://develop.svn.wordpress.org/trunk@26474 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 17:57:05 +00:00
Dominik Schilling (ocean90)
81557ba37c Themes: Add missing close tag, see [26462]. see #25959.
git-svn-id: https://develop.svn.wordpress.org/trunk@26473 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 17:16:46 +00:00
Dion Hulse
5b22bc3a50 Themes: Restore a label accidentally removed in r26470. Props SergeyBiryukov. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26472 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 12:03:30 +00:00
Dion Hulse
7a65a51166 Remove RTL and MP6 references from colors-fresh.css as they're now irrelevant to the file.
git-svn-id: https://develop.svn.wordpress.org/trunk@26471 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 11:23:40 +00:00
Dion Hulse
66fb039ffe Themes: Do extra Cap checks before outputting links, and use full URI's. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26470 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 09:00:23 +00:00
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
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
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
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
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
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