Commit Graph

10672 Commits

Author SHA1 Message Date
westi 923a3ade8a Remove the php-gettext library as we don't use it anymore. Fixes #9751.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 20:42:05 +00:00
ryan fd3f0ac99f Disable codepress. Maintained replacement needed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 15:22:23 +00:00
ryan 67288a2db1 Admin RTL CSS updates. Props yoavf. fixes #10923
git-svn-id: http://svn.automattic.com/wordpress/trunk@12004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 13:57:43 +00:00
ryan 16475c9588 Add post_submitbox_misc_actions action. Props mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@12000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-06 20:17:21 +00:00
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
azaozz 1c4b720478 Press This fixes, props noel, see #10784
git-svn-id: http://svn.automattic.com/wordpress/trunk@11994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-03 07:14:44 +00:00
westi 627e7b3e6c Update pclzip to 2.8.2 - Fixes #10650 and #10777.
Includes:
 * Removal of eval()s
 * Merge WordPress 64 bit fix upstream

git-svn-id: http://svn.automattic.com/wordpress/trunk@11993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 21:04:57 +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 966af43a1d Improve inline documentation for register_setting(). Props filosofo. fixes #10368
git-svn-id: http://svn.automattic.com/wordpress/trunk@11991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:54:24 +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 d89bf58bd3 Pass args to mysql2date() in the correct order. Props filosofo, fabifott. fixes #10866
git-svn-id: http://svn.automattic.com/wordpress/trunk@11989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:50:28 +00:00
ryan 3ab19e267d Show link back to post for pingbacks in the recent comments dashboard widget. Props scribu. fixes #10622
git-svn-id: http://svn.automattic.com/wordpress/trunk@11988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:42:33 +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 4e20ae5719 Image Editor: fix refreshing of the thumbnail, use WP_Http_Fopen::test(), see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-30 23:39:09 +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 111ffda455 htmlspecialchars after apply_filters, props Viper007Bond, see #10858
git-svn-id: http://svn.automattic.com/wordpress/trunk@11983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-29 10:28:08 +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 7a86ba7cf9 Hide "Attach" link for media (which requires JS) if no JS available. (BUGS ON A PLANE!)
git-svn-id: http://svn.automattic.com/wordpress/trunk@11979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-27 18:54:17 +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 0630337d8e Apply "comment_edit_pre" filter when quick-editing comments, props Viper007Bond, fixes #10858
git-svn-id: http://svn.automattic.com/wordpress/trunk@11975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 22:28:22 +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 235afd2f97 Use a post_parent of 0 instead of -1 to indicate unattached posts. Props c0nstruct. see #10521
git-svn-id: http://svn.automattic.com/wordpress/trunk@11969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:13:11 +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 33836d522b Image Editor: fix JS prompt, add size to 'load_image_to_edit' filter, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 08:47:33 +00:00
markjaquith c664315b01 Active plugin filter, plugin deactivation array_splice() protection. props apeatling. fixes #10839
git-svn-id: http://svn.automattic.com/wordpress/trunk@11966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 04:15:37 +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
ryan e1c0fad754 Use hard-coded functions instead of create_function() in importers. Props mdawaffe. fixes #10836
git-svn-id: http://svn.automattic.com/wordpress/trunk@11964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-23 22:03:39 +00:00
westi a86aa7b399 Handle the file upload case on import when post_max_size is smaller than upload_max_filesize and no POST data arrives at all. Fixes #10830.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-23 07:06:58 +00:00
westi 7ee91c9aeb Move the nonce on the import upload form to the action url so it always arrives even if the post data exceeds post_max_size. Also add some phpdoc. See #10830.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-23 06:59:20 +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
ryan ef17b0b875 Key should be comment_id not post_id. see #2659
git-svn-id: http://svn.automattic.com/wordpress/trunk@11955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 18:09:21 +00:00
ryan 8a0bafef24 Special case comment type 'all'. Fixes comment search. fixes #10463
git-svn-id: http://svn.automattic.com/wordpress/trunk@11954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 14:43:31 +00:00
westi e803c73428 Switch round some quotes. Fixes #10669 props niallkennedy
git-svn-id: http://svn.automattic.com/wordpress/trunk@11953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-20 13:49:20 +00:00