Commit Graph

9808 Commits

Author SHA1 Message Date
Andrew Nacin
6b46997aa1 Issue an error during the WordPress install process if wp-config.php is configured with an empty database table prefix, which is not supported.
props SergeyBiryukov.
fixes #19970.



git-svn-id: https://develop.svn.wordpress.org/trunk@20699 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:37:18 +00:00
Andrew Ozz
fd506b7f3a Admin menu: change to strip_tags() for the aria-label attributes as it's faster, fixes #20373
git-svn-id: https://develop.svn.wordpress.org/trunk@20698 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:36:07 +00:00
Daryl Koopersmith
165131716b Add quote to fix 'Customize' link after new theme install on Chrome. props DH-Shredder, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20695 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:22:02 +00:00
bumpbot
5a5975a641 Compress scripts/styles: 3.4-beta3-20693.
git-svn-id: https://develop.svn.wordpress.org/trunk@20693 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 19:58:23 +00:00
Andrew Nacin
3cb1ad3438 Widen fields for QuickPress and Quick Edit for the lt_LT locale. props settle. see #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@20692 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 19:30:38 +00:00
bumpbot
c6f7bb0af1 Compress scripts/styles: 3.4-beta3-20690.
git-svn-id: https://develop.svn.wordpress.org/trunk@20690 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 17:58:25 +00:00
Andrew Nacin
1558ba7faf Fix the image overlap with the Press This bookmarklet in RTL. props dd32 for the initial patch. fixes #19502.
git-svn-id: https://develop.svn.wordpress.org/trunk@20689 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 17:54:20 +00:00
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
Andrew Ozz
aff09817e7 Dashboard and write screen columns: remove unneeded class from the .wrap div on Write/Edit screens, see #20015
git-svn-id: https://develop.svn.wordpress.org/trunk@20570 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 22:40:59 +00:00
Jon Cave
83a3cc73df Accept a post object in clean_post_cache(). Fixes #20486.
The post_type can then be accessed to properly clean the taxonomy relationships cache.
The full object is useful in situations when an ID might reference a post that has been
removed from the database (e.g. wp_delete_post()).


git-svn-id: https://develop.svn.wordpress.org/trunk@20569 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 22:04:35 +00:00
Ryan Boren
381942320a Add additional files/dirs for removal and tidy up $_old_files.
Props aldenta
Fixes #20472


git-svn-id: https://develop.svn.wordpress.org/trunk@20567 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 21:48:09 +00:00
Andrew Ozz
036ddb0b5b Move closing HTML tag outside _e(), props jiehanzheng, fixes #20510
git-svn-id: https://develop.svn.wordpress.org/trunk@20564 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-22 23:29:52 +00:00
Andrew Nacin
b02db0626b Issue a 'This theme is broken' error (when applicable) on the theme editor. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20560 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-21 21:23:27 +00:00
Andrew Nacin
a63f87682d Adjust [20557] and check only parent(), as it is more semantic. We don't care if the theme considers itself to be a child theme, we care if it has a valid parent. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20559 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-21 21:03:23 +00:00
Andrew Nacin
65099d16b6 A child theme with a missing parent might be is_child_theme() but not have a valid parent() object, so we need to check parent() too. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20558 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-21 21:00:24 +00:00
Andrew Nacin
a22cdde6d2 Don't allow themes without a style.css editor to be edited. These themes are too broken to be salvaged by the theme editor. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20557 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-21 20:57:54 +00:00
Andrew Nacin
40b676037c Correct logic in deactivate_plugins() where network_wide = null. props SergeyBiryukov. fixes #20497.
git-svn-id: https://develop.svn.wordpress.org/trunk@20555 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-21 00:45:53 +00:00
Andrew Ozz
a791550056 Fix typo in the error message shown when a device doesn't support uploading, props SergeyBiryukov, fixes #20410
git-svn-id: https://develop.svn.wordpress.org/trunk@20544 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-20 01:10:39 +00:00
bumpbot
abaca87e32 Compress scripts/styles: 3.4-beta2-20536.
git-svn-id: https://develop.svn.wordpress.org/trunk@20536 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 14:58:27 +00:00
Jon Cave
12042b56b8 Don't call updatePending() if the pending count hasn't changed. See #19905.
Stops a zero pending count bubble being shown when unspamming and approved comment
when there are no pending comments.


git-svn-id: https://develop.svn.wordpress.org/trunk@20535 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 14:32:45 +00:00
Jon Cave
42437fa97e Remove "Approve" bulk action when viewing spam comments as it isn't shown in the row actions. Props russellwwest. Fixes #20123.
git-svn-id: https://develop.svn.wordpress.org/trunk@20533 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 14:00:44 +00:00
Andrew Nacin
3ac1beb836 Add missing variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@20528 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 06:38:19 +00:00
Andrew Nacin
5ed7eb7f1c Clean up plugins.php with regards to recently edited files, deactivations, and the network admin. see #20468, #20104.
* Limit recently_activated to the site dashboard, and properly remove bulk-activated plugins from the array.
 * Remove code used from before the network admin, such as the unused 'network' plugin_status.
 * Don't try to deactivate a plugin already deactivated.
 * Use more specific caps (manage_network_plugins) rather than is_super_admin().



git-svn-id: https://develop.svn.wordpress.org/trunk@20525 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-19 03:41:29 +00:00
Jon Cave
e8a29e70d6 clean_user_cache() after the DELETE query in wp_delete_user(). See #20460.
This is to prevent plugins managing to hook in between the cache cleaning and the actual deletion.


git-svn-id: https://develop.svn.wordpress.org/trunk@20523 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 21:24:53 +00:00
Jon Cave
c0dd73f68d Pass full user objects to clean_user_cache(). See #19500, fixes #20460.
Prevents notices when clean_user_cache() is called for a user that has been removed from the database.


git-svn-id: https://develop.svn.wordpress.org/trunk@20522 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 21:07:31 +00:00
bumpbot
f8852b73a5 Compress scripts/styles: 3.4-beta2-20521. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20521 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:58:24 +00:00
Daryl Koopersmith
e5a53305a2 Theme Customizer: Remove unused 'template' argument from wp_customize_url. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20520 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:57:06 +00:00
Andrew Ozz
1792d8606b Fix floated #post-body-content on the Appearance -> Menus screen, props SergeyBiryukov, fixes #20467
git-svn-id: https://develop.svn.wordpress.org/trunk@20516 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:05:48 +00:00
bumpbot
3878924dc2 Compress scripts/styles: 3.4-beta2-20515.
git-svn-id: https://develop.svn.wordpress.org/trunk@20515 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 19:58:21 +00:00
Daryl Koopersmith
b0dc41a48b RTL styles for theme browsing. props ocean90, fixes #20391, see #20403.
git-svn-id: https://develop.svn.wordpress.org/trunk@20514 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 19:28:36 +00:00
Andrew Nacin
8481a619b6 Check for the response property in tue update_plugins transient object. props ampt, fixes #20441.
git-svn-id: https://develop.svn.wordpress.org/trunk@20490 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 02:43:13 +00:00
Andrew Nacin
65de4fbbb0 Do sanity checks for register_globals and magic quotes in setup-config.php. see #13839.
git-svn-id: https://develop.svn.wordpress.org/trunk@20482 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 21:52:02 +00:00
Daryl Koopersmith
b22764aa86 Theme Customizer: If the customize loader is enqueued, then add the 'customize-support' class early. This prevents a flash of unstyled content. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20479 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:59:09 +00:00
bumpbot
1fc608b2e0 Compress scripts/styles: 3.4-beta2-20478.
git-svn-id: https://develop.svn.wordpress.org/trunk@20478 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:58:23 +00:00
Andrew Nacin
266a785f77 Theme Customizer: Stick to wp_customize_url() instead of wp_customize_href(). Switch argument order so it is stylesheet-template. (Template is hypothetically optional, but the function will not support that.) see #19910.
Move to ->display('Name'), as ->get('Name') is a raw, untranslated version of the header.



git-svn-id: https://develop.svn.wordpress.org/trunk@20477 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:36:47 +00:00
Daryl Koopersmith
a43958baeb Theme Customizer: Allow the customize iframe to be accessed directly (with full feature support). see #19910.
* Move the 'Return to Manage Themes' and 'Collapse Sidebar' actions from themes.php to customize-controls.php.
* Create a postMessage connection between themes.php and customize-controls.php.
* Allow the theme customizer to be accessed directly (independent of themes.php and the customize loader).
* Add wp_customize_href() and wp_customize_url().
* Remove wp_customize_loader(). To include the loader, use wp_enqueue_script( 'customize-loader' ).
* The theme customizer now requires postMessage browser support.
* Add .hide-if-customize and .hide-if-no-customize CSS classes.
* Clean up customize-preview.js.

git-svn-id: https://develop.svn.wordpress.org/trunk@20476 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:02:28 +00:00
bumpbot
acfa043b2a Compress scripts/styles: 3.4-beta2-20460.
git-svn-id: https://develop.svn.wordpress.org/trunk@20460 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 22:58:24 +00:00
Daryl Koopersmith
7dcf9d5a61 Manage Themes: Improved separators (markup/styles) for current theme options menu. see #20403.
git-svn-id: https://develop.svn.wordpress.org/trunk@20459 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 22:16:51 +00:00
Daryl Koopersmith
8b48d30d79 Manage Themes: Improved separators (markup/styles) for current theme author/version. see #20403.
git-svn-id: https://develop.svn.wordpress.org/trunk@20458 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 22:03:57 +00:00
bumpbot
094fca576e Compress scripts/styles: 3.4-beta2-20457.
git-svn-id: https://develop.svn.wordpress.org/trunk@20457 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 21:58:23 +00:00
Daryl Koopersmith
6685c0fd9d Theme Customizer: RTL styles. props ocean90. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20456 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 21:53:19 +00:00
Daryl Koopersmith
68ce88b380 Theme list table style improvements. Make 'delete' link red and separate from other actions. New action separators. see #20403.
git-svn-id: https://develop.svn.wordpress.org/trunk@20455 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 21:10:40 +00:00
Ryan Boren
1b6cda0c48 Use correct var name. Props mattonomics. fixes #20432
git-svn-id: https://develop.svn.wordpress.org/trunk@20454 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 21:02:24 +00:00
Ryan Boren
d1100bacb4 Schedule auto-draft deletion from post-new.php instead of from admin.php. This provides better throttling for large multisite installs and reduces the risk of a delete avalanche.
fixes #19663


git-svn-id: https://develop.svn.wordpress.org/trunk@20453 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 18:49:48 +00:00
Andrew Ozz
e032e94c4f Don't hide links to the upload form and show an error for mobile devices that cannot upload, see #20410
git-svn-id: https://develop.svn.wordpress.org/trunk@20449 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 00:16:37 +00:00
bumpbot
515c988dbc Compress scripts/styles: 3.4-beta1-20447.
git-svn-id: https://develop.svn.wordpress.org/trunk@20447 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 21:58:22 +00:00
Daryl Koopersmith
38acd9198b Shrink theme screenshots for smaller screen resolutions. props helenyhou, see #20403.
git-svn-id: https://develop.svn.wordpress.org/trunk@20446 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 21:54:56 +00:00
Daryl Koopersmith
b908a19e95 CSS improvements for the 'Current Theme' section. see #20403.
git-svn-id: https://develop.svn.wordpress.org/trunk@20445 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 21:19:32 +00:00
Andrew Nacin
c16d06c447 s/website/network/ on the network settings screen. props Ipstenu, fixes #20314.
git-svn-id: https://develop.svn.wordpress.org/trunk@20442 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 20:45:03 +00:00
Ryan Boren
03512f97e8 Move deletion of auto-draft posts to the wp_scheduled_delete cron function. Props mgolawala. fixes #19663
git-svn-id: https://develop.svn.wordpress.org/trunk@20440 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 20:39:09 +00:00
Andrew Nacin
a6b212b230 Use home_url() instead of get_bloginfo('url'). props Mamaduka, fixes #20371.
git-svn-id: https://develop.svn.wordpress.org/trunk@20439 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 20:22:48 +00:00
Andrew Nacin
5ac059e12c Check if the response property is set before continuing with the update_themes transient return value. props johnbillion, fixes #20378.
git-svn-id: https://develop.svn.wordpress.org/trunk@20438 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 20:15:31 +00:00
Andrew Ozz
3b9e5468e1 Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014
git-svn-id: https://develop.svn.wordpress.org/trunk@20433 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 02:20:51 +00:00
bumpbot
96a2b2be8a Compress scripts/styles: 3.4-beta1-20432.
git-svn-id: https://develop.svn.wordpress.org/trunk@20432 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 01:58:23 +00:00
Andrew Ozz
14dca5a882 Add New User screen: don't bind to blur event on the user_name fields when the <select> doesn't exist, props SergeyBiryukov, fixes #20392
git-svn-id: https://develop.svn.wordpress.org/trunk@20431 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 01:57:58 +00:00
Andrew Ozz
c148fb4eb5 Move mobile devices CSS from wp-login.php to wp-admin.css, props SergeyBiryukov, fixes #19673
git-svn-id: https://develop.svn.wordpress.org/trunk@20430 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 01:45:01 +00:00
bumpbot
aa5aee3d92 Compress scripts/styles: 3.4-beta1-20427.
git-svn-id: https://develop.svn.wordpress.org/trunk@20427 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 21:58:27 +00:00
Daryl Koopersmith
d48177f817 Larger screenshots in theme list tables. see #20403, #19816.
git-svn-id: https://develop.svn.wordpress.org/trunk@20426 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 21:09:14 +00:00
Ryan Boren
27592057cd Pass post_type to clean_post_cache() instead of attempting to fetch a post object since the post may have been deleted.
Props leewillis77
see #19690


git-svn-id: https://develop.svn.wordpress.org/trunk@20423 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 16:09:44 +00:00
Andrew Ozz
69eca59eba Consistently remove links to media-new.php for mobile devices, props SergeyBiryukov, see #20405
git-svn-id: https://develop.svn.wordpress.org/trunk@20422 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 03:18:48 +00:00
Andrew Ozz
6e3b368bc9 Move the wp_is_mobile() check after the admin bootstrap in media-new.php, props SergeyBiryukov, see #20014
git-svn-id: https://develop.svn.wordpress.org/trunk@20420 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 02:34:47 +00:00
Daryl Koopersmith
955ca76116 Replace all instances of thickbox theme preview with the theme customizer. fixes #20404.
* Use theme customizer in theme install/update screens.
* Separate the customize loader from the customizer. Use wp_customize_loader() to include the loader script and markup.
* Deprecated: wp-admin/js/theme-preview.js is now no longer used by core.

git-svn-id: https://develop.svn.wordpress.org/trunk@20419 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 02:25:03 +00:00
bumpbot
9492b5a622 Compress scripts/styles: 3.4-beta1-20418.
git-svn-id: https://develop.svn.wordpress.org/trunk@20418 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 01:58:27 +00:00
Andrew Ozz
bce0d37a67 Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014
git-svn-id: https://develop.svn.wordpress.org/trunk@20417 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 01:19:30 +00:00
bumpbot
fdce6271d0 Compress scripts/styles: 3.4-beta1-20416.
git-svn-id: https://develop.svn.wordpress.org/trunk@20416 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 00:58:23 +00:00
Daryl Koopersmith
5a6dc7c758 Fix showing/hiding theme details and move code from theme-preview.js to theme.js. see #20403.
git-svn-id: https://develop.svn.wordpress.org/trunk@20415 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 00:34:39 +00:00
Daryl Koopersmith
98f37d532d Theme browsing UX improvements. see #20403.
* On manage/install themes pages, moved author under theme name.
* On manage themes page, moved version number to details.

git-svn-id: https://develop.svn.wordpress.org/trunk@20414 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 00:15:13 +00:00
bumpbot
6139fac4d0 Compress scripts/styles: 3.4-beta1-20413.
git-svn-id: https://develop.svn.wordpress.org/trunk@20413 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-09 23:58:24 +00:00
Daryl Koopersmith
bf204c40d8 Remove CSS involving unused '#theme-information' selector. see #20403.
git-svn-id: https://develop.svn.wordpress.org/trunk@20412 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-09 23:48:12 +00:00
Daryl Koopersmith
971a69b87e Remove CSS involving unused '.theme-listing' selector. see #20403.
git-svn-id: https://develop.svn.wordpress.org/trunk@20411 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-09 23:22:59 +00:00
bumpbot
7fdf2d7412 Compress scripts/styles: 3.4-beta1-20408.
git-svn-id: https://develop.svn.wordpress.org/trunk@20408 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-09 18:58:20 +00:00
Andrew Ozz
e1f8ffcf1c Don't try to append "Display Name" options when on the Add New User screen (the <select> doesn't exist there), props pbiron, SergeyBiryukov, fixes #20392
git-svn-id: https://develop.svn.wordpress.org/trunk@20407 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-09 18:46:36 +00:00
bumpbot
00179f2370 Compress scripts/styles: 3.4-beta1-20401.
git-svn-id: https://develop.svn.wordpress.org/trunk@20401 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-07 20:58:27 +00:00
Andrew Ozz
348e000979 Center the menu icons when the menu is folded. For proper display in RTL the width of .wp-menu-image has to be 30px. Props helenyhou, fixes #20382
git-svn-id: https://develop.svn.wordpress.org/trunk@20400 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-07 20:18:18 +00:00
bumpbot
e701dd2d8c Compress scripts/styles: 3.4-beta1-20394.
git-svn-id: https://develop.svn.wordpress.org/trunk@20394 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-07 00:58:21 +00:00
Daryl Koopersmith
315d6e31e3 Theme Customizer: Move 'collapse' button to footer and add a visible text label. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20391 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-07 00:10:22 +00:00
bumpbot
fa847aab0a Compress scripts/styles: 3.4-beta1-20388.
git-svn-id: https://develop.svn.wordpress.org/trunk@20388 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 21:58:20 +00:00
Andrew Ozz
a55be0ba27 Reset negative top margin on submenus when folding/unfolding the admin menu, fixes #20380
git-svn-id: https://develop.svn.wordpress.org/trunk@20387 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 21:40:57 +00:00
bumpbot
be8d30a7cf Compress scripts/styles: 3.4-beta1-20385.
git-svn-id: https://develop.svn.wordpress.org/trunk@20385 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 20:58:21 +00:00
Ryan Boren
6fde0bddaf Make choosing a header image from the media library play nicely with file replication plugins that do not guarantee images will be retained in the local filesystem.
* When passing an attachment ID to wp_crop_image(), use load_image_to_edit() to fetch the image via a url fopen when the image does not exist in the filesystem.
* Move load_image_to_edit() to wp-admin/includes/image.php so that it is always available for admin pages loads.
* Fallback to the height and width stored in the attachment meta when the image no longer exists in the filesystem.

see #19840


git-svn-id: https://develop.svn.wordpress.org/trunk@20384 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 20:47:24 +00:00
Andrew Ozz
52c5b8c7ad Ensure the first icon is not covered by the wrapper div in the Welcome tab on the dashboard, fixes #20366
git-svn-id: https://develop.svn.wordpress.org/trunk@20383 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 20:15:14 +00:00
Andrew Nacin
8fa05b041b Use _callback, rather than an unhelpful 2, for a preg_replace callback function name. Add proper phpdoc. see #20369.
git-svn-id: https://develop.svn.wordpress.org/trunk@20382 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 20:05:31 +00:00
Jon Cave
c2450103b2 Simplify caption cleanup callbacks; if the function was called we know that the 0 index is set. See #20369.
git-svn-id: https://develop.svn.wordpress.org/trunk@20381 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 19:52:34 +00:00
Andrew Nacin
7dbfae77c0 Use WP_Theme::exists(). see #20361.
git-svn-id: https://develop.svn.wordpress.org/trunk@20379 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 19:21:31 +00:00
Ryan Boren
6f9ceb2326 Introduce WP_User::exists(). see #20372
git-svn-id: https://develop.svn.wordpress.org/trunk@20378 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 19:18:45 +00:00
Andrew Ozz
f880b3544d Pluck a tab (whitespace), props SergeyBiryukov, see #20369
git-svn-id: https://develop.svn.wordpress.org/trunk@20377 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 18:26:14 +00:00
Andrew Ozz
80df7fe2cf Fix second callback when filtering caption text for shortcode, props SergeyBiryukov, fixes #20369
git-svn-id: https://develop.svn.wordpress.org/trunk@20376 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 17:38:49 +00:00
bumpbot
c16ba6d8c7 Compress scripts/styles: 3.4-beta1-20370.
git-svn-id: https://develop.svn.wordpress.org/trunk@20371 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 11:58:23 +00:00
Jon Cave
8578804f80 Remove duplicate JavaScript. Props aaroncampbell. See #19840, fixes #20363.
git-svn-id: https://develop.svn.wordpress.org/trunk@20369 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 11:14:32 +00:00
bumpbot
62c705e044 Compress scripts/styles: 3.4-beta1-20368.
git-svn-id: https://develop.svn.wordpress.org/trunk@20368 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:57:33 +00:00
Andrew Ozz
214f1e8672 Dashboard icon back in, see #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20367 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:55:35 +00:00
bumpbot
dcda0d1c10 Compress scripts/styles: 3.4-alpha-20365.
git-svn-id: https://develop.svn.wordpress.org/trunk@20365 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:34:01 +00:00
Andrew Ozz
130b4f2645 More specific selectors for the 2x images take 2, don't specify background-size for the 1x background, see #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20364 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:30:06 +00:00
Andrew Nacin
f9a131231d Always return a WP_Theme object from wp_get_theme(). Check \$theme->exists() or \$theme->errors() to confirm the requested theme actually exists. see #20361.
git-svn-id: https://develop.svn.wordpress.org/trunk@20363 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:05:49 +00:00
Andrew Ozz
7ceb8f1a68 More specific selectors for the 2x images, see #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20362 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 01:02:36 +00:00
bumpbot
897d692c6d Compress scripts/styles: 3.4-alpha-20361.
git-svn-id: https://develop.svn.wordpress.org/trunk@20361 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 00:58:26 +00:00
Andrew Nacin
7e614e2ff1 Empty media-gallery.js - bumpbot hungry. see [20359].
git-svn-id: https://develop.svn.wordpress.org/trunk@20360 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 00:23:12 +00:00
Ryan Boren
5ca4c46c85 Add media-gallery js. see #19840
git-svn-id: https://develop.svn.wordpress.org/trunk@20359 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 00:21:28 +00:00
Ryan Boren
485e7bc261 Allow selecting custom header and background images from the media library. Props aaroncampbell, sabreuse, greuben. fixes #19840
git-svn-id: https://develop.svn.wordpress.org/trunk@20358 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 00:20:28 +00:00
bumpbot
f027063f41 Compress scripts/styles: 3.4-alpha-20357.
git-svn-id: https://develop.svn.wordpress.org/trunk@20357 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 23:58:25 +00:00
Andrew Ozz
f62e952ae9 Double-size icons and WordPress logo for retina displays, props chexee, props empireoflight, props iammattthomas, see #20293
git-svn-id: https://develop.svn.wordpress.org/trunk@20356 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 23:02:51 +00:00