Commit Graph

8724 Commits

Author SHA1 Message Date
nacin
83746331cf Cleanup in wp_admin_bar_new_content_menu. current() instead of array_shift(), remove unused index 1 from the arrays, remove ?post_type=post from the Post link. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 04:04:10 +00:00
koopersmith
0c79429d8b Add secondary section to 'Add New' admin bar menu. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 03:53:43 +00:00
koopersmith
c00a49dd7a Prevent multiple-word admin bar items from overflowing in Firefox. props chrisbliss18, helenyhou. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 03:16:05 +00:00
nacin
ea5730329d Pass instance and id_base to widget_tirle filter in WP_Widget_Recent_Comments. props scribu, fixes #18393.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 02:38:31 +00:00
ryan
d187cf2559 Count only published posts when updating term counts. Fire term count updates on transition_post_status. Props joehoyle. fixes #17548
git-svn-id: http://svn.automattic.com/wordpress/trunk@18783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 22:24:46 +00:00
koopersmith
d417524b4a Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:03:38 +00:00
azaozz
5ca2255bba Fix the uploader popup in DWF, reduce the height of the drop area, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 19:23:43 +00:00
westi
59cb3c0ddd Only show 'About this version' menu item to logged in users.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 08:40:31 +00:00
koopersmith
590868d915 Second pass, admin bar overhaul. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 23:30:40 +00:00
azaozz
ce992634cc Fix the workaround for UI Draggable to include single instance widgets (do they still exist?), see #17952
git-svn-id: http://svn.automattic.com/wordpress/trunk@18774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 18:53:34 +00:00
azaozz
1e145adb97 Add border radius to .postbox .hndle, props Jick, fixes #18657
git-svn-id: http://svn.automattic.com/wordpress/trunk@18773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 17:17:51 +00:00
duck_
26d36e6eda Remove .js .item-order style made redundant by r18755. See #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:57:52 +00:00
nacin
07567002bb Update esc_url() phpdoc. props sirzooro, fixes #18766.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:52:26 +00:00
duck_
37441fac3e Fix copy+paste error in documentation. Props masonjames, SergeyBiryukov. Fixes #18545.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:37:34 +00:00
nacin
9f216ad715 delete_post_thumbnail(). props CoenJacobs, duck_. fixes #17895.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:31:38 +00:00
azaozz
eb8878fbfc Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 04:43:19 +00:00
nacin
55a0bfcdc8 Provide styling to HTML5 text-like inputs (email, number, search, tel, url). see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 21:12:43 +00:00
koopersmith
27d6351a64 Use admin menu API when responsively collapsing the menu. CSS fixes. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 20:22:52 +00:00
koopersmith
1b6afc2077 Correct text widget background color. It was really messing with our feng shui.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 20:05:13 +00:00
nacin
5254f5f78f Combine some CSS definitions. props DH-Shredder, see #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 18:52:51 +00:00
azaozz
e7e4ceed22 Update jQuery to 1.6.4, update jQuery UI to 1.8.16, add the rest of UI, add workaround for a regression in UI Draggable, see #17952
git-svn-id: http://svn.automattic.com/wordpress/trunk@18757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 05:03:31 +00:00
koopersmith
48d20c1839 Hide nav menu item order arrows when JS is available and correct expanded nav menu item CSS bug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 22:33:27 +00:00
koopersmith
f40872acdd Remove expanded class from flyout menus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 20:24:12 +00:00
duck_
4a6513185a Documentation fixes. See #18560.
- Add missing parameters
 - Add missing @param data types
 - s/format_where/where_format/


git-svn-id: http://svn.automattic.com/wordpress/trunk@18753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 12:02:31 +00:00
westi
b816f54124 Revert [18747] until we can discuss it further. See #18453.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 09:15:45 +00:00
westi
19f46502c0 Add support for rar and 7x file uploading. Fixes #16412 props Caspie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 08:29:35 +00:00
azaozz
95e8b34104 Postpone warnings when WP_DEBUG and WP_DEBUG_DISPLAY are set, see #18453
git-svn-id: http://svn.automattic.com/wordpress/trunk@18747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 02:27:00 +00:00
nacin
12bc347475 Detect current menu items for root-relative URLs. props filosofo, fixes #15954.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 02:25:57 +00:00
koopersmith
723e50230e Add new 'about this version' page (with filler content) and menu item. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 23:20:26 +00:00
azaozz
1cdd3d5154 Fix inconsistent css handling of .wide-screen, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 21:44:44 +00:00
duck_
2fb95a133d wp_strip_all_tags() in wp_trim_words() to remove CSS and JS within tags. Props evansolomon. Fixes #18726.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:39:21 +00:00
ryan
3c2ba4afed Pass the authenticated user_login to the wp_login action. Props Otto42, SergeyBiryukov. fixes #15473
git-svn-id: http://svn.automattic.com/wordpress/trunk@18741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:26:39 +00:00
ryan
69a52799a5 Do not output title attributes in the page walker since they match the anchor and are thus superfluous. Props logiclord. fixes #16783
git-svn-id: http://svn.automattic.com/wordpress/trunk@18739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:04:14 +00:00
ryan
7aedd7ec52 Run the sanitize_option_* filter for all options in sanitize_option(). Add some sanity checks for the permalink options while in there. fixes #18737
git-svn-id: http://svn.automattic.com/wordpress/trunk@18738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 19:05:06 +00:00
azaozz
4228aa301c Remove the scrollbar from the login screen, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 18:47:12 +00:00
azaozz
ffca93b1f2 Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 06:16:24 +00:00
duck_
b225e5b626 Rescue those who created menu items before r18733. Trim menu item descriptions. See #16799.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 22:57:47 +00:00
duck_
bc3b3aed4d Make new nav menu items have a blank description and attr_title. See #16799.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 21:58:37 +00:00
duck_
8cfc0fa5ec Abstract word-trimming from wp_trim_excerpt() into wp_trim_words(). Props nacin. Fixes #16372.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 17:14:23 +00:00
azaozz
456753acce Remove redundant userinfo styling, props ocean90 and SergeyBiryukov, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:37:17 +00:00
azaozz
eba25e47a6 Merge all border-radius: 3px, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:02:53 +00:00
azaozz
7210ddb762 Quicktags: fix closing of the first tag in an empty textarea, allow closing of all tags without the button, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 02:22:43 +00:00
azaozz
f4acbe5a0a Remove unnecessary vendor prefixes, props ocean90, see #18700
git-svn-id: http://svn.automattic.com/wordpress/trunk@18726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 01:27:14 +00:00
azaozz
64da76d23e Fix quicktags buttons fir self-closing tags, remove unneeded arg when adding a button, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 20:47:20 +00:00
ryan
bad1132fdf Mark some string in dead_db() for translation. Props mako09, SergeyBiryukov. fixes #17815
git-svn-id: http://svn.automattic.com/wordpress/trunk@18724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 20:21:39 +00:00
ryan
2b9750b3e4 phpdoc typo fixes for get_template_part(). Props dgwyer, SergeyBiryukov. fixes #18555
git-svn-id: http://svn.automattic.com/wordpress/trunk@18723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 19:01:03 +00:00
duck_
698957e40e Add post formats to quick edit and bulk edit. Fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 17:02:58 +00:00
duck_
6e2ffdc289 Allow current_theme_supports() to be used to check for specific post formats. Props ericmann. Fixes #18691.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 16:29:03 +00:00
azaozz
c748eaf1f0 Remove dependency from ie.css, props SergeyBiryukov, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 16:28:53 +00:00
dd32
f40bc45b6f Add inflation support for java.util.zip.Deflater in WP_Http_Encoding::compatible_gzinflate(). Fixes #18273
git-svn-id: http://svn.automattic.com/wordpress/trunk@18718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 14:43:43 +00:00
westi
5eef6313ef 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: http://svn.automattic.com/wordpress/trunk@18717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 14:30:50 +00:00
westi
0826f08315 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: http://svn.automattic.com/wordpress/trunk@18716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 12:39:59 +00:00
westi
738904e996 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: http://svn.automattic.com/wordpress/trunk@18715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 12:15:43 +00:00
dd32
4752a8a1aa Add documentation for floats (%f) to wpdb::prepare() and friends. Props dllh. Fixes #18407
git-svn-id: http://svn.automattic.com/wordpress/trunk@18714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 05:15:44 +00:00
dd32
bd5cf872c6 Allow Apostrophes in Post Passwords. $_POST and $_COOKIE are always slashed. Fixes #17145
git-svn-id: http://svn.automattic.com/wordpress/trunk@18712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 04:17:26 +00:00
dd32
085ba95a60 Fix wp_list_filter() OR operator. Props kevinB. Fixes #18092
git-svn-id: http://svn.automattic.com/wordpress/trunk@18711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 03:59:52 +00:00
azaozz
4b38d0833e 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: http://svn.automattic.com/wordpress/trunk@18710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 00:47:23 +00:00
koopersmith
7efa3a5df8 Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 21:17:09 +00:00
nacin
e5ca4fea40 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: http://svn.automattic.com/wordpress/trunk@18705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 19:53:59 +00:00
azaozz
80720acfc4 Importers and Install themes thickbox fixes, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 19:39:49 +00:00
azaozz
9601be8055 Add the styling for "drop area" to Media->Add New, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 17:03:34 +00:00
azaozz
4428b4c435 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: http://svn.automattic.com/wordpress/trunk@18702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 03:00:13 +00:00
azaozz
ae2219cd30 Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 02:25:23 +00:00
nacin
2ee655428d 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: http://svn.automattic.com/wordpress/trunk@18700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 22:26:01 +00:00
nacin
b3dfd9e953 is_main_query(). fixes #18677.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 20:46:35 +00:00
dd32
b7080959f6 Use http_build_query in the Core Update check to encode version numbers. Props kurtpayne. Fixes #18051
git-svn-id: http://svn.automattic.com/wordpress/trunk@18697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 09:14:27 +00:00
koopersmith
053fb714ba Improve comments item in admin bar. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 01:11:52 +00:00
koopersmith
b188bea4c8 Admin bar styles, take 1. Props iammmattthomas, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 00:41:04 +00:00
azaozz
f6b2da9388 The rest of add missing var in postbox.js, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 23:28:40 +00:00
duck_
c93578bfbe Fix several CSS syntax errors. Props demetris. Fixes #18640.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 20:41:47 +00:00
westi
34dbc01722 Remove the unimplemented user locale code in the admin bar until we actually implement it for real.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 11:12:37 +00:00
westi
0b4bd67034 Get out quick if we have been passed the ID of the 'logged out' user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:57:31 +00:00
westi
96b942e891 We don't need to do this if the user isn't logged in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:56:06 +00:00
westi
a38314000b Don't try showing these links to non-logged in users either.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:50:55 +00:00
westi
a10f6eba7f Don't show this menu for users who are not logged in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:46:12 +00:00
koopersmith
5a7a91af5f Show correct blogs in the admin bar sites menu. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 07:18:05 +00:00
koopersmith
9229f1f7ed Improve appearance of Screen Options/Help panels, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 07:10:04 +00:00
koopersmith
834dc9ff5e Admin bar UX improvements. First pass, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 05:01:54 +00:00
duck_
e085f4f0d6 Remove the non_existent_objects property from WP_Object_Cache. Fixes #16274.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 20:28:06 +00:00
duck_
cda68f14f9 Introduce wp_suspend_cache_addition() to allow reduced memory usage when cache additions aren't useful. Fixes #5389.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 20:23:00 +00:00
nacin
a96e0dff91 Remove support for <link rel=start>, end, up, and index. These rel="" values have been dropped by the HTML Working Group. props Elpie, kawauso, fixes #18128.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 16:54:59 +00:00
westi
05ea44afea Remove the accidental commit of the cache avoiding test code in [18677] props vnsavage
git-svn-id: http://svn.automattic.com/wordpress/trunk@18679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 10:43:22 +00:00
westi
1b6398d64b A little bit of whitespace keeps the code readable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 10:09:45 +00:00
westi
5405bd3838 Set a consistent cache key when using the_widget to display the Recent Posts and Recent Comments widgets so that they get cached. See #16761.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 10:08:43 +00:00
westi
7fd6ab93c3 Fix Notices in default Widgets when called using the_widget(). Fixes #16761 props mfields and SergeyBiryukov
git-svn-id: http://svn.automattic.com/wordpress/trunk@18676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 09:41:17 +00:00
azaozz
2605391379 Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 05:30:58 +00:00
azaozz
bff7722dd1 Responsive themes screen, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 04:26:26 +00:00
azaozz
c032d9a1ed Limit max width of .widefat list tables, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:08:44 +00:00
azaozz
ee74f3a9a6 Responsive tag and category pages, props saracannon, see #18189
git-svn-id: http://svn.automattic.com/wordpress/trunk@18669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:03:13 +00:00
azaozz
d868f40f99 Revert [18664] and handle any similar cases separately, props SergeyBiryukov, fixes #16810, fixes #18656
git-svn-id: http://svn.automattic.com/wordpress/trunk@18668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 20:23:33 +00:00
azaozz
debc12b386 Auto-column switching for the dashboard (js based), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 07:02:46 +00:00
azaozz
b55485592b Make DFW content width match exactly the reported width from the theme, props helenyhou, fixes #18138
git-svn-id: http://svn.automattic.com/wordpress/trunk@18666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 20:03:28 +00:00
nacin
020e620769 Use get_template_part() in get_header(), get_sidebar(), get_footer(). props scribu, see #18331.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 16:17:14 +00:00
azaozz
01d0ae4ad9 Make hide-if-no-js and hide-if-js important, props solarissmoke, fixes #16810
git-svn-id: http://svn.automattic.com/wordpress/trunk@18664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 02:52:02 +00:00
nacin
feb2ba5831 Allow get_blog_option(null,...) to hit the cache for the current blog. New return values for add_blog_option, update_blog_option, delete_blog_option. Don't set the cache in those functions if add/update/delete_option failed. see #17883.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-11 18:53:09 +00:00
nacin
4319712d64 Rename 'Post Tags' to 'Tags'. props scribu, fixes #17683.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-11 17:52:46 +00:00
azaozz
2404c9cdf0 TinyMCE 3.4.5, fixes #18107
git-svn-id: http://svn.automattic.com/wordpress/trunk@18660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 20:08:40 +00:00
ryan
5ebcc1d3ea Improve cron locking. Avoid multiple cron processes looping over the same events. fixes #17462
git-svn-id: http://svn.automattic.com/wordpress/trunk@18659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 19:59:44 +00:00
nacin
01073d5f3c Add phpdoc for default arg for get_option(). props amereservant, solarissmoke, fixes #17819.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 17:53:41 +00:00
nacin
c8cdb0cd3d Update blog last_updated time only on publish_post. Both private_to_published and publish_phone are overly broad and otherwise redundant. props mdawaffe, fixes #18624.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 17:49:30 +00:00
azaozz
dc936c54c1 Rename the newly added action 'after_theme_change' to 'after_switch_theme' so it matches the 'switch_theme' action, props scribu, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 20:59:41 +00:00
azaozz
c00346820f Make check_theme_switched() run an action so this enhancement is available to plugins and themes too, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 20:07:15 +00:00
azaozz
b79223097c Use theme mods instead of transients for storing the previous theme's widgets config, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 19:25:20 +00:00
ryan
6e68c7bfd9 Update cache.php phpdoc. Props SergeyBiryukov. fixes #18607
git-svn-id: http://svn.automattic.com/wordpress/trunk@18653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 17:19:09 +00:00
ryan
23db619491 Don't send page slugs through prepare() to avoid breaking octets in i18n page slugs. Props SergeyBiryukov. see #10249 #166687
git-svn-id: http://svn.automattic.com/wordpress/trunk@18652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 17:17:17 +00:00
duck_
c8a4ab1b4c Only add the post format body classes when the post type supports post formats. props ocean90. fixes #18228.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 20:10:42 +00:00
duck_
6841d365e5 Don't hide the comment reply or quick edit row if an error is returned. Props ocean90. Fixes #18350.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 19:48:25 +00:00
nacin
12becdf50d Add a filter to is_multi_author(). props Viper007Bond, fixes #18600.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 13:53:53 +00:00
nacin
db6765354d s/robot/robots/. props madjax, fixes #18612.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 13:45:06 +00:00
ryan
4410168419 Standardize variable names. Consistently use and . fixes #18607
git-svn-id: http://svn.automattic.com/wordpress/trunk@18644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-06 21:13:11 +00:00
nacin
f855a18bc1 trailingslashit isn't normally available in ms-files. props davecpage, fixes #18592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-06 15:41:57 +00:00
duck_
2f51b9be0d Fix typos in documentation (wp-includes/[i-z]). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 19:08:15 +00:00
nacin
d6fe2825c9 Force a trailing slash on BLOGUPLOADDIR in ms-files.php. props wonderboymusic, see #18592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 16:55:05 +00:00
nacin
a4c18fc053 Use untrailingslashit in url_shorten() and recurse_dirsize(). Remove unnecessary camelCase variables. see #18592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 16:53:19 +00:00
azaozz
21dc8794bc Remove unneeded .siblings() from widgets.js, props aaroncampbell, fixes #18582
git-svn-id: http://svn.automattic.com/wordpress/trunk@18634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 21:19:36 +00:00
duck_
e4ed63fc6f Fix typos in documentation (wp-includes/[a-h]). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 16:02:41 +00:00
azaozz
d83b14c165 Moves orphaned sidebars to main content area above Inactive Widgets, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 03:01:11 +00:00
azaozz
4852c5887f Avoid losing widgets when switching themes - take one, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 22:13:55 +00:00
nacin
1fd69ecf36 s/hask/hack/. props scribu, see #16695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 21:25:42 +00:00
azaozz
41e5e2d81e More quicktags back-compat, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 20:40:47 +00:00
markjaquith
31a016614d Cast to array in get_page_by_path() foreach
git-svn-id: http://svn.automattic.com/wordpress/trunk@18627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-31 06:46:16 +00:00
azaozz
63969dbca7 Toggle class 'responsive' on div.wrap when auto columns is toggled, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 23:18:18 +00:00
azaozz
7865d5c451 Disable js moving of dashboard postboxes, add all of them in the first column on 'auto', see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 22:29:37 +00:00
azaozz
c5bf0c0903 Fix typo in quicktags.js, props westi, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 17:50:12 +00:00
koopersmith
51fa6f62f2 Switch admin menus to flyouts from dropdowns. First pass, see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 01:12:26 +00:00
azaozz
81871e05b4 Fix silverlight uploading when not resizing files on the fly, props kurtpayne, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-29 23:59:22 +00:00
azaozz
b9d9d11f4e Fix styling and quicktags error in press this, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 20:48:05 +00:00
dd32
ef278df299 Store Plugin/Theme uploads in the Media Library properly. Add Scheduled cleanup +2hrs to clean up any aborted installation attempts. See #18182
git-svn-id: http://svn.automattic.com/wordpress/trunk@18617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 08:42:07 +00:00
dd32
f1ac48873b Display 'Edit Media' instead of 'Edit Post' for Attachments/Media in the admin bar. Props johnbillion. Fixes #18529
git-svn-id: http://svn.automattic.com/wordpress/trunk@18613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 03:39:06 +00:00
azaozz
6ebdf41b50 Properly reset vars, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-27 16:30:36 +00:00
azaozz
a8df969ac9 Improve quicktags back-compat, add method instance.getButtonElement(id), see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 23:30:01 +00:00
azaozz
07d81969bd Fix action 'wp_print_footer_scropts' (on the front-end), see #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 20:31:30 +00:00
azaozz
12c6ba5771 Fix TimyMCE init when launching DFW and respect wpautop setting there, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 19:33:14 +00:00
azaozz
4e323dd08f Improve auto column switching for post.php, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 22:55:39 +00:00
ryan
978a5984b4 Properly handle nested arrays in wp_list_filter(). Props scribu, SergeyBiryukov. fixes #16137
git-svn-id: http://svn.automattic.com/wordpress/trunk@18606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 19:50:29 +00:00
ryan
19c3608dcc Remove unused global. Props ocean90. fixes #18484
git-svn-id: http://svn.automattic.com/wordpress/trunk@18605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 19:35:22 +00:00
ryan
14da950982 Don't set the site_name cache on every call to get_current_site_name(). Props mark-k, solarissmoke. fixes #16676
git-svn-id: http://svn.automattic.com/wordpress/trunk@18604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 19:29:47 +00:00
ryan
58379895e5 Support fields = slugs in wp_get_object_terms(). Props lancewillett, SergeyBiryukov. fixes #15835
git-svn-id: http://svn.automattic.com/wordpress/trunk@18603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 18:49:46 +00:00
ryan
8edc944b01 wp_list_pluck() performance improvement. Props Otto42. fixes #18230
git-svn-id: http://svn.automattic.com/wordpress/trunk@18602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 18:22:17 +00:00
ryan
c7e870877c Use update_blog_details() in wpmu_update_blogs_date(). Props jakub.tyrcha. fixes #18122
git-svn-id: http://svn.automattic.com/wordpress/trunk@18601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 18:01:49 +00:00
ryan
8edd1656f7 Handle null user ID in the WP_User constructor. Props kawauso. fixes #17894
git-svn-id: http://svn.automattic.com/wordpress/trunk@18598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 19:47:35 +00:00
ryan
0f06334e11 Introduce metadata_exists(), WP_User::get_data_by(), WP_User::get(), WP_User::has_prop(). Don't fill user objects with meta. Eliminate data duplication in cache and memory. Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 19:32:59 +00:00
westi
0c0e2c180f Whitespace and code layout tidyup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 10:59:06 +00:00
westi
de05fd1569 Parse shortcodes in text widgets by default. Fixes #10457 props tmoorewp, sillybean, jamescollins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 10:54:48 +00:00
westi
76eb5b8138 Optimise get_term to not query for term_id = 0. Also improve the prepared query to use %d for the term_id.
Fixes #18076 props mdawaffe.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 10:39:52 +00:00
duck_
c06290958b Allow update_site_option to add false-y values. Fixes #15497
git-svn-id: http://svn.automattic.com/wordpress/trunk@18589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 21:12:14 +00:00
duck_
7213d24276 Use get_site_option in add/update_site_option for caching and filtering benefits. fixes #18478
git-svn-id: http://svn.automattic.com/wordpress/trunk@18588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 20:45:48 +00:00
duck_
56f6f97125 add_site_option should not update existing options, should return a boolean and should only run actions on success. fixes #18422
git-svn-id: http://svn.automattic.com/wordpress/trunk@18587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 20:24:35 +00:00
nacin
d5cf830175 Add 'q' tag to nestable tags list in force_balance_tags(). props solarissmoke, fixes #6870.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 15:37:38 +00:00
nacin
3ee964c10c Check for comment existence before checking edit_comment meta cap. props xknown, fixes #18104.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 10:22:34 +00:00