Commit Graph

5106 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
ryan
00ee55a47f Apply get_edit_post_link filter. Props prettyboymp. fixes #10579
git-svn-id: http://svn.automattic.com/wordpress/trunk@11795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-10 16:33:42 +00:00
azaozz
f0618619e1 Strip slashes in the text widget for users without the unfiltered_html capability, props jamescollins, fixes #10563
git-svn-id: http://svn.automattic.com/wordpress/trunk@11794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-09 12:32:18 +00:00
westi
b54c6b91e3 Pass the widget instance as context to the widget_title and widget_text filters. Fixes #10573 props Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-09 10:35:28 +00:00
azaozz
a049b4a1b0 Don't do autosave while the TinyMCE spellchecker is active (it strips all the markup), fixes #10515
git-svn-id: http://svn.automattic.com/wordpress/trunk@11790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-08 09:03:56 +00:00
westi
f027bbd170 Pass the filename to the wp_feed_cache_transient_lifetime filter to give the plugins some context. Fixes #10565 props dd32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-07 17:17:40 +00:00
westi
8aa2598b6a Make it much easier to filter contact methods from user profiles adding and removing at will. Fixes #10240 props joostdevalk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-06 21:59:52 +00:00
westi
91e47a25d8 Correct the name of the filter in _nx(). Fixes #10540 props CalebKniffen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-06 19:27:52 +00:00
ryan
04d3d11213 rel=canonical for singular pages. see #10115
git-svn-id: http://svn.automattic.com/wordpress/trunk@11777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-05 16:43:51 +00:00
azaozz
e15de47ed7 Sanitize $include and $exclude in the gallery shortcode
git-svn-id: http://svn.automattic.com/wordpress/trunk@11776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-05 05:56:00 +00:00
westi
c484dd5c17 Ensure that users_can_register is sanitised correctly. See #10454 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-04 21:28:42 +00:00
azaozz
bbefcaca3b Add support for 'include' and 'exclude' to [gallery] (include="123,456" would show only these attachments regardless of the parent post, exclude="789,123" would exclude these attachments and show the rest).
git-svn-id: http://svn.automattic.com/wordpress/trunk@11771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-04 07:32:18 +00:00
ryan
a8890b9160 Add some CYA cap checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-01 21:12:17 +00:00
markjaquith
aa6bbb479c Force IPv4 (127.0.0.1) when connecting to localhost, as many dev environments are not set up to serve on IPv6 (::1). props dd32. fixes #10045
git-svn-id: http://svn.automattic.com/wordpress/trunk@11759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-31 09:40:16 +00:00
markjaquith
8bd3d6cab9 add some filters so that HTTP requests can be filtered. props johnbillion. fixes #10413
git-svn-id: http://svn.automattic.com/wordpress/trunk@11758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-31 09:37:45 +00:00
markjaquith
5141747487 Fix some default widget PHP notices. props mrmist. fixes #10225
git-svn-id: http://svn.automattic.com/wordpress/trunk@11757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-31 09:35:59 +00:00
markjaquith
81e0fe00ee Return an empty array instead of false for get_children() when no children found. props Denis-de-Bernardy. fixes #10053
git-svn-id: http://svn.automattic.com/wordpress/trunk@11756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-31 09:31:56 +00:00
azaozz
a52e9d5e9a Don't show edit link for comments when the user cannot edit them, props filosofo, fixes #10520 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 15:43:04 +00:00
azaozz
dc37cd4ce4 Trash status update, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 14:55:07 +00:00
azaozz
39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
azaozz
06370d4f9e Use exif rotation data when creating sub-sizes of uploaded jpeg images, see #7042
git-svn-id: http://svn.automattic.com/wordpress/trunk@11746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-27 18:32:30 +00:00
ryan
b64cc30cf8 Canonical redirects for post name queries. Props DD32. see #6516
git-svn-id: http://svn.automattic.com/wordpress/trunk@11745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-26 17:16:53 +00:00