Commit Graph

17079 Commits

Author SHA1 Message Date
Andrew Nacin 4b03f4253b wp_set_post_lock() only takes one argument. see #18515.
git-svn-id: https://develop.svn.wordpress.org/trunk@18790 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 06:11:30 +00:00
Andrew Nacin e0889f848c Fix docs for get_meta_sql(). First arg cannot be optional. props duck_, fixes #18717.
git-svn-id: https://develop.svn.wordpress.org/trunk@18789 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 05:13:07 +00:00
Andrew Nacin 319264bd0d 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: https://develop.svn.wordpress.org/trunk@18788 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 04:04:10 +00:00
Daryl Koopersmith 5abb139f0d Add secondary section to 'Add New' admin bar menu. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18787 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 03:53:43 +00:00
Daryl Koopersmith a00a36ad5a Prevent multiple-word admin bar items from overflowing in Firefox. props chrisbliss18, helenyhou. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18786 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 03:16:05 +00:00
Andrew Nacin 425560c739 Pass instance and id_base to widget_tirle filter in WP_Widget_Recent_Comments. props scribu, fixes #18393.
git-svn-id: https://develop.svn.wordpress.org/trunk@18785 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 02:38:31 +00:00
Andrew Nacin 30f64015c2 Make WP_Screen final until we know which direction we want to go with it. Other keyword decorations. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18784 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 23:31:54 +00:00
Ryan Boren f63662aa82 Count only published posts when updating term counts. Fire term count updates on transition_post_status. Props joehoyle. fixes #17548
git-svn-id: https://develop.svn.wordpress.org/trunk@18783 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 22:24:46 +00:00
Andrew Nacin 44724de2e8 Move WP_Screen and friends (15 functions) into admin/includes/screen.php. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18782 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:32:10 +00:00
Andrew Nacin 601a70fe8e And fix this variable. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@18781 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:15:57 +00:00
Andrew Nacin d5dee542e5 Use correct variable. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18780 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:11:46 +00:00
Daryl Koopersmith 0b3d90ee53 Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18779 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:03:38 +00:00
Andrew Ozz 3009977ccd Fix the uploader popup in DWF, reduce the height of the drop area, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18778 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 19:23:43 +00:00
Peter Westwood f8f9a7c6d7 Only show 'About this version' menu item to logged in users.
git-svn-id: https://develop.svn.wordpress.org/trunk@18777 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 08:40:31 +00:00
Daryl Koopersmith a7767fbcec Second pass, admin bar overhaul. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18776 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 23:30:40 +00:00
Andrew Nacin e8ae8753c7 Use WP_PLUGIN_DIR, not PLUGINDIR. props ocean90, fixes #18772.
git-svn-id: https://develop.svn.wordpress.org/trunk@18775 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 19:24:15 +00:00
Andrew Ozz 8c8d048749 Fix the workaround for UI Draggable to include single instance widgets (do they still exist?), see #17952
git-svn-id: https://develop.svn.wordpress.org/trunk@18774 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 18:53:34 +00:00
Andrew Ozz 10d60279b9 Add border radius to .postbox .hndle, props Jick, fixes #18657
git-svn-id: https://develop.svn.wordpress.org/trunk@18773 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 17:17:51 +00:00
Andrew Ozz 27252a36b0 Fix line-height inside postbox and stuffbox, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18772 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 20:48:41 +00:00
Jon Cave 3c4d0639ae Use correct post_type in HTML returned by inline-save-tax AJAX. Fixes #18038.
git-svn-id: https://develop.svn.wordpress.org/trunk@18771 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 20:26:51 +00:00
Jon Cave 57768a1a80 Remove .js .item-order style made redundant by r18755. See #18314.
git-svn-id: https://develop.svn.wordpress.org/trunk@18770 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:57:52 +00:00
Andrew Nacin 492a5d031c Update esc_url() phpdoc. props sirzooro, fixes #18766.
git-svn-id: https://develop.svn.wordpress.org/trunk@18769 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:52:26 +00:00
Jon Cave 45c26903bf Fix copy+paste error in documentation. Props masonjames, SergeyBiryukov. Fixes #18545.
git-svn-id: https://develop.svn.wordpress.org/trunk@18768 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:37:34 +00:00
Andrew Nacin 0f4a1e5e3c delete_post_thumbnail(). props CoenJacobs, duck_. fixes #17895.
git-svn-id: https://develop.svn.wordpress.org/trunk@18767 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:31:38 +00:00
Andrew Ozz be87523fed Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18766 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 04:43:19 +00:00
Dion Hulse cc0d6fdf67 Fix typo in languages directory creation for new installations. Props SergeyBiryukov. Fixes #18741 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18765 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 04:18:44 +00:00
Andrew Nacin 5244f8f5e3 Use input type=email on wp-login registration. props scottconnerly, fixes #18761.
git-svn-id: https://develop.svn.wordpress.org/trunk@18763 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 22:48:45 +00:00
Andrew Nacin 8a1c8168b8 Provide styling to HTML5 text-like inputs (email, number, search, tel, url). see #17863.
git-svn-id: https://develop.svn.wordpress.org/trunk@18762 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 21:12:43 +00:00
Daryl Koopersmith 62559dd0b0 Use admin menu API when responsively collapsing the menu. CSS fixes. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18761 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 20:22:52 +00:00
Daryl Koopersmith 1ad904fb1a Correct text widget background color. It was really messing with our feng shui.
git-svn-id: https://develop.svn.wordpress.org/trunk@18760 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 20:05:13 +00:00
Andrew Nacin d76e4bea9e Combine some CSS definitions. props DH-Shredder, see #18314.
git-svn-id: https://develop.svn.wordpress.org/trunk@18759 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 18:52:51 +00:00
Jon Cave 85c211d2fe Remove extraneous closing script tag. Props ryanhellyer. See r18482, #18206. Fixes #18760.
git-svn-id: https://develop.svn.wordpress.org/trunk@18758 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 14:36:57 +00:00
Andrew Ozz e42c40167f 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: https://develop.svn.wordpress.org/trunk@18757 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 05:03:31 +00:00
Andrew Nacin 4d3f98e8bd Explicitly globalize wp_locale for the UT framework. props scribu, fixes #17749.
git-svn-id: https://develop.svn.wordpress.org/trunk@18756 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 22:49:30 +00:00
Daryl Koopersmith 60c59fb4a7 Hide nav menu item order arrows when JS is available and correct expanded nav menu item CSS bug.
git-svn-id: https://develop.svn.wordpress.org/trunk@18755 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 22:33:27 +00:00
Daryl Koopersmith 1db2584cd2 Remove expanded class from flyout menus. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18754 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 20:24:12 +00:00
Jon Cave b60222700e Documentation fixes. See #18560.
- Add missing parameters
 - Add missing @param data types
 - s/format_where/where_format/


git-svn-id: https://develop.svn.wordpress.org/trunk@18753 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 12:02:31 +00:00
Peter Westwood 80cc1062af Revert [18747] until we can discuss it further. See #18453.
git-svn-id: https://develop.svn.wordpress.org/trunk@18752 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 09:15:45 +00:00
Peter Westwood cdf5d84b73 Add support for rar and 7x file uploading. Fixes #16412 props Caspie.
git-svn-id: https://develop.svn.wordpress.org/trunk@18751 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 08:29:35 +00:00
Andrew Nacin b709c2ac4e Add 'Visit Dashboard' and 'Edit Site' links to the site added message on site-new.php. props vegasgeek, SergeyBiryukov. fixes #18047. fixes #17313.
git-svn-id: https://develop.svn.wordpress.org/trunk@18750 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 07:17:27 +00:00
Daryl Koopersmith f30457e6d3 Add frame for welcome panel on dashboard (currently hidden). see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@18749 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 06:23:10 +00:00
Andrew Ozz 23824f9f30 Change the menus Link Target to checkbox, props nacin, fixes #17521
git-svn-id: https://develop.svn.wordpress.org/trunk@18748 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 05:44:25 +00:00
Andrew Ozz 033ed78e03 Postpone warnings when WP_DEBUG and WP_DEBUG_DISPLAY are set, see #18453
git-svn-id: https://develop.svn.wordpress.org/trunk@18747 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 02:27:00 +00:00
Andrew Nacin c0682ee59b Detect current menu items for root-relative URLs. props filosofo, fixes #15954.
git-svn-id: https://develop.svn.wordpress.org/trunk@18746 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 02:25:57 +00:00
Daryl Koopersmith 3094ed7733 Add new 'about this version' page (with filler content) and menu item. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@18745 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 23:20:26 +00:00
Andrew Ozz 102335ed23 Remove some duplicates and combine some css selectors, props DH-Shredder, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18744 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 22:23:09 +00:00
Andrew Ozz ecb902c53d Fix inconsistent css handling of .wide-screen, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18743 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 21:44:44 +00:00
Jon Cave 92054191a1 wp_strip_all_tags() in wp_trim_words() to remove CSS and JS within tags. Props evansolomon. Fixes #18726.
git-svn-id: https://develop.svn.wordpress.org/trunk@18742 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 20:39:21 +00:00
Ryan Boren c7f61b2857 Pass the authenticated user_login to the wp_login action. Props Otto42, SergeyBiryukov. fixes #15473
git-svn-id: https://develop.svn.wordpress.org/trunk@18741 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 20:26:39 +00:00
Ryan Boren 53b042285c Avoid notice with empty menu. Props ansimation, SergeyBiryukov. fixes #18085
git-svn-id: https://develop.svn.wordpress.org/trunk@18740 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 20:17:22 +00:00