Commit Graph

6024 Commits

Author SHA1 Message Date
Peter Westwood
1026700f47 Improve wptexturize performance. Fixes #10987 props johanee.
git-svn-id: https://develop.svn.wordpress.org/trunk@12084 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-21 21:57:27 +00:00
Ryan Boren
619bbd1655 Set eol-style
git-svn-id: https://develop.svn.wordpress.org/trunk@12082 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-21 14:30:51 +00:00
Mark Jaquith
de9c049065 Save some clicks and optimize for the Upload, Set as thumbnail flow. props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12081 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-21 07:27:33 +00:00
Peter Westwood
a9b546be54 Switch to using NOOP_Translations for untranslated sites. Fixes #10971 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@12080 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-21 07:09:00 +00:00
Peter Westwood
889f15dfdb Merge updated pomo code. Includes new NOOP_Translations class see #10971 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@12079 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-21 07:06:55 +00:00
Ryan Boren
1b7c69990e Strip nulls
git-svn-id: https://develop.svn.wordpress.org/trunk@12072 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-20 18:52:37 +00:00
Andrew Ozz
7e5f17cd68 Fix replying to comments from admin, props josephscott
git-svn-id: https://develop.svn.wordpress.org/trunk@12071 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-20 17:45:12 +00:00
Ryan Boren
83ad1ab1a8 Improve sanitize_post() performance. Perform raw filtering only once. Add filter check to eliminate double filtering. Props johanee. fixes #10972 see #10801
git-svn-id: https://develop.svn.wordpress.org/trunk@12062 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 21:28:44 +00:00
Mark Jaquith
395f0b9e2d Revert to old options table storage of rewrite_rules. Transient object caches would silently regenerate rewrite_rules without giving plugins a chance to readd endpoints. fixes #10981
git-svn-id: https://develop.svn.wordpress.org/trunk@12061 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 21:10:46 +00:00
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
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
Andrew Ozz
5f8dcb3377 Put back disabling of sortables for folded sidebars, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11256 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 10:33:30 +00:00
Peter Westwood
9b67652231 Fix typo in [11253] fixes #8704 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11255 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 09:25:43 +00:00
Andrew Ozz
d9b8bed089 Add filters for default widgets calling template functions, props Denis-de-Bernardy, fixes #9780
git-svn-id: https://develop.svn.wordpress.org/trunk@11254 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 09:14:37 +00:00
Peter Westwood
a08a8c6db9 Add a filter to the result of wp_get_object_terms(). Fixes #8704 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11253 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 09:11:58 +00:00
Peter Westwood
2e5a6f847b Update phpdoc for get_pages() and fix bugs in previous commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@11252 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 09:00:18 +00:00
Peter Westwood
4f8ebb957c Add paging support to get_pages(). Fixes #4531 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11251 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 08:55:49 +00:00
Peter Westwood
a9c7730610 Allow for custom ordering in get_terms(). Fixes #7539 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11250 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 07:57:07 +00:00
Peter Westwood
a99e78ba1e Filter out blank urls for commentors. Fixes #5789.
git-svn-id: https://develop.svn.wordpress.org/trunk@11249 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 07:26:30 +00:00
Andrew Ozz
f6a357da51 Append the widget's title to the header, adjust sidebar height after changing widgets, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11246 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 00:49:48 +00:00
Mark Jaquith
8d6cb67233 esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: https://develop.svn.wordpress.org/trunk@11245 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-09 07:27:22 +00:00
Ryan Boren
ed9fa72efc Cache empty results for adjacent post queries
git-svn-id: https://develop.svn.wordpress.org/trunk@11243 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-08 19:47:30 +00:00
Ryan Boren
830907b08d Cache get_adjacent_post() queries for the duration of the page load to avoid running queries multiple times
git-svn-id: https://develop.svn.wordpress.org/trunk@11241 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-08 18:04:13 +00:00
Andrew Ozz
ef540360eb Strip tags from category description when used as title, props demetris, fixes #9753
git-svn-id: https://develop.svn.wordpress.org/trunk@11239 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-08 13:47:26 +00:00
Andrew Ozz
2b97f18c3d Fix old format multi-number placeholder in widgets
git-svn-id: https://develop.svn.wordpress.org/trunk@11238 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-07 21:58:45 +00:00
Peter Westwood
fe0e3123c9 Minor tidy up from merge of changes to BackPress.
git-svn-id: https://develop.svn.wordpress.org/trunk@11237 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-07 21:49:10 +00:00
Peter Westwood
96c57854d3 Pass just the headers array to should_decode. Fixes #9754 props willnorris.
git-svn-id: https://develop.svn.wordpress.org/trunk@11236 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-07 21:18:20 +00:00
Peter Westwood
5173e6c7f8 Prevent notice check on invalid sticky settings. See #9393 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@11230 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-07 07:05:35 +00:00
Peter Westwood
8e3c9121f8 Fix notices when an in-use widget is deleted. See #9393 props nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@11229 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-07 06:59:06 +00:00
Peter Westwood
a9fc3bac09 Fix notices when the Recent_Comments widget has no settings
git-svn-id: https://develop.svn.wordpress.org/trunk@11228 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-07 06:57:28 +00:00
Andrew Ozz
76fcdd118d Show Plugin Information thickbox title only when installing plugins, restore access to links on install plugins screens, some colors-fresh.css cleanup, fixes #9742
git-svn-id: https://develop.svn.wordpress.org/trunk@11225 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-07 02:41:36 +00:00
Andrew Ozz
b4511b71fd Change CSS classes to avoid collisions with ui.tabs, fixes #9740
git-svn-id: https://develop.svn.wordpress.org/trunk@11224 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 21:31:07 +00:00
Peter Westwood
e7cb860785 Updates phpDoc for the post functions. See #8805 props CharlesClarkson.
git-svn-id: https://develop.svn.wordpress.org/trunk@11222 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 20:49:36 +00:00
Peter Westwood
3ddea2e3a4 Update phpDoc for update_option. See #8805 props rmccue.
git-svn-id: https://develop.svn.wordpress.org/trunk@11221 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 20:33:59 +00:00
Peter Westwood
1ac5aa671c Decode the commenters name why looking up un-moderated comments. Fixes #6992.
git-svn-id: https://develop.svn.wordpress.org/trunk@11220 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 20:24:57 +00:00
Ryan Boren
f48b7b73a1 Fix RTL color stylesheet loading. Props hakre. fixes #9735
git-svn-id: https://develop.svn.wordpress.org/trunk@11219 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 17:47:58 +00:00
Ryan Boren
8294109dfb Revert[11210]. fixes #9738 see #9515
git-svn-id: https://develop.svn.wordpress.org/trunk@11218 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 16:56:13 +00:00
Ryan Boren
a0f1a1c89b Return ref. Props nbachiyski. fixes #9109
git-svn-id: https://develop.svn.wordpress.org/trunk@11216 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 05:03:59 +00:00
Ryan Boren
9d41d07f40 Escape title attributes in calendar links. fixes #8967
git-svn-id: https://develop.svn.wordpress.org/trunk@11215 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 04:56:32 +00:00
Ryan Boren
7e1eb1289d Add the_post action. Props Denis-de-Bernardy. fixes #6284
git-svn-id: https://develop.svn.wordpress.org/trunk@11213 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 01:42:43 +00:00
Ryan Boren
7f510a5bfb Revert accidental fxn rename
git-svn-id: https://develop.svn.wordpress.org/trunk@11212 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 23:32:16 +00:00
Ryan Boren
41692335a8 Comment query filters. Props filosofo. fixes #9635
git-svn-id: https://develop.svn.wordpress.org/trunk@11211 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 22:41:26 +00:00
Ryan Boren
7769da8f35 Slashe before query args. Props peaceablewhale. fixes #9515
git-svn-id: https://develop.svn.wordpress.org/trunk@11210 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 22:22:20 +00:00
Ryan Boren
8d664e4bae Don't do core version check from front page loads. Props Denis-de-Bernardy. fixes #8590
git-svn-id: https://develop.svn.wordpress.org/trunk@11209 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 21:51:48 +00:00
Ryan Boren
015190e536 texturize widget titles. Props jtatum. fixes #7084
git-svn-id: https://develop.svn.wordpress.org/trunk@11208 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 21:38:08 +00:00
Ryan Boren
6e189c365e Use lastBuildDate. Props peaceablewhale. fixes #9566
git-svn-id: https://develop.svn.wordpress.org/trunk@11206 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 20:38:47 +00:00
Ryan Boren
370ed0824a Proper lastBuildDate for rss2 comments feed. Props peaceablewhale. fixes #9567
git-svn-id: https://develop.svn.wordpress.org/trunk@11205 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 20:36:20 +00:00
Mark Jaquith
c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren
0423851d49 Use wp_unique_slug() in wp_insert_attachment(). Props Denis-de-Bernardy. fixes #9726
git-svn-id: https://develop.svn.wordpress.org/trunk@11202 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 16:39:36 +00:00
Andrew Ozz
1d27399034 Don't bind every form element to form.submit in wp-lists, fixes #7838, see #9696
git-svn-id: https://develop.svn.wordpress.org/trunk@11201 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 10:29:37 +00:00
Andrew Ozz
6ca8e3b935 Escape caption in [gallery] output, props MattyRob, fixes #8763
git-svn-id: https://develop.svn.wordpress.org/trunk@11200 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 07:35:03 +00:00
Andrew Ozz
2091edf9e1 Wrap tag cloud in a block element, props hudatoriq, fixes #7905
git-svn-id: https://develop.svn.wordpress.org/trunk@11199 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 07:14:51 +00:00
Ryan Boren
b877415f2a Always do post status transition actions. Props nbachiyski. fixes #8792
git-svn-id: https://develop.svn.wordpress.org/trunk@11197 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 05:53:55 +00:00
Ryan Boren
507d286afe Fix callbacks. Props Denis-de-Bernardy. fixes #9722 see #9697
git-svn-id: https://develop.svn.wordpress.org/trunk@11195 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 05:35:56 +00:00
Ryan Boren
b16cbfc447 Return fiter result directly. Props Denis-de-Bernardy. fixes #9690
git-svn-id: https://develop.svn.wordpress.org/trunk@11194 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 05:32:20 +00:00
Andrew Ozz
3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Ryan Boren
eb4fd7e4f6 always apply widget_title filter. Props Denis-de-Bernardy. fixes #9450
git-svn-id: https://develop.svn.wordpress.org/trunk@11188 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 03:59:08 +00:00
Andrew Ozz
1741eb34e0 Add a space between image and name in bookmark-template.php, props sivel, fixes #8608
git-svn-id: https://develop.svn.wordpress.org/trunk@11184 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 02:23:40 +00:00
Andrew Ozz
df6c9f7e92 Fix target = _blank, props Nazgul, fixes #6049
git-svn-id: https://develop.svn.wordpress.org/trunk@11182 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 00:51:47 +00:00
Ryan Boren
4a047f4240 Use invisible class for hiding labels and legends.
git-svn-id: https://develop.svn.wordpress.org/trunk@11180 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 21:28:58 +00:00
Ryan Boren
d2d104d968 sanitize_file_name() improvements. Props sivel. fixes #9416
git-svn-id: https://develop.svn.wordpress.org/trunk@11178 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 20:20:48 +00:00
Andrew Ozz
d48074c6f8 Fix widget option saving on drop, fixes #9721
git-svn-id: https://develop.svn.wordpress.org/trunk@11176 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 19:33:54 +00:00
Ryan Boren
7357b54497 Hide things that need to be available to screen readers via offscreen positioning. see #9445
git-svn-id: https://develop.svn.wordpress.org/trunk@11175 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 18:05:16 +00:00
Ryan Boren
cfd320446f Attr escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@11173 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 17:54:08 +00:00
Andrew Ozz
687a400776 Hide text while editor is loading, show html editor on error
git-svn-id: https://develop.svn.wordpress.org/trunk@11171 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 10:34:50 +00:00
Peter Westwood
66f8496f68 Move _cleanup_header_comment() to wp-includes so it is always available. Fixes #8497 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11170 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 09:33:58 +00:00
Peter Westwood
e4f47bc83f Enhance get_comments() phpdoc.
git-svn-id: https://develop.svn.wordpress.org/trunk@11169 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 09:22:44 +00:00
Peter Westwood
5db0851318 Support single line Template Name comment blocks for theme Templates and apply same cleanup to all header lines. Fixes #8497 props DD32 and Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11168 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 09:12:12 +00:00
Andrew Ozz
c48c21b845 Refresh widgets screen css
git-svn-id: https://develop.svn.wordpress.org/trunk@11167 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 01:21:59 +00:00
Andrew Ozz
90e500ae36 Widgets UI improvements: arrows, some more help
git-svn-id: https://develop.svn.wordpress.org/trunk@11166 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 01:19:10 +00:00
Andrew Ozz
a2bbfe9f26 Make is_active_widget() optionally look in 'wp_inactive_widgets' for use in the admin
git-svn-id: https://develop.svn.wordpress.org/trunk@11164 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-03 23:20:26 +00:00
Andrew Ozz
d578c68a73 Widgets UI styling, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11160 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-03 05:27:13 +00:00
Ryan Boren
d4fc4496fd Turn off tag cloud filtering when requesting the cloud via AJAX. Props jhodgdon. fixes ##6593
git-svn-id: https://develop.svn.wordpress.org/trunk@11158 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-02 18:43:04 +00:00
Andrew Ozz
d9e724974f Add action "in_widget_form" allowing plugins to add extra fields, don't show "Save" button if a widget doesn't have settings form, fixes #9651
git-svn-id: https://develop.svn.wordpress.org/trunk@11155 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-02 00:21:16 +00:00
Ryan Boren
47d56db997 Send valid host when using WP_Http_Fsockopen over SSL. Props mdawaffe. fixes #9699
git-svn-id: https://develop.svn.wordpress.org/trunk@11154 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-01 23:53:38 +00:00
Ryan Boren
71fbf68dee strip slashes from term before prepare(). Props jhodgdon. see #6593
git-svn-id: https://develop.svn.wordpress.org/trunk@11153 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-01 22:05:04 +00:00
Ryan Boren
d0b30bee2a Trim term before checking if it already exists. Props jhodgdon. fixes #9397
git-svn-id: https://develop.svn.wordpress.org/trunk@11151 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-01 20:59:14 +00:00
Mark Jaquith
4569581d73 Exclamation mark is a valid and safe character in a URI. props hakre. fixes #8904
git-svn-id: https://develop.svn.wordpress.org/trunk@11147 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 23:52:32 +00:00
Ryan Boren
bb1a97303f Use _http_build_query() if PHP version < 5.1.2. Props hakre. fixes #9044
git-svn-id: https://develop.svn.wordpress.org/trunk@11143 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 21:51:16 +00:00
Ryan Boren
7a78685b82 Use correct var. Update phpdoc. Props MichaelH, coffee2code. fixes #8776
git-svn-id: https://develop.svn.wordpress.org/trunk@11142 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 19:55:29 +00:00
Ryan Boren
1f47d7d591 Fix registration of default taxonomies so that proper rewrite rules are written.
git-svn-id: https://develop.svn.wordpress.org/trunk@11141 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 19:05:32 +00:00
Ryan Boren
c50d877687 Fix category search pagination. Fix caching of empty term results. Props Denis-de-Bernardy. fixes #8632
git-svn-id: https://develop.svn.wordpress.org/trunk@11140 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 16:51:45 +00:00
Ryan Boren
89ae94f80e get_the_author_meta() and the_author_meta(). Props DD32, thee17. fixes #8776
git-svn-id: https://develop.svn.wordpress.org/trunk@11138 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 16:27:17 +00:00
Peter Westwood
9aa1b4c9f9 Fix wp_mails handling of custom boundaries. Fixes #5204 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@11136 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 07:25:47 +00:00
Andrew Ozz
b1c90ff067 Add is_active_sidebar(), props filosofo, fixes #4594
git-svn-id: https://develop.svn.wordpress.org/trunk@11134 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 04:26:34 +00:00
Ryan Boren
b1bf7685ce Allow plugins to override default taxonomies. Props Denis-de-Bernardy. fixes #9647
git-svn-id: https://develop.svn.wordpress.org/trunk@11129 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 20:25:30 +00:00
Ryan Boren
494d54de30 Don't prepend http to fragments. Props scohoust. fixes #4051
git-svn-id: https://develop.svn.wordpress.org/trunk@11126 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 20:10:06 +00:00
Ryan Boren
ca5807df86 Make post slugs unique across all hierarhical post types. Props Denis-de-Bernardy. fixes #6437
git-svn-id: https://develop.svn.wordpress.org/trunk@11125 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 19:04:27 +00:00
Ryan Boren
3e6b3326c8 Fix status transitions from edit comment form. Props josephscott. fixes #8863
git-svn-id: https://develop.svn.wordpress.org/trunk@11124 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 17:22:08 +00:00
Ryan Boren
66c017857a Allow taxonomy registration before init. Props arena. fixes #9647
git-svn-id: https://develop.svn.wordpress.org/trunk@11122 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 16:40:36 +00:00
Ryan Boren
9627196cb4 Sanitize when querying against category name so that multiple-word subcategories match. props filosofo. fixes #8619
git-svn-id: https://develop.svn.wordpress.org/trunk@11121 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 16:25:33 +00:00
Andrew Ozz
ff35abc77e Don't concatenate scripts when SCRIPT_DEBUG is set, fixes #9675
git-svn-id: https://develop.svn.wordpress.org/trunk@11119 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 06:25:49 +00:00
Andrew Ozz
4a911beaf3 Load the menu folded (if set), load the editor earlier
git-svn-id: https://develop.svn.wordpress.org/trunk@11118 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 05:43:03 +00:00
Ryan Boren
0537f5af69 get_term_children phpdoc and var naming improvements. Props simonwheatley. fixes #9667
git-svn-id: https://develop.svn.wordpress.org/trunk@11115 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 19:49:21 +00:00
Ryan Boren
41f75a2604 Pass post ID to the_title filter. Props DD32. see #5746 #9666
git-svn-id: https://develop.svn.wordpress.org/trunk@11112 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 17:40:49 +00:00
Ryan Boren
7e3b303f19 protected_title_format and private_title_format. Props anderswc. fixes #8918
git-svn-id: https://develop.svn.wordpress.org/trunk@11111 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 17:36:10 +00:00
Ryan Boren
fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren
6c066a90d8 Limit get_lastpost* functions to post_type=post. Props Denis-de-Bernardy. fixes #9636
git-svn-id: https://develop.svn.wordpress.org/trunk@11108 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:42:30 +00:00
Ryan Boren
067e8ba9ee Don't show password protected posts in searches for non-logged in users. Props coffee2code. fixes #9559
git-svn-id: https://develop.svn.wordpress.org/trunk@11106 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 00:05:43 +00:00
Andrew Ozz
280ad0245d Fix Paste from Word button in TinyMCE
git-svn-id: https://develop.svn.wordpress.org/trunk@11105 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 23:19:23 +00:00
Ryan Boren
036a7656f9 attr(), _a(), _ea(), _xa() for shorthand attribute escaping. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11103 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 21:58:04 +00:00
Ryan Boren
b05307b90c Clarify add endpoint phpdoc. Props Denis-de-Bernardy. fixes #9476
git-svn-id: https://develop.svn.wordpress.org/trunk@11102 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 21:11:01 +00:00
Ryan Boren
8f15c79dda Add redirect param to wp_loginout(). Props Denis-de-Bernardy. fixes #9241
git-svn-id: https://develop.svn.wordpress.org/trunk@11101 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 20:00:59 +00:00
Ryan Boren
89afda412e Eliminate preg_replace with /e. Props tbaboon. fixes #8689
git-svn-id: https://develop.svn.wordpress.org/trunk@11098 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 16:17:24 +00:00
Ryan Boren
eedcfbbc2b Remove call-time pass-by-ref. Props jbsil. see #9651
git-svn-id: https://develop.svn.wordpress.org/trunk@11097 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 16:09:49 +00:00
Andrew Ozz
93ce9fc60b Add hooks to WP_Widget, props ceenz, fixes #9651, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11095 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 10:56:29 +00:00
Andrew Ozz
1ebfefd191 Move Tag Cloud widget to WP_Widget, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11094 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 09:28:57 +00:00
Andrew Ozz
95871c8e51 Move RSS widget to WP_Widget, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11093 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 08:46:47 +00:00
Ryan Boren
70e2247b26 phpdoc udpates and error checks for http. Props DD32. fixes #8620
git-svn-id: https://develop.svn.wordpress.org/trunk@11091 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-26 23:54:59 +00:00
Andrew Ozz
9a7f9d2ae1 Move recent comments widget to WP_Widget, extend is_active_widget() to use $id_base, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11090 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-26 20:09:08 +00:00
Andrew Ozz
78bb20529a Fix conversion of old widget settings for Recent Posts, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11088 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-26 05:34:06 +00:00
Andrew Ozz
1ad72b3d59 Move recent posts widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11087 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-25 12:43:51 +00:00
Andrew Ozz
d812bc92a8 Fix category__not_in and tag__not_in running empty, props coffee2code, fixes #9645
git-svn-id: https://develop.svn.wordpress.org/trunk@11086 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-25 07:48:17 +00:00
Ryan Boren
e2c1cc6c08 Revert [10956]. fixes #9643 see #8619
git-svn-id: https://develop.svn.wordpress.org/trunk@11085 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-25 00:01:05 +00:00
Ryan Boren
273df5a466 Fix 'Only variable references should be returned by reference' notices
git-svn-id: https://develop.svn.wordpress.org/trunk@11083 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-24 23:43:32 +00:00
Ryan Boren
ea6c1efcb9 Silence html_entity_decode warnings. Props Denis-de-Bernardy. fixes #9616
git-svn-id: https://develop.svn.wordpress.org/trunk@11081 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-24 16:57:27 +00:00
Andrew Ozz
659a3fb191 TinyMCE 3.2.3 final, includes new Paste plugin with auto-cleanup (better paste from MS Word)
git-svn-id: https://develop.svn.wordpress.org/trunk@11078 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-24 15:26:00 +00:00
Andrew Ozz
da385d8a79 Upgrade widget options only from admin, props ryan, fixes #9629
git-svn-id: https://develop.svn.wordpress.org/trunk@11074 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-24 06:27:06 +00:00
Andrew Ozz
8757f218ea Remove slash from plugin_basename(), props alexrabe, fixes #9561
git-svn-id: https://develop.svn.wordpress.org/trunk@11072 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 21:45:38 +00:00
Ryan Boren
5e6528cd14 Add wp_unique_post_slug(). Apply it when getting sample permalinks. Props nbachiyski. fixes #6595
git-svn-id: https://develop.svn.wordpress.org/trunk@11071 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 20:21:18 +00:00
Andrew Ozz
ac40df7d99 Add <col> to list of block elements, props CharlieHamu and Denis-de-Bernardy, fixes #9484
git-svn-id: https://develop.svn.wordpress.org/trunk@11070 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 08:28:22 +00:00
Andrew Ozz
d67f8147d5 Make plugin_dir() and plugin_basename() work for mu-plugins directory, props Denis-de-Bernardy, fixes #9561
git-svn-id: https://develop.svn.wordpress.org/trunk@11069 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 08:16:06 +00:00
Ryan Boren
fe2cea5e10 Clarify args to wp_update_term(). Props simonwheatley, johnbillion. fixes #9293
git-svn-id: https://develop.svn.wordpress.org/trunk@11068 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 08:05:36 +00:00
Ryan Boren
2323b85540 Return empty list if requests bookmark category does not exist. Props Viper007Bond. fixes #7507
git-svn-id: https://develop.svn.wordpress.org/trunk@11064 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 05:39:33 +00:00
Ryan Boren
cd7a5b36b1 Formatting cleanups. Props Viper007Bond. fixes #8703
git-svn-id: https://develop.svn.wordpress.org/trunk@11062 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 22:56:52 +00:00
Ryan Boren
c43d9ccbdc Always display the default header when previewing a theme. Props Viper007Bond. fixes #9152
git-svn-id: https://develop.svn.wordpress.org/trunk@11061 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 22:32:35 +00:00
Ryan Boren
7af4f1b84d Add comment-reply-login class. Props mattwalters. fixes #8633
git-svn-id: https://develop.svn.wordpress.org/trunk@11060 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 21:27:07 +00:00
Ryan Boren
8822f049a3 Fix wp_nonce_ays() go back link. fixes #7436
git-svn-id: https://develop.svn.wordpress.org/trunk@11059 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 21:08:19 +00:00
Andrew Ozz
bb93b6bab4 Queue all default scripts for the head when a custom script lists them as dependencies, fixes #9620
git-svn-id: https://develop.svn.wordpress.org/trunk@11058 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 21:01:36 +00:00
Ryan Boren
563583c87b Don't notify post author of own comments. Props Denis-de-Bernardy. fixes #8695
git-svn-id: https://develop.svn.wordpress.org/trunk@11057 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 20:55:04 +00:00
Ryan Boren
7252c98c54 Add page-id-x class to body for pages. jamescollins. see #7939
git-svn-id: https://develop.svn.wordpress.org/trunk@11054 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 17:46:51 +00:00
Ryan Boren
a6fac0db89 Faster query to see if page has children
git-svn-id: https://develop.svn.wordpress.org/trunk@11053 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 17:45:20 +00:00
Andrew Ozz
82e956b997 wordcount.js fix for nbsp passed as #160 char, props Denis-de-Bernardy, fixes #9597
git-svn-id: https://develop.svn.wordpress.org/trunk@11050 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 09:29:43 +00:00
Andrew Ozz
1dd8d336aa Add a complementary get_* function for posts_nav_link(), props filosofo, fixes #9094
git-svn-id: https://develop.svn.wordpress.org/trunk@11049 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 08:44:37 +00:00
Andrew Ozz
27cf3f2991 Don't output <br /> for empty posts, props Denis-de-Bernardy, fixes #6128
git-svn-id: https://develop.svn.wordpress.org/trunk@11048 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 07:37:24 +00:00
Andrew Ozz
75dba91661 Optionally use the class name as id_base, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11045 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 04:01:20 +00:00
Ryan Boren
c9b0e3b49a get_terms_orderby, get_terms_fields, and tag_clooud-sort filters. Props jhodgdon, filosofo. fixes #9004
git-svn-id: https://develop.svn.wordpress.org/trunk@11037 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 22:13:44 +00:00
Ryan Boren
eef3fe8028 Wrap get_user_by() in function_exists check. Props alexrabe. fixes #9617
git-svn-id: https://develop.svn.wordpress.org/trunk@11033 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 20:27:22 +00:00
Ryan Boren
360ffa3fb5 Fix typing in cat_is_ancestor_of(). Props filosofo. fixes #9614
git-svn-id: https://develop.svn.wordpress.org/trunk@11031 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 19:42:28 +00:00
Ryan Boren
b9bfa4aade Handle upgrade of old text widgets. Props Denis-de-Bernardy. fixes #9608
git-svn-id: https://develop.svn.wordpress.org/trunk@11030 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 19:40:20 +00:00
Ryan Boren
af2d2e6bfa Eliminate unecessary preg_replace. Props bernzilla, Denis-de-Bernardy. fixes #5624
git-svn-id: https://develop.svn.wordpress.org/trunk@11024 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 22:15:14 +00:00
Ryan Boren
4dc60fe8bb Allow pipes through clean_url(). Props scohoust. fixes #7145
git-svn-id: https://develop.svn.wordpress.org/trunk@11023 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 22:02:17 +00:00
Ryan Boren
021a12edf6 Fix warning in wp_ob_end_flush_all(). Props richcon. fixes #5109
git-svn-id: https://develop.svn.wordpress.org/trunk@11020 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 20:35:31 +00:00
Ryan Boren
66ab91564b Cast to array to fix warning. Props johnkolbert, Denis-de-Bernardy. fixes #9128
git-svn-id: https://develop.svn.wordpress.org/trunk@11019 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 20:03:20 +00:00
Ryan Boren
3d3d56b538 Add option to run wpautop for text widget. Props Denis-de-Bernardy. fixes #5113
git-svn-id: https://develop.svn.wordpress.org/trunk@11018 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 19:59:46 +00:00
Ryan Boren
ae16b19350 Fix PHP error in magpie. Props jsixpack. fixes #9225
git-svn-id: https://develop.svn.wordpress.org/trunk@11016 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 19:37:29 +00:00
Ryan Boren
b14a9bdf3d Update Jcrop to 0.9.8. Props nbachiyski. fixes #9545
git-svn-id: https://develop.svn.wordpress.org/trunk@11015 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 19:34:27 +00:00
Ryan Boren
12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Ryan Boren
7908795548 Add some CYA clean_url()s
git-svn-id: https://develop.svn.wordpress.org/trunk@11011 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 17:46:46 +00:00
Andrew Ozz
cf45258321 Add and edit widget when js is disabled, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11009 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 10:58:50 +00:00
Ryan Boren
96467705d7 Make user_nicenames unique. Props Denis-de-Bernardy. fixes #1626
git-svn-id: https://develop.svn.wordpress.org/trunk@10997 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-18 23:21:20 +00:00
Andrew Ozz
9df5870221 TinyMCE 3.2.2.3_1087 fixes WebKit bug in Sizzle.js among others
git-svn-id: https://develop.svn.wordpress.org/trunk@10994 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 22:43:57 +00:00
Ryan Boren
fcb4384381 Cache user lookups made by nicename. Add get_user_by(). fixes #4170
git-svn-id: https://develop.svn.wordpress.org/trunk@10992 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 21:25:11 +00:00
Ryan Boren
4fbd3a712a Fix unregister_widget(). see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10991 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 20:45:33 +00:00
Ryan Boren
77a64d69a5 make_clickable() regex fixes. Props piouPiouM. fixes #9390
git-svn-id: https://develop.svn.wordpress.org/trunk@10989 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 16:51:53 +00:00
Andrew Ozz
ad021e44ad Submit the form when setting items per page option so it's visible straight away
git-svn-id: https://develop.svn.wordpress.org/trunk@10987 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 12:46:53 +00:00
Ryan Boren
ece424d95e Add comments_atom_head action. Props neoxx, Denis-de-Bernardy. fixes #6186
git-svn-id: https://develop.svn.wordpress.org/trunk@10984 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 07:09:06 +00:00
Ryan Boren
ed74bba997 Add url filters. Props coffee2code. see #7709
git-svn-id: https://develop.svn.wordpress.org/trunk@10983 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 07:05:41 +00:00
Ryan Boren
1c97a58522 Use comments_open() and pings_open(). Props coffee2code. fixes #9557
git-svn-id: https://develop.svn.wordpress.org/trunk@10982 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 07:02:55 +00:00
Ryan Boren
91edad4f95 Add wp_trim_excerpt filter. Props coffee2code. fixes #9558
git-svn-id: https://develop.svn.wordpress.org/trunk@10981 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 06:59:33 +00:00
Ryan Boren
19ee134325 unregister_widget(). see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10979 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 05:54:07 +00:00
Mark Jaquith
b190328260 Dots in post slugs should be dashed, not dropped. props Denis-de-Bernardy. fixes #9489
git-svn-id: https://develop.svn.wordpress.org/trunk@10977 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 03:28:55 +00:00
Mark Jaquith
c4dc6ef860 Clean up is_blog_installed(), remove redundant or unnecessary code. see #8947
git-svn-id: https://develop.svn.wordpress.org/trunk@10974 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 01:43:53 +00:00
Andrew Ozz
bf48851d29 Spaced hyphens into spaced dashes, props ionfish, fixes #8161
git-svn-id: https://develop.svn.wordpress.org/trunk@10973 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 01:38:52 +00:00
Andrew Ozz
0fa639d585 Don't use get_catname() (deprecated), props filosofo, see #9550
git-svn-id: https://develop.svn.wordpress.org/trunk@10972 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 01:11:31 +00:00
Ryan Boren
5159541678 Fix handling of old timestamps in wp_reschedule_event(). Props natethelen. fixes #9318
git-svn-id: https://develop.svn.wordpress.org/trunk@10969 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 00:23:48 +00:00
Ryan Boren
f4f1dd5a05 Fix headers array processing for wp_mail(). Props gortsleigh. fixes #9284
git-svn-id: https://develop.svn.wordpress.org/trunk@10967 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 00:06:18 +00:00
Ryan Boren
b47e7b03fd Create default taxonomies upon init. Props nbachiyski. fixes #9399
git-svn-id: https://develop.svn.wordpress.org/trunk@10965 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 23:17:49 +00:00
Ryan Boren
587e0e979f Clarify phpdoc for wp_set_object_terms(). Props simonwheatley. fixes #9348
git-svn-id: https://develop.svn.wordpress.org/trunk@10963 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 22:19:01 +00:00
Ryan Boren
eaa749e545 Add comment-body class. Props docwhat. fixes #9301
git-svn-id: https://develop.svn.wordpress.org/trunk@10961 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 22:15:12 +00:00
Ryan Boren
9abb5b2f3e Add link to password recovery in login error messages. Props Denis-de-Bernardy. fixes #9442
git-svn-id: https://develop.svn.wordpress.org/trunk@10960 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 22:07:25 +00:00
Ryan Boren
5ea68d0c9c Deprecae get_catname(). Props filosofo. fixes #9550
git-svn-id: https://develop.svn.wordpress.org/trunk@10959 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 22:03:45 +00:00
Ryan Boren
fdc0e0b555 Optimize install check by checking alloptions cache before doing a separate query. Props joostdevalk. fixes #8947
git-svn-id: https://develop.svn.wordpress.org/trunk@10958 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 22:00:39 +00:00
Mark Jaquith
6ed53a4461 Sanitize when querying against category name so that multiple-word subcategories match. props filosofo. fixes #8619
git-svn-id: https://develop.svn.wordpress.org/trunk@10956 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 21:47:42 +00:00
Mark Jaquith
84b875a903 Return false for corrupted serialized strings. props Denis-de-Bernardy. fixes #9549
git-svn-id: https://develop.svn.wordpress.org/trunk@10955 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 21:03:18 +00:00
Ryan Boren
99b5b3693b Fix teaser stripping when no teaser. Props makibo, simonwheatley. fixes #6312
git-svn-id: https://develop.svn.wordpress.org/trunk@10954 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 19:43:01 +00:00
Ryan Boren
8a4bc7dabe Translate defaults. Props nbachiyski. fixes #9548
git-svn-id: https://develop.svn.wordpress.org/trunk@10953 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 18:51:50 +00:00
Ryan Boren
f5020f43d2 Remove unneeded spaces. Props Denis-de-Bernardy. fixes #108
git-svn-id: https://develop.svn.wordpress.org/trunk@10952 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 18:47:41 +00:00
Ryan Boren
18892308b0 Add page class to get_boddy_class(). Props nathanrice. fixes #9514
git-svn-id: https://develop.svn.wordpress.org/trunk@10950 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 18:22:27 +00:00
Ryan Boren
799a2c59ed Add page classes to page attachments. Props minusfive. fixes #9472
git-svn-id: https://develop.svn.wordpress.org/trunk@10947 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 17:37:58 +00:00
Ryan Boren
c600d21efa Add echo arg to tag cloud. Props DD32. fixes #5710
git-svn-id: https://develop.svn.wordpress.org/trunk@10946 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 17:32:06 +00:00
Ryan Boren
eef293ff04 Add WAI-ARIA landmark roles to default theme. Props peterkz. fixes #9408
git-svn-id: https://develop.svn.wordpress.org/trunk@10945 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 16:42:32 +00:00
Andrew Ozz
9a62b02dfe CSS cleanup and fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@10943 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 04:41:05 +00:00
Andrew Ozz
3ca11d47c9 Disable PHP error reporting in gears-manifest.php, load-scripts.php and load-styles.php since they don't load wp-settings, fix some notices
git-svn-id: https://develop.svn.wordpress.org/trunk@10939 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 19:55:41 +00:00
Ryan Boren
7c02549e4c Allow m4v. Props hailin. fixes #9541
git-svn-id: https://develop.svn.wordpress.org/trunk@10938 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 19:36:09 +00:00
Ryan Boren
1528af55df Define wp_clone() before loading the cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@10937 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 19:14:43 +00:00
Ryan Boren
378932c255 Escape title. Props GamerZ. fixes #9540
git-svn-id: https://develop.svn.wordpress.org/trunk@10936 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 17:12:31 +00:00
Ryan Boren
b02ee27548 Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@10934 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-14 22:34:51 +00:00
Ryan Boren
2eae08c088 Updates to wp_login_url() and wp_logout_url(). Use them in more places. Props wnorris. fixes #9536
git-svn-id: https://develop.svn.wordpress.org/trunk@10931 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-14 18:31:49 +00:00
Ryan Boren
3ae543cf47 Check if SimplePie class is already defined.
git-svn-id: https://develop.svn.wordpress.org/trunk@10929 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-14 17:02:24 +00:00
Andrew Ozz
dfd17477f1 Fold widget after saving, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@10926 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-13 17:08:13 +00:00
Andrew Ozz
e01670f1c8 Widgets: open when adding, clean-up AJAX calls, slower animation/less jumping in IE, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@10922 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-13 16:20:58 +00:00
Ryan Boren
866d4203ed robots.txt is not home. Props johnbillion. fixes #9482
git-svn-id: https://develop.svn.wordpress.org/trunk@10920 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-13 16:15:44 +00:00
Ryan Boren
447dd72511 Run RTL CSS urls through the style_loader_src filter. Props nbachiyski. fixes #9528
git-svn-id: https://develop.svn.wordpress.org/trunk@10918 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-13 16:07:27 +00:00
Andrew Ozz
8e48888e47 Widgets page, first run, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@10912 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-11 14:37:24 +00:00
Ryan Boren
36cb5cd05b phpdoc updates for wpdb. Props mdawaffe. fixes #9506
git-svn-id: https://develop.svn.wordpress.org/trunk@10911 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-10 21:57:40 +00:00
Ryan Boren
f88a61fac5 Store field types in wpdb object. Props mdawaffe. see #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10910 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-10 21:56:30 +00:00
Ryan Boren
d957761a32 Backtick table and column names. Props mdawaffe. fixes #9505
git-svn-id: https://develop.svn.wordpress.org/trunk@10907 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-10 21:37:19 +00:00
Ryan Boren
f7df1f116e Add option to check if term exists with given parent. Update ajax add-cat check to pass parent when checking if cat exists.
git-svn-id: https://develop.svn.wordpress.org/trunk@10905 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-10 20:58:25 +00:00
Ryan Boren
46490b01a5 Notice fixes. Props DD32. fixes #9502
git-svn-id: https://develop.svn.wordpress.org/trunk@10904 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-10 04:34:44 +00:00
Andrew Ozz
10aaa00f62 Tag descriptions, props aaroncampbell, fixes #9381
git-svn-id: https://develop.svn.wordpress.org/trunk@10903 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-09 16:00:40 +00:00
Andrew Ozz
9cf560011c Append "-css" to the IDs for <link rel="stylesheet"> tags in the head, props Denis-de-Bernardy, fixes #9486
git-svn-id: https://develop.svn.wordpress.org/trunk@10899 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-08 22:49:39 +00:00
Peter Westwood
f84a032000 Improve cron phpdoc.
git-svn-id: https://develop.svn.wordpress.org/trunk@10898 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-08 20:16:59 +00:00
Ryan Boren
ce72db431f Add date_i18n filter. Props Denis-de-Bernardy. fixes #9396
git-svn-id: https://develop.svn.wordpress.org/trunk@10897 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-08 19:56:58 +00:00
Ryan Boren
29c7cbf6c6 Allowing displaying links from a specific category in the links widget. Props Denis-de-Bernardy. fixes #9449
git-svn-id: https://develop.svn.wordpress.org/trunk@10896 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-08 19:37:33 +00:00
Peter Westwood
49797a374a Correct phpdoc for update_user_option.
git-svn-id: https://develop.svn.wordpress.org/trunk@10891 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-08 18:24:49 +00:00
Ryan Boren
91dc06e264 Invoke the_tags filter in the_tags(). Props scribu. fixes #9436
git-svn-id: https://develop.svn.wordpress.org/trunk@10888 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-07 23:54:16 +00:00
Peter Westwood
71da14eb1d Allow the update period to be filtered in RSS/RDF feeds. Fixes #9133 props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@10886 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-07 17:42:17 +00:00
Andrew Ozz
066b37cc53 Fix css for the submit box on the Edit Comment screen
git-svn-id: https://develop.svn.wordpress.org/trunk@10884 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-07 14:55:24 +00:00
Andrew Ozz
7f277c435c Fix confirmation for second bulk delete, fixes #9473
git-svn-id: https://develop.svn.wordpress.org/trunk@10881 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-06 22:21:45 +00:00
Ryan Boren
1a1bd4494c Don't trigger loop start in get_body_class(). Props Denis-de-Bernardy. fixes #9457
git-svn-id: https://develop.svn.wordpress.org/trunk@10877 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-06 15:42:12 +00:00
Peter Westwood
3748a7731e Move byuser to a seperate array entry to ease filtering by plugins. Fixes #9465 for trunk props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@10875 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-05 17:38:19 +00:00
Peter Westwood
16ab2e1302 Let a plugin filter the expanded capabilities returned by map_meta_cap. Fixes #9462 props rmccue.
git-svn-id: https://develop.svn.wordpress.org/trunk@10874 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-05 17:23:04 +00:00
Andrew Ozz
bd0313e3bc Styling and minor improvements for items per page option
git-svn-id: https://develop.svn.wordpress.org/trunk@10872 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-05 08:25:10 +00:00
Ryan Boren
17bd503fb4 Correct spelling. Props jbsil. see #4011
git-svn-id: https://develop.svn.wordpress.org/trunk@10870 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-04 17:55:48 +00:00
Andrew Ozz
9ff40f470b Improved no-js styles
git-svn-id: https://develop.svn.wordpress.org/trunk@10869 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-04 17:07:31 +00:00
Andrew Ozz
96dc28968e Set the taxonomy/term when using a custom ?tax_slug=term_slug query, props DD32, fixes #9453
git-svn-id: https://develop.svn.wordpress.org/trunk@10866 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-04 10:48:22 +00:00
Andrew Ozz
ca129da990 Fix flash upload button, right sidebar on write pages in IE6
git-svn-id: https://develop.svn.wordpress.org/trunk@10865 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-04 10:21:43 +00:00
Ryan Boren
5f2218455d Proxy support. Props DD32. see #4011
git-svn-id: https://develop.svn.wordpress.org/trunk@10864 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-03 18:23:13 +00:00
Ryan Boren
f544f21ad3 Make jCrop compatible with noConflict. Props nbachiyski. fixes #9375
git-svn-id: https://develop.svn.wordpress.org/trunk@10863 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-03 18:18:47 +00:00
Ryan Boren
9a238639a4 Add pre_transient filter
git-svn-id: https://develop.svn.wordpress.org/trunk@10862 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-03 16:19:25 +00:00
Andrew Ozz
76b036f33b Put back jQuery.noConflict(), props Ryan
git-svn-id: https://develop.svn.wordpress.org/trunk@10861 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-03 02:36:14 +00:00
Ryan Boren
36859acb5c Move deleted_post back. Props Denis-de-Bernardy . see #9422
git-svn-id: https://develop.svn.wordpress.org/trunk@10858 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-01 16:10:14 +00:00
Mark Jaquith
a55e87736b PHP Notice fix for non-normative nonce action strings. props Viper007Bond. see #9393
git-svn-id: https://develop.svn.wordpress.org/trunk@10857 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-01 05:52:05 +00:00
Ryan Boren
fa588c3598 Remove spurious character. Props hakre. fixes #9428
git-svn-id: https://develop.svn.wordpress.org/trunk@10853 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-31 22:01:51 +00:00
Ryan Boren
6dfc7d31ba Enforce consistent ID types to allow for foreign keys to be defined between tables. Props Denis-de-Bernardy. see #9422
git-svn-id: https://develop.svn.wordpress.org/trunk@10852 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-31 21:57:51 +00:00
Ryan Boren
c3d0a6fe71 Fix delete statements to ensure data integrity when innodb and foreign keys are used. Props Denis-de-Bernardy. see #9422
git-svn-id: https://develop.svn.wordpress.org/trunk@10851 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-31 19:16:53 +00:00
Andrew Ozz
ac2b09ccc8 Fix highlighting of the whole page while dragging a sortable in WebKit, ajax tag cloud for non-admin users
git-svn-id: https://develop.svn.wordpress.org/trunk@10849 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-28 08:21:43 +00:00
Ryan Boren
64aae34fdc Bind to submit event. Bump script loader.
git-svn-id: https://develop.svn.wordpress.org/trunk@10848 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-27 22:58:53 +00:00
Ryan Boren
d861062501 Use Jcrop for cropping. see #9375
git-svn-id: https://develop.svn.wordpress.org/trunk@10846 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-27 16:45:55 +00:00
Andrew Ozz
38fb326258 TinyMCE 3.2.2.3, has several bugfixes
git-svn-id: https://develop.svn.wordpress.org/trunk@10845 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-27 12:57:25 +00:00
Andrew Ozz
cee4e8641c Make uploader selection "sticky"
git-svn-id: https://develop.svn.wordpress.org/trunk@10844 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-27 08:36:51 +00:00
Ryan Boren
85aa38df9b Make random_seed a transient
git-svn-id: https://develop.svn.wordpress.org/trunk@10838 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-25 20:03:57 +00:00
Andrew Ozz
e57d0ac693 Add toggle all button to the Gallery tab in the uploader
git-svn-id: https://develop.svn.wordpress.org/trunk@10837 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-25 17:20:03 +00:00
Ryan Boren
a1037e9954 Show template files in subdirs. Props DD32. fixes #4131
git-svn-id: https://develop.svn.wordpress.org/trunk@10835 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-25 16:51:08 +00:00
Andrew Ozz
759fde9021 jQuery 1.3.2 and UI 1.7.1, may still have some regressions, add screen columns setting to the write/edit post/page screen options, fixes #8867
git-svn-id: https://develop.svn.wordpress.org/trunk@10834 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-25 14:29:22 +00:00
Ryan Boren
7dacf5fd96 Validation fixes. Props Viper007Bond. fixes #9387
git-svn-id: https://develop.svn.wordpress.org/trunk@10832 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-24 15:27:17 +00:00
Peter Westwood
9fdd1163b5 Set a short timeout for the SSL discovery support so that we don't block requests until the attempt timesout. Fixes #9380 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10830 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-23 22:05:04 +00:00
Andrew Ozz
28db896510 Fix notice in wp-includes/theme.php, props filosofo, fixes #9336
git-svn-id: https://develop.svn.wordpress.org/trunk@10825 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-20 00:52:42 +00:00
Andrew Ozz
f5942a0a73 Less confusing regex, props filosofo, fixes #9244
git-svn-id: https://develop.svn.wordpress.org/trunk@10824 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-20 00:30:32 +00:00
Andrew Ozz
a779b2e002 More theme install styling, see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10823 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-20 00:14:57 +00:00
Ryan Boren
9b39471cc0 Move WP_Widget to the top
git-svn-id: https://develop.svn.wordpress.org/trunk@10822 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-19 22:10:18 +00:00
Andrew Ozz
4fa9b6b1b2 Fix alignment and blockquote when multiple paragraphs are selected in TinyMCE, fixes #9361
git-svn-id: https://develop.svn.wordpress.org/trunk@10817 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-19 08:52:45 +00:00
Peter Westwood
6963c9d1b9 Add relational links to next/prev/parent posts. See #8703 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@10815 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 21:56:03 +00:00
Peter Westwood
88600c7fdb Allow a plugin to filter the classes applied in wp_list_pages. Fixes #9304 props willnorris.
git-svn-id: https://develop.svn.wordpress.org/trunk@10814 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 21:43:51 +00:00
Peter Westwood
c8d46a6a36 Allow wp_delete_term users to force all objects to have a new term applied. Allow for category merging use-case. Fixes #9355.
git-svn-id: https://develop.svn.wordpress.org/trunk@10813 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 21:06:49 +00:00
Ryan Boren
f6273323c0 Add some phpdoc to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10812 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 07:20:58 +00:00
Ryan Boren
8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren
1290b81a4f Move categories widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10809 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 01:50:20 +00:00
Ryan Boren
0b25a700cb Introduce singleton widget factory
git-svn-id: https://develop.svn.wordpress.org/trunk@10808 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 23:44:36 +00:00
Ryan Boren
184e5b69e8 Echo submit field from base class so widgets don't have to do it.
git-svn-id: https://develop.svn.wordpress.org/trunk@10807 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 21:20:19 +00:00
Ryan Boren
6f6ef8709a Pass the unprocessed title to the sanitize_title filter. Props chineseleper. fixes #8981 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10804 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 17:42:54 +00:00
Ryan Boren
fc7b52bb1a Check if error. Props simonwheatley. fixes #9345
git-svn-id: https://develop.svn.wordpress.org/trunk@10803 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 16:42:21 +00:00
Ryan Boren
dce7bff2eb Move text widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10802 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 15:39:36 +00:00
Ryan Boren
ea91a8791a Move submit check into WP_Widget
git-svn-id: https://develop.svn.wordpress.org/trunk@10801 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 02:58:15 +00:00
Ryan Boren
88cc08d193 Move calendar widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10800 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 02:41:28 +00:00
Ryan Boren
a9414a120c Move calendar widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10799 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 02:33:08 +00:00
Ryan Boren
b05ffb1229 Separate widget form and update callbacks.
git-svn-id: https://develop.svn.wordpress.org/trunk@10798 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 00:59:42 +00:00
Ryan Boren
2f2d20a037 Move meta widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10797 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 22:45:16 +00:00
Ryan Boren
0da2613a2c Move meta widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10796 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 22:44:30 +00:00
Ryan Boren
90931b60f0 Separate default widgets from widgets API. Always load API. fixes #9349
git-svn-id: https://develop.svn.wordpress.org/trunk@10795 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 22:02:40 +00:00
Ryan Boren
cf340322af Move archives widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10794 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 21:44:36 +00:00
Andrew Ozz
09961ff3ac Add sort order for the gallery in the uploader
git-svn-id: https://develop.svn.wordpress.org/trunk@10793 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 13:05:09 +00:00
Andrew Ozz
d3d2d3ba28 TinyMCE 3.2.2
git-svn-id: https://develop.svn.wordpress.org/trunk@10791 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-15 16:55:49 +00:00
Andrew Ozz
7efda16c61 Fix php warning in widgets.php, props zeronex, fixes #9330
git-svn-id: https://develop.svn.wordpress.org/trunk@10789 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-15 11:18:09 +00:00
Andrew Ozz
2327dd41c7 Theme install style tweaks, see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10788 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-15 11:04:34 +00:00
Ryan Boren
5685b381a9 Prune. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10786 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-14 17:25:59 +00:00
Ryan Boren
5ec8505579 Convert pages to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10785 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-14 17:24:11 +00:00
Ryan Boren
d20a34c176 Convert search to WP_Widget. Handle upgrade of widgets without settings. Make form and update override optional. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10784 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-14 16:34:08 +00:00
Andrew Ozz
a23fda87b3 Fix regex in sanitize_email(), props sambauers, see #9316
git-svn-id: https://develop.svn.wordpress.org/trunk@10783 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-14 01:35:47 +00:00
Ryan Boren
b114706bcb s/WP_Widgets/WP_Widget/ and move class to widgets.php
git-svn-id: https://develop.svn.wordpress.org/trunk@10782 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 23:18:57 +00:00
Andrew Ozz
3689f64ee3 WP_Widgets: make save_settings() and get_settings() separate methods, convert defined single widgets settings to multi-widget format, small fixes for the Links widget, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10781 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 22:27:38 +00:00
Ryan Boren
a8f8d9bdad Remove category ordering. Props filosofo. fixes #9228
git-svn-id: https://develop.svn.wordpress.org/trunk@10779 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 22:01:33 +00:00
Ryan Boren
bcdc0c5021 get_comment_link filter. Props Viper007Bond. fixes #9327
git-svn-id: https://develop.svn.wordpress.org/trunk@10778 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 21:58:18 +00:00
Andrew Ozz
297703490b Fix regex function in sanitize_email(), see #9316
git-svn-id: https://develop.svn.wordpress.org/trunk@10777 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 19:04:39 +00:00
Ryan Boren
5d8651d6f3 gettext comments. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10774 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 03:53:39 +00:00
Ryan Boren
6882d8299f Add core_version_check_locale filter. Props nbachiyski. see #8729
git-svn-id: https://develop.svn.wordpress.org/trunk@10772 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-11 23:37:33 +00:00
Ryan Boren
89c67a8b40 Improved is_email() and sanitize_email(). Props sambauers. fixes #9316 #4616
git-svn-id: https://develop.svn.wordpress.org/trunk@10769 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-11 15:26:34 +00:00
Ryan Boren
459a1abca8 Set autoload in populate options query
git-svn-id: https://develop.svn.wordpress.org/trunk@10768 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-11 01:07:12 +00:00
Ryan Boren
1952e923f8 gettext contexts. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10767 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 23:02:29 +00:00
Mark Jaquith
842a28e67c Introducing plugin_dir_path(__FILE__) and plugin_dir_url(__FILE__) ... simple API functions for determining the directory path/url of the current plugin file
git-svn-id: https://develop.svn.wordpress.org/trunk@10765 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 19:50:55 +00:00
Andrew Ozz
bcb764b964 Add WP_Widget class, first run - only the Links widget is using it at the moment, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10764 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 19:42:22 +00:00
Ryan Boren
a1c34fd65d Reparent children when deleting a comment. Props vladimir_kolesnikov. fixes #9003
git-svn-id: https://develop.svn.wordpress.org/trunk@10762 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 19:02:27 +00:00
Ryan Boren
ae126fa1f8 Remove leading newlines. Props filosofo. fixes #9096
git-svn-id: https://develop.svn.wordpress.org/trunk@10758 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 18:25:04 +00:00
Ryan Boren
b3564121ba Show DST info. Map old offest to Etc zones. Props Otto42. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10757 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 16:14:50 +00:00
Ryan Boren
47ddb47954 Filter continents in the first loop. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10756 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 15:26:52 +00:00
Ryan Boren
e370b4740f Exclude deprecated timezones. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10755 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 15:24:12 +00:00
Ryan Boren
2e9a9d1426 Timezone support. Props Otto42. see #3962
git-svn-id: https://develop.svn.wordpress.org/trunk@10753 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 00:50:00 +00:00
Ryan Boren
d03ab79a73 rename simplepie.inc to class-simplepie.php. fixes #9295
git-svn-id: https://develop.svn.wordpress.org/trunk@10747 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-09 00:25:48 +00:00
Andrew Ozz
7077851ba0 Remember scrollTop in Quicktags, props gmpfree, fixes #9161
git-svn-id: https://develop.svn.wordpress.org/trunk@10745 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-08 06:10:28 +00:00
Andrew Ozz
0f0186dc3c Add alt text and filter to wp_get_attachment_image(), props Sam_a, fixes #8732
git-svn-id: https://develop.svn.wordpress.org/trunk@10744 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-08 05:42:17 +00:00
Andrew Ozz
82cf6e6383 Better error handling and display in the RSS widget, props DD32, fixes #8495
git-svn-id: https://develop.svn.wordpress.org/trunk@10742 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-08 05:01:26 +00:00
Andrew Ozz
88cae82656 feed_links_extra() DRY, props scribu, fixes #9291
git-svn-id: https://develop.svn.wordpress.org/trunk@10741 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-07 21:34:01 +00:00
Andrew Ozz
5c0e3673e8 Updated List of HTTP status codes, props Askapache, fixes #9297
git-svn-id: https://develop.svn.wordpress.org/trunk@10740 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-07 21:05:54 +00:00
Andrew Ozz
ec97268ea7 Add RSS Error handling functionality to RSS Widget displays, props DD32, fixes #9273
git-svn-id: https://develop.svn.wordpress.org/trunk@10739 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-07 19:44:28 +00:00
Ryan Boren
c660e9c398 Notice fix. Props ionfish. fixes #9292
git-svn-id: https://develop.svn.wordpress.org/trunk@10735 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 17:09:37 +00:00
Ryan Boren
88894e7df1 Add index on taxonomy. see #7415
git-svn-id: https://develop.svn.wordpress.org/trunk@10733 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 08:26:45 +00:00
Ryan Boren
4006d1a355 Order by comment_date_gmt
git-svn-id: https://develop.svn.wordpress.org/trunk@10732 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 08:16:35 +00:00
Ryan Boren
a5d73d7a2f Use wpdb::insert() and update(). see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10731 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 05:06:15 +00:00
Ryan Boren
1fb1534e8f Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10730 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 04:27:51 +00:00
Andrew Ozz
52a4f412ba Force-wrap comments in Recent Comments on the dashboard, expand width when no avatar, fixes #9283
git-svn-id: https://develop.svn.wordpress.org/trunk@10729 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 03:20:38 +00:00
Ryan Boren
a746eb920a Only list field types that are not strings. see #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10726 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 01:06:00 +00:00
Ryan Boren
f6001bffe8 Add some default field types. see #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10725 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 00:50:19 +00:00
Ryan Boren
5851028d31 Add typecasting to wpdb::insert() and update(). Props filosofo. fixes #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10724 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 23:47:02 +00:00
Ryan Boren
a3ff3cdbf2 Allow passing sustitution args to prepare() as an array. Makes building queries for prepare easier.
git-svn-id: https://develop.svn.wordpress.org/trunk@10721 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 22:15:17 +00:00
Ryan Boren
c892071f81 Links widget options. Props DD32. see #9196
git-svn-id: https://develop.svn.wordpress.org/trunk@10712 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 23:49:21 +00:00
Ryan Boren
0de39db9fd Check for empty meta keys. Props Denis-de-Bernardy, markedwards. fixes #7953
git-svn-id: https://develop.svn.wordpress.org/trunk@10711 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 22:59:16 +00:00
Ryan Boren
d6978c424f Fix calendar widget when there are no posts. Optimize query. Props Denis-de-Bernardy. fixes #6442
git-svn-id: https://develop.svn.wordpress.org/trunk@10708 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 22:28:45 +00:00
Ryan Boren
b5d7564f50 Add compat for mb_substr rather than mb_strcut. fixes #9055
git-svn-id: https://develop.svn.wordpress.org/trunk@10707 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 22:05:49 +00:00
Ryan Boren
5f5744e143 Allow comments_popup_link() for is_single and is_page. Props AaronCampbell, sivel. fixes #4832
git-svn-id: https://develop.svn.wordpress.org/trunk@10704 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 20:26:56 +00:00
Ryan Boren
3548fa79f9 Deprecate get_category_children(). Props filosofo. fixes #9007
git-svn-id: https://develop.svn.wordpress.org/trunk@10703 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 19:53:17 +00:00
Ryan Boren
8e9edf3e5a Use mb_substr instead of mb_strcut in wp_html_excerpt. Props demetris. fixes #9055
git-svn-id: https://develop.svn.wordpress.org/trunk@10702 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 19:41:18 +00:00
Ryan Boren
ee2a7bf311 Add RSS Error handling functionality to RSS Widget displays. Props DD32. fixes #9273
git-svn-id: https://develop.svn.wordpress.org/trunk@10697 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 19:24:48 +00:00
Peter Westwood
71502d6382 Syncronise the queries used for attachment slug uniqueness checking. Fixes #4396 props futurix and Nazgul.
git-svn-id: https://develop.svn.wordpress.org/trunk@10693 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 08:03:02 +00:00
Peter Westwood
a179893991 First pass of HTTP Proxy support. See #4011 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@10692 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 07:28:39 +00:00
Ryan Boren
76a0466145 Add auth_cookie_expiration filter
git-svn-id: https://develop.svn.wordpress.org/trunk@10691 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-03 22:51:55 +00:00
Ryan Boren
91e3bd9358 Pass blog charset to html_entity_decode(). Props adferguson. fixes #7563
git-svn-id: https://develop.svn.wordpress.org/trunk@10688 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-03 18:37:25 +00:00
Ryan Boren
b68fd0794e Use WordPress HTTP class for SimplePie requests. Props DD32. fixes #9247
git-svn-id: https://develop.svn.wordpress.org/trunk@10687 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-03 17:41:01 +00:00
Ryan Boren
0a4022978b Add auth_redirect action
git-svn-id: https://develop.svn.wordpress.org/trunk@10685 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-02 23:42:28 +00:00
Ryan Boren
d268b67e84 Fix wp_authenticate_user hook
git-svn-id: https://develop.svn.wordpress.org/trunk@10683 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-02 22:25:55 +00:00
Peter Westwood
0560f26f76 Allow a plugin to change the jpeg image quality. Fixes #9245 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@10682 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-02 21:55:40 +00:00
Ryan Boren
5b4d3c536d Add some error feedback to ajax comment moderation. see #9261
git-svn-id: https://develop.svn.wordpress.org/trunk@10681 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-02 21:48:37 +00:00
Andrew Ozz
bac97149c1 Fix typo, props sambauers
git-svn-id: https://develop.svn.wordpress.org/trunk@10678 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-02 00:28:52 +00:00
Ryan Boren
7a11e84775 Escape hyphen in regex. Props chrisbliss18. fixes #8548 #9244
git-svn-id: https://develop.svn.wordpress.org/trunk@10676 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-01 19:57:37 +00:00
Peter Westwood
17b27fa618 Make the exit call explicit so that it works. Fixes #9248.
git-svn-id: https://develop.svn.wordpress.org/trunk@10672 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-28 09:30:46 +00:00
Ryan Boren
148083569f phpdoc for fetch_feed(). Props rmmcue. see #9198
git-svn-id: https://develop.svn.wordpress.org/trunk@10671 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-28 01:50:47 +00:00
Peter Westwood
1a9d6601e2 Don't pass defaulted argument to checked(). Fixes #9032 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@10670 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 22:15:14 +00:00
Ryan Boren
6ce7b43cbd Display more theme info. see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10668 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 21:22:49 +00:00
Ryan Boren
7062db47c2 Use SimplePie for widget and dashboard feeds. First cut. see #9198
git-svn-id: https://develop.svn.wordpress.org/trunk@10666 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 19:32:50 +00:00
Ryan Boren
8bab50a649 Fix inverted login in get_transient().
git-svn-id: https://develop.svn.wordpress.org/trunk@10665 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 19:21:41 +00:00
Peter Westwood
1a7364a396 Add (get_)the_modified_author template tags. Fixes #9154 props tomontoast.
git-svn-id: https://develop.svn.wordpress.org/trunk@10661 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 17:54:47 +00:00
Peter Westwood
8b613d0854 Put search string into <title> of search results page. Fixes #9103 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@10660 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 17:46:13 +00:00
Peter Westwood
0477e4426d Fix regression in shortcode behaviour. Fixes #9238 props tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@10658 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 17:01:59 +00:00
Ryan Boren
b5069e62f4 Hide theme details. See #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10655 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-26 07:54:33 +00:00
Ryan Boren
7fee5dee72 Revert get_calendar() changes from [10602]. Broke calendar links. see #8351
git-svn-id: https://develop.svn.wordpress.org/trunk@10646 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-25 17:09:29 +00:00
Ryan Boren
62accc75a9 wp_list_authors fixes. Props hailin. fixes #9229
git-svn-id: https://develop.svn.wordpress.org/trunk@10644 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-25 01:13:32 +00:00
Peter Westwood
7410e96063 Refactor the ssl blacklisting support info the individual test functions. Fixes #9078 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@10642 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-24 19:37:02 +00:00
Andrew Ozz
fd98e9081c Allow the dashboard widgets to be arranged in up to four columns. The number of columns can be selected from the Screen Options tab.
git-svn-id: https://develop.svn.wordpress.org/trunk@10641 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-24 02:37:22 +00:00
Peter Westwood
6ccd5c2540 Better Notice fixing and place a protective cast in the cookie handler. Fixes #9068 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@10639 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-23 21:55:49 +00:00
Ryan Boren
54b8501261 Don't trigger wp_login_failed action for empty usernames or passwords.
git-svn-id: https://develop.svn.wordpress.org/trunk@10638 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-23 17:33:02 +00:00
Ryan Boren
0e7b3c3903 set_object_terms action. Props filosofo. fixes #9216
git-svn-id: https://develop.svn.wordpress.org/trunk@10637 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-23 17:13:52 +00:00
Andrew Ozz
90787e8823 Fix wp_tag_cloud 'RAND' when only one tag, props DD32, fixes #9214
git-svn-id: https://develop.svn.wordpress.org/trunk@10636 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-23 09:12:59 +00:00
Andrew Ozz
05d5a09814 Fix typo and add some documentation to script_loader
git-svn-id: https://develop.svn.wordpress.org/trunk@10635 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-23 08:47:49 +00:00
Ryan Boren
4fecb1a03d Fix notice. Props sivel. fixes #9068
git-svn-id: https://develop.svn.wordpress.org/trunk@10633 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-23 06:40:03 +00:00
Ryan Boren
a6850c37ee Remove extra new line after generator. fixes #9095
git-svn-id: https://develop.svn.wordpress.org/trunk@10630 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-23 05:24:14 +00:00
Peter Westwood
8500070897 Wrap the apply_filters call in a function_exists check as this can be called before it is defined. See #9205.
git-svn-id: https://develop.svn.wordpress.org/trunk@10626 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-22 10:09:30 +00:00
Peter Westwood
a79d06b51d Add support for blocking all outbound HTTP requests. Improve HTTP Api phpdoc. Tidy up the poetry. Fixes #8927 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@10625 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-22 09:58:47 +00:00
Ryan Boren
2e0c713ea8 Escape before passing to insert/update post. Props hailin. fixes #9199 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10620 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-22 00:35:42 +00:00
Peter Westwood
271e0f7742 Allow for the HTTP headers returned by WordPress to be filtered by a plugin. Fixes #9205 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@10619 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-21 21:39:06 +00:00
Peter Westwood
cc6baace8f Remove version check against PHP 4.3.0 as this is the minimum version for WordPress. Fixes #9204 for trunk prop filosofo
git-svn-id: https://develop.svn.wordpress.org/trunk@10617 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-21 17:22:18 +00:00
Andrew Ozz
b5e8ea9436 Fix regex in function rss_enclosure(), fixes #9192
git-svn-id: https://develop.svn.wordpress.org/trunk@10615 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-21 06:14:52 +00:00
Andrew Ozz
c4e96ccd38 Add CodePress syntax highlighting to Theme and Plugin editors (first run), props beaulebens, see #9173
git-svn-id: https://develop.svn.wordpress.org/trunk@10614 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-21 02:12:00 +00:00
Ryan Boren
34994fca8b Force term ID to be an int. Props filosofo. fixes #9193
git-svn-id: https://develop.svn.wordpress.org/trunk@10613 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 23:31:46 +00:00
Ryan Boren
854a8d6341 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: https://develop.svn.wordpress.org/trunk@10606 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 19:35:16 +00:00
Ryan Boren
37b231b542 Use mysql_real_escape_string() only in prepare(), insert(), and update(). escape() uses addslashes only. Add array support to escape(). see #9189
git-svn-id: https://develop.svn.wordpress.org/trunk@10604 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 19:05:12 +00:00
Ryan Boren
999851f2cb Add expiration for transients
git-svn-id: https://develop.svn.wordpress.org/trunk@10603 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 02:23:11 +00:00
Ryan Boren
f90ad3f54d Better archives and calendar queries. Props vladimir_kolesnikov. fixes #8351
git-svn-id: https://develop.svn.wordpress.org/trunk@10602 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-19 22:53:19 +00:00
Ryan Boren
843229bc36 Remove meta_value from selected fields. Props filosofo. fixes #9177
git-svn-id: https://develop.svn.wordpress.org/trunk@10600 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-19 19:19:20 +00:00
Ryan Boren
023dca55ec Use group by for meta key queries. Props filosofo. fixes #9167 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10598 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-19 19:17:06 +00:00
Ryan Boren
e09712d208 Use real escape in environments that support it. see #5455
git-svn-id: https://develop.svn.wordpress.org/trunk@10597 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-19 19:01:57 +00:00
Andrew Ozz
c1eaa022ba Don't block the Publish button after adding new category, fixes #9174
git-svn-id: https://develop.svn.wordpress.org/trunk@10596 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-19 18:49:47 +00:00
Ryan Boren
db9f12a3be Include ID in get_users_of_blog() results. Props jeremyclarke and filosofo. fixes #9020
git-svn-id: https://develop.svn.wordpress.org/trunk@10595 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-19 18:42:18 +00:00
Ryan Boren
bc444b8594 Make can_compress_scripts a site option. Add site option wrappers for WP.
git-svn-id: https://develop.svn.wordpress.org/trunk@10593 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-18 23:38:11 +00:00
Ryan Boren
9341c41142 More theme preview tidying. see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10592 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-18 22:32:42 +00:00
Ryan Boren
dfc5340e6a Fix preview for theme installer. see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10590 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-18 21:55:00 +00:00
Ryan Boren
bc924291b2 Switch to pomo lib. Support gettext contexts. Deprecate long form functions. Props nbachiyski. fixes #9112 #9111
git-svn-id: https://develop.svn.wordpress.org/trunk@10584 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-17 05:03:29 +00:00
Ryan Boren
283843ddb1 Check for new version when visiting Tools->Upgrade. fixes #9108
git-svn-id: https://develop.svn.wordpress.org/trunk@10583 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-17 00:13:25 +00:00
Andrew Ozz
26cf5ed6a8 Revert to jQuery 1.2.6 until jQuery UI 1.7 is ready, see #8867
git-svn-id: https://develop.svn.wordpress.org/trunk@10581 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-16 22:02:07 +00:00
Ryan Boren
23af8f4060 discover_pingback_server_uri optimizations. Props DD32. fixes #8816
git-svn-id: https://develop.svn.wordpress.org/trunk@10579 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 20:56:54 +00:00
Peter Westwood
cebaec1ed5 Extend plugins_url to allow you to specify the plugin file you want to be relative to so slugs don't need to be hardcoded. Fixes #6341.
git-svn-id: https://develop.svn.wordpress.org/trunk@10578 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 16:50:45 +00:00
Peter Westwood
ab26eb60bc If we have to generate people salts then make them 64 chars long. Fixes #8647 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@10577 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 16:21:28 +00:00
Peter Westwood
7fe219e776 Introduce a simple mechanism for escaping shortcodes by doubling the [[]]. Fixes #6518 props tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@10576 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 16:01:14 +00:00
Peter Westwood
fbee65f20e Add documentation to detail reasoning for default from address. See #5007 props pishmishy
git-svn-id: https://develop.svn.wordpress.org/trunk@10575 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 13:31:43 +00:00
Peter Westwood
306580c200 Use # as the delimiter for preg_match in rewrite rules to allow them to contain !. Fixes #7486 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@10573 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 11:16:54 +00:00
Peter Westwood
101cdfa815 Expose the ability to find out if styles, scripts have already been queued. Fixes #6197 props jacobsantos
git-svn-id: https://develop.svn.wordpress.org/trunk@10572 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 11:04:42 +00:00
Peter Westwood
43cffc6a16 Set the correct header for non POST request to xmlrpc service. Fixes #9093 props joesphscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@10571 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 10:44:36 +00:00
Peter Westwood
3dfe6e23ab Enhance wp_list_authors() to support more of the standard output options. Props jacobsantos see #4420.
git-svn-id: https://develop.svn.wordpress.org/trunk@10570 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 09:06:24 +00:00
Ryan Boren
7822f3aad9 Handle empty pairs in cookies. Props DD32. fixes #9101
git-svn-id: https://develop.svn.wordpress.org/trunk@10565 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-12 20:44:34 +00:00
Ryan Boren
38845db326 Disambiguate 'Approved' translation. Props nbachiyski. fixes #8638
git-svn-id: https://develop.svn.wordpress.org/trunk@10564 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-12 20:42:04 +00:00
Ryan Boren
3a82ccc318 Add cookies arg to defaults to avoid warnings. Props beaulebens. fixes #9049
git-svn-id: https://develop.svn.wordpress.org/trunk@10563 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-12 20:37:23 +00:00
Ryan Boren
d27d34793d Handle links with parens in make_clickable(). Props filosofo. fixes #8300
git-svn-id: https://develop.svn.wordpress.org/trunk@10562 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-12 19:52:43 +00:00
Andrew Ozz
0b4692c400 Feed links: fix arg name, props nbachiyski, fixes #8878
git-svn-id: https://develop.svn.wordpress.org/trunk@10558 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-12 08:52:08 +00:00
Andrew Ozz
ab056a19be Custom taxonomies support: quick edit, delete, show in the menu
git-svn-id: https://develop.svn.wordpress.org/trunk@10557 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-12 08:00:29 +00:00
Ryan Boren
0066076858 Add taxonomy argument to wp_tag_cloud()
git-svn-id: https://develop.svn.wordpress.org/trunk@10554 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-11 23:41:29 +00:00
Ryan Boren
a99acb3cfd Rough first cut of theme browser/installer. Props DD32. see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10553 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-11 23:10:11 +00:00
Ryan Boren
f135b8cabe Commit hook test. fixes #9099
git-svn-id: https://develop.svn.wordpress.org/trunk@10550 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-11 20:18:33 +00:00
Ryan Boren
9c4b03dc58 Commit hook test. fixes #9099
git-svn-id: https://develop.svn.wordpress.org/trunk@10549 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-11 20:18:00 +00:00
Ryan Boren
3efaafdb54 Commit hook test. fixes #9099
git-svn-id: https://develop.svn.wordpress.org/trunk@10548 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-11 20:15:57 +00:00
Ryan Boren
d468840ea9 Commit hook test. fixes #9099
git-svn-id: https://develop.svn.wordpress.org/trunk@10547 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-11 20:11:13 +00:00
Ryan Boren
fc2ca88530 Commit hook test. fixes #9099
git-svn-id: https://develop.svn.wordpress.org/trunk@10546 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-11 20:09:46 +00:00
Ryan Boren
8e33927ed1 Commit hook test. fixes #9099
git-svn-id: https://develop.svn.wordpress.org/trunk@10545 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-11 20:00:30 +00:00
Ryan Boren
3d71d8a32a Use right variable name. Props stringfold. fixes #9090 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10543 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-11 19:36:32 +00:00
Ryan Boren
5448fc8160 If no angle brackets, assume email address. Props donncha. fixes #9086 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10541 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-10 23:51:51 +00:00
Andrew Ozz
b3baf2224a Documentation correction: absint(), props mdawaffe, fixes #9079
git-svn-id: https://develop.svn.wordpress.org/trunk@10540 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-10 21:17:44 +00:00
Andrew Ozz
db63b501d4 Make comment_karma accessible from normal comment API functions, props beaulebens, fixes #9085
git-svn-id: https://develop.svn.wordpress.org/trunk@10536 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-10 19:16:00 +00:00
Andrew Ozz
7e98d2b7f8 Documentation correction: is_active_widget(), props mdawaffe, fixes #9080
git-svn-id: https://develop.svn.wordpress.org/trunk@10535 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-10 15:22:08 +00:00
Andrew Ozz
bfe3dfd22d Automatic fees links: better option name and grammar fix for translation comment, props Viper007Bond, fixes #8878
git-svn-id: https://develop.svn.wordpress.org/trunk@10534 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-10 14:36:14 +00:00
Ryan Boren
49a72a40f6 Add transient_* filter. see #9048
git-svn-id: https://develop.svn.wordpress.org/trunk@10533 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-10 06:26:46 +00:00
Ryan Boren
c85b18238a Add some attribute_escape()s for good measure. see #8878
git-svn-id: https://develop.svn.wordpress.org/trunk@10532 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-09 22:59:54 +00:00
Andrew Ozz
d74690aa2e Don't ask for confirmation when marking a comment as spam
git-svn-id: https://develop.svn.wordpress.org/trunk@10531 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-09 22:46:27 +00:00
Andrew Ozz
99b02478a9 Remove no-js.css, add the styles to admin-header instead
git-svn-id: https://develop.svn.wordpress.org/trunk@10529 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-09 13:50:35 +00:00
Andrew Ozz
8f2083b8da Autosave post/page when pressing Control/Command+S in TinyMCE, props srobbin, fixes #9060
git-svn-id: https://develop.svn.wordpress.org/trunk@10528 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-08 18:37:47 +00:00
Andrew Ozz
2ffb3663e4 Reduce backtracking in autop, fixes #6877, see #8553
git-svn-id: https://develop.svn.wordpress.org/trunk@10527 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-08 16:08:02 +00:00
Andrew Ozz
c58b656d42 Add filter for local connection ssl verify to cron spawning, props sivel, see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10526 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-08 15:26:16 +00:00
Andrew Ozz
c676499d51 Fix permalink editor for pages, hide "View Post" button while editing permalink, fixes #9040
git-svn-id: https://develop.svn.wordpress.org/trunk@10525 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-08 13:38:02 +00:00
Andrew Ozz
40a91afb5d Fix PHP notices in HTTP API Cookies, props beaulebens, fixes #9068
git-svn-id: https://develop.svn.wordpress.org/trunk@10524 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-08 04:20:34 +00:00
Andrew Ozz
aa574da3db Fix PHP notice in force_balance_tags(), props beaulebens, fixes #9067
git-svn-id: https://develop.svn.wordpress.org/trunk@10523 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-08 04:16:58 +00:00
Andrew Ozz
d08b1b842d Fix delete warnings for categories, link categories, tags and comments, fixes #9050
git-svn-id: https://develop.svn.wordpress.org/trunk@10522 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-07 15:26:01 +00:00
Andrew Ozz
ccaf039e0d Cron spawning improvement, see #9005
git-svn-id: https://develop.svn.wordpress.org/trunk@10521 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-07 13:32:34 +00:00
Andrew Ozz
0603592697 Fix wp_get_attachment_link(), props noel, fixes #9036
git-svn-id: https://develop.svn.wordpress.org/trunk@10520 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-07 02:58:21 +00:00
Ryan Boren
17a19d056b Use transient for doing_cron. see #9048
git-svn-id: https://develop.svn.wordpress.org/trunk@10519 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-06 22:25:35 +00:00
Ryan Boren
4e52545293 Use transient for update_core, update_plugins, update_themes. see #9048
git-svn-id: https://develop.svn.wordpress.org/trunk@10515 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-06 18:06:20 +00:00
Andrew Ozz
ac427bbdcc Require smilies to be surrounded by spaces or be at the beginning or end of the line, see #6464
git-svn-id: https://develop.svn.wordpress.org/trunk@10514 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-06 03:42:48 +00:00
Ryan Boren
cb96fac899 Cookie support for HTTP API. Props beaulebens. fixes #9049 #9037 #8727
git-svn-id: https://develop.svn.wordpress.org/trunk@10512 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 21:59:37 +00:00
Ryan Boren
88b2fb0884 HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10509 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 20:47:46 +00:00
Ryan Boren
c34a272b1e Revert 10507. Had extra bits in. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10508 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 20:47:30 +00:00
Ryan Boren
c0ece11af5 HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10507 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 20:46:39 +00:00
Mark Jaquith
7cdfccc12f Strip /feed/ endings even if they are not at the very end, in canonical. props jhodgdon. fixes #8642 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10505 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-04 23:07:41 +00:00
Peter Westwood
0f8e0c3b74 Respect the translation argument of mysql2date again. Fixes #9035 and #8989.
git-svn-id: https://develop.svn.wordpress.org/trunk@10504 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-04 21:45:55 +00:00
Ryan Boren
4ad180ca5b Obey post_type. Props filosofo. fixes #8872
git-svn-id: https://develop.svn.wordpress.org/trunk@10503 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-04 20:32:27 +00:00
Ryan Boren
7bf2f59881 Allow + in mime type regex. Props Sam_a. fixes #8991
git-svn-id: https://develop.svn.wordpress.org/trunk@10502 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-04 20:27:30 +00:00
Andrew Ozz
e29eda95c4 Allow shortcodes inside caption boxes, props Viper007Bond, fixes #9022
git-svn-id: https://develop.svn.wordpress.org/trunk@10498 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-04 17:07:26 +00:00
Andrew Ozz
6dd4f1ee1f Load farbtastic.js has to be loaded in the head, see #8628
git-svn-id: https://develop.svn.wordpress.org/trunk@10496 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-04 15:47:08 +00:00
Andrew Ozz
75c6fc4c3a wp_get_attachment_link() variable upgrade, props noel, fixes #9036
git-svn-id: https://develop.svn.wordpress.org/trunk@10495 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-04 15:12:24 +00:00
Ryan Boren
9599eaa2ca Respect time zone when displaying autosave and revision time. Props janbrasna, designsimply. fixes #8750 #6489 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10490 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-03 23:04:31 +00:00
Andrew Ozz
b297e484a4 Fix 'Screen Options' and 'Help' tabs in Safari, fixes #9021
git-svn-id: https://develop.svn.wordpress.org/trunk@10488 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-03 17:44:41 +00:00
Ryan Boren
ad71598fc8 Seed cookie hash key with a fragment from the password hash
git-svn-id: https://develop.svn.wordpress.org/trunk@10486 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-03 05:03:16 +00:00
Ryan Boren
940103ddc9 body_class(). Props ionfish. fixes #7939
git-svn-id: https://develop.svn.wordpress.org/trunk@10485 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-02 19:21:38 +00:00
Ryan Boren
73746940d9 Fix previewing of themes in subdirs. Props zedlander. fixes #8548
git-svn-id: https://develop.svn.wordpress.org/trunk@10483 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-02 19:17:14 +00:00
Andrew Ozz
7e830e17c4 Show comments on the Edit Post screen in separate postbox
git-svn-id: https://develop.svn.wordpress.org/trunk@10480 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-02 03:41:19 +00:00
Andrew Ozz
618503f902 Disable QuickPress buttons while saving, change "Cancel" to "Reset"
git-svn-id: https://develop.svn.wordpress.org/trunk@10479 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-02 01:43:56 +00:00
Andrew Ozz
4571d1758f Fix most popular link category list, props chmac, fixes #9012
git-svn-id: https://develop.svn.wordpress.org/trunk@10477 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-01 23:52:10 +00:00
Andrew Ozz
13d3219317 Detect when the server compresses output, see #8628
git-svn-id: https://develop.svn.wordpress.org/trunk@10476 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-01 09:45:24 +00:00
Andrew Ozz
962dc22c5e Spawn cron with AJAX request, see #9005
git-svn-id: https://develop.svn.wordpress.org/trunk@10474 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-31 02:23:24 +00:00
Ryan Boren
decf24ecb6 Lose hash check
git-svn-id: https://develop.svn.wordpress.org/trunk@10473 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-30 22:35:41 +00:00
Ryan Boren
27ddfadac3 Pluggables phpdoc updates. Props filosofo. fixes #9001
git-svn-id: https://develop.svn.wordpress.org/trunk@10469 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-30 18:08:28 +00:00
Andrew Ozz
0474a02663 Ensure get_the_title() is escaped in feed links, props Viper007Bond, fixes #8878
git-svn-id: https://develop.svn.wordpress.org/trunk@10467 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-30 13:50:08 +00:00
Ryan Boren
55c270d136 wp_insert_comment action
git-svn-id: https://develop.svn.wordpress.org/trunk@10465 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 22:22:20 +00:00
Ryan Boren
a93005de79 Update rewrite phpdoc. Props filosofo. fixes #8998
git-svn-id: https://develop.svn.wordpress.org/trunk@10464 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 22:11:27 +00:00
Peter Westwood
8aa657443e Much better handling of wp-login.php page load. See #8938 props wnorris.
git-svn-id: https://develop.svn.wordpress.org/trunk@10463 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 21:30:16 +00:00
Ryan Boren
366a05425d Use secure.gravatar.com for SSL avatar requests. fixes #8988 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10461 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 17:58:16 +00:00
Ryan Boren
560eacbb44 Add missing preg delimiters. Props ridgerunner. fixes #8986 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10459 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 17:46:31 +00:00
Andrew Ozz
d7acc77238 Make simple form validation and ajax-add new categories compatible with jQuery 1.3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@10457 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 07:00:00 +00:00
Peter Westwood
0f07c161d7 Don't show the error on normal login page loads. See #8938.
git-svn-id: https://develop.svn.wordpress.org/trunk@10455 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-28 22:11:49 +00:00
Ryan Boren
d468232b26 Don't count emoticons toward link total. Props tott. fixes #8627 #7821 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10453 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-28 21:12:57 +00:00
Ryan Boren
ffd54c67a6 Include only approved comments when determining page of comment. Props GregMulhauser. fixes #8973 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10449 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-28 18:43:08 +00:00
Mark Jaquith
2e96af8795 Allow plugins to provide a canonical redirect_url even if WordPress does not provide its own. props wnorris. fixes #8975 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10448 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-28 08:47:42 +00:00
Andrew Ozz
fd2d60391f Remove events from categories chechboxes in quick edit to speed up page unload, see #8957
git-svn-id: https://develop.svn.wordpress.org/trunk@10444 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-26 14:23:39 +00:00
Andrew Ozz
1f6ba467ca Load the minified versions of the scripts by default, define('SCRIPT_DEBUG', true); can be used to load the development versions
git-svn-id: https://develop.svn.wordpress.org/trunk@10443 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-26 13:24:44 +00:00
Andrew Ozz
4d58681aa4 Improvements to the script loader: allows plugins to queue scripts for the front end head and footer, adds hooks for server side caching of compressed scripts, adds support for ENFORCE_GZIP constant (deflate is used by default since it's faster), see #8628, fixes #8884
git-svn-id: https://develop.svn.wordpress.org/trunk@10442 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-26 12:59:10 +00:00
Andrew Ozz
ecd158c24b Fix non-critical bug in suggest.js and prepare it for minifying
git-svn-id: https://develop.svn.wordpress.org/trunk@10441 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-26 12:09:27 +00:00
Andrew Ozz
8825ac5405 jQuery 1.3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@10440 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-26 09:33:53 +00:00
Peter Westwood
04d6ffe39b Make authentication more pluggable than ever before. See #8938 props wnorris.
git-svn-id: https://develop.svn.wordpress.org/trunk@10437 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-24 22:38:19 +00:00
Peter Westwood
77e96d6acf Setup an initial value to avoid a Notice. See #8916 props wnorris.
git-svn-id: https://develop.svn.wordpress.org/trunk@10436 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-24 22:22:36 +00:00
Andrew Ozz
9fd8865512 Fix Thickbox positioning for browsers pretending to be IE6, props Denis-de-Bernardy, fixes #8933 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10428 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-24 11:58:21 +00:00
Andrew Ozz
358a5e681a Add classes to "edit_comment_link" and "edit_post_link", props yoavf, fixes #8945 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10426 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-24 09:35:12 +00:00
Peter Westwood
f0734fb79c Make the IXR debug classy. See #8916 props wnorris
git-svn-id: https://develop.svn.wordpress.org/trunk@10423 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-23 22:30:23 +00:00
Ryan Boren
a47e945236 Don't limit query when descending hierarchy. Props filosofo. fixes #8832
git-svn-id: https://develop.svn.wordpress.org/trunk@10416 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-22 22:59:29 +00:00