Commit Graph

10458 Commits

Author SHA1 Message Date
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
azaozz 4105845402 Stop direct loading of files in wp-admin that should only be included, for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-03 00:04:45 +00:00
azaozz 3d7a5dce98 More cap checks, for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-02 02:23:54 +00:00
ryan 9bb224cf1e Add some CYA cap checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-01 21:58:59 +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 a431376de5 Be consistent about slashing _REQUEST superglobal. props dd32. fixes #10360
git-svn-id: http://svn.automattic.com/wordpress/trunk@11760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-31 22:22:54 +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
markjaquith aadb7c680f Add missing quote. Props brianwhite. fixes #10474
git-svn-id: http://svn.automattic.com/wordpress/trunk@11755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 22:03:33 +00:00
azaozz 2613cb76f3 Fix invalid border-radius css, props Simek, fixes #10500 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 16:31:06 +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 190a148e6b Allow _wp_get_comment_list to handle custom comment types, props aaroncampbell, fixes #10463
git-svn-id: http://svn.automattic.com/wordpress/trunk@11748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-27 23:28:13 +00:00
azaozz febbb3bbda Add attachment ID to the wp_generate_attachment_metadata filter, props taco1991, fixes #10494
git-svn-id: http://svn.automattic.com/wordpress/trunk@11747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-27 23:08:21 +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
azaozz 46ece84195 Fix wp_tag_cloud('order=RAND'), don't pre-sort if filter 'tag_cloud_sort' is used to sort the tags, props Joern_W, fixes #10393
git-svn-id: http://svn.automattic.com/wordpress/trunk@11744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-26 01:23:46 +00:00
azaozz f48bea5721 Improve QE data for Draft, Pending and Scheduled posts screens, see #10478
git-svn-id: http://svn.automattic.com/wordpress/trunk@11743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-25 12:21:55 +00:00
azaozz bdbaca9056 Fix QE returned data for Pending and Scheduled posts screens, use jQuery.live() for QE events, fixes #10478
git-svn-id: http://svn.automattic.com/wordpress/trunk@11742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-25 10:58:05 +00:00
azaozz 2040971211 "Trash" status for comments updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-24 07:23:11 +00:00
azaozz 174f05ad82 Fix comment author url when editing, fixes #10466 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-22 22:32:27 +00:00
ryan 90f9d33c42 add smilies_src filter. Props Otto42. see #10145
git-svn-id: http://svn.automattic.com/wordpress/trunk@11738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-22 18:27:13 +00:00
azaozz 2cc87216e8 Generate same as original color depth thumbnails for PNG images, props madhyde, fixes #9887
git-svn-id: http://svn.automattic.com/wordpress/trunk@11737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-22 03:02:44 +00:00
ryan 14047212f2 Revert tango smilies back to old school WP smilies due to public hue and cry. see #10145
git-svn-id: http://svn.automattic.com/wordpress/trunk@11736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-22 00:18:09 +00:00
ryan f7e02a7c22 Pings to the people. Return to pinging for updates to published posts. see #6698
git-svn-id: http://svn.automattic.com/wordpress/trunk@11734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-21 23:09:47 +00:00
ryan 98e73f0c98 Process waiting pings a half hour after the last ping to avoid spamming ping sites. Don't make a ping wait if the last ping was more than half an hour ago. Props VoxPelli. fixes #6698 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-21 19:44:21 +00:00
azaozz d2fec31c0e "Trash" status for comments, first run, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-21 03:11:12 +00:00
ryan 19b743e7e2 esc_attr() for comment author email
git-svn-id: http://svn.automattic.com/wordpress/trunk@11727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-20 02:51:14 +00:00
ryan af409e2dae esc_url() for ()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-20 01:41:05 +00:00
ryan 3e73668bca sanitize_comment_cookie() handles the attribute escaping, so remove the extra escaping and leave the phpdoc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-20 01:22:25 +00:00
ryan 1466e9954b Escape , , and for use in attributes by default since so many themes don't escape them. Use wp_get_current_commenter() to get the raw values.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-20 01:11:14 +00:00
azaozz 8dff8f9f73 Properly escape comment_author_url when displaying, for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-18 23:21:50 +00:00
azaozz 8e564c4782 Properly sanitize Gears storeName for IDN domains, fixes #9594
git-svn-id: http://svn.automattic.com/wordpress/trunk@11719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-18 06:27:42 +00:00
azaozz 80c6f0727e Flush the cache in Recent Comments widget on transition_comment_status, props josephscott, fixes #10427
git-svn-id: http://svn.automattic.com/wordpress/trunk@11718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-16 22:31:22 +00:00
azaozz e67872f12e Correct icon_url over SSL in add_object_page(), props johnbillion, fixes #10412
git-svn-id: http://svn.automattic.com/wordpress/trunk@11717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-15 08:36:45 +00:00
azaozz 93b0be9b0c Fix plugins descriptions localization, props Denis-de-Bernardy, fixes #10382
git-svn-id: http://svn.automattic.com/wordpress/trunk@11716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-14 08:54:03 +00:00
azaozz 9afb0a1277 Fix notice in upload.php, props mrmist, fixes #10223
git-svn-id: http://svn.automattic.com/wordpress/trunk@11715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-14 08:39:56 +00:00
azaozz e032847e3e Hide update notification for themes that are updated manually, props Denis-de-Bernardy, fixes #10220
git-svn-id: http://svn.automattic.com/wordpress/trunk@11714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-14 08:34:39 +00:00
azaozz 9f6cd3b709 Truncate comment agent when longer than 255 chars, props Denis-de-Bernardy, fixes #10389
git-svn-id: http://svn.automattic.com/wordpress/trunk@11713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-14 08:20:24 +00:00
azaozz 7842ab84d9 Improve temp file name, props DD32, fixes #10224
git-svn-id: http://svn.automattic.com/wordpress/trunk@11712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-14 08:12:18 +00:00
azaozz b86edde092 Fix converting of HTML entities in Quick editor for comments, don't output QE data when the user cannot edit comments, fixes #9935
git-svn-id: http://svn.automattic.com/wordpress/trunk@11711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-14 07:59:52 +00:00
westi 9f3da8a6ef Call wp_dropdown_users() with echo=0 when outputting the quickedit and bulkedit forms so as to remove the need for output buffering. Fixes #10062 props johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-11 09:17:09 +00:00
westi 2705e7ff47 Remove comment quickedit data from the dashboard recent comments widget. Fixes #9603 props coffee2code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-11 09:11:15 +00:00
azaozz 33a5d20b5c Properly escape the title in the feed widget, props nbachiyski, fixes #10378 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-11 04:18:26 +00:00
westi f0007384e4 Provide a pre-filled wp-config.php file in a textarea if setup-config can't write to the server. Fixes #10107 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-09 21:35:47 +00:00
westi a809b6a57f Fix typo in type_url_from_video() link text description. Fixes #10071 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-09 21:21:57 +00:00
westi 9247aae5cc Make checked and selected compare more carefully and update the phpdoc with the correct @since version. Fixes #9862 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-09 21:13:23 +00:00