Commit Graph

10065 Commits

Author SHA1 Message Date
Mark Jaquith 40c77861db Fix the display of widgets in wp-admin when their descriptions wrap to two lines. props mattdanner. fixes #15180
git-svn-id: https://develop.svn.wordpress.org/trunk@21547 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-19 18:16:52 +00:00
Andrew Nacin 3bd03e0826 Output a hidden input of blog_charset when we are hiding the option. props SergeyBiryukov. see #21507.
git-svn-id: https://develop.svn.wordpress.org/trunk@21539 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 16:46:47 +00:00
Ryan Boren 98864bbb7e Send Content-Type with charset for iframe_header(). Props SergeyBiryukov, sergey.s.betke@novgaro.ru. fixes #19454
git-svn-id: https://develop.svn.wordpress.org/trunk@21538 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 14:19:03 +00:00
Andrew Nacin 48a78c01a3 Disable the Link Manager on any future upgrade if it is still enabled but there are no links. see #21307.
git-svn-id: https://develop.svn.wordpress.org/trunk@21536 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-16 23:08:07 +00:00
bumpbot 4ce19368bf Compress scripts/styles: 3.5-alpha-21535.
git-svn-id: https://develop.svn.wordpress.org/trunk@21535 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-16 16:58:26 +00:00
Andrew Ozz ffba15c130 Fix typo in [21529], props toscho. Simplify the :focus styles for the Screen Options and Help toggles, see #21324
git-svn-id: https://develop.svn.wordpress.org/trunk@21534 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-16 15:45:31 +00:00
bumpbot 36a3924822 Compress scripts/styles: 3.5-alpha-21530.
git-svn-id: https://develop.svn.wordpress.org/trunk@21530 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 18:58:27 +00:00
Andrew Ozz f0d18a35dd Add :focus style to all links, use JS to blur() them on click so the style is only visible when tabbing, props lessbloat, see #21324
git-svn-id: https://develop.svn.wordpress.org/trunk@21529 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 18:40:11 +00:00
bumpbot 06112b685f Compress scripts/styles: 3.5-alpha-21514.
git-svn-id: https://develop.svn.wordpress.org/trunk@21514 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-14 20:58:23 +00:00
Andrew Ozz 94be7cf95b Stop Chrome from applying outline to DIVs that have tabindex="-1", see #21324
git-svn-id: https://develop.svn.wordpress.org/trunk@21510 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-14 19:37:27 +00:00
Ryan Boren 082f515280 Fix display issues in the custom header screen when height is not specified. Use get_header_image() instead of header_image() so that esc_url() can do its job. Props JarretC, SergeyBiryukov, georgestephanis. fixes #21130 #21433
git-svn-id: https://develop.svn.wordpress.org/trunk@21508 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-14 19:24:36 +00:00
bumpbot cd93e31cfa Compress scripts/styles: 3.5-alpha-21505.
git-svn-id: https://develop.svn.wordpress.org/trunk@21505 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-14 18:58:20 +00:00
Ryan Boren 4974f5f233 Remove post type from post nonces. Fixes attachment deletion when EMPTY_TRASH_DAYS is 0. Props c3mdigital, kurtpayne, SergeyBiryukov. fixes #21194
git-svn-id: https://develop.svn.wordpress.org/trunk@21504 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-14 18:39:15 +00:00
Ryan Boren 52c9b5af0d Better instruction text on custom header screen. Props jane, JustinSainton fixes #20992
git-svn-id: https://develop.svn.wordpress.org/trunk@21502 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-14 18:32:26 +00:00
Andrew Nacin 9931c1a45d Hide the link manager from the UI on upgrade, if the site has no links. New DB option, link_manager_enabled.
Enforce this by denying the 'manage_links' capability, which hides the All Links, Add New Link, and Link Categories screens. Hide WP_Widget_Links and the UI for the default_link_category as well.

Convert all references to 'posts and links' when handling reassignment on user deletion to just 'posts'.

see #21307.



git-svn-id: https://develop.svn.wordpress.org/trunk@21501 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-13 16:18:42 +00:00
Andrew Nacin 58ad892373 Stop adding default links and the 'Blogroll' link category on install. props wonderboymusic. see #21307.
git-svn-id: https://develop.svn.wordpress.org/trunk@21500 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-13 15:55:15 +00:00
bumpbot de461b777b Compress scripts/styles: 3.5-alpha-21499.
git-svn-id: https://develop.svn.wordpress.org/trunk@21499 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-11 02:58:19 +00:00
Andrew Ozz da532a7573 Remove unused images, props helenyhou, coffee2code, ocean90, fixes #20980
git-svn-id: https://develop.svn.wordpress.org/trunk@21498 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-11 02:36:01 +00:00
Ryan Boren 9580f65af6 Allow passing stdClass and WP_User to wp_insert_user() and wp_update_user(). Introduce WP_User::to_array(). Eliminate uses of get_object_vars() when passing to wp_*_user(). fixes #21429
git-svn-id: https://develop.svn.wordpress.org/trunk@21496 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-10 15:36:54 +00:00
Peter Westwood ce84487878 Multisite: Fix the new get_space_used() function to correctly calculate Megabytes used and update some phpdoc. Props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@21474 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 07:17:33 +00:00
Andrew Nacin 4218686707 Introduce wpdb::get_charset_collate() to return the DEFAULT CHARACTER SET and COLLATE for use in table schemas.
props simonwheatley, pento. fixes #18451.



git-svn-id: https://develop.svn.wordpress.org/trunk@21471 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 06:13:48 +00:00
Andrew Nacin 249e32e96b Hide the charset setting for installs that have a charset of UTF-8 already. fixes #21507.
git-svn-id: https://develop.svn.wordpress.org/trunk@21467 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-07 03:10:59 +00:00
bumpbot 142a33fd8e Compress scripts/styles: 3.5-alpha-21466.
git-svn-id: https://develop.svn.wordpress.org/trunk@21466 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 22:58:30 +00:00
Andrew Ozz 1853c9127d Fix .screen-reader-text in RTL, see #21471
git-svn-id: https://develop.svn.wordpress.org/trunk@21465 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 21:29:27 +00:00
bumpbot 49ef671550 Compress scripts/styles: 3.5-alpha-21463.
git-svn-id: https://develop.svn.wordpress.org/trunk@21463 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 20:58:37 +00:00
Andrew Ozz d38377a329 CSS cleanup: remove references to .wp-menu-toggle, props ocean90, fixes #21502
git-svn-id: https://develop.svn.wordpress.org/trunk@21461 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 19:59:28 +00:00
bumpbot 07a63e22e7 Compress scripts/styles: 3.5-alpha-21460.
git-svn-id: https://develop.svn.wordpress.org/trunk@21460 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 18:58:29 +00:00
Andrew Ozz cd8663f68d Replace last remaining gradients with css, standardize the gradient css cascade, props ocean90, fixes #16461
git-svn-id: https://develop.svn.wordpress.org/trunk@21459 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 17:21:41 +00:00
bumpbot 9c0e7302fb Compress scripts/styles: 3.5-alpha-21458.
git-svn-id: https://develop.svn.wordpress.org/trunk@21458 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 04:58:26 +00:00
Andrew Ozz de2cabcfb7 Accessibility: enhance the Screen Options and Help tabs open/close, see #21326
git-svn-id: https://develop.svn.wordpress.org/trunk@21457 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 04:26:37 +00:00
bumpbot b5864beaa0 Compress scripts/styles: 3.5-alpha-21456.
git-svn-id: https://develop.svn.wordpress.org/trunk@21456 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 02:58:33 +00:00
Daryl Koopersmith 3c11842514 Align headings and form elements on tags and categories pages. After seven and a half years... props hanni. fixes #21496.
git-svn-id: https://develop.svn.wordpress.org/trunk@21455 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 02:32:55 +00:00
bumpbot 5273caf79f Compress scripts/styles: 3.5-alpha-21443.
git-svn-id: https://develop.svn.wordpress.org/trunk@21443 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:58:29 +00:00
Andrew Ozz 96596da546 CSS cleanup: take out -moz-box-shadow, fixes #21482
git-svn-id: https://develop.svn.wordpress.org/trunk@21439 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:41:49 +00:00
Andrew Ozz d3a4604335 Accessibility: fix the Skip to content link, show it on :focus, improve the styling of the skip links when shown, see #21310, see #21471
git-svn-id: https://develop.svn.wordpress.org/trunk@21435 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 21:37:57 +00:00
Mark Jaquith b26ef93355 About ten percent
git-svn-id: https://develop.svn.wordpress.org/trunk@21422 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 18:32:39 +00:00
Ryan Boren ce960f67a0 Deprecate get_blog_option(), add_blog_option(), update_blog_option(), and delete_blog_option().
Use the regular option functions wrapped in switch_to_blog() and restore_current_blog() instead.

Group multiple operations within a single switch where possible.

fixes #21432


git-svn-id: https://develop.svn.wordpress.org/trunk@21414 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-03 17:51:42 +00:00
Andrew Nacin a5c7405975 Move most instances of new WP_User to get_userdata(). see #21120.
git-svn-id: https://develop.svn.wordpress.org/trunk@21413 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-03 01:06:05 +00:00
bumpbot 396adf6737 Compress scripts/styles: 3.5-alpha-21400.
git-svn-id: https://develop.svn.wordpress.org/trunk@21400 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 22:58:25 +00:00
Andrew Ozz 4d5223c069 Retina: add image editor 2x icons, props empireoflight, see #21019
git-svn-id: https://develop.svn.wordpress.org/trunk@21399 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 22:50:52 +00:00
Peter Westwood 61abf077d0 Multisite: Rework the upload space usage tracking code so as to be fully pluggable.
* Moves some admin only functions into wp-admin/includes/ms.php from wp-includes/ms-functions.php
 * Reworked the variable naming to be more in line with the Coding Standards
 * Introduced a new get_space_used() function instead of calculating it in multiple places.

Fixes #21181 props dllh and jkudish for inital work on this.


git-svn-id: https://develop.svn.wordpress.org/trunk@21387 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 13:52:06 +00:00
bumpbot 1eebacb690 Compress scripts/styles: 3.5-alpha-21384.
git-svn-id: https://develop.svn.wordpress.org/trunk@21384 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 06:58:20 +00:00
Daryl Koopersmith bf458c2c1a Remove the ability to upload custom headers in the customizer. Properly handle selecting the correct first tab, and removing the control/section if no tabs exist. see #21355.
To check if the control has any potential tabs and headers, added:
* WP_Customize_Image_Control->prepare_control()
* WP_Customize_Header_Image_Control->prepare_control()
* WP_Customize_Header_Image_Control->default_headers
* WP_Customize_Header_Image_Control->uploaded_headers



git-svn-id: https://develop.svn.wordpress.org/trunk@21383 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 06:45:54 +00:00
Andrew Nacin 48d6a65250 Improve code readability and execution in admin-footer by removing a now-unnecessary implode(). props TobiasBg, fixes #21422.
git-svn-id: https://develop.svn.wordpress.org/trunk@21366 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:37:51 +00:00
Ryan Boren 2ddc4706aa Give Add New button on edit taxonomy pages primary button styling. Props JustinSainton. fixes #21406
git-svn-id: https://develop.svn.wordpress.org/trunk@21365 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 18:41:42 +00:00
Ryan Boren d2774833b2 Introduce get_edit_user_link(). Props scribu, georgestephanis, johnbillion. fixes #14787 see #20307
git-svn-id: https://develop.svn.wordpress.org/trunk@21364 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 18:30:03 +00:00
Ryan Boren 63abb35721 s/newuserconfimation/newuserconfirmation/
Props Jayjdk, lesteph
fixes #21415


git-svn-id: https://develop.svn.wordpress.org/trunk@21362 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 16:13:18 +00:00
Andrew Ozz 5ed30e85b9 Move the description for tabbing out of the plugin and theme editors textareas to the Help tab, fixes #21347
git-svn-id: https://develop.svn.wordpress.org/trunk@21358 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-27 16:49:48 +00:00
Andrew Ozz 78f00b2ace Widgets: add localization context for 'Add' and 'Edit', props nacin, fixes #21338
git-svn-id: https://develop.svn.wordpress.org/trunk@21356 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-27 03:56:27 +00:00
Andrew Ozz e0c0df2587 Widgets: Add the name of the widget to the Add and Edit buttons on the Accessible Widget Management Screen, props cannona, fixes #21338
git-svn-id: https://develop.svn.wordpress.org/trunk@21355 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-27 03:33:38 +00:00