Commit Graph

10463 Commits

Author SHA1 Message Date
Andrew Ozz
dd4f9603cb Sanitize $include and $exclude in the gallery shortcode
git-svn-id: https://develop.svn.wordpress.org/trunk@11776 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-05 05:56:00 +00:00
Peter Westwood
d99cec0a57 Move plugin update notice output to the plugin specific hook so as to make them easier to filter and manage from plugins that want to do there own thing. Fixes #10464 props strider72.
git-svn-id: https://develop.svn.wordpress.org/trunk@11775 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 21:52:31 +00:00
Peter Westwood
b2fce410d1 Add support for sticky posts to the WXR exporter and importer. Fixes #10462 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11774 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 21:46:42 +00:00
Peter Westwood
92cc16ae04 Allow user registration to be enabled by an XMLRPC client. Fixes #10454 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11773 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 21:30:21 +00:00
Peter Westwood
c37c59c0b7 Ensure that users_can_register is sanitised correctly. See #10454 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11772 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 21:28:42 +00:00
Andrew Ozz
6508558092 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: https://develop.svn.wordpress.org/trunk@11771 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 07:32:18 +00:00
Andrew Ozz
26383ac68e Stop direct loading of files in wp-admin that should only be included, for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11768 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-03 00:04:45 +00:00
Andrew Ozz
cdf06921c7 More cap checks, for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11764 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-02 02:23:54 +00:00
Ryan Boren
7b8c4df9bc Add some CYA cap checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@11763 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-01 21:58:59 +00:00
Ryan Boren
98b8d02a40 Add some CYA cap checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@11761 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-01 21:12:17 +00:00
Mark Jaquith
ebd60f5a91 Be consistent about slashing _REQUEST superglobal. props dd32. fixes #10360
git-svn-id: https://develop.svn.wordpress.org/trunk@11760 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-31 22:22:54 +00:00
Mark Jaquith
0604c85a91 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: https://develop.svn.wordpress.org/trunk@11759 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-31 09:40:16 +00:00
Mark Jaquith
7d5293d834 add some filters so that HTTP requests can be filtered. props johnbillion. fixes #10413
git-svn-id: https://develop.svn.wordpress.org/trunk@11758 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-31 09:37:45 +00:00
Mark Jaquith
d70c5162bf Fix some default widget PHP notices. props mrmist. fixes #10225
git-svn-id: https://develop.svn.wordpress.org/trunk@11757 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-31 09:35:59 +00:00
Mark Jaquith
5d9e24caa3 Return an empty array instead of false for get_children() when no children found. props Denis-de-Bernardy. fixes #10053
git-svn-id: https://develop.svn.wordpress.org/trunk@11756 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-31 09:31:56 +00:00
Mark Jaquith
a218ea1e9f Add missing quote. Props brianwhite. fixes #10474
git-svn-id: https://develop.svn.wordpress.org/trunk@11755 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 22:03:33 +00:00
Andrew Ozz
0e582fb956 Fix invalid border-radius css, props Simek, fixes #10500 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11754 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 16:31:06 +00:00
Andrew Ozz
97027f3abe Don't show edit link for comments when the user cannot edit them, props filosofo, fixes #10520 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11752 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 15:43:04 +00:00
Andrew Ozz
16241293d3 Trash status update, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11750 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 14:55:07 +00:00
Andrew Ozz
d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Andrew Ozz
dfa42e3952 Allow _wp_get_comment_list to handle custom comment types, props aaroncampbell, fixes #10463
git-svn-id: https://develop.svn.wordpress.org/trunk@11748 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-27 23:28:13 +00:00
Andrew Ozz
b310ef4a08 Add attachment ID to the wp_generate_attachment_metadata filter, props taco1991, fixes #10494
git-svn-id: https://develop.svn.wordpress.org/trunk@11747 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-27 23:08:21 +00:00
Andrew Ozz
eb4b483e8b Use exif rotation data when creating sub-sizes of uploaded jpeg images, see #7042
git-svn-id: https://develop.svn.wordpress.org/trunk@11746 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-27 18:32:30 +00:00
Ryan Boren
9223d6583f Canonical redirects for post name queries. Props DD32. see #6516
git-svn-id: https://develop.svn.wordpress.org/trunk@11745 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-26 17:16:53 +00:00
Andrew Ozz
84162cad0b 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: https://develop.svn.wordpress.org/trunk@11744 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-26 01:23:46 +00:00
Andrew Ozz
c7b3be84cf Improve QE data for Draft, Pending and Scheduled posts screens, see #10478
git-svn-id: https://develop.svn.wordpress.org/trunk@11743 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-25 12:21:55 +00:00
Andrew Ozz
ffbb2b7b5f Fix QE returned data for Pending and Scheduled posts screens, use jQuery.live() for QE events, fixes #10478
git-svn-id: https://develop.svn.wordpress.org/trunk@11742 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-25 10:58:05 +00:00
Andrew Ozz
245d113bfc "Trash" status for comments updates, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11741 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-24 07:23:11 +00:00
Andrew Ozz
72f5a9910c Fix comment author url when editing, fixes #10466 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11739 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-22 22:32:27 +00:00
Ryan Boren
62cdbc6522 add smilies_src filter. Props Otto42. see #10145
git-svn-id: https://develop.svn.wordpress.org/trunk@11738 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-22 18:27:13 +00:00
Andrew Ozz
b4b59e27e5 Generate same as original color depth thumbnails for PNG images, props madhyde, fixes #9887
git-svn-id: https://develop.svn.wordpress.org/trunk@11737 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-22 03:02:44 +00:00
Ryan Boren
fcda8f6d13 Revert tango smilies back to old school WP smilies due to public hue and cry. see #10145
git-svn-id: https://develop.svn.wordpress.org/trunk@11736 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-22 00:18:09 +00:00
Ryan Boren
60936ba553 Pings to the people. Return to pinging for updates to published posts. see #6698
git-svn-id: https://develop.svn.wordpress.org/trunk@11734 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 23:09:47 +00:00
Ryan Boren
0f8ce0e0df 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: https://develop.svn.wordpress.org/trunk@11732 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 19:44:21 +00:00
Andrew Ozz
8db7e5a07c "Trash" status for comments, first run, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11731 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 03:11:12 +00:00
Ryan Boren
fc37d64a90 esc_attr() for comment author email
git-svn-id: https://develop.svn.wordpress.org/trunk@11727 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-20 02:51:14 +00:00
Ryan Boren
617265d39e esc_url() for ()
git-svn-id: https://develop.svn.wordpress.org/trunk@11724 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-20 01:41:05 +00:00
Ryan Boren
cc56ac3d6d sanitize_comment_cookie() handles the attribute escaping, so remove the extra escaping and leave the phpdoc.
git-svn-id: https://develop.svn.wordpress.org/trunk@11723 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-20 01:22:25 +00:00
Ryan Boren
a692acecdf 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: https://develop.svn.wordpress.org/trunk@11722 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-20 01:11:14 +00:00
Andrew Ozz
c7a3747476 Properly escape comment_author_url when displaying, for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11721 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-18 23:21:50 +00:00
Andrew Ozz
54e5a88d02 Properly sanitize Gears storeName for IDN domains, fixes #9594
git-svn-id: https://develop.svn.wordpress.org/trunk@11719 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-18 06:27:42 +00:00
Andrew Ozz
235c33b9fb Flush the cache in Recent Comments widget on transition_comment_status, props josephscott, fixes #10427
git-svn-id: https://develop.svn.wordpress.org/trunk@11718 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-16 22:31:22 +00:00
Andrew Ozz
ba6403bb8c Correct icon_url over SSL in add_object_page(), props johnbillion, fixes #10412
git-svn-id: https://develop.svn.wordpress.org/trunk@11717 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-15 08:36:45 +00:00
Andrew Ozz
c18cc9c051 Fix plugins descriptions localization, props Denis-de-Bernardy, fixes #10382
git-svn-id: https://develop.svn.wordpress.org/trunk@11716 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:54:03 +00:00
Andrew Ozz
6b3f1c63a0 Fix notice in upload.php, props mrmist, fixes #10223
git-svn-id: https://develop.svn.wordpress.org/trunk@11715 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:39:56 +00:00
Andrew Ozz
a8855d1e60 Hide update notification for themes that are updated manually, props Denis-de-Bernardy, fixes #10220
git-svn-id: https://develop.svn.wordpress.org/trunk@11714 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:34:39 +00:00
Andrew Ozz
3cd210f180 Truncate comment agent when longer than 255 chars, props Denis-de-Bernardy, fixes #10389
git-svn-id: https://develop.svn.wordpress.org/trunk@11713 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:20:24 +00:00
Andrew Ozz
f6aaf08cbf Improve temp file name, props DD32, fixes #10224
git-svn-id: https://develop.svn.wordpress.org/trunk@11712 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:12:18 +00:00
Andrew Ozz
3b5d738ec8 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: https://develop.svn.wordpress.org/trunk@11711 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 07:59:52 +00:00
Peter Westwood
64fd3c3e59 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: https://develop.svn.wordpress.org/trunk@11709 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-11 09:17:09 +00:00