Commit Graph

17406 Commits

Author SHA1 Message Date
Andrew Nacin 4aee3254f3 Kill the tables in install.php. props andrewryno. see #16413.
git-svn-id: https://develop.svn.wordpress.org/trunk@18817 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 19:57:36 +00:00
Andrew Nacin 32ba775ad7 Pass unslashed values from update_metadata() to add_metadata(). fixes #17343.
git-svn-id: https://develop.svn.wordpress.org/trunk@18816 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 19:37:58 +00:00
Andrew Nacin d9b37f77c8 Make the sort-by-object-property functions generic. see #14424.
git-svn-id: https://develop.svn.wordpress.org/trunk@18815 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 17:20:34 +00:00
Ryan Boren 9ad9ff1282 Use _wp_tag_cloud_count_sort_cb instead of an anonymous function. Props ocean90. see #14424
git-svn-id: https://develop.svn.wordpress.org/trunk@18814 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 17:09:04 +00:00
Andrew Ozz 03375fa844 Recursively convert html entities in script localization strings, see #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@18813 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 06:43:46 +00:00
Andrew Nacin bb89b80c5b Remove remnants of show_admin_bar_admin. see #18811, see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18812 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 06:12:51 +00:00
Andrew Nacin a854604f54 Stop remembering the last viewed plugins screen. Always show all plugins when returning to plugins.php. fixes #18810.
git-svn-id: https://develop.svn.wordpress.org/trunk@18811 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:54:05 +00:00
Andrew Nacin 2c6d998b91 Revert [18804] until we have a proper solution. see #11520.
git-svn-id: https://develop.svn.wordpress.org/trunk@18810 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:50:44 +00:00
Andrew Nacin cd0ad3ead4 Revert [18783], as it breaks term relationship counts for attachment taxonomies. see #17548.
git-svn-id: https://develop.svn.wordpress.org/trunk@18809 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:29:20 +00:00
Andrew Nacin 8585471f13 Space out and capitalize 'Auto' in screen options.
git-svn-id: https://develop.svn.wordpress.org/trunk@18808 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:28:00 +00:00
Mark Jaquith 2aa3f3c353 Add note about why double-serialization is done. props SergeyBiryukov. fixes #16597
git-svn-id: https://develop.svn.wordpress.org/trunk@18807 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 02:23:26 +00:00
Dion Hulse 6069fe3c61 Document the Magic numbering in WP_Http_Encoding::compatible_gzinflate(). Fixes #18273
git-svn-id: https://develop.svn.wordpress.org/trunk@18806 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 02:10:35 +00:00
Dion Hulse 36f2e9a22f Pass $args and $url to the http_api_debug action to improve debugging. Props johnbillion. Fixes #18732
git-svn-id: https://develop.svn.wordpress.org/trunk@18805 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 01:42:09 +00:00
Andrew Ozz 440ea79d5e Convert html entities in script localization strings, see #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@18804 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 00:34:24 +00:00
Andrew Ozz c9c3eb7a6d Use WP_Editor when editing or replying to comments, props ocean90, remove vendor specific selectors from editor-buttons.css, fixes #18348, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18803 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 21:07:08 +00:00
Andrew Ozz bbd210992d Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
git-svn-id: https://develop.svn.wordpress.org/trunk@18802 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 17:27:48 +00:00
Andrew Ozz 412422f15c Remove max-width from list tables. Better to limit the width on individual fields or areas where readability is impacted, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18801 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 16:05:59 +00:00
Andrew Ozz 15381afe70 Fix UL, OL in Twenty Ten editor-style.css, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18800 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 15:16:30 +00:00
Andrew Ozz 13c72ba193 Fix enqueueing of the right scripts when more than one instance of the editor, fix inserting images in full screen mode, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18799 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 07:26:34 +00:00
Andrew Ozz 2a7b8b4764 Add error message when loading the preview image in the image editor fails, fixes #18723
git-svn-id: https://develop.svn.wordpress.org/trunk@18798 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 06:08:56 +00:00
Daryl Koopersmith 91c746f586 Add dashboard help tabs, revise help tab layout and code. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18797 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 00:57:56 +00:00
Andrew Nacin 35edc4264d Release a user's post lock when the user leaves a post. see #18515.
git-svn-id: https://develop.svn.wordpress.org/trunk@18796 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 20:52:07 +00:00
Andrew Nacin ad6e08124f Correct the src for jquery-ui-datepicker. props danielbachhuber, fixes #18793. see #17952.
git-svn-id: https://develop.svn.wordpress.org/trunk@18795 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 19:50:15 +00:00
Ryan Boren d7d3a5c41b Revert fat fingers in [18793]. see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18794 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 14:33:51 +00:00
Ryan Boren fddfc14c88 First pass of WP_Screen phpdoc. see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18793 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 14:30:56 +00:00
Jon Cave 070aa4e1f1 _wp_menu_output() speed up and clean up. Props dragoonis. Fixes #13662.
Attempt file_exists() last and cache an array index lookup for speed up. Whitespace and appropriate parentheses for readability.


git-svn-id: https://develop.svn.wordpress.org/trunk@18792 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 10:22:58 +00:00
Andrew Nacin 8439f8cd5c Ensure we have a full blog object in get_active_blog_for_user(). fixes #18789.
git-svn-id: https://develop.svn.wordpress.org/trunk@18791 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 07:36:36 +00:00
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