Commit Graph

10715 Commits

Author SHA1 Message Date
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
Peter Westwood
02ae17aa0f Define in the default theme. Fixes #10682 props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@11886 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-27 21:27:45 +00:00
Peter Westwood
c5d23be9e2 Comments for default theme Pages. Fixes #3753.
git-svn-id: https://develop.svn.wordpress.org/trunk@11885 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-27 21:23:52 +00:00
Andrew Ozz
260543c4de Fix quotes, props Denis-de-Bernardy, see #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@11884 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-27 09:59:22 +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
Peter Westwood
d43ed9f448 Correctly CamelCase TypePad. Fixes #10686 props niallkennedy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11882 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 06:51:36 +00:00
Andrew Ozz
f6a1fd4041 Fix comment moderation for authors, props scribu, fixes #10677
git-svn-id: https://develop.svn.wordpress.org/trunk@11881 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 06:47:45 +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
e70491eae3 Remove background from .button[disabled]
git-svn-id: https://develop.svn.wordpress.org/trunk@11876 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-25 07:50:29 +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
00de237f0c Fix notice in wp-admin/includes/post.php, props harrym, fixes #10678 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11871 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 19:39:08 +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
Andrew Ozz
8d2e2d9bc7 Add global JS vars and actions to the media uploader iframe
git-svn-id: https://develop.svn.wordpress.org/trunk@11868 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 00:09:39 +00:00
Peter Westwood
0dfdac7916 Make the default and classic themes comment textareas valid XHTML. Fixes #8971 props vladimir_kolesnikov.
git-svn-id: https://develop.svn.wordpress.org/trunk@11867 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 17:26:31 +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
2183989cd8 fs_connect() fixes. Props dd32. fixes #10541
git-svn-id: https://develop.svn.wordpress.org/trunk@11862 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 01:36:01 +00:00
Ryan Boren
3edc03c047 Fix fs_no_folder error message display. Props jeff_. fixes #10608
git-svn-id: https://develop.svn.wordpress.org/trunk@11861 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 01:30:15 +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
Ryan Boren
bd06881a86 Add rtl.dev.css. see #10664
git-svn-id: https://develop.svn.wordpress.org/trunk@11859 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 01:25:11 +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
676d2e440f Make add_object_page() and add_utility_page() use add_menu_page() rather than duplicated code. Fixes #9942 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11856 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 21:00:52 +00:00
Ryan Boren
9847245743 Remove Sphere from search list. Props niallkennedy. fixes #10637
git-svn-id: https://develop.svn.wordpress.org/trunk@11855 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 20:58:44 +00:00
Peter Westwood
dccf1b0de7 Don't offer to make a category its own parent - that just wouldn't work. Fixes #10644 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11854 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 20:47:02 +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
Ryan Boren
9c297a84cb Add autosave_generate_nonces action. Props prettyboymp. fixes #10634
git-svn-id: https://develop.svn.wordpress.org/trunk@11851 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 16:57:11 +00:00
Peter Westwood
7a83a96658 Make the number of pages argument to wp.getPages properly optional. See #10659 props redsweater.
git-svn-id: https://develop.svn.wordpress.org/trunk@11850 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 16:26:34 +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
bb7c8d7b4b Show My Posts as default view on the Edit Posts screen for users without 'edit_others_posts' cap.
git-svn-id: https://develop.svn.wordpress.org/trunk@11843 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-19 22:37:51 +00:00
Ryan Boren
051e34e38f Don't import _wp_attachment_metadata. It is regenerated when the attachment is imported.
git-svn-id: https://develop.svn.wordpress.org/trunk@11842 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-19 21:37:47 +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
Andrew Ozz
34deab141b Use the current user as author for autosave, fixes #10004
git-svn-id: https://develop.svn.wordpress.org/trunk@11840 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-19 02:30:42 +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