Commit Graph

5471 Commits

Author SHA1 Message Date
Peter Westwood ef14722014 Delete the trash metadata when untrashing a comment. See #4529 props caesarsgrunt.
git-svn-id: https://develop.svn.wordpress.org/trunk@11992 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 19:59:35 +00:00
Ryan Boren bb4c840efb Use ID, not user_id. Props filosofo. fixes #10709
git-svn-id: https://develop.svn.wordpress.org/trunk@11990 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:52:01 +00:00
Ryan Boren faead879c7 Localize default strings for edit_comment_link() and edit_post_link(). fixes #10879
git-svn-id: https://develop.svn.wordpress.org/trunk@11987 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:41:09 +00:00
Mark Jaquith 04772d1b9f Surface "Move to Trash" link for posts/pages immediately after first autosave fires. Props cross country flight. fixes #10344
git-svn-id: https://develop.svn.wordpress.org/trunk@11986 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 11:44:18 +00:00
Andrew Ozz 2895da93b2 Image Editor: add load and save image filters, fix backup sizes meta, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11984 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-30 08:38:32 +00:00
Andrew Ozz 048bc0b258 Press This: editor fixes and CSS tweaks for IE6/7
git-svn-id: https://develop.svn.wordpress.org/trunk@11982 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-29 09:46:13 +00:00
Ryan Boren d3d1c0c4b1 Pad counts in wp_dropdown_categories. Props mtdewvirus. fixes #10870
git-svn-id: https://develop.svn.wordpress.org/trunk@11981 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-28 22:32:27 +00:00
Ryan Boren 2cb6b5469d Deprecates the_content_rss(). Add the_content_feed() and get_the_content_feed(). Convert places that called the_content_rss() with an excerpt length to the_excerpt_rss(). Remove the rss_excerpt_length option. Use the_content_feed() where the_content() was previously used in feeds. Props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@11980 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-28 14:36:48 +00:00
Mark Jaquith 737378702c esc_sql() for wp-includes
git-svn-id: https://develop.svn.wordpress.org/trunk@11978 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-27 05:33:56 +00:00
Andrew Ozz 343e591c2b Expose HTTP PUT when supported, props mdawaffe, fixes #10855
git-svn-id: https://develop.svn.wordpress.org/trunk@11977 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-26 22:52:42 +00:00
Andrew Ozz 1ef0620a33 Improve get_page_hierarchy, props hailin, fixes #10853
git-svn-id: https://develop.svn.wordpress.org/trunk@11976 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-26 22:45:52 +00:00
Andrew Ozz c4571d4a60 TinyMCE 3.2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@11974 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-26 08:33:16 +00:00
Andrew Ozz a8505d056f Image Editor: fix preview size calculation when cropping small part of a very large image, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11973 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-26 04:07:27 +00:00
Andrew Ozz 3ea3b853cc Image Editor: fix minified CSS, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11972 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 20:22:31 +00:00
Ryan Boren bb43e36418 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11971 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:19:13 +00:00
Ryan Boren 578e956287 Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11968 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:10:28 +00:00
Andrew Ozz 5e878a916d Image Editor improvements, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11965 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 01:54:07 +00:00
Peter Westwood fceac051c1 Fix notice in wp_explain_nonce when the supplied action has no extra text. See #10830.
git-svn-id: https://develop.svn.wordpress.org/trunk@11961 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-23 06:51:19 +00:00
Ryan Boren f7a1111e3c Set the cap appropriate to the post type. fixes #10807 see #10605
git-svn-id: https://develop.svn.wordpress.org/trunk@11960 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-22 22:57:01 +00:00
Peter Westwood 64adda80db Updated phpdoc for the theme preview code.
git-svn-id: https://develop.svn.wordpress.org/trunk@11959 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-22 07:16:19 +00:00
Mark Jaquith 292781ec44 Eliminate the redundant and confusing comment threading depth of 1. Threading starts at 2 now. fixes #10829
git-svn-id: https://develop.svn.wordpress.org/trunk@11958 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-22 06:00:46 +00:00
Peter Westwood 2838a1c85d Move theme preview away from using create_function and to predefined functions. See #10729.
git-svn-id: https://develop.svn.wordpress.org/trunk@11957 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-21 21:43:41 +00:00
Ryan Boren 178a391097 get_delete_post_link()
git-svn-id: https://develop.svn.wordpress.org/trunk@11956 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-21 21:33:00 +00:00
Peter Westwood 4a65c047c5 Fix notice when adding tag from the Post Tags page. Fixes #10808 props prettyboymp.
git-svn-id: https://develop.svn.wordpress.org/trunk@11951 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-18 21:06:23 +00:00
Peter Westwood 8e26b1739b Return correct results for both single and array cases. Fixes #10803.
git-svn-id: https://develop.svn.wordpress.org/trunk@11948 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 22:11:57 +00:00
Peter Westwood a4d00eca9a Remove temporary transition code from the trash_meta option to postmeta transition See #4529.
git-svn-id: https://develop.svn.wordpress.org/trunk@11947 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 21:06:41 +00:00
Peter Westwood 81410c1a67 Don't pass undefined vars to action hooks. See #2659.
git-svn-id: https://develop.svn.wordpress.org/trunk@11946 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 21:05:29 +00:00
Peter Westwood 8f93bd78f8 Move the storage of the metadata for trashed comments into the comment meta table rather than storing it in an option. See #4529.
git-svn-id: https://develop.svn.wordpress.org/trunk@11945 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 20:51:12 +00:00
Peter Westwood 482e701639 First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11943 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 20:17:33 +00:00
Ryan Boren 851b83207c Actions for taxonomy updates. Props Demitrious Kelly. fixes #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11941 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 14:03:57 +00:00
Ryan Boren 4d3399507c Update SimplePie to 1.2. fixes #10392
git-svn-id: https://develop.svn.wordpress.org/trunk@11938 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-15 16:33:59 +00:00
Ryan Boren d280b41fd6 Fix content length setup. Props jacobsantos. fixes #10783
git-svn-id: https://develop.svn.wordpress.org/trunk@11937 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-15 15:57:49 +00:00
Ryan Boren 9ed83818a6 Pass args array to wp_list_pages filter. Props antonylesuisse. fixes #10034
git-svn-id: https://develop.svn.wordpress.org/trunk@11936 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-15 15:40:17 +00:00
Andrew Ozz 8a4019bb28 Strip \r when escaping strings for JS, props nbachiyski, fixes #7041
git-svn-id: https://develop.svn.wordpress.org/trunk@11935 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-15 10:11:59 +00:00
Ryan Boren 667779223a Use null instead of 0 when setting content length. Props noel. fixes #10783
git-svn-id: https://develop.svn.wordpress.org/trunk@11932 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 20:49:18 +00:00
Ryan Boren 43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Ryan Boren b7f82a38b5 Filter fields through kses upon display. Introduce sanitize_user_object() and sanitize_user_field(). see #10751
git-svn-id: https://develop.svn.wordpress.org/trunk@11929 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 13:57:48 +00:00
Andrew Ozz e4045df0ab Explain that the permalink is temporary for autosave generated permalinks, fixes #7733
git-svn-id: https://develop.svn.wordpress.org/trunk@11928 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 02:06:33 +00:00
Andrew Ozz b967e7d4bd Avoid rare autosave collision when trying to publish the post immediately after it was autosaved, fixes #6785
git-svn-id: https://develop.svn.wordpress.org/trunk@11927 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 23:36:09 +00:00
Peter Westwood a7311d5079 Correct key padding and add support for raw_output in hash_hmac. Fixes #10284 props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@11921 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-12 22:03:14 +00:00
Peter Westwood 772b9e3392 Make our hash_hmac compatibility function unit testable even when the real one exists. See #10284.
git-svn-id: https://develop.svn.wordpress.org/trunk@11920 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-12 08:26:44 +00:00
Ryan Boren d098dfcd59 Add missing break. Props snakefoot. fixes #10692
git-svn-id: https://develop.svn.wordpress.org/trunk@11912 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-11 13:42:15 +00:00
Andrew Ozz 4f22e99cf5 Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11911 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-10 22:07:33 +00:00
Ryan Boren 1649248a01 More add/delete/update actions. Props Demitrious Kelly. see #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11909 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-10 14:43:45 +00:00
Peter Westwood 925df4bd49 Give plugins and themes simple control over the text displayed at the end of an autogenerated excerpt. Fixes #10395 props ramiy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11907 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-09 16:34:44 +00:00
Ryan Boren d7dede3b5f Fix Press This bookmarklet for Safari 4. Props noel. fixes #10749
git-svn-id: https://develop.svn.wordpress.org/trunk@11906 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-08 20:06:52 +00:00
Ryan Boren bb81b561bd Filter the cookie scheme in auth_redirect(). Props nbachiyski. fixes #10740
git-svn-id: https://develop.svn.wordpress.org/trunk@11905 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-08 15:25:29 +00:00
Ryan Boren 46b766635e Allow force_ssl_admin() to properly accept false as a value. Props nbachiyski. fixes #10706
git-svn-id: https://develop.svn.wordpress.org/trunk@11903 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-08 14:46:06 +00:00
Ryan Boren dcdab5fed5 is_blog_installed() improvements and repair.php. see #10728
git-svn-id: https://develop.svn.wordpress.org/trunk@11902 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-06 18:46:27 +00:00
Mark Jaquith 367fdfe7f3 Add a the_terms filter, and use a default ", " sep. props scribu. fixes #10600
git-svn-id: https://develop.svn.wordpress.org/trunk@11900 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-04 08:47:36 +00:00
Andrew Ozz 30bae2a1a7 Revert rotating images based on EXIF Orientation. Better time for this would be immediately after an image is uploaded, perhaps in media_handle_upload(), see #7042
git-svn-id: https://develop.svn.wordpress.org/trunk@11899 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-04 02:36:34 +00:00
Peter Westwood df78ed2118 Remove duplicate action addition of delete_get_calendar_cache() on update_option_start_of_week. Fixes #10718 props johnjosephbachir.
git-svn-id: https://develop.svn.wordpress.org/trunk@11898 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-02 07:11:07 +00:00
Andrew Ozz 1e1324df0e Pass Post ID to the get_comments_number filter, props sirzooro, fixes #10705
git-svn-id: https://develop.svn.wordpress.org/trunk@11895 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-01 20:27:03 +00:00
Andrew Ozz 97bef9ee66 Logarithmic scale for tag cloud, props kometbomb, fixes #10703
git-svn-id: https://develop.svn.wordpress.org/trunk@11894 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-01 20:06:11 +00:00
Ryan Boren d9c6047a27 Disallow unfiltered uploads for admins by default. fixes #10692
git-svn-id: https://develop.svn.wordpress.org/trunk@11887 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-28 00:17:53 +00:00
Ryan Boren 9ba99f344c Make option_name the primary key for the options table. Props Denis-de-Bernardy. fixes #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@11883 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 22:46:33 +00:00
Andrew Ozz 69cac32a8f Fix returning to the previous post_status when restoring posts from the trash, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11880 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 04:57:29 +00:00
Andrew Ozz 6db1862bd7 Fix race condition with autosave when clicking Publish immediately after entering post title, fixes #6728
git-svn-id: https://develop.svn.wordpress.org/trunk@11879 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 04:11:16 +00:00
Peter Westwood 80e4f72f72 Move the storage of the metadata for trashed posts into the post meta table rather than storing it in an option. See #4529.
git-svn-id: https://develop.svn.wordpress.org/trunk@11878 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-25 22:05:15 +00:00
Andrew Ozz 4650599007 Clean up white space in class-json.php
git-svn-id: https://develop.svn.wordpress.org/trunk@11877 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-25 08:11:07 +00:00
Andrew Ozz aca0f9160d Add JSON compat for PHP < 5.2, props Viper007Bond, see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@11875 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-25 07:48:59 +00:00
Andrew Ozz 61c97aba16 Clean up .button and .button[disabled] CSS classes, add spinner and gray-out buttons after clicking Publish or Update post.
git-svn-id: https://develop.svn.wordpress.org/trunk@11874 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-25 05:14:49 +00:00
Andrew Ozz ca608e336a Don't let contributors to re-publish their trashed posts, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11873 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 20:48:31 +00:00
Andrew Ozz 7d5aff1305 Fix error in widgets.js, props Denis-de-Bernardy, see #10021
git-svn-id: https://develop.svn.wordpress.org/trunk@11870 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 19:16:53 +00:00
Ryan Boren 6bee1ea91d Canonical redirect for attachment_id queries that have a permalink.
git-svn-id: https://develop.svn.wordpress.org/trunk@11869 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 18:03:49 +00:00
Peter Westwood e2902ac3c7 Add rel attribute to next/previous post links. Fixes #4209 props vladimir_kolesnikov
git-svn-id: https://develop.svn.wordpress.org/trunk@11866 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 17:12:25 +00:00
Ryan Boren 736f389167 Machine parseable db error codes. Props dd32. fixes #10293
git-svn-id: https://develop.svn.wordpress.org/trunk@11865 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 17:00:53 +00:00
Ryan Boren b95bda13b0 Force correct feed type for wfw:CommentRss element. Props peaceablewhale. fixes #10016
git-svn-id: https://develop.svn.wordpress.org/trunk@11864 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 16:45:41 +00:00
Andrew Ozz 94b7195164 Show correct max upload filesize error message, props dd32, fixes #10495
git-svn-id: https://develop.svn.wordpress.org/trunk@11863 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 12:03:02 +00:00
Ryan Boren 3e35ee1c6a Pass correct old status when transitioning comment status. Props hakre. fixes #8863
git-svn-id: https://develop.svn.wordpress.org/trunk@11860 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 01:27:01 +00:00
Andrew Ozz 772140e60f More jQuery based scripts optimizations, props Denis-de-Bernardy, see #10021
git-svn-id: https://develop.svn.wordpress.org/trunk@11858 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 01:03:26 +00:00
Ryan Boren 02e169ce23 Minify admin CSS. see #10664
git-svn-id: https://develop.svn.wordpress.org/trunk@11857 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 21:12:33 +00:00
Peter Westwood 885fce4ea9 Replace eval usage in request processing with new WP_MatchesMapRegex() class usage. See #9602 props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@11853 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 20:09:36 +00:00
Peter Westwood 50bb241850 Move _wp_get_user_contactmethods() into the registrations functions file so it is always available when required. Fixes #10662.
git-svn-id: https://develop.svn.wordpress.org/trunk@11852 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 19:51:43 +00:00
Peter Westwood f55835e0db Pass the to the {get_}the_author_meta filters. Fixes #10661 props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@11849 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 16:21:44 +00:00
Peter Westwood eaf2709b64 Treat comma, colon and semi-colon the same way.
git-svn-id: https://develop.svn.wordpress.org/trunk@11848 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 07:58:41 +00:00
Peter Westwood 6ef85440d4 Ensure that drafts viewed over XMLRPC have a correct gmt date set. Fixes #10244 for trunk props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11846 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 06:59:02 +00:00
Andrew Ozz 212f2ce180 Better regex for [11844]
git-svn-id: https://develop.svn.wordpress.org/trunk@11845 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 00:19:00 +00:00
Andrew Ozz 46e1de4878 Removed trailing .) from the URL in make_clickable()
git-svn-id: https://develop.svn.wordpress.org/trunk@11844 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-19 23:56:10 +00:00
Andrew Ozz 782977afbf "Trash" updates, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11841 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-19 08:35:24 +00:00
Ryan Boren 1a2506c493 Don't show comments template if post is empty
git-svn-id: https://develop.svn.wordpress.org/trunk@11839 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 19:33:56 +00:00
Ryan Boren f4f70a6479 Prophylactic escapes
git-svn-id: https://develop.svn.wordpress.org/trunk@11838 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 16:05:07 +00:00
Andrew Ozz 5a36aa00cd Speed up jQuery based scripts, props Denis-de-Bernardy, see #10021
git-svn-id: https://develop.svn.wordpress.org/trunk@11837 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 09:53:37 +00:00
Ryan Boren b1447aa6a4 Kill entity check in wp_blacklist_check(). Props tellyworth. fixes #9965
git-svn-id: https://develop.svn.wordpress.org/trunk@11836 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-17 01:38:01 +00:00
Andrew Ozz 49de179229 Don use has_action() before do_action() in http.php, props Viper007Bond, fixes #10625
git-svn-id: https://develop.svn.wordpress.org/trunk@11835 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 22:43:48 +00:00
Peter Westwood 9a5c426226 Make the operator precedence obvious by using parenthesis.
git-svn-id: https://develop.svn.wordpress.org/trunk@11829 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 06:30:52 +00:00
Andrew Ozz 5d667146b8 Do not use lambda functions in wp_kses_decode_entities(), props mdawaffe, fixes #10623
git-svn-id: https://develop.svn.wordpress.org/trunk@11828 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 05:58:39 +00:00
Andrew Ozz 830ecf4108 Increase timeout on cron-based requests when checking for upgrades, props dd32, fixes #10349
git-svn-id: https://develop.svn.wordpress.org/trunk@11826 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 04:59:38 +00:00
Andrew Ozz 8c31996e6a Check if EXIF extension is loaded, props dd32, fixes #10613
git-svn-id: https://develop.svn.wordpress.org/trunk@11825 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 04:50:10 +00:00
Andrew Ozz 987dcbda89 Fix warning in wp-admin/widgets.php when using Accessibility Mode on brand new install, fixes #10610
git-svn-id: https://develop.svn.wordpress.org/trunk@11824 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 01:56:21 +00:00
Andrew Ozz 5e8dbc10cd Fix displaying pages and attachments, props dd32, see #10605
git-svn-id: https://develop.svn.wordpress.org/trunk@11822 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 10:57:56 +00:00
Mark Jaquith 14ac0702da Always respect custom post_type in queries. props dd32, filosofo. fixes #10605
git-svn-id: https://develop.svn.wordpress.org/trunk@11817 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 03:28:03 +00:00
Peter Westwood 9e32cf358c Support location of category templates based on category slug as well as id. Fixes #10614 based on patch from scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11814 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-14 16:56:51 +00:00
Peter Westwood ddbdf401d4 Fix wptexturisation of quotes when enclosed by brackets. Fixes #1418 props voyou1.
git-svn-id: https://develop.svn.wordpress.org/trunk@11813 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-14 16:43:22 +00:00
Ryan Boren e01eb2fd26 Apply get_edit_post_link filter. Props prettyboymp. fixes #10579
git-svn-id: https://develop.svn.wordpress.org/trunk@11795 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-10 16:33:42 +00:00
Andrew Ozz 962116a319 Strip slashes in the text widget for users without the unfiltered_html capability, props jamescollins, fixes #10563
git-svn-id: https://develop.svn.wordpress.org/trunk@11794 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-09 12:32:18 +00:00
Peter Westwood 599246431b Pass the widget instance as context to the widget_title and widget_text filters. Fixes #10573 props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@11792 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-09 10:35:28 +00:00
Andrew Ozz ad9e217bf4 Don't do autosave while the TinyMCE spellchecker is active (it strips all the markup), fixes #10515
git-svn-id: https://develop.svn.wordpress.org/trunk@11790 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-08 09:03:56 +00:00
Peter Westwood 2cd8ded9aa Pass the filename to the wp_feed_cache_transient_lifetime filter to give the plugins some context. Fixes #10565 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11787 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-07 17:17:40 +00:00
Peter Westwood 10360549ba Make it much easier to filter contact methods from user profiles adding and removing at will. Fixes #10240 props joostdevalk.
git-svn-id: https://develop.svn.wordpress.org/trunk@11784 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-06 21:59:52 +00:00
Peter Westwood dcf3026244 Correct the name of the filter in _nx(). Fixes #10540 props CalebKniffen.
git-svn-id: https://develop.svn.wordpress.org/trunk@11780 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-06 19:27:52 +00:00
Ryan Boren 7bc6b530f2 rel=canonical for singular pages. see #10115
git-svn-id: https://develop.svn.wordpress.org/trunk@11777 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-05 16:43:51 +00:00
Andrew Ozz dd4f9603cb Sanitize $include and $exclude in the gallery shortcode
git-svn-id: https://develop.svn.wordpress.org/trunk@11776 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-05 05:56:00 +00:00
Peter Westwood c37c59c0b7 Ensure that users_can_register is sanitised correctly. See #10454 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11772 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 21:28:42 +00:00
Andrew Ozz 6508558092 Add support for 'include' and 'exclude' to [gallery] (include="123,456" would show only these attachments regardless of the parent post, exclude="789,123" would exclude these attachments and show the rest).
git-svn-id: https://develop.svn.wordpress.org/trunk@11771 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 07:32:18 +00:00
Ryan Boren 98b8d02a40 Add some CYA cap checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@11761 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-01 21:12:17 +00:00
Mark Jaquith 0604c85a91 Force IPv4 (127.0.0.1) when connecting to localhost, as many dev environments are not set up to serve on IPv6 (::1). props dd32. fixes #10045
git-svn-id: https://develop.svn.wordpress.org/trunk@11759 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-31 09:40:16 +00:00
Mark Jaquith 7d5293d834 add some filters so that HTTP requests can be filtered. props johnbillion. fixes #10413
git-svn-id: https://develop.svn.wordpress.org/trunk@11758 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-31 09:37:45 +00:00
Mark Jaquith d70c5162bf Fix some default widget PHP notices. props mrmist. fixes #10225
git-svn-id: https://develop.svn.wordpress.org/trunk@11757 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-31 09:35:59 +00:00
Mark Jaquith 5d9e24caa3 Return an empty array instead of false for get_children() when no children found. props Denis-de-Bernardy. fixes #10053
git-svn-id: https://develop.svn.wordpress.org/trunk@11756 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-31 09:31:56 +00:00
Andrew Ozz 97027f3abe Don't show edit link for comments when the user cannot edit them, props filosofo, fixes #10520 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11752 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 15:43:04 +00:00
Andrew Ozz 16241293d3 Trash status update, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11750 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 14:55:07 +00:00
Andrew Ozz d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Andrew Ozz eb4b483e8b Use exif rotation data when creating sub-sizes of uploaded jpeg images, see #7042
git-svn-id: https://develop.svn.wordpress.org/trunk@11746 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-27 18:32:30 +00:00
Ryan Boren 9223d6583f Canonical redirects for post name queries. Props DD32. see #6516
git-svn-id: https://develop.svn.wordpress.org/trunk@11745 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-26 17:16:53 +00:00
Andrew Ozz 84162cad0b Fix wp_tag_cloud('order=RAND'), don't pre-sort if filter 'tag_cloud_sort' is used to sort the tags, props Joern_W, fixes #10393
git-svn-id: https://develop.svn.wordpress.org/trunk@11744 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-26 01:23:46 +00:00
Andrew Ozz ffbb2b7b5f Fix QE returned data for Pending and Scheduled posts screens, use jQuery.live() for QE events, fixes #10478
git-svn-id: https://develop.svn.wordpress.org/trunk@11742 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-25 10:58:05 +00:00
Andrew Ozz 245d113bfc "Trash" status for comments updates, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11741 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-24 07:23:11 +00:00
Ryan Boren 62cdbc6522 add smilies_src filter. Props Otto42. see #10145
git-svn-id: https://develop.svn.wordpress.org/trunk@11738 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-22 18:27:13 +00:00
Andrew Ozz b4b59e27e5 Generate same as original color depth thumbnails for PNG images, props madhyde, fixes #9887
git-svn-id: https://develop.svn.wordpress.org/trunk@11737 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-22 03:02:44 +00:00
Ryan Boren fcda8f6d13 Revert tango smilies back to old school WP smilies due to public hue and cry. see #10145
git-svn-id: https://develop.svn.wordpress.org/trunk@11736 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-22 00:18:09 +00:00
Ryan Boren 60936ba553 Pings to the people. Return to pinging for updates to published posts. see #6698
git-svn-id: https://develop.svn.wordpress.org/trunk@11734 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 23:09:47 +00:00
Ryan Boren 0f8ce0e0df Process waiting pings a half hour after the last ping to avoid spamming ping sites. Don't make a ping wait if the last ping was more than half an hour ago. Props VoxPelli. fixes #6698 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11732 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 19:44:21 +00:00
Andrew Ozz 8db7e5a07c "Trash" status for comments, first run, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11731 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 03:11:12 +00:00
Ryan Boren 617265d39e esc_url() for ()
git-svn-id: https://develop.svn.wordpress.org/trunk@11724 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-20 01:41:05 +00:00
Ryan Boren cc56ac3d6d sanitize_comment_cookie() handles the attribute escaping, so remove the extra escaping and leave the phpdoc.
git-svn-id: https://develop.svn.wordpress.org/trunk@11723 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-20 01:22:25 +00:00
Ryan Boren a692acecdf Escape , , and for use in attributes by default since so many themes don't escape them. Use wp_get_current_commenter() to get the raw values.
git-svn-id: https://develop.svn.wordpress.org/trunk@11722 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-20 01:11:14 +00:00
Andrew Ozz c7a3747476 Properly escape comment_author_url when displaying, for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11721 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-18 23:21:50 +00:00
Andrew Ozz 54e5a88d02 Properly sanitize Gears storeName for IDN domains, fixes #9594
git-svn-id: https://develop.svn.wordpress.org/trunk@11719 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-18 06:27:42 +00:00
Andrew Ozz 235c33b9fb Flush the cache in Recent Comments widget on transition_comment_status, props josephscott, fixes #10427
git-svn-id: https://develop.svn.wordpress.org/trunk@11718 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-16 22:31:22 +00:00
Andrew Ozz a8855d1e60 Hide update notification for themes that are updated manually, props Denis-de-Bernardy, fixes #10220
git-svn-id: https://develop.svn.wordpress.org/trunk@11714 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:34:39 +00:00
Andrew Ozz 3cd210f180 Truncate comment agent when longer than 255 chars, props Denis-de-Bernardy, fixes #10389
git-svn-id: https://develop.svn.wordpress.org/trunk@11713 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:20:24 +00:00
Andrew Ozz 45fa3ed5a3 Properly escape the title in the feed widget, props nbachiyski, fixes #10378 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11707 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-11 04:18:26 +00:00
Andrew Ozz 43770b1234 Fix deprecated arg. in safecss_filter_attr(), for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11699 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-08 09:54:34 +00:00
Ryan Boren 7af7514cf0 Allow class, id, and style on headers. Props matt.
git-svn-id: https://develop.svn.wordpress.org/trunk@11692 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-06 14:37:48 +00:00
Andrew Ozz 484f514706 Convert the old style widgets order array only when loading the widgets screen, fixes #10300 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11691 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-04 12:49:54 +00:00
Andrew Ozz 81c8791b9d Inline CSS filter for kses, for trunk, fixes #10336
git-svn-id: https://develop.svn.wordpress.org/trunk@11689 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-04 04:49:39 +00:00
Ryan Boren 8f795065f6 Add 'rpc' context to siteurl which obeys ADMIN and LOGIN forced SSL. see #10330
git-svn-id: https://develop.svn.wordpress.org/trunk@11686 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-04 02:48:22 +00:00
Ryan Boren fa222025a2 Tango/GNOME smilies. Props jdub. fixes #10145
git-svn-id: https://develop.svn.wordpress.org/trunk@11685 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-03 18:50:28 +00:00
Ryan Boren 17e3dc5b40 Better compression compat. Props dd32. see #10163
git-svn-id: https://develop.svn.wordpress.org/trunk@11684 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-02 23:18:27 +00:00
Ryan Boren 3090ebd2b5 Update load_textdomain() phpdoc. Props nbachiyski. fixes #10286 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11680 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-01 20:05:14 +00:00
Ryan Boren 914d0b1487 Output final optgroup. Props hakre. fixes #10292 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11677 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-01 17:59:19 +00:00
Andrew Ozz 02f0eee9eb Use new jQuery methods when adding, editing and deleting tags with AJAX, fix warning when deleting tags, see #10239
git-svn-id: https://develop.svn.wordpress.org/trunk@11676 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-01 08:12:39 +00:00
Andrew Ozz 8865bb691d Fix the rounded corners on .widefat, for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11674 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-01 07:31:37 +00:00
Andrew Ozz aaaa7a1cfd Fix vertical misalignment and cell borders in IE, props demetris, fixes #10090 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11664 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-28 03:41:01 +00:00
Andrew Ozz 861fd5e250 Fix pending comments count, paging and comments requests while moderating for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11660 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-27 22:40:06 +00:00
Ryan Boren be7007579a Fix compat with zend.ze1_compatibility_mode. Props gsnedders. fixes #10222 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11657 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-27 22:12:18 +00:00
Andrew Ozz 320627cc13 Fix typo in wp_style_is(), props Denis-de-Bernardy, fixes #10283 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11656 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-27 06:55:49 +00:00
Andrew Ozz 55fed78c60 Add missing localization in WP_HTTP, props Denis-de-Bernardy, fixes #10231 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11653 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-26 14:41:12 +00:00
Andrew Ozz 329fd81b20 Fix cache in WP_Widget_Recent_Posts, fixes #10251 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11651 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-26 14:35:40 +00:00
Andrew Ozz 7dcd5e4673 Use CSS instead of nbsp, props demetris, fixes #10206 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11649 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-26 12:56:24 +00:00
Andrew Ozz 8fb6081b5b Fix overlap in plugin and theme editors, props eddieringle, fixes #10101 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11647 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-26 11:07:10 +00:00
Ryan Boren efcea18935 Sort wp_page_menu() by menu_order. Props nathanrice. fixes #10266
git-svn-id: https://develop.svn.wordpress.org/trunk@11642 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-26 05:24:02 +00:00
Ryan Boren f6f03210e4 Fix role translation. fixes #10270 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11640 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-25 17:18:56 +00:00
Andrew Ozz a7db9e2ac1 Fix the test for autosave in post.js, fixes #10135 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11637 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-25 06:03:14 +00:00
Ryan Boren f2baa0626d Pass delimiter to preg_quote(). Props Denis-de-Bernardy. see #9955
git-svn-id: https://develop.svn.wordpress.org/trunk@11634 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-23 22:10:46 +00:00
Ryan Boren 01ef7d87b0 Revert [11524]. curl has its problems, but so does everything else. see #9998 fixes #10104 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11630 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-23 19:18:27 +00:00
Ryan Boren 6cceb3c659 Merge latest pomo. Works around mbstring.func_overload. Props nbachiyski. fixes #10236 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11626 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-23 16:32:52 +00:00
Peter Westwood 2089c179d5 Correct phpDoc comment for add_filter. Fixes #10164 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@11617 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-20 18:14:46 +00:00
Peter Westwood e5dd9ecd88 Introduce _deep_replace() and use it to improve the stripping of percent encoded values from urls. Fixes #10226 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@11615 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-20 17:42:24 +00:00
Andrew Ozz d9953efdf3 Always load the Dashboard RSS widgets with AJAX, see #10133 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11613 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-20 10:30:09 +00:00
Mark Jaquith 316e5626c6 Create wp_validate_redirect(), have the upgrade done link use it. props Westi. fixes #10193 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11610 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-19 19:30:17 +00:00
Ryan Boren 3a24e23c5c absint paged
git-svn-id: https://develop.svn.wordpress.org/trunk@11606 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-19 17:30:39 +00:00
Ryan Boren b96a02a176 Reduce SimplePie memory usage. Props link92. fixes #10147 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11599 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-18 19:38:08 +00:00
Ryan Boren 4c4602f689 Optimize timezone dropdown creation. Props sambauers. fixes #10125 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11597 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-18 17:40:40 +00:00
Andrew Ozz 7ec6c91918 Fall back to wp-tinymce.js if wp-tinymce.js.gz doesn't exist
git-svn-id: https://develop.svn.wordpress.org/trunk@11589 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-17 01:06:32 +00:00
Ryan Boren de90d38205 Plugin install fixes. Props Denis-de-Bernardy. see #10192
git-svn-id: https://develop.svn.wordpress.org/trunk@11585 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-16 19:36:48 +00:00
Ryan Boren 2aa1252ebe Don't write to htaccess every time page is saved. Add hard/soft flush flag to flush_rules(). Make sure fopen is successful and silence errors. Props Viper007Bond. fixes #10181 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11578 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-16 02:44:28 +00:00
Ryan Boren 4c04805ade Add missing brackets. Props westonruter. fixes #8446 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11567 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-15 00:28:52 +00:00
Ryan Boren ed53923a3b Menu fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@11565 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-15 00:22:53 +00:00
Andrew Ozz 59b44738e0 is_active_sidebar() should use wp_get_sidebars_widgets(), props greenshady and Denis-de-Bernardy, fixes #10136
git-svn-id: https://develop.svn.wordpress.org/trunk@11562 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-14 08:37:07 +00:00
Andrew Ozz 5b48b21e5f CSS tweaks for the uploader and Media Library, props hailin, fixes #10110
git-svn-id: https://develop.svn.wordpress.org/trunk@11557 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-13 05:03:43 +00:00
Ryan Boren 5e00b58077 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11552 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-11 04:45:31 +00:00
Matt Mullenweg f72a72e119 Bumpity bump bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@11549 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-11 01:29:29 +00:00
Andrew Ozz ad0b56690a Fix check for a published post in calendar widget, props Denis-de-Bernardy, fixes #10091
git-svn-id: https://develop.svn.wordpress.org/trunk@11548 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-11 00:04:20 +00:00
Andrew Ozz c45adb5e47 CSS tweak for Feature Filter (Theme Installer), props demetris, fixes #10088
git-svn-id: https://develop.svn.wordpress.org/trunk@11547 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-10 22:11:26 +00:00
Andrew Ozz e4c1fac732 CSS tweaks for plugin page, props Denis-de-Bernardy, fixes #10054
git-svn-id: https://develop.svn.wordpress.org/trunk@11546 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-10 21:55:14 +00:00
Peter Westwood b3144dd383 Remove theme_basename() for now as the changeset that introduced it was reverted and nothing uses it. See #10067.
git-svn-id: https://develop.svn.wordpress.org/trunk@11545 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-10 16:36:46 +00:00
Peter Westwood 66485f81a6 Replace the _ before sorting the timezones. Fixes #10066 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@11544 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-10 16:23:20 +00:00
Andrew Ozz 7f321b9b90 Check if turbo-nag exists and don't initialize Gears on every page load to check if it's enabled only check if it's installed to prevent crash in Firefox 3.0.10. Fixes #10083
git-svn-id: https://develop.svn.wordpress.org/trunk@11538 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-10 02:52:16 +00:00
Andrew Ozz 4e3ade7628 In get_posts() "category" is expected to be a string
git-svn-id: https://develop.svn.wordpress.org/trunk@11536 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-09 21:48:58 +00:00
Andrew Ozz b84bf875ee Add translation domain to the timezone picker, props nbachiyski, fixes #10066
git-svn-id: https://develop.svn.wordpress.org/trunk@11533 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-08 21:02:19 +00:00
Andrew Ozz 8737201fb5 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11532 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-07 22:59:07 +00:00
Andrew Ozz 00de35e61a CSS tweaks for the plugins screen, same style for active and inactive for all screens
git-svn-id: https://develop.svn.wordpress.org/trunk@11531 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-07 22:43:31 +00:00
Andrew Ozz ed7d206ac1 Allow CodePress to be disabled from Screen Options, see #10027
git-svn-id: https://develop.svn.wordpress.org/trunk@11530 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-07 01:52:44 +00:00
Ryan Boren efeffe1d53 Initialize var. Props dd32. fixes #10050
git-svn-id: https://develop.svn.wordpress.org/trunk@11529 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-06 15:02:55 +00:00
Ryan Boren 687bf92a19 Use array instead of query string notation. Prop dd32, kamiyeye. fixes #10047
git-svn-id: https://develop.svn.wordpress.org/trunk@11528 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-06 14:44:38 +00:00
Andrew Ozz 327118110d Preferred transport: move curl to last position and fockopen to 2nd position due to higher compatibility, props DD32, fixes #9998
git-svn-id: https://develop.svn.wordpress.org/trunk@11524 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-06 06:51:35 +00:00
Andrew Ozz f05600599b CSS tweaks for plugins-all screen
git-svn-id: https://develop.svn.wordpress.org/trunk@11523 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-06 03:33:20 +00:00
Ryan Boren 5ef10c1dba Pass name to sidebar, footer, and header get actions. Props scribu. fixes #10022
git-svn-id: https://develop.svn.wordpress.org/trunk@11521 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-04 17:59:14 +00:00
Andrew Ozz 5f92ac9d93 Fix the border in the install plugins table
git-svn-id: https://develop.svn.wordpress.org/trunk@11520 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-04 08:21:17 +00:00
Ryan Boren 95df8d05fd Don't pass by reference. Props kamiyeye. fixes #9994
git-svn-id: https://develop.svn.wordpress.org/trunk@11518 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-04 05:32:58 +00:00
Andrew Ozz 230a4bc6f0 Add gray background to inactive rows on plugins screen
git-svn-id: https://develop.svn.wordpress.org/trunk@11517 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-04 02:08:34 +00:00
Andrew Ozz f0cc116f8a Using css to hide the Save button in widgets without settings, props Denis-de-Bernardy, fixes #10020
git-svn-id: https://develop.svn.wordpress.org/trunk@11516 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-04 00:52:31 +00:00
Andrew Ozz cc77d3b710 Improve widgets hooks, props Denis-de-Bernardy, fixes #10013
git-svn-id: https://develop.svn.wordpress.org/trunk@11510 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-03 11:33:17 +00:00
Ryan Boren 615bb59a60 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11509 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-03 10:20:18 +00:00
Andrew Ozz e6d33b952a Add more translator comments for placeholders, props nbachiyski, fixes #10002
git-svn-id: https://develop.svn.wordpress.org/trunk@11506 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-02 07:21:42 +00:00
Andrew Ozz cc4f66f13f Allow translators to change the curly quotes in wptexturize(), props nbachiyski fixes #10001
git-svn-id: https://develop.svn.wordpress.org/trunk@11504 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-02 00:27:53 +00:00
Andrew Ozz 997f1af1c8 Add "Accessibility Mode" for widgets screen (can be turned on from Screen Options). Add set_user_setting() to the UI state saving functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@11503 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-01 23:31:34 +00:00
Ryan Boren f85291dc74 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11502 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-01 17:13:20 +00:00
Ryan Boren c6555c2442 Use proper field for category intersection queries. fixes #9985
git-svn-id: https://develop.svn.wordpress.org/trunk@11501 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-01 17:12:12 +00:00
Andrew Ozz f1b8716b93 Reload the widget form with the ajax response after save, add Close link to the widgets, don't auto-close on save to show possible errors returned from validation
git-svn-id: https://develop.svn.wordpress.org/trunk@11498 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-31 11:34:08 +00:00
Peter Westwood 3982e62858 Move the upload_dir filter before the directory is created so that plugins can have a better effect. Fixes #9973 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11493 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-30 10:02:01 +00:00
Ryan Boren a1c608f42d Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11491 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-29 22:44:34 +00:00
Mark Jaquith d5c981b0ea Add esc_sql(), for completeness.
git-svn-id: https://develop.svn.wordpress.org/trunk@11490 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-29 20:31:52 +00:00
Ryan Boren 8abf3d95f6 Add comment_moderation_headers filter. Props mtdewvirus. fixes #9969
git-svn-id: https://develop.svn.wordpress.org/trunk@11489 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-29 20:00:06 +00:00
Ryan Boren 48eb83e12b Use _wp_specialchars to get NOQUOTES. see #9934
git-svn-id: https://develop.svn.wordpress.org/trunk@11488 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-29 19:54:13 +00:00
Ryan Boren e72a01fdc8 Fix widget unregister back-compat. fixes #9952
git-svn-id: https://develop.svn.wordpress.org/trunk@11484 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-29 16:32:20 +00:00
Andrew Ozz d36df6430d Fix submenu position and state on folded admin menu, props sambauers, fixes #9956
git-svn-id: https://develop.svn.wordpress.org/trunk@11483 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-29 07:42:55 +00:00
Ryan Boren 6ae5d00203 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11480 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-28 21:53:57 +00:00
Ryan Boren 7a1a28e91f Fix parent=0 queries. Props Denis-de-Bernardy 107 minutes ago. . fixes #9960
git-svn-id: https://develop.svn.wordpress.org/trunk@11476 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-28 18:06:08 +00:00
Andrew Ozz 54cda2f9bf TinyMCE 3.2.4.1, fixes #9950
git-svn-id: https://develop.svn.wordpress.org/trunk@11473 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 22:28:29 +00:00
Ryan Boren f2c10971ff Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11472 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 22:02:51 +00:00
Peter Westwood ae8e3e6593 Check to see if we have an author before displaying it. See #9948.
git-svn-id: https://develop.svn.wordpress.org/trunk@11471 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 21:51:25 +00:00
Ryan Boren 813973d04f Fix default orderby for tt_id query. see #9937
git-svn-id: https://develop.svn.wordpress.org/trunk@11469 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 17:09:19 +00:00
Ryan Boren e38c2c7c07 Fix default orderby for tt_id query. see #9937
git-svn-id: https://develop.svn.wordpress.org/trunk@11468 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 17:00:30 +00:00
Ryan Boren 2abee7d3b6 wp_unique_post_slug() fixes. Props Denis-de-Bernardy. fixes #9726
git-svn-id: https://develop.svn.wordpress.org/trunk@11467 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 16:21:53 +00:00
Andrew Ozz adda656922 Ensure autosave is run before showing preview for new posts/pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@11466 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 11:04:00 +00:00
Ryan Boren 22bf595381 Fix loop start, loop end workflow. Props Denis-de-Bernardy. fixes #9944
git-svn-id: https://develop.svn.wordpress.org/trunk@11464 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-26 23:57:01 +00:00
Andrew Ozz dcc7d255e7 Revert [11202], see #9726
git-svn-id: https://develop.svn.wordpress.org/trunk@11461 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-26 08:58:10 +00:00
Ryan Boren 6560835570 Don't use esc_html() for DB bound data. see #9934
git-svn-id: https://develop.svn.wordpress.org/trunk@11460 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-26 05:05:46 +00:00
Ryan Boren 4b4c9e966e Add orderby = none option to wp_get_object_terms(). Props vladimir_kolesnikov. fixes #9937
git-svn-id: https://develop.svn.wordpress.org/trunk@11457 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-25 18:18:06 +00:00
Ryan Boren 56c1493f67 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11456 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-25 17:33:10 +00:00
Andrew Ozz c8e497257e Add a hook in print_footer_scripts as in print_head_scripts, props arena, fixes #9856
git-svn-id: https://develop.svn.wordpress.org/trunk@11455 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-25 11:14:39 +00:00
Peter Westwood 1b7643d281 Remove context from wp_feed_cache_transient_lifetime filter and filter in fetch_feed as well. Fixes #9926.
git-svn-id: https://develop.svn.wordpress.org/trunk@11453 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-25 09:13:48 +00:00
Ryan Boren cd50b4f950 Restore LEFT JOIN for post_status_join. fixes #9851 see #9720
git-svn-id: https://develop.svn.wordpress.org/trunk@11452 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-25 05:36:48 +00:00
Ryan Boren c6ad2b29b2 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11451 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:51:22 +00:00
Ryan Boren e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Ryan Boren 2e127ee264 Set eol style
git-svn-id: https://develop.svn.wordpress.org/trunk@11449 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:39:56 +00:00
Peter Westwood 76eabb6d25 Add a wp_lostpassword_url() function to complete the set. Based on patch from ramiy fixes #9932.
git-svn-id: https://develop.svn.wordpress.org/trunk@11448 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 20:58:22 +00:00
Peter Westwood 8b0fef659d Allow plugins to filter the expiration time of the SimplePie cache. Fixes #9926.
git-svn-id: https://develop.svn.wordpress.org/trunk@11446 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 18:07:39 +00:00
Andrew Ozz f5fa5294ed Delete widgets when dragged back to Available Widgets, add ui.droppable.js and ui.selectable.js, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11445 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 15:46:09 +00:00
Peter Westwood d251d8b6c4 Allow a different role to be set for users when they are created in a call to wp_insert_user(). Fixes #9891 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11442 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-23 21:48:36 +00:00
Ryan Boren 9e3a2b0210 Beta 2
git-svn-id: https://develop.svn.wordpress.org/trunk@11440 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-23 17:22:44 +00:00
Andrew Ozz 723b050a99 Don't show content changed warning when saving as draft from the HTML editor, fixes #9912
git-svn-id: https://develop.svn.wordpress.org/trunk@11439 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-23 08:41:00 +00:00
Andrew Ozz 3788a1ba06 Plugins screen css tweaks
git-svn-id: https://develop.svn.wordpress.org/trunk@11438 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-23 01:56:19 +00:00
Andrew Ozz a8fa1281b7 TinyMCE 3.2.4, remove the autosave plugin and add the same functionality in autosave.js, fix double warning messages when leaving the page.
git-svn-id: https://develop.svn.wordpress.org/trunk@11437 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 22:08:17 +00:00
Ryan Boren 83210ad7ba Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11436 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 21:58:41 +00:00
Peter Westwood 6bd9d1dfa5 Rename new function to sanitize_html_class() to hilight exactly what it is for, Fixes #8446.
git-svn-id: https://develop.svn.wordpress.org/trunk@11435 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 21:31:42 +00:00
Ryan Boren 7643338f75 Standardize on UTC. Props Denis-de-Bernardy. fixes #9793
git-svn-id: https://develop.svn.wordpress.org/trunk@11434 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 18:16:40 +00:00
Peter Westwood f2cfe16e7a Introduce sanitise_css_classname() and use it to give categories, tags, users etc meaningful classnames where possible. Falls back to the id if not. Fixes #8446.
git-svn-id: https://develop.svn.wordpress.org/trunk@11433 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 17:44:26 +00:00
Andrew Ozz 4481a721fc Fix labels for the checkboxes in the Links widget
git-svn-id: https://develop.svn.wordpress.org/trunk@11432 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 16:27:23 +00:00
Andrew Ozz f0453f5e36 Attempt to fix jQuery UI unselectable form fields in widgets, label can be either explicit or implicit, not both.
git-svn-id: https://develop.svn.wordpress.org/trunk@11431 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 16:13:05 +00:00
Ryan Boren 783f4ea189 Allow multiple search form templates. Props mtdewvirus. fixes #9908
git-svn-id: https://develop.svn.wordpress.org/trunk@11430 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 16:04:49 +00:00
Andrew Ozz 8017f27e5a Make get_terms() orderby case insensitive, props DD32, fixes #9906
git-svn-id: https://develop.svn.wordpress.org/trunk@11428 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 12:29:32 +00:00
Andrew Ozz 29ed683636 Fix saving and deleting of widgets settings for no-js and for some non-standard widgets, run the actions from the widgets screen when saving with ajax, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11427 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 12:08:51 +00:00
Ryan Boren 19c8be9a49 eliminate duplicate cap checks. Props coffee2code. fixes #9899
git-svn-id: https://develop.svn.wordpress.org/trunk@11426 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-21 18:55:00 +00:00
Ryan Boren 2e1ed76289 Add post ID arg to edit_post_link(). Props coffee2code. fixes #9898
git-svn-id: https://develop.svn.wordpress.org/trunk@11425 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-21 18:43:04 +00:00
Ryan Boren fbafa6f628 Use Stylesheet instead of Template to key theme data when doing theme update check. Props josephscott. fixes #9897
git-svn-id: https://develop.svn.wordpress.org/trunk@11424 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-21 18:17:20 +00:00
Ryan Boren 32fd1ae72b Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11423 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-21 16:13:04 +00:00
Andrew Ozz 01d5ecf991 Fix styling for the plugins screen
git-svn-id: https://develop.svn.wordpress.org/trunk@11422 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-21 09:40:11 +00:00
Ryan Boren 8a76759cae Revert [11392]. It breaks custom taxonomies for attachments. see #8731
git-svn-id: https://develop.svn.wordpress.org/trunk@11420 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-21 00:10:04 +00:00
Ryan Boren 33de612b06 Fix comment paging for static front page. Props DD32. fixes #8598
git-svn-id: https://develop.svn.wordpress.org/trunk@11419 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 22:24:37 +00:00
Andrew Ozz 64693b05ff Ensure the colors stylesheets have the same query string
git-svn-id: https://develop.svn.wordpress.org/trunk@11418 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 21:52:37 +00:00
Ryan Boren 15539caf5e Use get_the_author_meta(). Props sivel. see #9393
git-svn-id: https://develop.svn.wordpress.org/trunk@11416 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 21:32:39 +00:00
Ryan Boren 47556a2dad Add orderby=none. Props DD32. fixes #9819
git-svn-id: https://develop.svn.wordpress.org/trunk@11415 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 21:26:00 +00:00
Ryan Boren 848507ccff seems_utf8() cleanup. Props hakre. fixes #9692
git-svn-id: https://develop.svn.wordpress.org/trunk@11414 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 21:13:14 +00:00
Ryan Boren b05e8739aa Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11412 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 20:56:25 +00:00
Ryan Boren 3a419fbf6d Fix load_plugin_textdomain() phpdoc. Props PotterSys. fixes #9892
git-svn-id: https://develop.svn.wordpress.org/trunk@11411 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 18:54:14 +00:00
Ryan Boren bc3941424e Throttle generic pings to no more than once per hour. Props Denis-de-Bernardy. fixes #6698
git-svn-id: https://develop.svn.wordpress.org/trunk@11410 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 17:03:19 +00:00
Ryan Boren cff6ae81fc Make sure filter IDs are unique. Props bkrausz, hakre. fixes #8723
git-svn-id: https://develop.svn.wordpress.org/trunk@11409 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 16:59:01 +00:00
Ryan Boren e7323af925 Pass text direction to wp_die(). Allow locales to set text direction in local packages. Props nbachiyski. fixes #6132
git-svn-id: https://develop.svn.wordpress.org/trunk@11408 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 16:32:22 +00:00
Ryan Boren ab511830e6 Add number_format_i18n filter. Props kambiz.k. fixes #7753
git-svn-id: https://develop.svn.wordpress.org/trunk@11407 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 16:08:35 +00:00
Ryan Boren 036031cbab Remove global regs that can poison query objects. fixes #9854
git-svn-id: https://develop.svn.wordpress.org/trunk@11406 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 16:05:23 +00:00
Andrew Ozz 93cff50b33 Include the current theme in theme update check, props josephscott, fixes #9880
git-svn-id: https://develop.svn.wordpress.org/trunk@11404 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 20:12:37 +00:00
Andrew Ozz 864b51f32b Fix blue admin theme for new widgets screen, fixes #9878
git-svn-id: https://develop.svn.wordpress.org/trunk@11403 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 18:55:58 +00:00
Ryan Boren 780263c7cc Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11402 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 18:45:21 +00:00
Ryan Boren 506192e771 Reset post-related globals in wp_reset_query(). Props Denis-de-Bernardy. fixes #9256
git-svn-id: https://develop.svn.wordpress.org/trunk@11400 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 16:16:15 +00:00
Ryan Boren 4a648c3825 Pass query object to loop_start and loop_end actions. Props Denis-de-Bernardy. fixes #9854
git-svn-id: https://develop.svn.wordpress.org/trunk@11399 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 16:13:50 +00:00
Ryan Boren 5480332bc5 Add more link and then force_balance_tags. Props Denis-de-Bernardy. fixes #9765
git-svn-id: https://develop.svn.wordpress.org/trunk@11398 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 16:03:11 +00:00
Ryan Boren 83698ae7e4 Allow case-insensitive logins. Props mdawaffe. fixes #5472
git-svn-id: https://develop.svn.wordpress.org/trunk@11397 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 15:56:53 +00:00
Ryan Boren 326affd4ad Use filtered post data. Props Denis-de-Bernardy, sirzooro. fixes #9084
git-svn-id: https://develop.svn.wordpress.org/trunk@11396 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 15:54:19 +00:00
Ryan Boren 1ce4fb03fd Fix display of titles for front pages. Props sivel. fixes #9288
git-svn-id: https://develop.svn.wordpress.org/trunk@11395 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 15:48:47 +00:00
Ryan Boren 9d6af24e2b Fix item count in wp_sprintf_l(). Props abelcheung. fixes #9847
git-svn-id: https://develop.svn.wordpress.org/trunk@11394 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 15:36:01 +00:00
Ryan Boren 1f9c258540 Lose broken post_status_join. Exclude revisions from post_type = any queries. Props gortsleigh. fixes #8731
git-svn-id: https://develop.svn.wordpress.org/trunk@11392 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 15:25:43 +00:00
Andrew Ozz 846cdf43c9 Some more styling for the plugins screen
git-svn-id: https://develop.svn.wordpress.org/trunk@11391 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 01:27:34 +00:00
Ryan Boren d044913a4e Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11390 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 23:27:19 +00:00
Andrew Ozz 662765e570 Clean the cache-manifests, make $manifest_version and $tinymce_version global vars accessible from the manifest
git-svn-id: https://develop.svn.wordpress.org/trunk@11388 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 20:29:26 +00:00
Ryan Boren c06ab49bcf Don't notify post author of own comments. PrProps josephscott. fixes #8695
git-svn-id: https://develop.svn.wordpress.org/trunk@11387 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 18:36:04 +00:00
Ryan Boren 8f2d1010bb Unset from GLOBALS. see #9854
git-svn-id: https://develop.svn.wordpress.org/trunk@11386 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 18:00:47 +00:00
Mark Jaquith ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Ryan Boren c6debe7b9e Break global post ref so we don't pollute queries. see #9854
git-svn-id: https://develop.svn.wordpress.org/trunk@11382 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:56:39 +00:00
Ryan Boren e170a4d6c1 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11381 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:14:36 +00:00
Mark Jaquith f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Ryan Boren b3efcdaaaa Recognize Expression Web 2 as IIS. Props peaceablewhale, DD32. fixes #8725
git-svn-id: https://develop.svn.wordpress.org/trunk@11379 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 14:54:16 +00:00
Andrew Ozz 092b182559 Fix Screen Options and Help buttons
git-svn-id: https://develop.svn.wordpress.org/trunk@11378 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 05:10:50 +00:00
Ryan Boren 9fa0b6944e Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11377 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 03:29:59 +00:00
Andrew Ozz 4bf2deac13 Add param to the widget_display_callback hook, props Denis-de-Bernardy, fixes #9852
git-svn-id: https://develop.svn.wordpress.org/trunk@11374 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-17 19:36:28 +00:00
Andrew Ozz 6adf190b8f Update SWFUpload to 2.2.0.1, see #9413
git-svn-id: https://develop.svn.wordpress.org/trunk@11372 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-17 12:29:58 +00:00
Peter Westwood c98f9104b6 Migrate final get_author_name() calls to use get_the_author_meta() instead. See #9393 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@11370 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 22:32:48 +00:00
Andrew Ozz bb4f1f4162 Add footer actions to iframe footer, props DD32, fixes #9832
git-svn-id: https://develop.svn.wordpress.org/trunk@11366 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 19:21:29 +00:00
Ryan Boren 87b94b7e59 Beta 1
git-svn-id: https://develop.svn.wordpress.org/trunk@11365 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 18:44:55 +00:00
Ryan Boren 7a19e12aee Add trailing slash before query args for crufty links. Props peaceablewhale. fixes #9515
git-svn-id: https://develop.svn.wordpress.org/trunk@11364 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 17:22:19 +00:00
Ryan Boren 6a66b51970 Fix feed autodiscovery. Props peaceablewhale. fixes #9810
git-svn-id: https://develop.svn.wordpress.org/trunk@11358 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 05:15:21 +00:00
Ryan Boren 2511d7e2c3 Fix bad call to str_replace. see #9395
git-svn-id: https://develop.svn.wordpress.org/trunk@11355 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 04:46:31 +00:00
Ryan Boren dfad06fd16 Bump all style versions
git-svn-id: https://develop.svn.wordpress.org/trunk@11354 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 02:50:23 +00:00
Ryan Boren 86744c9a4b Support headers split over multiple lines. Props hakre, Denis-de-Bernardy, wnorris. fixes #9395
git-svn-id: https://develop.svn.wordpress.org/trunk@11351 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 02:17:55 +00:00
Ryan Boren 5d6ca1f0dc Support IIS 7.0 URL Rewrite Module. Props ruslany. Hat tips to peaceablewhale, hakre, Denis-de-Bernardy, sivel. fixes #8974
git-svn-id: https://develop.svn.wordpress.org/trunk@11350 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 02:04:36 +00:00
Andrew Ozz 8644a0c9d7 Strip tags and convert < > to entities when appending widget title, fixes #9830
git-svn-id: https://develop.svn.wordpress.org/trunk@11349 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 00:32:04 +00:00
Ryan Boren d600eaf1c7 Allow combining category and tag queries. Props turboguy. fixes #5433
git-svn-id: https://develop.svn.wordpress.org/trunk@11348 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 23:47:28 +00:00
Ryan Boren 4fefdf5498 Use get_post_modified_time filter in get_post_modified_time(). Props Denis-de-Bernardy. fixes #9734
git-svn-id: https://develop.svn.wordpress.org/trunk@11347 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 22:33:33 +00:00
Ryan Boren 3236a991dd Ver bump
git-svn-id: https://develop.svn.wordpress.org/trunk@11346 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 22:21:21 +00:00
Ryan Boren 18cc4463fe Handle nested tag in wptexturize(). Props nbachiyski. fixes #7056 see #6969
git-svn-id: https://develop.svn.wordpress.org/trunk@11345 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 21:37:18 +00:00
Ryan Boren e80637d860 Escape posts passed as objects. Props Denis-de-Bernardy. fixes #9727
git-svn-id: https://develop.svn.wordpress.org/trunk@11344 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 21:27:39 +00:00
Ryan Boren c3bd8ffb66 Add option to wp_die to display a go back link. Props nbachiyski. fixes #5167
git-svn-id: https://develop.svn.wordpress.org/trunk@11342 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 17:49:35 +00:00
Ryan Boren e88d7ca4b8 Update PHPMailer to 2.0.4. Props hakre. fixes #9697
git-svn-id: https://develop.svn.wordpress.org/trunk@11341 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 17:32:35 +00:00
Andrew Ozz 35e1460bec Fix IE 512-byte minimum page length bug, props hakre, fixes #8942
git-svn-id: https://develop.svn.wordpress.org/trunk@11340 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 09:38:43 +00:00
Andrew Ozz 1de8d80346 Support more than one gallery on the same page, props jamescollins, fixes #7678
git-svn-id: https://develop.svn.wordpress.org/trunk@11339 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 08:52:04 +00:00
Peter Westwood eef75a9675 Ensure that wp_specialchars captures all pre-encoded entities correctly when preventing double encoding. Fixes #9821.
git-svn-id: https://develop.svn.wordpress.org/trunk@11338 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-15 06:29:19 +00:00
Andrew Ozz 29252dc3d1 Escape the captions in the gallery with wptexturize() instead of wp_specialchars(), props Denis-de-Bernardy, fixes #8763
git-svn-id: https://develop.svn.wordpress.org/trunk@11336 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 23:15:28 +00:00
Ryan Boren 701d5f8bad Better verbose page rule detection to support showing posts on a page with a custom permastruct. Props Denis-de-Bernardy. fixes #6603
git-svn-id: https://develop.svn.wordpress.org/trunk@11335 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 21:50:20 +00:00
Ryan Boren d892f1f557 Use text/xml for rss feeds for best browser compat. Props Denis-de-Bernardy. fixes #9810
git-svn-id: https://develop.svn.wordpress.org/trunk@11334 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 21:21:31 +00:00
Ryan Boren bf908fe2f1 Give continents-cities their own textdomain. Props nbachiyski, Denis-de-Bernardy . fixes #9794
git-svn-id: https://develop.svn.wordpress.org/trunk@11333 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 20:05:25 +00:00
Ryan Boren 163e71b06e Sort tz continents and cities by translated names. Load translations from separate mo to avoid cluttering default pot. Props Denis-de-Bernardy. see #9794
git-svn-id: https://develop.svn.wordpress.org/trunk@11332 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 18:58:37 +00:00
Ryan Boren a606f43156 Use user_login instead of ID to check if user exists when creating unique nicenames. ID isn't available when inserting new users. Props sivel. see #9393
git-svn-id: https://develop.svn.wordpress.org/trunk@11331 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 18:55:32 +00:00
Andrew Ozz ecc46022b2 Don't display empty values in the user display name drop-down, props Simek, fix js to add newly entered First Name and Last Name, fixes #9813
git-svn-id: https://develop.svn.wordpress.org/trunk@11330 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 17:01:04 +00:00
Ryan Boren 734685397b Allow plugins to override tz support enable/disable. Props Otto42. fixes #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@11329 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 16:23:20 +00:00
Ryan Boren fe335afb5f urlencode login redirect. Props Viper007Bond. fixes #9817
git-svn-id: https://develop.svn.wordpress.org/trunk@11328 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 16:11:01 +00:00
Andrew Ozz 8ef4731798 Make sure all colors stylesheets have the same version string, see #7262
git-svn-id: https://develop.svn.wordpress.org/trunk@11327 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 13:34:26 +00:00
Peter Westwood 356592efa7 Add a permalink_structure_changed action to allow plugins to do something once the new structure has been applied to WP_Rewrite.
git-svn-id: https://develop.svn.wordpress.org/trunk@11325 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 06:38:34 +00:00
Ryan Boren 3788f58c9e Revert [11263]. Busted several themes. see #9323
git-svn-id: https://develop.svn.wordpress.org/trunk@11324 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 04:09:01 +00:00
Ryan Boren c4f78ad63a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: https://develop.svn.wordpress.org/trunk@11323 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 02:00:32 +00:00
Ryan Boren fc80cdec6b Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: https://develop.svn.wordpress.org/trunk@11318 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 22:28:56 +00:00
Andrew Ozz 765f9798d4 Add a function to output a generic widget anywhere in a template, props Denis-de-Bernardy, fixes #9701
git-svn-id: https://develop.svn.wordpress.org/trunk@11317 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 20:43:49 +00:00
Ryan Boren 4cbec5b34a Notice fix. Props mrmist. fixes #8446
git-svn-id: https://develop.svn.wordpress.org/trunk@11316 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 19:04:26 +00:00
Ryan Boren 7f57ebe750 Remove stale enclosures. Props mystyman. fixes #6840
git-svn-id: https://develop.svn.wordpress.org/trunk@11315 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 05:15:27 +00:00
Mark Jaquith aeb9272a1c Exclude <tt> from formatting. props JulienV. fixes #8321
git-svn-id: https://develop.svn.wordpress.org/trunk@11313 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 22:51:24 +00:00
Mark Jaquith a2bf4db52b Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: https://develop.svn.wordpress.org/trunk@11312 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 22:40:56 +00:00
Ryan Boren c3d1eafb7d Fix widget registration with PHP 4. see #9800
git-svn-id: https://develop.svn.wordpress.org/trunk@11310 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 19:17:30 +00:00
Andrew Ozz 58a1c4ac9e Lowercase widgets $id_base, props Denis-de-Bernardy, fixes #9797
git-svn-id: https://develop.svn.wordpress.org/trunk@11308 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 17:56:04 +00:00
Ryan Boren 5df6a6ad9d Use IDs instead of slugs in CSS classes ro avoid invalid class names. Props hakre. fixes #8446
git-svn-id: https://develop.svn.wordpress.org/trunk@11306 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 17:11:57 +00:00
Ryan Boren e2e4c53a93 Clear cache after deleting meta. Props Denis-de-Bernardy. fixes #9009
git-svn-id: https://develop.svn.wordpress.org/trunk@11305 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 17:10:05 +00:00
Ryan Boren 2786a02afe Feed namespace hooks. Props Denis-de-Bernardy, peaceablewhale. fixes #9792
git-svn-id: https://develop.svn.wordpress.org/trunk@11303 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 16:57:49 +00:00
Andrew Ozz a3f252ffbd Add filter: the post content "more link", props JohnLamansky, fixes #9711
git-svn-id: https://develop.svn.wordpress.org/trunk@11300 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 06:38:59 +00:00
Andrew Ozz 86749778d2 Post comments feed link HTML filter, props JohnLamansky, fixes #9712
git-svn-id: https://develop.svn.wordpress.org/trunk@11299 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 06:19:36 +00:00
Ryan Boren 5cc712d1e3 Add title attributes to links in recent entries widget. Props topncal, Denis-de-Bernardy. fixes #6091
git-svn-id: https://develop.svn.wordpress.org/trunk@11293 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 05:47:25 +00:00
Ryan Boren 2e71b19772 Translate continent and city names for timezone picker. see #9794
git-svn-id: https://develop.svn.wordpress.org/trunk@11290 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 01:04:16 +00:00
Ryan Boren 5982580e70 Fix sign of GMT offsets. Props Denis-de-Bernardy. fixes #9758
git-svn-id: https://develop.svn.wordpress.org/trunk@11288 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 00:32:36 +00:00
Peter Westwood b52feaaa0f Clear future publishing hook on post deletion. Fixes #5364 props develish and Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11284 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 22:17:13 +00:00
Peter Westwood 3abfce8c28 Drop raw check in sanitize_post so int fields are always sanitized.
git-svn-id: https://develop.svn.wordpress.org/trunk@11282 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 22:10:45 +00:00
Peter Westwood 8f124cb667 phpdoc updates for l10n functions. Fixes #9767 props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@11281 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 21:15:05 +00:00
Peter Westwood b13e97af40 Add a 'rss2_comments_ns' action to the namespaces section of the RSS2 comments feed. Fixes #5819.
git-svn-id: https://develop.svn.wordpress.org/trunk@11279 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 21:02:18 +00:00
Ryan Boren 2a25e50450 Add title option to search widget. Props hakre. fixes #9756
git-svn-id: https://develop.svn.wordpress.org/trunk@11274 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 19:48:56 +00:00
Peter Westwood dd0ac1d1bc Add slash:comments extension to RSS2 feed to give comment counts for posts. Fixes #4023 props peaceablewhale.
git-svn-id: https://develop.svn.wordpress.org/trunk@11272 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 19:42:47 +00:00
Ryan Boren 4f60459b28 Add function_exists check for gzdecode. see #9761
git-svn-id: https://develop.svn.wordpress.org/trunk@11271 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 19:34:24 +00:00
Ryan Boren a7a9b6e3a5 Add the_author_aim() to deprecated. see #8776
git-svn-id: https://develop.svn.wordpress.org/trunk@11269 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 17:56:34 +00:00
Ryan Boren ed05a1e8f8 Accept only IDs for get_term_link(). Prop filosofo. fixes #9323
git-svn-id: https://develop.svn.wordpress.org/trunk@11263 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 16:37:42 +00:00
Ryan Boren 00268d9665 Allow use of _pad_term_counts for all hierarhcical taxonomies. Props mgsisk, Denis-de-Bernardy. fixes #8350
git-svn-id: https://develop.svn.wordpress.org/trunk@11260 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 05:01:12 +00:00
Ryan Boren 9dab147679 JOIN instead of LEFT JOIN. Props Denis-de-Bernardy. fixes #9720
git-svn-id: https://develop.svn.wordpress.org/trunk@11259 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 04:56:00 +00:00
Ryan Boren c09e996228 Pass IDs, not objects, to get_category_link(). fixes #9784
git-svn-id: https://develop.svn.wordpress.org/trunk@11257 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 04:45:39 +00:00