Commit Graph

9709 Commits

Author SHA1 Message Date
nacin
026289fa33 A more resilient check for the base table prefix. see #19970.
git-svn-id: http://core.svn.wordpress.org/trunk@20700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:38:58 +00:00
nacin
c02d96890a 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: http://core.svn.wordpress.org/trunk@20699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:37:18 +00:00
azaozz
a0beb9a1d1 Admin menu: change to strip_tags() for the aria-label attributes as it's faster, fixes #20373
git-svn-id: http://core.svn.wordpress.org/trunk@20698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:36:07 +00:00
koopersmith
1c102d3180 Add quote to fix 'Customize' link after new theme install on Chrome. props DH-Shredder, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:22:02 +00:00
bumpbot
803b3aa13a Compress scripts/styles: 3.4-beta3-20693.
git-svn-id: http://core.svn.wordpress.org/trunk@20693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 19:58:23 +00:00
nacin
3818ab7abf Widen fields for QuickPress and Quick Edit for the lt_LT locale. props settle. see #19603.
git-svn-id: http://core.svn.wordpress.org/trunk@20692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 19:30:38 +00:00
bumpbot
dad497a12a Compress scripts/styles: 3.4-beta3-20690.
git-svn-id: http://core.svn.wordpress.org/trunk@20690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 17:58:25 +00:00
nacin
153112bb3a Fix the image overlap with the Press This bookmarklet in RTL. props dd32 for the initial patch. fixes #19502.
git-svn-id: http://core.svn.wordpress.org/trunk@20689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 17:54:20 +00:00
bumpbot
5a37c2f523 Compress scripts/styles: 3.4-beta3-20681. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@20681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 01:58:25 +00:00
azaozz
46839c23eb Admin menu: add aria-label attributes to the links around menu images for the sake of screen readers, fixes #20373
git-svn-id: http://core.svn.wordpress.org/trunk@20680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 01:41:15 +00:00
azaozz
e8beafd57b 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: http://core.svn.wordpress.org/trunk@20679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 01:14:52 +00:00
bumpbot
a9263fe649 Compress scripts/styles: 3.4-beta3-20678.
git-svn-id: http://core.svn.wordpress.org/trunk@20678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:58:23 +00:00
azaozz
08924f3439 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: http://core.svn.wordpress.org/trunk@20677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:50:47 +00:00
ryan
6670a497dd Clarify the uploading options in the media-new.php contextual help.
Props Ipstenu, DrewAPicture
fixes #19442


git-svn-id: http://core.svn.wordpress.org/trunk@20676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:23:15 +00:00
nacin
886ee992be 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: http://core.svn.wordpress.org/trunk@20675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:09:55 +00:00
ryan
52c4490065 RTL style fixes for the Theme Customizer. Props ocean90, helenyhou.
git-svn-id: http://core.svn.wordpress.org/trunk@20674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:06:53 +00:00
ryan
1491c8c531 RTL style fixes for the install theme info sidebar. Props ocean90. fixes #20583
git-svn-id: http://core.svn.wordpress.org/trunk@20673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:05:35 +00:00
nacin
74eecbbdb7 Don't show the 'Preview Changes' button for a non-public post type. props intoxstudio, see #17609.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 17:52:08 +00:00
bumpbot
01b652696f Compress scripts/styles: 3.4-beta3-20663.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:58:31 +00:00
nacin
d6a3b4de6f Make the Press This draggable bookmarklet a flexible width to support languages with long words. props SergeyBiryukov, fixes #19957.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:57:11 +00:00
ryan
e0ba13d56c setup-config.php cleanups
* Don't allow an empty prefix
* Make slashing consistent and sane

Props SergeyBiryukov
Fixes #13839


git-svn-id: http://svn.automattic.com/wordpress/trunk@20661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:56:32 +00:00
ryan
7221a98a89 Set foreground color to #000 for form inputs. Props helenyhou, convissor. fixes #19923
git-svn-id: http://svn.automattic.com/wordpress/trunk@20659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:45:10 +00:00
nacin
23533ab628 Remove ru_RU-specific CSS that is no longer necessary after [20616]. props SergeyBiryukov. fixes #20568.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:42:47 +00:00
nacin
659bcd078e Fix some unused/bad CSS for Press This backgrounds and gradients. props georgestephanis, helenyhou. fixes #20573.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:32:44 +00:00
bumpbot
8f97933671 Compress scripts/styles: 3.4-beta3-20651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 20:58:24 +00:00
ryan
93d9788068 Prevent accidental multiple click when creating new categories. Props mdawaffe. fixes #17936
git-svn-id: http://svn.automattic.com/wordpress/trunk@20650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 20:50:50 +00:00
nacin
608b26589e 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: http://svn.automattic.com/wordpress/trunk@20639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 00:44:47 +00:00
bumpbot
90e0f66bf1 Compress scripts/styles: 3.4-beta3-20634.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-28 20:58:20 +00:00
azaozz
3ff4f1fc69 Always hide the admin menu arrow in IE8 (doesn't work there), props casben79, SergeyBiryukov, fixes #19586
git-svn-id: http://svn.automattic.com/wordpress/trunk@20633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-28 20:55:56 +00:00
nacin
4ffc5dd0f4 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: http://svn.automattic.com/wordpress/trunk@20631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 23:13:39 +00:00
nacin
2a615d274e Clean up messages on edit.php. see #19470.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 22:54:02 +00:00
bumpbot
c600e21e43 Compress scripts/styles: 3.4-beta3-20629.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 20:58:24 +00:00
azaozz
641650117e Widgets: remove the widget title shown in the widget header when empty or doesn't exist, part props kawauso, fixes #19925
git-svn-id: http://svn.automattic.com/wordpress/trunk@20628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 20:34:35 +00:00
bumpbot
8929b78ae2 Compress scripts/styles: 3.4-beta3-20627.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:58:23 +00:00
azaozz
ec8b201777 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: http://svn.automattic.com/wordpress/trunk@20626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:52:13 +00:00
nacin
48fde56f29 Add a max of 999 to the screen options items per page input. props georgestephanis. fixes #20420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:46:33 +00:00
duck_
a442d476fe Check that $post_type_object exists before accessing its properties. Props markoheijnen. Fixes #20064.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:32:32 +00:00
nacin
b82ddbd98b Do not break a domain on network/site-new.php across two lines. props SergeyBiryukov, fixes #19895.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 19:02:10 +00:00
bumpbot
2dfc4aa101 Compress scripts/styles: 3.4-beta3-20620.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:58:22 +00:00
nacin
0af650a02c 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: http://svn.automattic.com/wordpress/trunk@20619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:57:59 +00:00
nacin
2f26bbdf8d Int cast a step variable. see #19786. props Caspie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:57:08 +00:00
nacin
e949a5bd93 Force the plugin details to be LTR for all screens. props dd32. fixes #19778.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:52:58 +00:00
nacin
a5cdba485d 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: http://svn.automattic.com/wordpress/trunk@20616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:22:47 +00:00
nacin
82aacfe420 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: http://svn.automattic.com/wordpress/trunk@20614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:05:43 +00:00
nacin
c68f8c46f0 Use maybe_serialize() where appropriate. fixes #19617.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 15:57:51 +00:00
nacin
45d66d7d62 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: http://svn.automattic.com/wordpress/trunk@20609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-26 21:09:51 +00:00
nacin
e09d2e6f76 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: http://svn.automattic.com/wordpress/trunk@20605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-26 00:58:16 +00:00
ryan
25ec571dae 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: http://svn.automattic.com/wordpress/trunk@20594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 20:24:20 +00:00
nacin
d17afd15a4 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: http://svn.automattic.com/wordpress/trunk@20592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 19:37:19 +00:00
azaozz
a1e92cae9d Fix typo in a comment, props SergeyBiryukov, fixes #20506
git-svn-id: http://svn.automattic.com/wordpress/trunk@20591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 17:49:48 +00:00