Commit Graph

10619 Commits

Author SHA1 Message Date
westi ad83f73957 Make the action name for post-by-email takeover actually unique so the plugins are not triggered every time WP tries to send an email!
git-svn-id: http://svn.automattic.com/wordpress/trunk@11949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-18 20:43:05 +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
ryan 607ec769f0 Press This fixes. Props noel. fixes #10784
git-svn-id: http://svn.automattic.com/wordpress/trunk@11944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:36:59 +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 eb5ed671ac Don't run content_save_pre filter twice for XMLRPC posts. Props redsweater. fixes #10802
git-svn-id: http://svn.automattic.com/wordpress/trunk@11942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 16:59: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
azaozz de6b730d1f screen_icon() after <div class="wrap">, props johnbillion, fixes #10795
git-svn-id: http://svn.automattic.com/wordpress/trunk@11940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-16 03:13:21 +00:00
azaozz e758264d87 Fix plugin menu item icon hover state, props johnbillion, fixes #10794
git-svn-id: http://svn.automattic.com/wordpress/trunk@11939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-16 03:01:27 +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
azaozz 103ba096a7 Include 'hidden' directories in filesystem dirlist by default, props dd32, fixes #10774
git-svn-id: http://svn.automattic.com/wordpress/trunk@11934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-15 02:21:00 +00:00
westi 55c0ecb52f phpDoc subpackage is Administration not Admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 21:13:25 +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 e789271d81 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:04:30 +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
azaozz 3d8c41869d Plugin/Theme installer: Do not bail if empty destination directory exists, props dd32, fixes #10775
git-svn-id: http://svn.automattic.com/wordpress/trunk@11926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 23:00:45 +00:00
westi dbc8095e53 Use the old strings which are more translator friendly and add a generic default string to aid re-use by plugins adding post_types. See #10729.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 21:18:55 +00:00
azaozz a8ccdb1d62 Fix pagination in Media Library after moving items to trash
git-svn-id: http://svn.automattic.com/wordpress/trunk@11924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 17:58:55 +00:00
westi 2561a6bb45 Switch the post|page being editing message from a create_function call to a normal function and reduce the duplicated code. See #10729.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 08:52:39 +00:00
westi 4cb6db8467 phpDoc for wp_{check|set}_post_lock functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 08:34:24 +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 7b6e0b16b8 Add btt.php and jkw.php to list of files to remove during upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-11 18:12:10 +00:00
ryan a5ca722613 Retire Jerome's keywords importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@11917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-11 17:55:35 +00:00
ryan a6dabdc42f Retire BunnyTags importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@11914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-11 17:53:14 +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
westi 8772775a15 Post by Email plugins might want to use there own POP3 class so move the action earlier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 20:05:24 +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
azaozz 0381e51fd6 Don't show "Change Permalinks" button when editing the page set as "Front page", props simonwheatley, fixes #10760
git-svn-id: http://svn.automattic.com/wordpress/trunk@11908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 01:21:03 +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
ryan 3dfaac6960 Fix Press This bookmarklet for Safari 4. Props noel. fixes #10749
git-svn-id: http://svn.automattic.com/wordpress/trunk@11906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-08 20:06:52 +00:00
ryan c6debbd596 Filter the cookie scheme in auth_redirect(). Props nbachiyski. fixes #10740
git-svn-id: http://svn.automattic.com/wordpress/trunk@11905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-08 15:25:29 +00:00
ryan e8c32c03b0 Pass logged_in cookie to async-upload. Props nbachiyski. fixes #10739
git-svn-id: http://svn.automattic.com/wordpress/trunk@11904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-08 15:22:42 +00:00
ryan 9d1f82b406 Allow force_ssl_admin() to properly accept false as a value. Props nbachiyski. fixes #10706
git-svn-id: http://svn.automattic.com/wordpress/trunk@11903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-08 14:46:06 +00:00
ryan 02c7c0e38e is_blog_installed() improvements and repair.php. see #10728
git-svn-id: http://svn.automattic.com/wordpress/trunk@11902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-06 18:46:27 +00:00
markjaquith 11c3cb07b9 Display comments in descending date order, consistently. props scribu. fixes #10674
git-svn-id: http://svn.automattic.com/wordpress/trunk@11901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-04 08:50:55 +00:00
markjaquith 6cf9ea65b4 Add a the_terms filter, and use a default ", " sep. props scribu. fixes #10600
git-svn-id: http://svn.automattic.com/wordpress/trunk@11900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-04 08:47:36 +00:00
azaozz 5d14b38278 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: http://svn.automattic.com/wordpress/trunk@11899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-04 02:36:34 +00:00
westi 4eeff37a6f Remove duplicate action addition of delete_get_calendar_cache() on update_option_start_of_week. Fixes #10718 props johnjosephbachir.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-02 07:11:07 +00:00
westi 2918ccefd5 Better feedback on publishing of future posts and pages. Fixes #10711 based on patch from scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-01 21:15:20 +00:00
westi 499a4d63cc Always filter the url in the media upload form. Fixes #10707 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-01 20:44:17 +00:00