Commit Graph

10706 Commits

Author SHA1 Message Date
westi
e8b550fd33 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: http://svn.automattic.com/wordpress/trunk@11878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-25 22:05:15 +00:00
azaozz
3897050e45 Clean up white space in class-json.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@11877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-25 08:11:07 +00:00
azaozz
3fd2769caa Remove background from .button[disabled]
git-svn-id: http://svn.automattic.com/wordpress/trunk@11876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-25 07:50:29 +00:00
azaozz
a0467d5cda Add JSON compat for PHP < 5.2, props Viper007Bond, see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@11875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-25 07:48:59 +00:00
azaozz
e9ce147405 Clean up .button and .button[disabled] CSS classes, add spinner and gray-out buttons after clicking Publish or Update post.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-25 05:14:49 +00:00
azaozz
8d4223adb3 Don't let contributors to re-publish their trashed posts, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 20:48:31 +00:00
azaozz
e03f120254 Fix notice in wp-admin/includes/post.php, props harrym, fixes #10678 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 19:39:08 +00:00
azaozz
395495bd99 Fix error in widgets.js, props Denis-de-Bernardy, see #10021
git-svn-id: http://svn.automattic.com/wordpress/trunk@11870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 19:16:53 +00:00
ryan
4c219b94e6 Canonical redirect for attachment_id queries that have a permalink.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 18:03:49 +00:00
azaozz
a50bce6e70 Add global JS vars and actions to the media uploader iframe
git-svn-id: http://svn.automattic.com/wordpress/trunk@11868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 00:09:39 +00:00
westi
904530f12a Make the default and classic themes comment textareas valid XHTML. Fixes #8971 props vladimir_kolesnikov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 17:26:31 +00:00
westi
13edf95c78 Add rel attribute to next/previous post links. Fixes #4209 props vladimir_kolesnikov
git-svn-id: http://svn.automattic.com/wordpress/trunk@11866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 17:12:25 +00:00
ryan
82946b9484 Machine parseable db error codes. Props dd32. fixes #10293
git-svn-id: http://svn.automattic.com/wordpress/trunk@11865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 17:00:53 +00:00
ryan
70b537d3f2 Force correct feed type for wfw:CommentRss element. Props peaceablewhale. fixes #10016
git-svn-id: http://svn.automattic.com/wordpress/trunk@11864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 16:45:41 +00:00
azaozz
0d39830a8c Show correct max upload filesize error message, props dd32, fixes #10495
git-svn-id: http://svn.automattic.com/wordpress/trunk@11863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 12:03:02 +00:00
ryan
5787c17206 fs_connect() fixes. Props dd32. fixes #10541
git-svn-id: http://svn.automattic.com/wordpress/trunk@11862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 01:36:01 +00:00
ryan
91bc15b495 Fix fs_no_folder error message display. Props jeff_. fixes #10608
git-svn-id: http://svn.automattic.com/wordpress/trunk@11861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 01:30:15 +00:00
ryan
0e3f9e6b8d Pass correct old status when transitioning comment status. Props hakre. fixes #8863
git-svn-id: http://svn.automattic.com/wordpress/trunk@11860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 01:27:01 +00:00
ryan
2cafc0b559 Add rtl.dev.css. see #10664
git-svn-id: http://svn.automattic.com/wordpress/trunk@11859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 01:25:11 +00:00
azaozz
7a5b2339d9 More jQuery based scripts optimizations, props Denis-de-Bernardy, see #10021
git-svn-id: http://svn.automattic.com/wordpress/trunk@11858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 01:03:26 +00:00
ryan
390a75658b Minify admin CSS. see #10664
git-svn-id: http://svn.automattic.com/wordpress/trunk@11857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 21:12:33 +00:00
westi
ffc53b56ea Make add_object_page() and add_utility_page() use add_menu_page() rather than duplicated code. Fixes #9942 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 21:00:52 +00:00
ryan
22d0a6c641 Remove Sphere from search list. Props niallkennedy. fixes #10637
git-svn-id: http://svn.automattic.com/wordpress/trunk@11855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 20:58:44 +00:00
westi
33ed3723bd Don't offer to make a category its own parent - that just wouldn't work. Fixes #10644 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 20:47:02 +00:00
westi
15d31d9644 Replace eval usage in request processing with new WP_MatchesMapRegex() class usage. See #9602 props hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 20:09:36 +00:00
westi
d28c67315a Move _wp_get_user_contactmethods() into the registrations functions file so it is always available when required. Fixes #10662.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 19:51:43 +00:00
ryan
28f552efa5 Add autosave_generate_nonces action. Props prettyboymp. fixes #10634
git-svn-id: http://svn.automattic.com/wordpress/trunk@11851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 16:57:11 +00:00
westi
3553ccdbb4 Make the number of pages argument to wp.getPages properly optional. See #10659 props redsweater.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 16:26:34 +00:00
westi
46d7e1dd71 Pass the to the {get_}the_author_meta filters. Fixes #10661 props scribu
git-svn-id: http://svn.automattic.com/wordpress/trunk@11849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 16:21:44 +00:00
westi
e545f9af13 Treat comma, colon and semi-colon the same way.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 07:58:41 +00:00
westi
f9aff1739a Ensure that drafts viewed over XMLRPC have a correct gmt date set. Fixes #10244 for trunk props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 06:59:02 +00:00
azaozz
934eadc858 Better regex for [11844]
git-svn-id: http://svn.automattic.com/wordpress/trunk@11845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-20 00:19:00 +00:00
azaozz
668cfea9f2 Removed trailing .) from the URL in make_clickable()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 23:56:10 +00:00
azaozz
6a6257ee42 Show My Posts as default view on the Edit Posts screen for users without 'edit_others_posts' cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 22:37:51 +00:00
ryan
58f9fb3e13 Don't import _wp_attachment_metadata. It is regenerated when the attachment is imported.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 21:37:47 +00:00
azaozz
be026258fa "Trash" updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 08:35:24 +00:00
azaozz
4c13a5acf4 Use the current user as author for autosave, fixes #10004
git-svn-id: http://svn.automattic.com/wordpress/trunk@11840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 02:30:42 +00:00
ryan
91ef366300 Don't show comments template if post is empty
git-svn-id: http://svn.automattic.com/wordpress/trunk@11839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-18 19:33:56 +00:00
ryan
8513b29792 Prophylactic escapes
git-svn-id: http://svn.automattic.com/wordpress/trunk@11838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-18 16:05:07 +00:00
azaozz
491b68752b Speed up jQuery based scripts, props Denis-de-Bernardy, see #10021
git-svn-id: http://svn.automattic.com/wordpress/trunk@11837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-18 09:53:37 +00:00
ryan
9eef5564d5 Kill entity check in wp_blacklist_check(). Props tellyworth. fixes #9965
git-svn-id: http://svn.automattic.com/wordpress/trunk@11836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-17 01:38:01 +00:00
azaozz
5276c457f4 Don use has_action() before do_action() in http.php, props Viper007Bond, fixes #10625
git-svn-id: http://svn.automattic.com/wordpress/trunk@11835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 22:43:48 +00:00
westi
235f560950 Add in the missing </td> so that the install page validates correctly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 09:09:24 +00:00
westi
5813bf3ab2 Restore the default behaviour on install of blogs appearing in search engines. Fixes #10621 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 09:01:39 +00:00
azaozz
5c21d67399 WP_Filesystem fixes and phpdoc, props hakre dd32, see #10304
git-svn-id: http://svn.automattic.com/wordpress/trunk@11831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 08:34:53 +00:00
azaozz
eb921e186d Remove old query args when updating user profile, props dd32, fixes #9038
git-svn-id: http://svn.automattic.com/wordpress/trunk@11830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 07:43:37 +00:00
westi
e27b8078dd Make the operator precedence obvious by using parenthesis.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 06:30:52 +00:00
azaozz
613aeb5316 Do not use lambda functions in wp_kses_decode_entities(), props mdawaffe, fixes #10623
git-svn-id: http://svn.automattic.com/wordpress/trunk@11828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 05:58:39 +00:00
azaozz
62f826c9e5 Fix non-translated strings in dashboard, fixes #10617
git-svn-id: http://svn.automattic.com/wordpress/trunk@11827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 05:51:36 +00:00
azaozz
326befa4ed Increase timeout on cron-based requests when checking for upgrades, props dd32, fixes #10349
git-svn-id: http://svn.automattic.com/wordpress/trunk@11826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 04:59:38 +00:00