Commit Graph

5075 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
azaozz
49f9fb716c Fix deprecated arg. in safecss_filter_attr(), for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-08 09:54:34 +00:00
ryan
df5809a0cc Allow class, id, and style on headers. Props matt.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-06 14:37:48 +00:00
azaozz
a85254b70c Convert the old style widgets order array only when loading the widgets screen, fixes #10300 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-04 12:49:54 +00:00
azaozz
e0e697974e Inline CSS filter for kses, for trunk, fixes #10336
git-svn-id: http://svn.automattic.com/wordpress/trunk@11689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-04 04:49:39 +00:00
ryan
509df6442d Add 'rpc' context to siteurl which obeys ADMIN and LOGIN forced SSL. see #10330
git-svn-id: http://svn.automattic.com/wordpress/trunk@11686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-04 02:48:22 +00:00
ryan
8c62b0e1d6 Tango/GNOME smilies. Props jdub. fixes #10145
git-svn-id: http://svn.automattic.com/wordpress/trunk@11685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-03 18:50:28 +00:00
ryan
684d12ae53 Better compression compat. Props dd32. see #10163
git-svn-id: http://svn.automattic.com/wordpress/trunk@11684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-02 23:18:27 +00:00
ryan
a5786f5730 Update load_textdomain() phpdoc. Props nbachiyski. fixes #10286 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 20:05:14 +00:00
ryan
7e5166665c Output final optgroup. Props hakre. fixes #10292 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 17:59:19 +00:00
azaozz
f385e7da46 Use new jQuery methods when adding, editing and deleting tags with AJAX, fix warning when deleting tags, see #10239
git-svn-id: http://svn.automattic.com/wordpress/trunk@11676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 08:12:39 +00:00
azaozz
1a88d01e90 Fix the rounded corners on .widefat, for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-01 07:31:37 +00:00
azaozz
4b3d0ed00e Fix vertical misalignment and cell borders in IE, props demetris, fixes #10090 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-28 03:41:01 +00:00
azaozz
daa5da7259 Fix pending comments count, paging and comments requests while moderating for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-27 22:40:06 +00:00