Commit Graph

17375 Commits

Author SHA1 Message Date
Andrew Nacin
c2cf751035 number_format_i18n for role user counts. props sirzooro, fixes #18305.
git-svn-id: https://develop.svn.wordpress.org/trunk@18735 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 05:35:57 +00:00
Jon Cave
0753dd9764 Rescue those who created menu items before r18733. Trim menu item descriptions. See #16799.
git-svn-id: https://develop.svn.wordpress.org/trunk@18734 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 22:57:47 +00:00
Jon Cave
df9f6eb62a Make new nav menu items have a blank description and attr_title. See #16799.
git-svn-id: https://develop.svn.wordpress.org/trunk@18733 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 21:58:37 +00:00
Jon Cave
ed5fdbb499 Abstract word-trimming from wp_trim_excerpt() into wp_trim_words(). Props nacin. Fixes #16372.
git-svn-id: https://develop.svn.wordpress.org/trunk@18732 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 17:14:23 +00:00
Dion Hulse
6147f81b33 Don't trigger Database Upgrades for POST requests with a body. Fixes #18712
git-svn-id: https://develop.svn.wordpress.org/trunk@18731 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 04:17:55 +00:00
Andrew Ozz
865ccf2acb Remove redundant userinfo styling, props ocean90 and SergeyBiryukov, see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@18730 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 03:37:17 +00:00
Andrew Ozz
77224590d2 Add the borders to the border-radius merge, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18729 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 03:21:18 +00:00
Andrew Ozz
91d248fce8 Merge all border-radius: 3px, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18728 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 03:02:53 +00:00
Andrew Ozz
efbfde27eb Quicktags: fix closing of the first tag in an empty textarea, allow closing of all tags without the button, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18727 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 02:22:43 +00:00
Andrew Ozz
7c4e4d17e6 Remove unnecessary vendor prefixes, props ocean90, see #18700
git-svn-id: https://develop.svn.wordpress.org/trunk@18726 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 01:27:14 +00:00
Andrew Ozz
268911c313 Fix quicktags buttons fir self-closing tags, remove unneeded arg when adding a button, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18725 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 20:47:20 +00:00
Ryan Boren
15f12c55f9 Mark some string in dead_db() for translation. Props mako09, SergeyBiryukov. fixes #17815
git-svn-id: https://develop.svn.wordpress.org/trunk@18724 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 20:21:39 +00:00
Ryan Boren
1cd6cf0f0c phpdoc typo fixes for get_template_part(). Props dgwyer, SergeyBiryukov. fixes #18555
git-svn-id: https://develop.svn.wordpress.org/trunk@18723 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 19:01:03 +00:00
Jon Cave
83f0e2c349 Add post formats to quick edit and bulk edit. Fixes #18083.
git-svn-id: https://develop.svn.wordpress.org/trunk@18722 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 17:02:58 +00:00
Jon Cave
6db13f488f Make use of specific post format support in current_theme_supports(). See #18691.
git-svn-id: https://develop.svn.wordpress.org/trunk@18721 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 16:31:33 +00:00
Jon Cave
7c0d6373af Allow current_theme_supports() to be used to check for specific post formats. Props ericmann. Fixes #18691.
git-svn-id: https://develop.svn.wordpress.org/trunk@18720 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 16:29:03 +00:00
Andrew Ozz
0ec131e16f Remove dependency from ie.css, props SergeyBiryukov, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18719 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 16:28:53 +00:00
Dion Hulse
d07aeb8b07 Add inflation support for java.util.zip.Deflater in WP_Http_Encoding::compatible_gzinflate(). Fixes #18273
git-svn-id: https://develop.svn.wordpress.org/trunk@18718 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 14:43:43 +00:00
Peter Westwood
d01e2af94b Improve the parsing of email addresses in wp_mail to re-support RFC2822 nameless "<address@tld.com>" style. Fixes #18463 props kitchin and SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@18717 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 14:30:50 +00:00
Peter Westwood
442590c211 Set up the post global variable in the comment feed loops so that any calls to post related template tags work correctly.
Ensures that atom feeds show threading for top-level comments correctly.
Fixes #14908 props solarissmoke and SergeyBiryukov.

git-svn-id: https://develop.svn.wordpress.org/trunk@18716 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 12:39:59 +00:00
Peter Westwood
814faf7f4f Escape the dot so that it only matches dot any not any character in the old feed files redirect.
Bump the db version so the rules regenerate.
See #18384

git-svn-id: https://develop.svn.wordpress.org/trunk@18715 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 12:15:43 +00:00
Dion Hulse
670784bcc3 Add documentation for floats (%f) to wpdb::prepare() and friends. Props dllh. Fixes #18407
git-svn-id: https://develop.svn.wordpress.org/trunk@18714 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 05:15:44 +00:00
Dion Hulse
ad6fac44d4 Allow Apostrophes in Post Passwords. $_POST and $_COOKIE are always slashed. Fixes #17145
git-svn-id: https://develop.svn.wordpress.org/trunk@18712 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 04:17:26 +00:00
Dion Hulse
56c20818e5 Fix wp_list_filter() OR operator. Props kevinB. Fixes #18092
git-svn-id: https://develop.svn.wordpress.org/trunk@18711 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 03:59:52 +00:00
Andrew Ozz
945d4500b4 Add TinyMCE command to handle opening of the upload/insert popup, fix the shortcut "Alt+Shift+M", fix the "image" button in DFW, fixes #17992, fixes #18697, see $17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18710 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 00:47:23 +00:00
Andrew Nacin
e984d8503b Fix issue where post locks were not updating on autosaves. props benbalter, fixes #18642. see #18515 for more on locking. broken in [12991], see #11889.
git-svn-id: https://develop.svn.wordpress.org/trunk@18709 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 23:23:39 +00:00
Andrew Nacin
29fca1ba49 Don't burden translators with a few strings we'll be changing.
git-svn-id: https://develop.svn.wordpress.org/trunk@18708 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:45:23 +00:00
Daryl Koopersmith
342180470d Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18707 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:17:09 +00:00
Andrew Nacin
be4c3e1d86 Use get_post_class() in the posts list table. props brandondove, fixes #18516.
git-svn-id: https://develop.svn.wordpress.org/trunk@18706 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:11:28 +00:00
Andrew Nacin
5c6b6c074f Strip a number of special characters in sanitize_title_with_dashes on save. Includes quotes (curly, angle), dashes, marks, etc. props SergeyBiryukov. props ampt for the unit tests in [UT438]. see #10797.
git-svn-id: https://develop.svn.wordpress.org/trunk@18705 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 19:53:59 +00:00
Andrew Ozz
2f8ab419ac Importers and Install themes thickbox fixes, props helenyhou, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18704 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 19:39:49 +00:00
Andrew Ozz
ff6097e6ee Add the styling for "drop area" to Media->Add New, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18703 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 17:03:34 +00:00
Andrew Ozz
c0f4b1a326 Improve the image drag-resize detection in the visual editor (supported in FF and IE only), remove the size-* class if the image is soft-resized, see #18107
git-svn-id: https://develop.svn.wordpress.org/trunk@18702 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 03:00:13 +00:00
Andrew Ozz
1948c952a4 Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18701 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 02:25:23 +00:00
Andrew Nacin
d021bbd1d4 Force the admin bar on in the admin as it is now integrated. Removes the second UI option. Leaves out the upgrade routine for now. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18700 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 22:26:01 +00:00
Andrew Nacin
68c1b54796 is_main_query(). fixes #18677.
git-svn-id: https://develop.svn.wordpress.org/trunk@18699 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 20:46:35 +00:00
Jon Cave
73744eb96c Don't obliterate $title if $desc isn't set. Props kawauso. Fixes #18185.
git-svn-id: https://develop.svn.wordpress.org/trunk@18698 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 18:27:32 +00:00
Dion Hulse
1bc9770151 Use http_build_query in the Core Update check to encode version numbers. Props kurtpayne. Fixes #18051
git-svn-id: https://develop.svn.wordpress.org/trunk@18697 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 09:14:27 +00:00
Daryl Koopersmith
6244ba8f6e Improve comments item in admin bar. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18696 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 01:11:52 +00:00
Daryl Koopersmith
edeae501f1 Admin bar styles, take 1. Props iammmattthomas, see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18695 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 00:41:04 +00:00
Andrew Ozz
2c70f62b72 The rest of add missing var in postbox.js, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18694 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 23:28:40 +00:00
Andrew Ozz
a5b0615476 Add missing var in postbox.js, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18693 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 23:26:42 +00:00
Jon Cave
8a96846c8d Fix undefined index "subdomain_install" in wp-admin/network.php. Props cyberhobo, SergeyBiryukov. Fixes #17697.
git-svn-id: https://develop.svn.wordpress.org/trunk@18692 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 21:20:43 +00:00
Jon Cave
d98a9d0b0c Fix several CSS syntax errors. Props demetris. Fixes #18640.
git-svn-id: https://develop.svn.wordpress.org/trunk@18691 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 20:41:47 +00:00
Peter Westwood
1688cde0e2 Remove the unimplemented user locale code in the admin bar until we actually implement it for real.
git-svn-id: https://develop.svn.wordpress.org/trunk@18690 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 11:12:37 +00:00
Peter Westwood
af72ac6ff5 Get out quick if we have been passed the ID of the 'logged out' user.
git-svn-id: https://develop.svn.wordpress.org/trunk@18689 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:57:31 +00:00
Peter Westwood
44821916ca We don't need to do this if the user isn't logged in.
git-svn-id: https://develop.svn.wordpress.org/trunk@18688 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:56:06 +00:00
Peter Westwood
cc5c326c37 Don't try showing these links to non-logged in users either.
git-svn-id: https://develop.svn.wordpress.org/trunk@18687 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:50:55 +00:00
Peter Westwood
30121b77d9 Don't show this menu for users who are not logged in.
git-svn-id: https://develop.svn.wordpress.org/trunk@18686 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:46:12 +00:00
Daryl Koopersmith
50f062f711 Show correct blogs in the admin bar sites menu. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18685 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 07:18:05 +00:00