Commit Graph

10735 Commits

Author SHA1 Message Date
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
azaozz 947807219e Check if EXIF extension is loaded, props dd32, fixes #10613
git-svn-id: http://svn.automattic.com/wordpress/trunk@11825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 04:50:10 +00:00
azaozz 954a1c3bac Fix warning in wp-admin/widgets.php when using Accessibility Mode on brand new install, fixes #10610
git-svn-id: http://svn.automattic.com/wordpress/trunk@11824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 01:56:21 +00:00
azaozz ca27f326a9 Add constants for ftp connections timeouts, props dd32, see #10522
git-svn-id: http://svn.automattic.com/wordpress/trunk@11823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 12:01:04 +00:00
azaozz 42471b4882 Fix displaying pages and attachments, props dd32, see #10605
git-svn-id: http://svn.automattic.com/wordpress/trunk@11822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 10:57:56 +00:00
azaozz 73de56d05e Fix WP_Filesystem_FTPext->exists(), props dd32, fixes #10060
git-svn-id: http://svn.automattic.com/wordpress/trunk@11821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 08:31:06 +00:00
azaozz cd03493d94 Send Retry-After header when in maintenance mode, props sirzooro, fixes #10439
git-svn-id: http://svn.automattic.com/wordpress/trunk@11820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 08:10:56 +00:00
azaozz 5dc37883b2 Remove dot and silence errors in get_filesystem_method()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 08:03:48 +00:00
azaozz 5a98759e8d Fix class-wp-filesystem-ssh2 put_contents() for empty files, props lostinlafayette dd32, fixes #10604
git-svn-id: http://svn.automattic.com/wordpress/trunk@11818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 07:49:28 +00:00
markjaquith 725a6787b2 Always respect custom post_type in queries. props dd32, filosofo. fixes #10605
git-svn-id: http://svn.automattic.com/wordpress/trunk@11817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 03:28:03 +00:00
westi b9c5a29b69 Add the new file too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-14 18:58:22 +00:00
westi e2a720ee12 Refactor the meta boxes out of the edit pages and into an include file. See #9674 props wnorris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-14 17:37:40 +00:00
westi 23a106b6d0 Support location of category templates based on category slug as well as id. Fixes #10614 based on patch from scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-14 16:56:51 +00:00
westi 249f2d39b1 Fix wptexturisation of quotes when enclosed by brackets. Fixes #1418 props voyou1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-14 16:43:22 +00:00
westi cf552e9b1e Fix two more notices in the APP implementation. This time in the root /service page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-13 20:52:41 +00:00
westi 48aa373714 Enable the APP attachment file download to work correctly rather than just returning a lot of php notices. Fixes #10372 for trunk props mysz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-13 20:31:12 +00:00
westi 6fb4ff0ebe Fix notice in APP server if no authentication credentials supplied.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-13 20:11:52 +00:00
azaozz 468f7aaa14 Strip slashes from POST data in request_filesystem_credentials(), props dd32, fixes #10567
git-svn-id: http://svn.automattic.com/wordpress/trunk@11808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-13 06:03:26 +00:00
azaozz 52f4940dfb Fix bulk edit, some cleanup and message fixes for moving in/out of the trash, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-12 10:57:15 +00:00
ryan 0fc380223a Make it raw
git-svn-id: http://svn.automattic.com/wordpress/trunk@11803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-11 05:58:48 +00:00
ryan 85c806b96b urlencode login
git-svn-id: http://svn.automattic.com/wordpress/trunk@11802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-11 05:56:43 +00:00
ryan 55a2d968ce Pass user login when resetting passwords.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-11 05:48:44 +00:00