Commit Graph

5176 Commits

Author SHA1 Message Date
westi
f1db510742 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: http://svn.automattic.com/wordpress/trunk@11999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-06 19:18:21 +00:00
ryan
e3f1a830d3 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: http://svn.automattic.com/wordpress/trunk@11998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-06 14:43:05 +00:00
azaozz
ba6b275c7a 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: http://svn.automattic.com/wordpress/trunk@11997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-05 01:49:19 +00:00
azaozz
5680630d1f Fix delete_metadata(), see #2659
git-svn-id: http://svn.automattic.com/wordpress/trunk@11996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-05 01:08:06 +00:00
westi
4e4d7ec08c Make the (add|get|update)_site_option functions run the same filters in WP as they do in mu. Fixes #10893.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-03 21:40:27 +00:00
westi
606b6197b5 Delete the trash metadata when untrashing a comment. See #4529 props caesarsgrunt.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 19:59:35 +00:00
ryan
0c557fdb02 Use ID, not user_id. Props filosofo. fixes #10709
git-svn-id: http://svn.automattic.com/wordpress/trunk@11990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:52:01 +00:00
ryan
93b3ed3915 Localize default strings for edit_comment_link() and edit_post_link(). fixes #10879
git-svn-id: http://svn.automattic.com/wordpress/trunk@11987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:41:09 +00:00
markjaquith
9109450809 Surface "Move to Trash" link for posts/pages immediately after first autosave fires. Props cross country flight. fixes #10344
git-svn-id: http://svn.automattic.com/wordpress/trunk@11986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 11:44:18 +00:00
azaozz
6f099a9117 Image Editor: add load and save image filters, fix backup sizes meta, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-30 08:38:32 +00:00
azaozz
856e319884 Press This: editor fixes and CSS tweaks for IE6/7
git-svn-id: http://svn.automattic.com/wordpress/trunk@11982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-29 09:46:13 +00:00
ryan
8fc7ea66af Pad counts in wp_dropdown_categories. Props mtdewvirus. fixes #10870
git-svn-id: http://svn.automattic.com/wordpress/trunk@11981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-28 22:32:27 +00:00
ryan
5224680c4d 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: http://svn.automattic.com/wordpress/trunk@11980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-28 14:36:48 +00:00
markjaquith
4ead128521 esc_sql() for wp-includes
git-svn-id: http://svn.automattic.com/wordpress/trunk@11978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-27 05:33:56 +00:00
azaozz
e73a081be7 Expose HTTP PUT when supported, props mdawaffe, fixes #10855
git-svn-id: http://svn.automattic.com/wordpress/trunk@11977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 22:52:42 +00:00
azaozz
ac1deea61c Improve get_page_hierarchy, props hailin, fixes #10853
git-svn-id: http://svn.automattic.com/wordpress/trunk@11976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 22:45:52 +00:00
azaozz
ba74883676 TinyMCE 3.2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@11974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 08:33:16 +00:00
azaozz
1e611d37da Image Editor: fix preview size calculation when cropping small part of a very large image, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 04:07:27 +00:00
azaozz
200f6e921a Image Editor: fix minified CSS, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 20:22:31 +00:00
ryan
57f26bb58e Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:19:13 +00:00
ryan
ead46cf470 Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:10:28 +00:00
azaozz
48932f96fe Image Editor improvements, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 01:54:07 +00:00
westi
5cc8fc22a9 Fix notice in wp_explain_nonce when the supplied action has no extra text. See #10830.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-23 06:51:19 +00:00
ryan
e1d48f65ce Set the cap appropriate to the post type. fixes #10807 see #10605
git-svn-id: http://svn.automattic.com/wordpress/trunk@11960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-22 22:57:01 +00:00
westi
7b54e813b5 Updated phpdoc for the theme preview code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-22 07:16:19 +00:00
markjaquith
a131ad469e Eliminate the redundant and confusing comment threading depth of 1. Threading starts at 2 now. fixes #10829
git-svn-id: http://svn.automattic.com/wordpress/trunk@11958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-22 06:00:46 +00:00
westi
6ed2dfd478 Move theme preview away from using create_function and to predefined functions. See #10729.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 21:43:41 +00:00
ryan
5e4dc4dfd4 get_delete_post_link()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 21:33:00 +00:00
westi
6784dc62c6 Fix notice when adding tag from the Post Tags page. Fixes #10808 props prettyboymp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-18 21:06:23 +00:00
westi
8e7f77c8fb Return correct results for both single and array cases. Fixes #10803.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 22:11:57 +00:00
westi
08374eeaf9 Remove temporary transition code from the trash_meta option to postmeta transition See #4529.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 21:06:41 +00:00
westi
6ef909e45e Don't pass undefined vars to action hooks. See #2659.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 21:05:29 +00:00
westi
ef11608c43 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: http://svn.automattic.com/wordpress/trunk@11945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:51:12 +00:00
westi
c67e70dd91 First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:17:33 +00:00
ryan
ae21304492 Actions for taxonomy updates. Props Demitrious Kelly. fixes #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 14:03:57 +00:00
ryan
5bde977c6c Update SimplePie to 1.2. fixes #10392
git-svn-id: http://svn.automattic.com/wordpress/trunk@11938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-15 16:33:59 +00:00
ryan
dcf36249d2 Fix content length setup. Props jacobsantos. fixes #10783
git-svn-id: http://svn.automattic.com/wordpress/trunk@11937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-15 15:57:49 +00:00
ryan
4942a41307 Pass args array to wp_list_pages filter. Props antonylesuisse. fixes #10034
git-svn-id: http://svn.automattic.com/wordpress/trunk@11936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-15 15:40:17 +00:00
azaozz
eccd75e38c Strip \r when escaping strings for JS, props nbachiyski, fixes #7041
git-svn-id: http://svn.automattic.com/wordpress/trunk@11935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-15 10:11:59 +00:00
ryan
203de75d3d Use null instead of 0 when setting content length. Props noel. fixes #10783
git-svn-id: http://svn.automattic.com/wordpress/trunk@11932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 20:49:18 +00:00
ryan
8e3808bce2 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
ryan
aa1e377ede Filter fields through kses upon display. Introduce sanitize_user_object() and sanitize_user_field(). see #10751
git-svn-id: http://svn.automattic.com/wordpress/trunk@11929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 13:57:48 +00:00
azaozz
3709397168 Explain that the permalink is temporary for autosave generated permalinks, fixes #7733
git-svn-id: http://svn.automattic.com/wordpress/trunk@11928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 02:06:33 +00:00
azaozz
0bef493958 Avoid rare autosave collision when trying to publish the post immediately after it was autosaved, fixes #6785
git-svn-id: http://svn.automattic.com/wordpress/trunk@11927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 23:36:09 +00:00
westi
50a2f86dda Correct key padding and add support for raw_output in hash_hmac. Fixes #10284 props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-12 22:03:14 +00:00
westi
b45dcf2df5 Make our hash_hmac compatibility function unit testable even when the real one exists. See #10284.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-12 08:26:44 +00:00
ryan
ba57ce7aba Add missing break. Props snakefoot. fixes #10692
git-svn-id: http://svn.automattic.com/wordpress/trunk@11912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-11 13:42:15 +00:00
azaozz
1c161c23c2 Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 22:07:33 +00:00
ryan
7886fac111 More add/delete/update actions. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 14:43:45 +00:00
westi
b4e7804bf0 Give plugins and themes simple control over the text displayed at the end of an autogenerated excerpt. Fixes #10395 props ramiy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-09 16:34:44 +00:00