Commit Graph

5365 Commits

Author SHA1 Message Date
Andrew Ozz da41fd8836 Merge set-post-thumbnail-handler.js with post.js, move Post Thumbnail meta-box to /includes/meta-boxes.php, see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12060 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 20:23:35 +00:00
Ryan Boren 945ae5b936 Make get_adjacent_post work with custom post_types. Props prettyboymp. fixes #10717
git-svn-id: https://develop.svn.wordpress.org/trunk@12058 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 16:31:20 +00:00
Mark Jaquith 12eb2c5a71 Delete post thumbnail relationships for deleted attachments. props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12054 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 13:58:44 +00:00
Peter Westwood 94a2054bf5 Ensure we always have author info to check capabilities with. Fixes notice on Add new post page.
git-svn-id: https://develop.svn.wordpress.org/trunk@12053 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 12:06:39 +00:00
Peter Westwood c61e6f6bbd Remove duplicated create_function calls an use a private _search_terms_tidy function instead for tidying up the post/page searching when looking to attach orphans to a parent post or page.
git-svn-id: https://develop.svn.wordpress.org/trunk@12052 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 11:50:59 +00:00
Andrew Ozz 226abaca88 Smoooth animations for comment move to trash and undo, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12050 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 05:59:03 +00:00
Andrew Ozz 6b03fbb997 Bring WP_Dependencies::dequeue() in line with WP_Dependencies::enqueue(), props chrisbliss18, fixes #9870
git-svn-id: https://develop.svn.wordpress.org/trunk@12049 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-18 05:51:30 +00:00
Ryan Boren 2d890657ea Use array_intersect_assoc()
git-svn-id: https://develop.svn.wordpress.org/trunk@12047 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-17 16:20:52 +00:00
Mark Jaquith d580bc1971 Add the author to the quick edit dropdown author list if they currently lack the ability to edit so as to avoid stealing their post away from them. fixes #10967
git-svn-id: https://develop.svn.wordpress.org/trunk@12046 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-17 05:18:29 +00:00
Mark Jaquith 47db906431 Fix wp_list_comments() ol/ul/div logic oversight. props junsuijin. fixes #10742
git-svn-id: https://develop.svn.wordpress.org/trunk@12045 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 21:47:35 +00:00
Peter Westwood 9510a36835 Allow for plugins to enhance the number of metadata fields captured from plugin and theme headers. See #8964 props strider72.
git-svn-id: https://develop.svn.wordpress.org/trunk@12044 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 21:07:00 +00:00
Peter Westwood 097a918639 Restore the functionality of the theme_root filter. See #10467.
git-svn-id: https://develop.svn.wordpress.org/trunk@12043 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 20:45:32 +00:00
Ryan Boren a4789b3cc1 Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@12042 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 20:26:21 +00:00
Mark Jaquith 74f844388c Director of Whitespace rules default-filters.php with an iron fist
git-svn-id: https://develop.svn.wordpress.org/trunk@12041 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 17:27:45 +00:00
Mark Jaquith 12d1c6e5cc Remove redundant !empty() checks. props filosofo. see #10960
git-svn-id: https://develop.svn.wordpress.org/trunk@12040 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 14:47:04 +00:00
Mark Jaquith 066c4520df Add wp-post-image CSS class to post images. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12039 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 14:27:04 +00:00
Mark Jaquith 492763166b Remove close TB call that was removed earlier. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12037 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 13:58:10 +00:00
Mark Jaquith 0818d29d6e Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12036 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 12:57:16 +00:00
Mark Jaquith 45b4ea5807 Allow theme devs to change attrs (like CSS class) of thumbnail images. props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12035 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 12:31:48 +00:00
Mark Jaquith da87e95962 Do not do a canonical redirect for negated author query strings. fixes #10960
git-svn-id: https://develop.svn.wordpress.org/trunk@12034 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 09:13:38 +00:00
Mark Jaquith 6d99e52613 Do not close media thickbox after thumbnail is selected, in case uploads are in progress. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12031 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 08:42:32 +00:00
Andrew Ozz 459e0bcfc9 Fix tags and categories postboxes in PressThis
git-svn-id: https://develop.svn.wordpress.org/trunk@12030 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 07:30:10 +00:00
Mark Jaquith 529e336c1e Add set_user_role action hook. props jamescollins, usermrpapa. fixes #10716
git-svn-id: https://develop.svn.wordpress.org/trunk@12028 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 02:30:51 +00:00
Ryan Boren 05458bb414 Use oEmbed for youtube. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12027 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 22:36:24 +00:00
Mark Jaquith 1a00881a37 Introducing register_theme_directory() which takes a wp-content-relative path and will additionally scan it for themes. Plugins can use this to add themes without requiring copying by the user. props apeatling. fixes #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12025 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 19:06:35 +00:00
Ryan Boren 8bd343a22e Bump db version
git-svn-id: https://develop.svn.wordpress.org/trunk@12024 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 18:50:16 +00:00
Ryan Boren e71f15a979 Embeds. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12023 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 17:04:22 +00:00
Andrew Ozz 9d5f38a1df Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
git-svn-id: https://develop.svn.wordpress.org/trunk@12022 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 10:02:42 +00:00
Andrew Ozz 8e956b6488 Show the login form in a popup when autosave hits the login grace period, fixes #10704
git-svn-id: https://develop.svn.wordpress.org/trunk@12021 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-11 11:26:59 +00:00
Mark Jaquith 77749a6009 First pass at canonical post image template functions. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12019 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-10 08:31:21 +00:00
Andrew Ozz 9a76ba48d9 Add l10n thousands delimiter and decimal point to JS, fix updating of comments numbers on the dashboard and keyboard shortcuts for comments moderation (t = trash, z = restore/undo)
git-svn-id: https://develop.svn.wordpress.org/trunk@12015 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-09 09:02:22 +00:00
Peter Westwood 86fd35946f Allow the separator in wp_tag_cloud and wp_generate_tag_cloud to be specified. Fixes #10315 props ramiy and filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12014 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 21:51:34 +00:00
Peter Westwood fa42eb41a2 Add a title to the Home link output by wp_page_menu(). Fixes #10594 props amilanov.
git-svn-id: https://develop.svn.wordpress.org/trunk@12013 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 21:37:26 +00:00
Peter Westwood 1ac5894933 Add a filter to the_author_posts_link(). Fixes #10691 props sirzooro and filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12012 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 21:04:04 +00:00
Peter Westwood 44fc49bb90 Allow for tag templates to be linked by tag id as well as name. Fixes #10868.
git-svn-id: https://develop.svn.wordpress.org/trunk@12010 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 17:27:51 +00:00
Peter Westwood 6f3714fa27 Remove rel='tag' on links in Tag Clouds as it is only for outbound links where the destination is a tag for the current page. Fixes #10897.
git-svn-id: https://develop.svn.wordpress.org/trunk@12009 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 17:05:32 +00:00
Andrew Ozz 59981a3d5b Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12008 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 08:24:59 +00:00
Mark Jaquith ab98fc356b First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12007 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 22:18:09 +00:00
Peter Westwood 8d19386616 Remove the php-gettext library as we don't use it anymore. Fixes #9751.
git-svn-id: https://develop.svn.wordpress.org/trunk@12006 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 20:42:05 +00:00
Peter Westwood 9698b2716d Fix the specification of the object_type column in delete_metadata so that it will delete stuff if $delete_all is false. See #2659
git-svn-id: https://develop.svn.wordpress.org/trunk@11999 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-06 19:18:21 +00:00
Ryan Boren de6f496e44 Post type registration. Exclude post types added via plugin from searches by default. Introduce register_post_type() and get_post_types(). fixes #10885
git-svn-id: https://develop.svn.wordpress.org/trunk@11998 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-06 14:43:05 +00:00
Andrew Ozz aeab6ed248 Add conditional to handle get_comment_meta() return value, make #comment_id required arg for wp_trash_comment() and wp_untrash_comment(), see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11997 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-05 01:49:19 +00:00
Andrew Ozz f7e5db2645 Fix delete_metadata(), see #2659
git-svn-id: https://develop.svn.wordpress.org/trunk@11996 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-05 01:08:06 +00:00
Peter Westwood 1c12fc9165 Make the (add|get|update)_site_option functions run the same filters in WP as they do in mu. Fixes #10893.
git-svn-id: https://develop.svn.wordpress.org/trunk@11995 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-03 21:40:27 +00:00
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