Commit Graph

10642 Commits

Author SHA1 Message Date
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 d11f390d69 Use a post_parent of 0 instead of -1 to indicate unattached posts. Props c0nstruct. see #10521
git-svn-id: https://develop.svn.wordpress.org/trunk@11969 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:13:11 +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 dfed9737d7 Image Editor: fix JS prompt, add size to 'load_image_to_edit' filter, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11967 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 08:47:33 +00:00
Mark Jaquith 254df719da Active plugin filter, plugin deactivation array_splice() protection. props apeatling. fixes #10839
git-svn-id: https://develop.svn.wordpress.org/trunk@11966 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 04:15:37 +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
Ryan Boren ede15e394f Use hard-coded functions instead of create_function() in importers. Props mdawaffe. fixes #10836
git-svn-id: https://develop.svn.wordpress.org/trunk@11964 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-23 22:03:39 +00:00
Peter Westwood 2fac03c837 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: https://develop.svn.wordpress.org/trunk@11963 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-23 07:06:58 +00:00
Peter Westwood b2de687b90 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: https://develop.svn.wordpress.org/trunk@11962 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-23 06:59:20 +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
Ryan Boren 38151de2b5 Key should be comment_id not post_id. see #2659
git-svn-id: https://develop.svn.wordpress.org/trunk@11955 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-21 18:09:21 +00:00
Ryan Boren 0d8a84bb98 Special case comment type 'all'. Fixes comment search. fixes #10463
git-svn-id: https://develop.svn.wordpress.org/trunk@11954 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-21 14:43:31 +00:00
Peter Westwood fd912ff469 Switch round some quotes. Fixes #10669 props niallkennedy
git-svn-id: https://develop.svn.wordpress.org/trunk@11953 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-20 13:49:20 +00:00
Andrew Ozz 1011e0cf58 Add "View trash" link to the notice after moving to the trash
git-svn-id: https://develop.svn.wordpress.org/trunk@11952 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-19 01:06:17 +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 78efafba1d Fix user creation from admin after changes for #10751. Fixes #10811 props alexkingorg.
git-svn-id: https://develop.svn.wordpress.org/trunk@11950 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-18 20:47:24 +00:00
Peter Westwood f5e49c809b 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: https://develop.svn.wordpress.org/trunk@11949 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-18 20:43:05 +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
Ryan Boren 5fa5b6d05b Press This fixes. Props noel. fixes #10784
git-svn-id: https://develop.svn.wordpress.org/trunk@11944 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 20:36:59 +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 9a94997c21 Don't run content_save_pre filter twice for XMLRPC posts. Props redsweater. fixes #10802
git-svn-id: https://develop.svn.wordpress.org/trunk@11942 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 16:59: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
Andrew Ozz 0aecb8d85d screen_icon() after <div class="wrap">, props johnbillion, fixes #10795
git-svn-id: https://develop.svn.wordpress.org/trunk@11940 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-16 03:13:21 +00:00
Andrew Ozz 4095fea88c Fix plugin menu item icon hover state, props johnbillion, fixes #10794
git-svn-id: https://develop.svn.wordpress.org/trunk@11939 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-16 03:01:27 +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
Andrew Ozz 707676f0ac Include 'hidden' directories in filesystem dirlist by default, props dd32, fixes #10774
git-svn-id: https://develop.svn.wordpress.org/trunk@11934 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-15 02:21:00 +00:00
Peter Westwood fa9b9d3ad3 phpDoc subpackage is Administration not Admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@11933 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 21:13:25 +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 141bbe94a7 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11931 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:04:30 +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
Andrew Ozz f159af5111 Plugin/Theme installer: Do not bail if empty destination directory exists, props dd32, fixes #10775
git-svn-id: https://develop.svn.wordpress.org/trunk@11926 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 23:00:45 +00:00
Peter Westwood 311256c02a 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: https://develop.svn.wordpress.org/trunk@11925 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 21:18:55 +00:00
Andrew Ozz 6315c12a84 Fix pagination in Media Library after moving items to trash
git-svn-id: https://develop.svn.wordpress.org/trunk@11924 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 17:58:55 +00:00
Peter Westwood 3fbccfb9fc 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: https://develop.svn.wordpress.org/trunk@11923 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 08:52:39 +00:00