Commit Graph

19143 Commits

Author SHA1 Message Date
Andrew Nacin
26ff22c7a2 In image_resize(), do not force the destination filename to *.jpg when we are dealing with a *.jpeg.
props SergeyBiryukov.
fixes #16458.



git-svn-id: https://develop.svn.wordpress.org/trunk@20701 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:58:57 +00:00
Andrew Nacin
fcf7cda3c6 A more resilient check for the base table prefix. see #19970.
git-svn-id: https://develop.svn.wordpress.org/trunk@20700 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:38:58 +00:00
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
Ryan Boren
1f3ca85ab5 Rolling upgrade to set the welcome_user_email network-wide option via the welcome_user_msg_filter() callback. Fixes ability to save the welcome user email when no entry exists in the database. see #20116
git-svn-id: https://develop.svn.wordpress.org/trunk@20697 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:31:37 +00:00
Andrew Nacin
9f57ec7c6c Have the $fields argument for XML-RPC's wp.getPostType, getPostTypes, wp.getTaxonomy and wp.getTaxonomies take the names of the post type or taxonomy object keys that will be returned.
* capabilities becomes cap
 * object_types becomes object_type

fixes #17626.



git-svn-id: https://develop.svn.wordpress.org/trunk@20696 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:29:34 +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
Andrew Nacin
f2c495e011 Add filter to image_resize_dimensions() so plugins can perform this calculation on their own. props ebababi. fixes #15989.
git-svn-id: https://develop.svn.wordpress.org/trunk@20694 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 20:15:44 +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
Andrew Nacin
c4f902f4c0 Remove $wp_secret_key_default.
With the duplicate key checks, this is isn't necessary. It could also cause problems when you
temporarily update to an English translation of a new version before going back to the locale.

see #19599.



git-svn-id: https://develop.svn.wordpress.org/trunk@20691 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 19:29:39 +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
Andrew Nacin
cf6ce55d51 Only look for public post types in redirect_guess_404_permalink() when no post type query var is present. props jeremyfelt. fixes #19693.
git-svn-id: https://develop.svn.wordpress.org/trunk@20688 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 17:39:43 +00:00
Andrew Nacin
b4f82d87b0 Add Vietnamese vowels to remove_accents(). props SergeyBiryukov. fixes #17738.
git-svn-id: https://develop.svn.wordpress.org/trunk@20687 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 16:55:16 +00:00
Andrew Nacin
61602af9c1 Add characters to be stripped or replaced in sanitize_title_with_dashes().
* Replace times (multiplication sign) with x.
 * Strip low quotation marks and other curly quotes we don't already deal with.
props SergeyBiryukov. fixes #19820.



git-svn-id: https://develop.svn.wordpress.org/trunk@20686 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 16:37:42 +00:00
Andrew Nacin
ad1de1abe6 Always escape the output of get_pagenum_link(). fixes #14556.
git-svn-id: https://develop.svn.wordpress.org/trunk@20685 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 16:29:39 +00:00
Andrew Nacin
bf5decbacf Require both wp-head-callback and admin-head-callback for custom header theme support. fixes #20603.
git-svn-id: https://develop.svn.wordpress.org/trunk@20684 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 15:16:48 +00:00
Andrew Nacin
fa3427a99a Update phpdoc for WP_User::has_cap(). props nunomorgadinho. see #19756.
git-svn-id: https://develop.svn.wordpress.org/trunk@20683 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 14:17:04 +00:00
Andrew Nacin
33a76bd97c Anchor a regular expression in wp-mail.php to ensure we are matching the Reply-To: header, not the In-Reply-To: header.
Per RFCs *822, mail headers must start at the beginning of a line. This same pattern could be continued throughout this file.

props solarissmoke.
fixes #18923.



git-svn-id: https://develop.svn.wordpress.org/trunk@20682 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-02 13:32:19 +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
Mark Jaquith
68616250c5 Ignore this. Just need an un-synced-to-GitHub commit so I can switch to using the new core.svn.wordpress.org URL.
git-svn-id: https://develop.svn.wordpress.org/trunk@20672 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 21:05:02 +00:00
Andrew Nacin
9761a56833 Kill all notices in XML-RPC found when running the test suite with WP_DEBUG. see [UT706], [UT707]. see #20566.
git-svn-id: https://develop.svn.wordpress.org/trunk@20671 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 21:03:50 +00:00
Andrew Nacin
8868595fd4 Fix copy-paste issues in XML-RPC's _prepare_taxonomy(). see #20566.
git-svn-id: https://develop.svn.wordpress.org/trunk@20670 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 20:33:06 +00:00
Jon Cave
9426067fbc Prevent a notice: don't attempt to parse the query string if it doesn't exist. Props johnjamesjacoby. Fixes #20528.
git-svn-id: https://develop.svn.wordpress.org/trunk@20669 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 18:26:38 +00:00
Andrew Nacin
5fd3048d0a Don't try to translate tags in WP_Theme::translate_header() if we are not in the admin and get_theme_feature_list() isn't defined. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20668 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 18:02:40 +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
Ryan Boren
52dea56cbe Add a link to the Customizer from the Admin Bar appearance menu. Props sabreuse. fixes #20575
git-svn-id: https://develop.svn.wordpress.org/trunk@20666 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 12:47:46 +00:00
Andrew Nacin
be1c42cf7a Use correct variables. props batmoo. fixes #20566.
git-svn-id: https://develop.svn.wordpress.org/trunk@20665 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-01 01:11:18 +00:00
Andrew Nacin
0a15d9f966 Use correct variables. props batmoo. fixes #20566.
git-svn-id: https://develop.svn.wordpress.org/trunk@20664 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 23:45:01 +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
Andrew Nacin
ac2e5ae1e0 jQuery UI 1.8.20. fixes #20559.
Fixes placeholder sizes when sorting post and dashboard meta boxes.



git-svn-id: https://develop.svn.wordpress.org/trunk@20660 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:53:09 +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
29fcfe6c1c Explicitly set the dimensions of the avatar in the toolbar's profile menu. Avoids issues where overridden avatars could result in images that don't fit. props andrewryno. fixes #19539.
git-svn-id: https://develop.svn.wordpress.org/trunk@20657 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:38:39 +00:00
Ryan Boren
267871e166 Escape term links output in category-template.php functions. Props SergeyBiryukov, solarissmoke, alex-ye. fixes #20106
git-svn-id: https://develop.svn.wordpress.org/trunk@20656 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:36:43 +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
Ryan Boren
ac3e71ac63 Don't escape anchor text as an attributein wp_get_attachment_link(). Props SergeyBiryukov. fixes #19282
git-svn-id: https://develop.svn.wordpress.org/trunk@20654 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:22:58 +00:00
Andrew Nacin
0d53bba473 Properly convert two special Z characters in convert_chars(). props Namely, SergeyBiryukov. fixes #20503.
git-svn-id: https://develop.svn.wordpress.org/trunk@20653 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:20:50 +00:00
Ryan Boren
3f793e457c Fire the wp_cron action from init instead of sanitize_comment_cookies so that cron handlers can rely on a fully initialized env. Props SergeyBiryukov, norocketsurgeon. fixes #19818
git-svn-id: https://develop.svn.wordpress.org/trunk@20652 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 21:02:54 +00:00