Commit Graph

9701 Commits

Author SHA1 Message Date
bumpbot
93a7eaf328 Compress scripts/styles: 3.4-beta3-20681. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20681 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 01:58:25 +00:00
Andrew Ozz
859a659be9 Admin menu: add aria-label attributes to the links around menu images for the sake of screen readers, fixes #20373
git-svn-id: https://develop.svn.wordpress.org/trunk@20680 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 01:41:15 +00:00
Andrew Ozz
95808e088f Change the image caption shortcode format to [caption ...]<a><img /></a> caption text + html[/caption]. That way HTML tags in captions are better supported and the shortcode wouldn't break when using the wrong quotes. Props sushkov, nacin, fixes #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20679 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 01:14:52 +00:00
bumpbot
19a3e3799e Compress scripts/styles: 3.4-beta3-20678.
git-svn-id: https://develop.svn.wordpress.org/trunk@20678 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:58:23 +00:00
Andrew Ozz
06ede87876 Move the check for body.mobile in postbox.js to a variable as it's used in more than one place, props georgestephanis, scribu, fixes #20561
git-svn-id: https://develop.svn.wordpress.org/trunk@20677 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:50:47 +00:00
Ryan Boren
8dca40f570 Clarify the uploading options in the media-new.php contextual help.
Props Ipstenu, DrewAPicture
fixes #19442


git-svn-id: https://develop.svn.wordpress.org/trunk@20676 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:23:15 +00:00
Andrew Nacin
869f8217ff Replace commas with periods when converting ratings float values to strings, to avoid issues with localized decimal points.
In these cases, we want a period because it is going to be used by CSS.

props SergeyBiryukov.
fixes #19593.



git-svn-id: https://develop.svn.wordpress.org/trunk@20675 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:09:55 +00:00
Ryan Boren
defdae610e RTL style fixes for the Theme Customizer. Props ocean90, helenyhou.
git-svn-id: https://develop.svn.wordpress.org/trunk@20674 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:06:53 +00:00
Ryan Boren
65495f3660 RTL style fixes for the install theme info sidebar. Props ocean90. fixes #20583
git-svn-id: https://develop.svn.wordpress.org/trunk@20673 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 22:05:35 +00:00
Andrew Nacin
e9ee18fa5a Don't show the 'Preview Changes' button for a non-public post type. props intoxstudio, see #17609.
git-svn-id: https://develop.svn.wordpress.org/trunk@20667 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 17:52:08 +00:00
bumpbot
25463b343f Compress scripts/styles: 3.4-beta3-20663.
git-svn-id: https://develop.svn.wordpress.org/trunk@20663 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:58:31 +00:00
Andrew Nacin
c6330862b6 Make the Press This draggable bookmarklet a flexible width to support languages with long words. props SergeyBiryukov, fixes #19957.
git-svn-id: https://develop.svn.wordpress.org/trunk@20662 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:57:11 +00:00
Ryan Boren
60c6011c61 setup-config.php cleanups
* Don't allow an empty prefix
* Make slashing consistent and sane

Props SergeyBiryukov
Fixes #13839


git-svn-id: https://develop.svn.wordpress.org/trunk@20661 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:56:32 +00:00
Ryan Boren
5891008f9e Set foreground color to #000 for form inputs. Props helenyhou, convissor. fixes #19923
git-svn-id: https://develop.svn.wordpress.org/trunk@20659 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:45:10 +00:00
Andrew Nacin
00d6e93374 Remove ru_RU-specific CSS that is no longer necessary after [20616]. props SergeyBiryukov. fixes #20568.
git-svn-id: https://develop.svn.wordpress.org/trunk@20658 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:42:47 +00:00
Andrew Nacin
0bfce84f5c Fix some unused/bad CSS for Press This backgrounds and gradients. props georgestephanis, helenyhou. fixes #20573.
git-svn-id: https://develop.svn.wordpress.org/trunk@20655 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:32:44 +00:00
bumpbot
baa8fa8a0f Compress scripts/styles: 3.4-beta3-20651.
git-svn-id: https://develop.svn.wordpress.org/trunk@20651 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 20:58:24 +00:00
Ryan Boren
3ea234a24b Prevent accidental multiple click when creating new categories. Props mdawaffe. fixes #17936
git-svn-id: https://develop.svn.wordpress.org/trunk@20650 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 20:50:50 +00:00
Andrew Nacin
f553c11f28 Default to keyword searches for the plugin and theme installers in case no search type is posted back. fixes #19619.
props georgestephanis, SergeyBiryukov for initial patches.



git-svn-id: https://develop.svn.wordpress.org/trunk@20639 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 00:44:47 +00:00
bumpbot
f78ebb0c3e Compress scripts/styles: 3.4-beta3-20634.
git-svn-id: https://develop.svn.wordpress.org/trunk@20634 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-28 20:58:20 +00:00
Andrew Ozz
99868b2742 Always hide the admin menu arrow in IE8 (doesn't work there), props casben79, SergeyBiryukov, fixes #19586
git-svn-id: https://develop.svn.wordpress.org/trunk@20633 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-28 20:55:56 +00:00
Andrew Nacin
82ceeca5de After adding a user, take them back to users.php with an 'Edit user' link in the message.
This removes the (possibly ineffective) search from the redirect, as well as the URL hash that will get covered up by the toolbar.

fixes #19470. props merty and SergeyBiryukov for initial patches.



git-svn-id: https://develop.svn.wordpress.org/trunk@20631 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 23:13:39 +00:00
Andrew Nacin
1c9dcbeb0b Clean up messages on edit.php. see #19470.
git-svn-id: https://develop.svn.wordpress.org/trunk@20630 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 22:54:02 +00:00
bumpbot
caeec90610 Compress scripts/styles: 3.4-beta3-20629.
git-svn-id: https://develop.svn.wordpress.org/trunk@20629 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 20:58:24 +00:00
Andrew Ozz
29e2ec2ac5 Widgets: remove the widget title shown in the widget header when empty or doesn't exist, part props kawauso, fixes #19925
git-svn-id: https://develop.svn.wordpress.org/trunk@20628 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 20:34:35 +00:00
bumpbot
001e92a1f2 Compress scripts/styles: 3.4-beta3-20627.
git-svn-id: https://develop.svn.wordpress.org/trunk@20627 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:58:23 +00:00
Andrew Ozz
2637447a05 Put back "max-width: 100%" for all <select> in the admin. Doesn't seem to work for IE7 but doesn't seem to break anything either. Props Master Jake, fixes #19613
git-svn-id: https://develop.svn.wordpress.org/trunk@20626 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:52:13 +00:00
Andrew Nacin
e3e988bf58 Add a max of 999 to the screen options items per page input. props georgestephanis. fixes #20420.
git-svn-id: https://develop.svn.wordpress.org/trunk@20625 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:46:33 +00:00
Jon Cave
858ba1fabd Check that $post_type_object exists before accessing its properties. Props markoheijnen. Fixes #20064.
git-svn-id: https://develop.svn.wordpress.org/trunk@20623 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:32:32 +00:00
Andrew Nacin
d8e2eb8943 Do not break a domain on network/site-new.php across two lines. props SergeyBiryukov, fixes #19895.
git-svn-id: https://develop.svn.wordpress.org/trunk@20621 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 19:02:10 +00:00
bumpbot
7f0d1f1a6b Compress scripts/styles: 3.4-beta3-20620.
git-svn-id: https://develop.svn.wordpress.org/trunk@20620 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:58:22 +00:00
Andrew Nacin
27f74ce583 Check if update_core() exists before calling it in Core_Upgrader. If not, issue an error message that the copy failed likely due to disk space. fixes #19883.
git-svn-id: https://develop.svn.wordpress.org/trunk@20619 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:57:59 +00:00
Andrew Nacin
5b0664dde5 Int cast a step variable. see #19786. props Caspie.
git-svn-id: https://develop.svn.wordpress.org/trunk@20618 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:57:08 +00:00
Andrew Nacin
75bd431c76 Force the plugin details to be LTR for all screens. props dd32. fixes #19778.
git-svn-id: https://develop.svn.wordpress.org/trunk@20617 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:52:58 +00:00
Andrew Nacin
efd16eb622 Wrap text in the theme filter, rather than using a min-width. Makes things look a little better in languages with long words and phrases. props SergeyBirukov, fixes #18131.
git-svn-id: https://develop.svn.wordpress.org/trunk@20616 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:22:47 +00:00
Andrew Nacin
8f0e83ffdc Add a 200ms delay when dragging a meta box on mobile devices, to prevent inadvertently dragging meta boxes around on a touch screen.
props helenyhou, georgestephanis. fixes #20557.



git-svn-id: https://develop.svn.wordpress.org/trunk@20614 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:05:43 +00:00
Andrew Nacin
07fce717e7 Use maybe_serialize() where appropriate. fixes #19617.
git-svn-id: https://develop.svn.wordpress.org/trunk@20612 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 15:57:51 +00:00
Andrew Nacin
4fa4a3339e Make the Recent Comments dashboard widget more performant on sites with large amounts of comments, in particular with a heavy spam ratio.
Simplifies the query by avoiding a join, and leverages the API now rather than a direct query.

fixes #14222.



git-svn-id: https://develop.svn.wordpress.org/trunk@20609 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-26 21:09:51 +00:00
Andrew Nacin
eb4dd3e15f Add line breaks before most form field descriptions (the italicized gray text on General Settings and other screens). props johnbillion, helenyhou, fixes #17390.
git-svn-id: https://develop.svn.wordpress.org/trunk@20605 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-26 00:58:16 +00:00
Ryan Boren
91edc71696 Pass the upload iframe src url as an arg to sprintf to avoid treating octets as
format specifiers. Fixes setting the featured image on blogs containing spaces in the install path. Props rosshanney. fixes #20443


git-svn-id: https://develop.svn.wordpress.org/trunk@20594 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 20:24:20 +00:00
Andrew Nacin
cfe73da905 Reduce clutter and repetive functionality from the initial landing page for installing plugins and themes by removing the tag/author/term dropdown.
The tag cloud (plugins) and feature filter (themes) is sufficient for tag functionality. All three "search by" fields are already weighted for a standard keyword search through the WP.org API.

fixes #19619 for 3.4.



git-svn-id: https://develop.svn.wordpress.org/trunk@20592 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 19:37:19 +00:00
Andrew Ozz
de55e6200e Fix typo in a comment, props SergeyBiryukov, fixes #20506
git-svn-id: https://develop.svn.wordpress.org/trunk@20591 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 17:49:48 +00:00
Andrew Nacin
b7101b038f Remove WP_Theme::is_child_theme() in favor of WP_Theme::parent(). see #20546.
git-svn-id: https://develop.svn.wordpress.org/trunk@20589 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 17:34:19 +00:00
bumpbot
05654f8874 Compress scripts/styles: 3.4-beta3-20582.
git-svn-id: https://develop.svn.wordpress.org/trunk@20582 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 22:58:22 +00:00
Ryan Boren
d3571040fb * Return empty arrays instead of false for all conditions in get_blogs_of_user().
* When deleting a user, use a delete_metadata_by_mid() loop over the meta so that the meta cache is cleared.
* Use remove_user_from_blog() for DRYness.

Props nacin, duck_
Fixes #19500


git-svn-id: https://develop.svn.wordpress.org/trunk@20581 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 22:13:47 +00:00
Andrew Ozz
f55dbdbd27 Uploader: fix check for error message send from async-upload on failed uploads, improve styling it a bit, props trepmal, SergeyBiryukov, fixes #20445
git-svn-id: https://develop.svn.wordpress.org/trunk@20580 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 22:06:55 +00:00
Ryan Boren
d04dbfb0e5 Clean out layout columns API in WP_Screen.
* Move layout column setup into render_screen_meta() so that the number of columns is available earlier.
* Store the user provisioned number of columns in an instance var.
* Access the var with get_columns()
* Move all templates away from the screen_layout_columns global to the get_columns() method.
* Deprecate the global
* Remove the no longer needed check for 'auto' in the user option.
* Cast the user option to an int.

Props griffinjt
fixes #20506


git-svn-id: https://develop.svn.wordpress.org/trunk@20579 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 20:46:04 +00:00
bumpbot
3aaa209968 Compress scripts/styles: 3.4-beta3-20574.
git-svn-id: https://develop.svn.wordpress.org/trunk@20574 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 23:58:22 +00:00
Andrew Ozz
d1902fc4bf Remove one more duplicate of .screen-per-page, props ocean90, fixes #20526
git-svn-id: https://develop.svn.wordpress.org/trunk@20573 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 23:36:09 +00:00
Andrew Ozz
2407473309 Lengthen the "screen-per-page" input box to prevent cutoff caused by setting type="number", remove some duplicate css, props thezman84, see #20015
git-svn-id: https://develop.svn.wordpress.org/trunk@20571 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 23:00:14 +00:00