Commit Graph

5369 Commits

Author SHA1 Message Date
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
ryan 2ac19ec179 Fix compat with zend.ze1_compatibility_mode. Props gsnedders. fixes #10222 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-27 22:12:18 +00:00
azaozz f4c520ff02 Fix typo in wp_style_is(), props Denis-de-Bernardy, fixes #10283 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-27 06:55:49 +00:00
azaozz fe384afb00 Add missing localization in WP_HTTP, props Denis-de-Bernardy, fixes #10231 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 14:41:12 +00:00
azaozz 8b64b300cc Fix cache in WP_Widget_Recent_Posts, fixes #10251 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 14:35:40 +00:00
azaozz ec0eadf2c4 Use CSS instead of nbsp, props demetris, fixes #10206 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 12:56:24 +00:00
azaozz 64067f4612 Fix overlap in plugin and theme editors, props eddieringle, fixes #10101 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 11:07:10 +00:00
ryan 8483a08d39 Sort wp_page_menu() by menu_order. Props nathanrice. fixes #10266
git-svn-id: http://svn.automattic.com/wordpress/trunk@11642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 05:24:02 +00:00
ryan 82472f5474 Fix role translation. fixes #10270 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-25 17:18:56 +00:00
azaozz 4ad0ddf7aa Fix the test for autosave in post.js, fixes #10135 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-25 06:03:14 +00:00
ryan c6838b1761 Pass delimiter to preg_quote(). Props Denis-de-Bernardy. see #9955
git-svn-id: http://svn.automattic.com/wordpress/trunk@11634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-23 22:10:46 +00:00
ryan 00c27d7e17 Revert [11524]. curl has its problems, but so does everything else. see #9998 fixes #10104 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-23 19:18:27 +00:00
ryan 4c0207a772 Merge latest pomo. Works around mbstring.func_overload. Props nbachiyski. fixes #10236 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-23 16:32:52 +00:00
westi 2562197d3b Correct phpDoc comment for add_filter. Fixes #10164 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-20 18:14:46 +00:00
westi 0dba5eddcf Introduce _deep_replace() and use it to improve the stripping of percent encoded values from urls. Fixes #10226 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-20 17:42:24 +00:00
azaozz 740a42b75a Always load the Dashboard RSS widgets with AJAX, see #10133 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-20 10:30:09 +00:00
markjaquith 6283b5aaf1 Create wp_validate_redirect(), have the upgrade done link use it. props Westi. fixes #10193 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-19 19:30:17 +00:00
ryan ddad3fa4a5 absint paged
git-svn-id: http://svn.automattic.com/wordpress/trunk@11606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-19 17:30:39 +00:00
ryan 3737553e65 Reduce SimplePie memory usage. Props link92. fixes #10147 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-18 19:38:08 +00:00
ryan b37b56a339 Optimize timezone dropdown creation. Props sambauers. fixes #10125 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-18 17:40:40 +00:00
azaozz 8502dc0487 Fall back to wp-tinymce.js if wp-tinymce.js.gz doesn't exist
git-svn-id: http://svn.automattic.com/wordpress/trunk@11589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-17 01:06:32 +00:00
ryan c0752626de Plugin install fixes. Props Denis-de-Bernardy. see #10192
git-svn-id: http://svn.automattic.com/wordpress/trunk@11585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-16 19:36:48 +00:00
ryan 4d0c574bed Don't write to htaccess every time page is saved. Add hard/soft flush flag to flush_rules(). Make sure fopen is successful and silence errors. Props Viper007Bond. fixes #10181 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-16 02:44:28 +00:00
ryan 8ffd022581 Add missing brackets. Props westonruter. fixes #8446 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 00:28:52 +00:00
ryan 4e6f054b47 Menu fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@11565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 00:22:53 +00:00
azaozz cb0b89a71c is_active_sidebar() should use wp_get_sidebars_widgets(), props greenshady and Denis-de-Bernardy, fixes #10136
git-svn-id: http://svn.automattic.com/wordpress/trunk@11562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-14 08:37:07 +00:00
azaozz cff6cd66cd CSS tweaks for the uploader and Media Library, props hailin, fixes #10110
git-svn-id: http://svn.automattic.com/wordpress/trunk@11557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-13 05:03:43 +00:00
ryan 6c2cebdc56 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-11 04:45:31 +00:00
matt ecb825e4f1 Bumpity bump bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-11 01:29:29 +00:00
azaozz 4a60e70973 Fix check for a published post in calendar widget, props Denis-de-Bernardy, fixes #10091
git-svn-id: http://svn.automattic.com/wordpress/trunk@11548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-11 00:04:20 +00:00
azaozz de9947cc09 CSS tweak for Feature Filter (Theme Installer), props demetris, fixes #10088
git-svn-id: http://svn.automattic.com/wordpress/trunk@11547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 22:11:26 +00:00
azaozz 5b0098f4d7 CSS tweaks for plugin page, props Denis-de-Bernardy, fixes #10054
git-svn-id: http://svn.automattic.com/wordpress/trunk@11546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 21:55:14 +00:00
westi c5ae6aa620 Remove theme_basename() for now as the changeset that introduced it was reverted and nothing uses it. See #10067.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 16:36:46 +00:00
westi 0c2e8444c4 Replace the _ before sorting the timezones. Fixes #10066 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 16:23:20 +00:00
azaozz 333924fbec Check if turbo-nag exists and don't initialize Gears on every page load to check if it's enabled only check if it's installed to prevent crash in Firefox 3.0.10. Fixes #10083
git-svn-id: http://svn.automattic.com/wordpress/trunk@11538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 02:52:16 +00:00
azaozz 8409a9149a In get_posts() "category" is expected to be a string
git-svn-id: http://svn.automattic.com/wordpress/trunk@11536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-09 21:48:58 +00:00
azaozz 71b4ed94f2 Add translation domain to the timezone picker, props nbachiyski, fixes #10066
git-svn-id: http://svn.automattic.com/wordpress/trunk@11533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-08 21:02:19 +00:00
azaozz ac029b70cf bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-07 22:59:07 +00:00
azaozz 331751ae01 CSS tweaks for the plugins screen, same style for active and inactive for all screens
git-svn-id: http://svn.automattic.com/wordpress/trunk@11531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-07 22:43:31 +00:00
azaozz 1f2eb2f8b8 Allow CodePress to be disabled from Screen Options, see #10027
git-svn-id: http://svn.automattic.com/wordpress/trunk@11530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-07 01:52:44 +00:00
ryan a6e6817154 Initialize var. Props dd32. fixes #10050
git-svn-id: http://svn.automattic.com/wordpress/trunk@11529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-06 15:02:55 +00:00
ryan 261f318c8a Use array instead of query string notation. Prop dd32, kamiyeye. fixes #10047
git-svn-id: http://svn.automattic.com/wordpress/trunk@11528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-06 14:44:38 +00:00
azaozz 782b2624e3 Preferred transport: move curl to last position and fockopen to 2nd position due to higher compatibility, props DD32, fixes #9998
git-svn-id: http://svn.automattic.com/wordpress/trunk@11524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-06 06:51:35 +00:00
azaozz 75eb453e8c CSS tweaks for plugins-all screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-06 03:33:20 +00:00
ryan d026ea7673 Pass name to sidebar, footer, and header get actions. Props scribu. fixes #10022
git-svn-id: http://svn.automattic.com/wordpress/trunk@11521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-04 17:59:14 +00:00
azaozz 75a3b36310 Fix the border in the install plugins table
git-svn-id: http://svn.automattic.com/wordpress/trunk@11520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-04 08:21:17 +00:00
ryan c7d287c45a Don't pass by reference. Props kamiyeye. fixes #9994
git-svn-id: http://svn.automattic.com/wordpress/trunk@11518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-04 05:32:58 +00:00
azaozz cf7300c795 Add gray background to inactive rows on plugins screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-04 02:08:34 +00:00
azaozz 84ff783414 Using css to hide the Save button in widgets without settings, props Denis-de-Bernardy, fixes #10020
git-svn-id: http://svn.automattic.com/wordpress/trunk@11516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-04 00:52:31 +00:00
azaozz e0a2b8eebe Improve widgets hooks, props Denis-de-Bernardy, fixes #10013
git-svn-id: http://svn.automattic.com/wordpress/trunk@11510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-03 11:33:17 +00:00
ryan 206db6eddb Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-03 10:20:18 +00:00
azaozz 7182b0dbb4 Add more translator comments for placeholders, props nbachiyski, fixes #10002
git-svn-id: http://svn.automattic.com/wordpress/trunk@11506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-02 07:21:42 +00:00
azaozz d99872af71 Allow translators to change the curly quotes in wptexturize(), props nbachiyski fixes #10001
git-svn-id: http://svn.automattic.com/wordpress/trunk@11504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-02 00:27:53 +00:00
azaozz a71b8736cd Add "Accessibility Mode" for widgets screen (can be turned on from Screen Options). Add set_user_setting() to the UI state saving functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-01 23:31:34 +00:00
ryan 6a9fd7c2bb Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-01 17:13:20 +00:00
ryan 4d9b6b2fe1 Use proper field for category intersection queries. fixes #9985
git-svn-id: http://svn.automattic.com/wordpress/trunk@11501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-01 17:12:12 +00:00
azaozz b7bc0faa73 Reload the widget form with the ajax response after save, add Close link to the widgets, don't auto-close on save to show possible errors returned from validation
git-svn-id: http://svn.automattic.com/wordpress/trunk@11498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-31 11:34:08 +00:00
westi f04763c7f1 Move the upload_dir filter before the directory is created so that plugins can have a better effect. Fixes #9973 props dd32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-30 10:02:01 +00:00
ryan a83b4269a7 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-29 22:44:34 +00:00
markjaquith cacfffd068 Add esc_sql(), for completeness.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-29 20:31:52 +00:00
ryan c652a8f9e3 Add comment_moderation_headers filter. Props mtdewvirus. fixes #9969
git-svn-id: http://svn.automattic.com/wordpress/trunk@11489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-29 20:00:06 +00:00
ryan b827e3518c Use _wp_specialchars to get NOQUOTES. see #9934
git-svn-id: http://svn.automattic.com/wordpress/trunk@11488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-29 19:54:13 +00:00
ryan 02fb7b43fe Fix widget unregister back-compat. fixes #9952
git-svn-id: http://svn.automattic.com/wordpress/trunk@11484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-29 16:32:20 +00:00
azaozz 7e52231ce1 Fix submenu position and state on folded admin menu, props sambauers, fixes #9956
git-svn-id: http://svn.automattic.com/wordpress/trunk@11483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-29 07:42:55 +00:00
ryan 6ca5401e04 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-28 21:53:57 +00:00
ryan f50600bc13 Fix parent=0 queries. Props Denis-de-Bernardy 107 minutes ago. . fixes #9960
git-svn-id: http://svn.automattic.com/wordpress/trunk@11476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-28 18:06:08 +00:00
azaozz 961a793bda TinyMCE 3.2.4.1, fixes #9950
git-svn-id: http://svn.automattic.com/wordpress/trunk@11473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 22:28:29 +00:00
ryan 3f5c524fd2 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 22:02:51 +00:00
westi 68a6949d44 Check to see if we have an author before displaying it. See #9948.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 21:51:25 +00:00
ryan d77f57c34f Fix default orderby for tt_id query. see #9937
git-svn-id: http://svn.automattic.com/wordpress/trunk@11469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 17:09:19 +00:00
ryan b32a87962a Fix default orderby for tt_id query. see #9937
git-svn-id: http://svn.automattic.com/wordpress/trunk@11468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 17:00:30 +00:00
ryan b664e6a452 wp_unique_post_slug() fixes. Props Denis-de-Bernardy. fixes #9726
git-svn-id: http://svn.automattic.com/wordpress/trunk@11467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 16:21:53 +00:00
azaozz 6b559e2124 Ensure autosave is run before showing preview for new posts/pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 11:04:00 +00:00
ryan fc523a990a Fix loop start, loop end workflow. Props Denis-de-Bernardy. fixes #9944
git-svn-id: http://svn.automattic.com/wordpress/trunk@11464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-26 23:57:01 +00:00
azaozz 93895989c8 Revert [11202], see #9726
git-svn-id: http://svn.automattic.com/wordpress/trunk@11461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-26 08:58:10 +00:00
ryan 01635abdb9 Don't use esc_html() for DB bound data. see #9934
git-svn-id: http://svn.automattic.com/wordpress/trunk@11460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-26 05:05:46 +00:00
ryan 8600adb080 Add orderby = none option to wp_get_object_terms(). Props vladimir_kolesnikov. fixes #9937
git-svn-id: http://svn.automattic.com/wordpress/trunk@11457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 18:18:06 +00:00
ryan d6e62426fe Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 17:33:10 +00:00
azaozz 891b75bc8e Add a hook in print_footer_scripts as in print_head_scripts, props arena, fixes #9856
git-svn-id: http://svn.automattic.com/wordpress/trunk@11455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 11:14:39 +00:00
westi cdcb5859c8 Remove context from wp_feed_cache_transient_lifetime filter and filter in fetch_feed as well. Fixes #9926.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 09:13:48 +00:00
ryan bd2ed2c190 Restore LEFT JOIN for post_status_join. fixes #9851 see #9720
git-svn-id: http://svn.automattic.com/wordpress/trunk@11452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 05:36:48 +00:00
ryan beefbcf16c Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:51:22 +00:00
ryan 2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
ryan d514a0d6b2 Set eol style
git-svn-id: http://svn.automattic.com/wordpress/trunk@11449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:39:56 +00:00
westi e48a11f1fd Add a wp_lostpassword_url() function to complete the set. Based on patch from ramiy fixes #9932.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 20:58:22 +00:00
westi 084280b76e Allow plugins to filter the expiration time of the SimplePie cache. Fixes #9926.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 18:07:39 +00:00
azaozz 13c7249671 Delete widgets when dragged back to Available Widgets, add ui.droppable.js and ui.selectable.js, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 15:46:09 +00:00
westi 67c9c4662e Allow a different role to be set for users when they are created in a call to wp_insert_user(). Fixes #9891 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-23 21:48:36 +00:00
ryan e0a5704c22 Beta 2
git-svn-id: http://svn.automattic.com/wordpress/trunk@11440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-23 17:22:44 +00:00
azaozz 1d9d2409f5 Don't show content changed warning when saving as draft from the HTML editor, fixes #9912
git-svn-id: http://svn.automattic.com/wordpress/trunk@11439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-23 08:41:00 +00:00
azaozz a38f306239 Plugins screen css tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@11438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-23 01:56:19 +00:00
azaozz 4a50994a4e TinyMCE 3.2.4, remove the autosave plugin and add the same functionality in autosave.js, fix double warning messages when leaving the page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 22:08:17 +00:00
ryan b88547114d Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 21:58:41 +00:00
westi fc3b5ba6da Rename new function to sanitize_html_class() to hilight exactly what it is for, Fixes #8446.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 21:31:42 +00:00
ryan acfc3cdf1a Standardize on UTC. Props Denis-de-Bernardy. fixes #9793
git-svn-id: http://svn.automattic.com/wordpress/trunk@11434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 18:16:40 +00:00
westi 108f7c1063 Introduce sanitise_css_classname() and use it to give categories, tags, users etc meaningful classnames where possible. Falls back to the id if not. Fixes #8446.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 17:44:26 +00:00
azaozz aaa2d89183 Fix labels for the checkboxes in the Links widget
git-svn-id: http://svn.automattic.com/wordpress/trunk@11432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 16:27:23 +00:00
azaozz c8ad766bb7 Attempt to fix jQuery UI unselectable form fields in widgets, label can be either explicit or implicit, not both.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 16:13:05 +00:00
ryan 7bada8f202 Allow multiple search form templates. Props mtdewvirus. fixes #9908
git-svn-id: http://svn.automattic.com/wordpress/trunk@11430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 16:04:49 +00:00
azaozz 284e1c0559 Make get_terms() orderby case insensitive, props DD32, fixes #9906
git-svn-id: http://svn.automattic.com/wordpress/trunk@11428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 12:29:32 +00:00
azaozz 0632395ad6 Fix saving and deleting of widgets settings for no-js and for some non-standard widgets, run the actions from the widgets screen when saving with ajax, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 12:08:51 +00:00
ryan 54998219dc eliminate duplicate cap checks. Props coffee2code. fixes #9899
git-svn-id: http://svn.automattic.com/wordpress/trunk@11426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 18:55:00 +00:00
ryan e6c673e76c Add post ID arg to edit_post_link(). Props coffee2code. fixes #9898
git-svn-id: http://svn.automattic.com/wordpress/trunk@11425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 18:43:04 +00:00
ryan 1a939b81bd Use Stylesheet instead of Template to key theme data when doing theme update check. Props josephscott. fixes #9897
git-svn-id: http://svn.automattic.com/wordpress/trunk@11424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 18:17:20 +00:00
ryan 4f2d0e71de Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 16:13:04 +00:00
azaozz c9ce42c8a4 Fix styling for the plugins screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 09:40:11 +00:00
ryan cbe5ebd66d Revert [11392]. It breaks custom taxonomies for attachments. see #8731
git-svn-id: http://svn.automattic.com/wordpress/trunk@11420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 00:10:04 +00:00
ryan 2eafafa8c6 Fix comment paging for static front page. Props DD32. fixes #8598
git-svn-id: http://svn.automattic.com/wordpress/trunk@11419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 22:24:37 +00:00
azaozz ccec7e0077 Ensure the colors stylesheets have the same query string
git-svn-id: http://svn.automattic.com/wordpress/trunk@11418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 21:52:37 +00:00
ryan 8815dd60c2 Use get_the_author_meta(). Props sivel. see #9393
git-svn-id: http://svn.automattic.com/wordpress/trunk@11416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 21:32:39 +00:00
ryan 3d208ee264 Add orderby=none. Props DD32. fixes #9819
git-svn-id: http://svn.automattic.com/wordpress/trunk@11415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 21:26:00 +00:00
ryan a6580f16f5 seems_utf8() cleanup. Props hakre. fixes #9692
git-svn-id: http://svn.automattic.com/wordpress/trunk@11414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 21:13:14 +00:00
ryan 0d5b15b52f Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 20:56:25 +00:00
ryan 5a6cd2b356 Fix load_plugin_textdomain() phpdoc. Props PotterSys. fixes #9892
git-svn-id: http://svn.automattic.com/wordpress/trunk@11411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 18:54:14 +00:00
ryan 05d4c954ac Throttle generic pings to no more than once per hour. Props Denis-de-Bernardy. fixes #6698
git-svn-id: http://svn.automattic.com/wordpress/trunk@11410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 17:03:19 +00:00
ryan 31f8459c24 Make sure filter IDs are unique. Props bkrausz, hakre. fixes #8723
git-svn-id: http://svn.automattic.com/wordpress/trunk@11409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 16:59:01 +00:00
ryan 4e1feb62af Pass text direction to wp_die(). Allow locales to set text direction in local packages. Props nbachiyski. fixes #6132
git-svn-id: http://svn.automattic.com/wordpress/trunk@11408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 16:32:22 +00:00
ryan 681f0ba58c Add number_format_i18n filter. Props kambiz.k. fixes #7753
git-svn-id: http://svn.automattic.com/wordpress/trunk@11407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 16:08:35 +00:00
ryan 458a0cf306 Remove global regs that can poison query objects. fixes #9854
git-svn-id: http://svn.automattic.com/wordpress/trunk@11406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 16:05:23 +00:00
azaozz db1d0c4ed5 Include the current theme in theme update check, props josephscott, fixes #9880
git-svn-id: http://svn.automattic.com/wordpress/trunk@11404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 20:12:37 +00:00
azaozz 6232d3c395 Fix blue admin theme for new widgets screen, fixes #9878
git-svn-id: http://svn.automattic.com/wordpress/trunk@11403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 18:55:58 +00:00
ryan 3d3db69a05 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 18:45:21 +00:00
ryan 40db336ea7 Reset post-related globals in wp_reset_query(). Props Denis-de-Bernardy. fixes #9256
git-svn-id: http://svn.automattic.com/wordpress/trunk@11400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 16:16:15 +00:00
ryan eb71bd2f9c Pass query object to loop_start and loop_end actions. Props Denis-de-Bernardy. fixes #9854
git-svn-id: http://svn.automattic.com/wordpress/trunk@11399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 16:13:50 +00:00
ryan 2b2e7e9478 Add more link and then force_balance_tags. Props Denis-de-Bernardy. fixes #9765
git-svn-id: http://svn.automattic.com/wordpress/trunk@11398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 16:03:11 +00:00
ryan d8b87f60a7 Allow case-insensitive logins. Props mdawaffe. fixes #5472
git-svn-id: http://svn.automattic.com/wordpress/trunk@11397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 15:56:53 +00:00
ryan c3a0c4d9e2 Use filtered post data. Props Denis-de-Bernardy, sirzooro. fixes #9084
git-svn-id: http://svn.automattic.com/wordpress/trunk@11396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 15:54:19 +00:00
ryan 0e7c7e8657 Fix display of titles for front pages. Props sivel. fixes #9288
git-svn-id: http://svn.automattic.com/wordpress/trunk@11395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 15:48:47 +00:00
ryan 46c5f5b84c Fix item count in wp_sprintf_l(). Props abelcheung. fixes #9847
git-svn-id: http://svn.automattic.com/wordpress/trunk@11394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 15:36:01 +00:00
ryan 1c1cbe2aa2 Lose broken post_status_join. Exclude revisions from post_type = any queries. Props gortsleigh. fixes #8731
git-svn-id: http://svn.automattic.com/wordpress/trunk@11392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 15:25:43 +00:00
azaozz a303904bd6 Some more styling for the plugins screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 01:27:34 +00:00
ryan 219770e856 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 23:27:19 +00:00
azaozz 80969e073e Clean the cache-manifests, make $manifest_version and $tinymce_version global vars accessible from the manifest
git-svn-id: http://svn.automattic.com/wordpress/trunk@11388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 20:29:26 +00:00
ryan 7f6ecdd706 Don't notify post author of own comments. PrProps josephscott. fixes #8695
git-svn-id: http://svn.automattic.com/wordpress/trunk@11387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 18:36:04 +00:00
ryan fc0f664353 Unset from GLOBALS. see #9854
git-svn-id: http://svn.automattic.com/wordpress/trunk@11386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 18:00:47 +00:00
markjaquith 3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
ryan 05c7b40a29 Break global post ref so we don't pollute queries. see #9854
git-svn-id: http://svn.automattic.com/wordpress/trunk@11382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:56:39 +00:00
ryan efd3e8e99f bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:14:36 +00:00
markjaquith 119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
ryan e2802f7f3b Recognize Expression Web 2 as IIS. Props peaceablewhale, DD32. fixes #8725
git-svn-id: http://svn.automattic.com/wordpress/trunk@11379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 14:54:16 +00:00
azaozz 69dacfe471 Fix Screen Options and Help buttons
git-svn-id: http://svn.automattic.com/wordpress/trunk@11378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 05:10:50 +00:00
ryan 7608f13e25 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 03:29:59 +00:00
azaozz 4dfedcc8ff Add param to the widget_display_callback hook, props Denis-de-Bernardy, fixes #9852
git-svn-id: http://svn.automattic.com/wordpress/trunk@11374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-17 19:36:28 +00:00
azaozz 697923e9f0 Update SWFUpload to 2.2.0.1, see #9413
git-svn-id: http://svn.automattic.com/wordpress/trunk@11372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-17 12:29:58 +00:00
westi f4331cacbd Migrate final get_author_name() calls to use get_the_author_meta() instead. See #9393 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 22:32:48 +00:00
azaozz f69da836bf Add footer actions to iframe footer, props DD32, fixes #9832
git-svn-id: http://svn.automattic.com/wordpress/trunk@11366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 19:21:29 +00:00
ryan 535aa13c4a Beta 1
git-svn-id: http://svn.automattic.com/wordpress/trunk@11365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 18:44:55 +00:00
ryan a26dc6fa73 Add trailing slash before query args for crufty links. Props peaceablewhale. fixes #9515
git-svn-id: http://svn.automattic.com/wordpress/trunk@11364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 17:22:19 +00:00
ryan a5e73d3b9b Fix feed autodiscovery. Props peaceablewhale. fixes #9810
git-svn-id: http://svn.automattic.com/wordpress/trunk@11358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 05:15:21 +00:00
ryan 2dab570b8b Fix bad call to str_replace. see #9395
git-svn-id: http://svn.automattic.com/wordpress/trunk@11355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 04:46:31 +00:00
ryan 054ab7521d Bump all style versions
git-svn-id: http://svn.automattic.com/wordpress/trunk@11354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 02:50:23 +00:00
ryan e0763aa711 Support headers split over multiple lines. Props hakre, Denis-de-Bernardy, wnorris. fixes #9395
git-svn-id: http://svn.automattic.com/wordpress/trunk@11351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 02:17:55 +00:00
ryan 24f847661f Support IIS 7.0 URL Rewrite Module. Props ruslany. Hat tips to peaceablewhale, hakre, Denis-de-Bernardy, sivel. fixes #8974
git-svn-id: http://svn.automattic.com/wordpress/trunk@11350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 02:04:36 +00:00
azaozz 5a6cf8b500 Strip tags and convert < > to entities when appending widget title, fixes #9830
git-svn-id: http://svn.automattic.com/wordpress/trunk@11349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 00:32:04 +00:00
ryan dd453bec12 Allow combining category and tag queries. Props turboguy. fixes #5433
git-svn-id: http://svn.automattic.com/wordpress/trunk@11348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 23:47:28 +00:00
ryan d0e5cc1409 Use get_post_modified_time filter in get_post_modified_time(). Props Denis-de-Bernardy. fixes #9734
git-svn-id: http://svn.automattic.com/wordpress/trunk@11347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 22:33:33 +00:00
ryan 909978dfaa Ver bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@11346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 22:21:21 +00:00
ryan 0f7d055621 Handle nested tag in wptexturize(). Props nbachiyski. fixes #7056 see #6969
git-svn-id: http://svn.automattic.com/wordpress/trunk@11345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 21:37:18 +00:00
ryan 603abd463e Escape posts passed as objects. Props Denis-de-Bernardy. fixes #9727
git-svn-id: http://svn.automattic.com/wordpress/trunk@11344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 21:27:39 +00:00
ryan a99a8b886f Add option to wp_die to display a go back link. Props nbachiyski. fixes #5167
git-svn-id: http://svn.automattic.com/wordpress/trunk@11342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 17:49:35 +00:00
ryan f47c8c729c Update PHPMailer to 2.0.4. Props hakre. fixes #9697
git-svn-id: http://svn.automattic.com/wordpress/trunk@11341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 17:32:35 +00:00
azaozz 886c680a5d Fix IE 512-byte minimum page length bug, props hakre, fixes #8942
git-svn-id: http://svn.automattic.com/wordpress/trunk@11340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 09:38:43 +00:00
azaozz 8fcacb951d Support more than one gallery on the same page, props jamescollins, fixes #7678
git-svn-id: http://svn.automattic.com/wordpress/trunk@11339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 08:52:04 +00:00
westi 378aaa973e Ensure that wp_specialchars captures all pre-encoded entities correctly when preventing double encoding. Fixes #9821.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-15 06:29:19 +00:00
azaozz 457e211d22 Escape the captions in the gallery with wptexturize() instead of wp_specialchars(), props Denis-de-Bernardy, fixes #8763
git-svn-id: http://svn.automattic.com/wordpress/trunk@11336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 23:15:28 +00:00
ryan a1d5fbaec2 Better verbose page rule detection to support showing posts on a page with a custom permastruct. Props Denis-de-Bernardy. fixes #6603
git-svn-id: http://svn.automattic.com/wordpress/trunk@11335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 21:50:20 +00:00
ryan a1f614654d Use text/xml for rss feeds for best browser compat. Props Denis-de-Bernardy. fixes #9810
git-svn-id: http://svn.automattic.com/wordpress/trunk@11334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 21:21:31 +00:00
ryan e1fac77dca Give continents-cities their own textdomain. Props nbachiyski, Denis-de-Bernardy . fixes #9794
git-svn-id: http://svn.automattic.com/wordpress/trunk@11333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 20:05:25 +00:00
ryan 4cda93b364 Sort tz continents and cities by translated names. Load translations from separate mo to avoid cluttering default pot. Props Denis-de-Bernardy. see #9794
git-svn-id: http://svn.automattic.com/wordpress/trunk@11332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 18:58:37 +00:00
ryan 60b524160c Use user_login instead of ID to check if user exists when creating unique nicenames. ID isn't available when inserting new users. Props sivel. see #9393
git-svn-id: http://svn.automattic.com/wordpress/trunk@11331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 18:55:32 +00:00
azaozz fc488172cc Don't display empty values in the user display name drop-down, props Simek, fix js to add newly entered First Name and Last Name, fixes #9813
git-svn-id: http://svn.automattic.com/wordpress/trunk@11330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 17:01:04 +00:00
ryan 1f1a333449 Allow plugins to override tz support enable/disable. Props Otto42. fixes #3962
git-svn-id: http://svn.automattic.com/wordpress/trunk@11329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 16:23:20 +00:00
ryan 7d84965ef7 urlencode login redirect. Props Viper007Bond. fixes #9817
git-svn-id: http://svn.automattic.com/wordpress/trunk@11328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 16:11:01 +00:00
azaozz 4f149f8c6d Make sure all colors stylesheets have the same version string, see #7262
git-svn-id: http://svn.automattic.com/wordpress/trunk@11327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 13:34:26 +00:00
westi 55ce914fbc Add a permalink_structure_changed action to allow plugins to do something once the new structure has been applied to WP_Rewrite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 06:38:34 +00:00
ryan 0d81b0ea1a Revert [11263]. Busted several themes. see #9323
git-svn-id: http://svn.automattic.com/wordpress/trunk@11324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 04:09:01 +00:00
ryan 1354d0660a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 02:00:32 +00:00
ryan c383ff7450 Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: http://svn.automattic.com/wordpress/trunk@11318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 22:28:56 +00:00
azaozz e4bb49ee5d Add a function to output a generic widget anywhere in a template, props Denis-de-Bernardy, fixes #9701
git-svn-id: http://svn.automattic.com/wordpress/trunk@11317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 20:43:49 +00:00
ryan 75ec19a860 Notice fix. Props mrmist. fixes #8446
git-svn-id: http://svn.automattic.com/wordpress/trunk@11316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 19:04:26 +00:00
ryan 646f11e78e Remove stale enclosures. Props mystyman. fixes #6840
git-svn-id: http://svn.automattic.com/wordpress/trunk@11315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 05:15:27 +00:00
markjaquith 5f17b95d0f Exclude <tt> from formatting. props JulienV. fixes #8321
git-svn-id: http://svn.automattic.com/wordpress/trunk@11313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 22:51:24 +00:00
markjaquith bdf8e8fb38 Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: http://svn.automattic.com/wordpress/trunk@11312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 22:40:56 +00:00
ryan 2a8091e386 Fix widget registration with PHP 4. see #9800
git-svn-id: http://svn.automattic.com/wordpress/trunk@11310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 19:17:30 +00:00
azaozz 45a38585d1 Lowercase widgets $id_base, props Denis-de-Bernardy, fixes #9797
git-svn-id: http://svn.automattic.com/wordpress/trunk@11308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 17:56:04 +00:00
ryan a0c7b65f7b Use IDs instead of slugs in CSS classes ro avoid invalid class names. Props hakre. fixes #8446
git-svn-id: http://svn.automattic.com/wordpress/trunk@11306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 17:11:57 +00:00
ryan f25182f1e5 Clear cache after deleting meta. Props Denis-de-Bernardy. fixes #9009
git-svn-id: http://svn.automattic.com/wordpress/trunk@11305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 17:10:05 +00:00
ryan c90e3f5f81 Feed namespace hooks. Props Denis-de-Bernardy, peaceablewhale. fixes #9792
git-svn-id: http://svn.automattic.com/wordpress/trunk@11303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 16:57:49 +00:00
azaozz 99370b2b73 Add filter: the post content "more link", props JohnLamansky, fixes #9711
git-svn-id: http://svn.automattic.com/wordpress/trunk@11300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 06:38:59 +00:00
azaozz 58929f3eaf Post comments feed link HTML filter, props JohnLamansky, fixes #9712
git-svn-id: http://svn.automattic.com/wordpress/trunk@11299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 06:19:36 +00:00
ryan 7ee0777c33 Add title attributes to links in recent entries widget. Props topncal, Denis-de-Bernardy. fixes #6091
git-svn-id: http://svn.automattic.com/wordpress/trunk@11293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 05:47:25 +00:00
ryan 91411dde28 Translate continent and city names for timezone picker. see #9794
git-svn-id: http://svn.automattic.com/wordpress/trunk@11290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 01:04:16 +00:00
ryan c5e2d3dc99 Fix sign of GMT offsets. Props Denis-de-Bernardy. fixes #9758
git-svn-id: http://svn.automattic.com/wordpress/trunk@11288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 00:32:36 +00:00
westi c2efcbf94d Clear future publishing hook on post deletion. Fixes #5364 props develish and Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 22:17:13 +00:00
westi 9f7ea00b75 Drop raw check in sanitize_post so int fields are always sanitized.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 22:10:45 +00:00
westi a53a13efa4 phpdoc updates for l10n functions. Fixes #9767 props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 21:15:05 +00:00
westi 3d95157033 Add a 'rss2_comments_ns' action to the namespaces section of the RSS2 comments feed. Fixes #5819.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 21:02:18 +00:00
ryan 69bc51b14a Add title option to search widget. Props hakre. fixes #9756
git-svn-id: http://svn.automattic.com/wordpress/trunk@11274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 19:48:56 +00:00
westi 83f0f5f9ef Add slash:comments extension to RSS2 feed to give comment counts for posts. Fixes #4023 props peaceablewhale.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 19:42:47 +00:00
ryan 649fd36f57 Add function_exists check for gzdecode. see #9761
git-svn-id: http://svn.automattic.com/wordpress/trunk@11271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 19:34:24 +00:00
ryan 5b8b047b79 Add the_author_aim() to deprecated. see #8776
git-svn-id: http://svn.automattic.com/wordpress/trunk@11269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 17:56:34 +00:00
ryan 6fe87c07bc Accept only IDs for get_term_link(). Prop filosofo. fixes #9323
git-svn-id: http://svn.automattic.com/wordpress/trunk@11263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 16:37:42 +00:00
ryan 80078c3882 Allow use of _pad_term_counts for all hierarhcical taxonomies. Props mgsisk, Denis-de-Bernardy. fixes #8350
git-svn-id: http://svn.automattic.com/wordpress/trunk@11260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 05:01:12 +00:00
ryan a478f215d3 JOIN instead of LEFT JOIN. Props Denis-de-Bernardy. fixes #9720
git-svn-id: http://svn.automattic.com/wordpress/trunk@11259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 04:56:00 +00:00
ryan 1d367b556c Pass IDs, not objects, to get_category_link(). fixes #9784
git-svn-id: http://svn.automattic.com/wordpress/trunk@11257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 04:45:39 +00:00
azaozz 602194e49a Put back disabling of sortables for folded sidebars, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 10:33:30 +00:00
westi f80f234fdd Fix typo in [11253] fixes #8704 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 09:25:43 +00:00
azaozz d2f74d993d Add filters for default widgets calling template functions, props Denis-de-Bernardy, fixes #9780
git-svn-id: http://svn.automattic.com/wordpress/trunk@11254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 09:14:37 +00:00
westi 077697d1ca Add a filter to the result of wp_get_object_terms(). Fixes #8704 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 09:11:58 +00:00
westi d6b7dc3a8e Update phpdoc for get_pages() and fix bugs in previous commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 09:00:18 +00:00
westi 9e32b2810a Add paging support to get_pages(). Fixes #4531 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 08:55:49 +00:00
westi e61bea89ed Allow for custom ordering in get_terms(). Fixes #7539 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 07:57:07 +00:00
westi a977c155bf Filter out blank urls for commentors. Fixes #5789.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 07:26:30 +00:00
azaozz ad6e4d1a41 Append the widget's title to the header, adjust sidebar height after changing widgets, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 00:49:48 +00:00
markjaquith d7b015645d esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-09 07:27:22 +00:00
ryan 63620ff895 Cache empty results for adjacent post queries
git-svn-id: http://svn.automattic.com/wordpress/trunk@11243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-08 19:47:30 +00:00
ryan 2644391146 Cache get_adjacent_post() queries for the duration of the page load to avoid running queries multiple times
git-svn-id: http://svn.automattic.com/wordpress/trunk@11241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-08 18:04:13 +00:00
azaozz 348654df25 Strip tags from category description when used as title, props demetris, fixes #9753
git-svn-id: http://svn.automattic.com/wordpress/trunk@11239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-08 13:47:26 +00:00
azaozz ba1741b6e5 Fix old format multi-number placeholder in widgets
git-svn-id: http://svn.automattic.com/wordpress/trunk@11238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-07 21:58:45 +00:00
westi b8bc0b796a Minor tidy up from merge of changes to BackPress.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-07 21:49:10 +00:00
westi 79c7fb33fa Pass just the headers array to should_decode. Fixes #9754 props willnorris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-07 21:18:20 +00:00
westi f0c4dc3058 Prevent notice check on invalid sticky settings. See #9393 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-07 07:05:35 +00:00
westi 792271cc4b Fix notices when an in-use widget is deleted. See #9393 props nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@11229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-07 06:59:06 +00:00
westi 99c157dbaf Fix notices when the Recent_Comments widget has no settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@11228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-07 06:57:28 +00:00
azaozz e191104e4a Show Plugin Information thickbox title only when installing plugins, restore access to links on install plugins screens, some colors-fresh.css cleanup, fixes #9742
git-svn-id: http://svn.automattic.com/wordpress/trunk@11225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-07 02:41:36 +00:00
azaozz 0ba921274d Change CSS classes to avoid collisions with ui.tabs, fixes #9740
git-svn-id: http://svn.automattic.com/wordpress/trunk@11224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 21:31:07 +00:00
westi abe4bd3f46 Updates phpDoc for the post functions. See #8805 props CharlesClarkson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 20:49:36 +00:00
westi 0c5393432e Update phpDoc for update_option. See #8805 props rmccue.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 20:33:59 +00:00
westi e89d78ee08 Decode the commenters name why looking up un-moderated comments. Fixes #6992.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 20:24:57 +00:00
ryan 1971247149 Fix RTL color stylesheet loading. Props hakre. fixes #9735
git-svn-id: http://svn.automattic.com/wordpress/trunk@11219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 17:47:58 +00:00
ryan 85497e63a0 Revert[11210]. fixes #9738 see #9515
git-svn-id: http://svn.automattic.com/wordpress/trunk@11218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 16:56:13 +00:00
ryan e15c230205 Return ref. Props nbachiyski. fixes #9109
git-svn-id: http://svn.automattic.com/wordpress/trunk@11216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 05:03:59 +00:00
ryan bf92d8a323 Escape title attributes in calendar links. fixes #8967
git-svn-id: http://svn.automattic.com/wordpress/trunk@11215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 04:56:32 +00:00
ryan c0f2a493ee Add the_post action. Props Denis-de-Bernardy. fixes #6284
git-svn-id: http://svn.automattic.com/wordpress/trunk@11213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 01:42:43 +00:00
ryan 44777c3352 Revert accidental fxn rename
git-svn-id: http://svn.automattic.com/wordpress/trunk@11212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 23:32:16 +00:00
ryan 9ae6f72acd Comment query filters. Props filosofo. fixes #9635
git-svn-id: http://svn.automattic.com/wordpress/trunk@11211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 22:41:26 +00:00
ryan e513a9012b Slashe before query args. Props peaceablewhale. fixes #9515
git-svn-id: http://svn.automattic.com/wordpress/trunk@11210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 22:22:20 +00:00
ryan 83925773d0 Don't do core version check from front page loads. Props Denis-de-Bernardy. fixes #8590
git-svn-id: http://svn.automattic.com/wordpress/trunk@11209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 21:51:48 +00:00
ryan ff9b91d141 texturize widget titles. Props jtatum. fixes #7084
git-svn-id: http://svn.automattic.com/wordpress/trunk@11208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 21:38:08 +00:00
ryan 18e6d80bc1 Use lastBuildDate. Props peaceablewhale. fixes #9566
git-svn-id: http://svn.automattic.com/wordpress/trunk@11206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 20:38:47 +00:00
ryan 0d4c0a54da Proper lastBuildDate for rss2 comments feed. Props peaceablewhale. fixes #9567
git-svn-id: http://svn.automattic.com/wordpress/trunk@11205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 20:36:20 +00:00
markjaquith 6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan e631b2d341 Use wp_unique_slug() in wp_insert_attachment(). Props Denis-de-Bernardy. fixes #9726
git-svn-id: http://svn.automattic.com/wordpress/trunk@11202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 16:39:36 +00:00
azaozz 2c2878bc80 Don't bind every form element to form.submit in wp-lists, fixes #7838, see #9696
git-svn-id: http://svn.automattic.com/wordpress/trunk@11201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 10:29:37 +00:00
azaozz 62b2e5e278 Escape caption in [gallery] output, props MattyRob, fixes #8763
git-svn-id: http://svn.automattic.com/wordpress/trunk@11200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 07:35:03 +00:00
azaozz 28ee4bf382 Wrap tag cloud in a block element, props hudatoriq, fixes #7905
git-svn-id: http://svn.automattic.com/wordpress/trunk@11199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 07:14:51 +00:00
ryan cc3d87bf2b Always do post status transition actions. Props nbachiyski. fixes #8792
git-svn-id: http://svn.automattic.com/wordpress/trunk@11197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 05:53:55 +00:00
ryan bc57e47e02 Fix callbacks. Props Denis-de-Bernardy. fixes #9722 see #9697
git-svn-id: http://svn.automattic.com/wordpress/trunk@11195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 05:35:56 +00:00
ryan 4f40b6e5ff Return fiter result directly. Props Denis-de-Bernardy. fixes #9690
git-svn-id: http://svn.automattic.com/wordpress/trunk@11194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 05:32:20 +00:00
azaozz 83f674bf9a Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +00:00
ryan 6d46bed194 always apply widget_title filter. Props Denis-de-Bernardy. fixes #9450
git-svn-id: http://svn.automattic.com/wordpress/trunk@11188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 03:59:08 +00:00
azaozz 154896f99d Add a space between image and name in bookmark-template.php, props sivel, fixes #8608
git-svn-id: http://svn.automattic.com/wordpress/trunk@11184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 02:23:40 +00:00
azaozz 1aa5637881 Fix target = _blank, props Nazgul, fixes #6049
git-svn-id: http://svn.automattic.com/wordpress/trunk@11182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 00:51:47 +00:00
ryan 808079dc32 Use invisible class for hiding labels and legends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 21:28:58 +00:00
ryan 3072fbb30d sanitize_file_name() improvements. Props sivel. fixes #9416
git-svn-id: http://svn.automattic.com/wordpress/trunk@11178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 20:20:48 +00:00
azaozz 6b7da9c94d Fix widget option saving on drop, fixes #9721
git-svn-id: http://svn.automattic.com/wordpress/trunk@11176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 19:33:54 +00:00
ryan 229dedb539 Hide things that need to be available to screen readers via offscreen positioning. see #9445
git-svn-id: http://svn.automattic.com/wordpress/trunk@11175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 18:05:16 +00:00
ryan 12078bcb11 Attr escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@11173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 17:54:08 +00:00
azaozz bf88b244cd Hide text while editor is loading, show html editor on error
git-svn-id: http://svn.automattic.com/wordpress/trunk@11171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 10:34:50 +00:00
westi cce77d198a Move _cleanup_header_comment() to wp-includes so it is always available. Fixes #8497 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 09:33:58 +00:00
westi 96eb01c3ac Enhance get_comments() phpdoc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 09:22:44 +00:00
westi c8c528f18e Support single line Template Name comment blocks for theme Templates and apply same cleanup to all header lines. Fixes #8497 props DD32 and Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 09:12:12 +00:00
azaozz 6c24a749f3 Refresh widgets screen css
git-svn-id: http://svn.automattic.com/wordpress/trunk@11167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 01:21:59 +00:00
azaozz 7d778bdaca Widgets UI improvements: arrows, some more help
git-svn-id: http://svn.automattic.com/wordpress/trunk@11166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 01:19:10 +00:00
azaozz 4ad76521d5 Make is_active_widget() optionally look in 'wp_inactive_widgets' for use in the admin
git-svn-id: http://svn.automattic.com/wordpress/trunk@11164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-03 23:20:26 +00:00
azaozz 83952bee95 Widgets UI styling, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-03 05:27:13 +00:00
ryan 161b628ba9 Turn off tag cloud filtering when requesting the cloud via AJAX. Props jhodgdon. fixes ##6593
git-svn-id: http://svn.automattic.com/wordpress/trunk@11158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-02 18:43:04 +00:00
azaozz aae118f16c Add action "in_widget_form" allowing plugins to add extra fields, don't show "Save" button if a widget doesn't have settings form, fixes #9651
git-svn-id: http://svn.automattic.com/wordpress/trunk@11155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-02 00:21:16 +00:00
ryan 31e805261c Send valid host when using WP_Http_Fsockopen over SSL. Props mdawaffe. fixes #9699
git-svn-id: http://svn.automattic.com/wordpress/trunk@11154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 23:53:38 +00:00
ryan 7fc314e858 strip slashes from term before prepare(). Props jhodgdon. see #6593
git-svn-id: http://svn.automattic.com/wordpress/trunk@11153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 22:05:04 +00:00
ryan e52d7eee0b Trim term before checking if it already exists. Props jhodgdon. fixes #9397
git-svn-id: http://svn.automattic.com/wordpress/trunk@11151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 20:59:14 +00:00
markjaquith 42ae25cb48 Exclamation mark is a valid and safe character in a URI. props hakre. fixes #8904
git-svn-id: http://svn.automattic.com/wordpress/trunk@11147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 23:52:32 +00:00
ryan 36eee06eb3 Use _http_build_query() if PHP version < 5.1.2. Props hakre. fixes #9044
git-svn-id: http://svn.automattic.com/wordpress/trunk@11143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 21:51:16 +00:00
ryan 657826a931 Use correct var. Update phpdoc. Props MichaelH, coffee2code. fixes #8776
git-svn-id: http://svn.automattic.com/wordpress/trunk@11142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 19:55:29 +00:00
ryan 30ee53dd96 Fix registration of default taxonomies so that proper rewrite rules are written.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 19:05:32 +00:00
ryan 11cbf4e3d7 Fix category search pagination. Fix caching of empty term results. Props Denis-de-Bernardy. fixes #8632
git-svn-id: http://svn.automattic.com/wordpress/trunk@11140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 16:51:45 +00:00
ryan cd77f8c3a5 get_the_author_meta() and the_author_meta(). Props DD32, thee17. fixes #8776
git-svn-id: http://svn.automattic.com/wordpress/trunk@11138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 16:27:17 +00:00
westi b4743048ab Fix wp_mails handling of custom boundaries. Fixes #5204 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 07:25:47 +00:00
azaozz 05e168fd95 Add is_active_sidebar(), props filosofo, fixes #4594
git-svn-id: http://svn.automattic.com/wordpress/trunk@11134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 04:26:34 +00:00
ryan fcd5b67d67 Allow plugins to override default taxonomies. Props Denis-de-Bernardy. fixes #9647
git-svn-id: http://svn.automattic.com/wordpress/trunk@11129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 20:25:30 +00:00
ryan 64e33fdaa8 Don't prepend http to fragments. Props scohoust. fixes #4051
git-svn-id: http://svn.automattic.com/wordpress/trunk@11126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 20:10:06 +00:00
ryan b622d954e3 Make post slugs unique across all hierarhical post types. Props Denis-de-Bernardy. fixes #6437
git-svn-id: http://svn.automattic.com/wordpress/trunk@11125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 19:04:27 +00:00
ryan 1d2a1111a0 Fix status transitions from edit comment form. Props josephscott. fixes #8863
git-svn-id: http://svn.automattic.com/wordpress/trunk@11124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 17:22:08 +00:00
ryan 5a1c8da169 Allow taxonomy registration before init. Props arena. fixes #9647
git-svn-id: http://svn.automattic.com/wordpress/trunk@11122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 16:40:36 +00:00
ryan a240e226fb Sanitize when querying against category name so that multiple-word subcategories match. props filosofo. fixes #8619
git-svn-id: http://svn.automattic.com/wordpress/trunk@11121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 16:25:33 +00:00
azaozz 5a922af756 Don't concatenate scripts when SCRIPT_DEBUG is set, fixes #9675
git-svn-id: http://svn.automattic.com/wordpress/trunk@11119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 06:25:49 +00:00
azaozz 6d535ce0c2 Load the menu folded (if set), load the editor earlier
git-svn-id: http://svn.automattic.com/wordpress/trunk@11118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 05:43:03 +00:00
ryan 7eaed7cc08 get_term_children phpdoc and var naming improvements. Props simonwheatley. fixes #9667
git-svn-id: http://svn.automattic.com/wordpress/trunk@11115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 19:49:21 +00:00
ryan f7c30e87eb Pass post ID to the_title filter. Props DD32. see #5746 #9666
git-svn-id: http://svn.automattic.com/wordpress/trunk@11112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 17:40:49 +00:00
ryan e7f2b40dd7 protected_title_format and private_title_format. Props anderswc. fixes #8918
git-svn-id: http://svn.automattic.com/wordpress/trunk@11111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 17:36:10 +00:00
ryan 2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan 430a8cb2cf Limit get_lastpost* functions to post_type=post. Props Denis-de-Bernardy. fixes #9636
git-svn-id: http://svn.automattic.com/wordpress/trunk@11108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:42:30 +00:00
ryan c85db8e8d7 Don't show password protected posts in searches for non-logged in users. Props coffee2code. fixes #9559
git-svn-id: http://svn.automattic.com/wordpress/trunk@11106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 00:05:43 +00:00
azaozz 9ef71cac7e Fix Paste from Word button in TinyMCE
git-svn-id: http://svn.automattic.com/wordpress/trunk@11105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 23:19:23 +00:00
ryan 2249c69021 attr(), _a(), _ea(), _xa() for shorthand attribute escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 21:58:04 +00:00
ryan 8cd2e92b69 Clarify add endpoint phpdoc. Props Denis-de-Bernardy. fixes #9476
git-svn-id: http://svn.automattic.com/wordpress/trunk@11102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 21:11:01 +00:00
ryan 036a36a7e8 Add redirect param to wp_loginout(). Props Denis-de-Bernardy. fixes #9241
git-svn-id: http://svn.automattic.com/wordpress/trunk@11101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 20:00:59 +00:00
ryan f52d1dd2b0 Eliminate preg_replace with /e. Props tbaboon. fixes #8689
git-svn-id: http://svn.automattic.com/wordpress/trunk@11098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 16:17:24 +00:00
ryan 63c40f644d Remove call-time pass-by-ref. Props jbsil. see #9651
git-svn-id: http://svn.automattic.com/wordpress/trunk@11097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 16:09:49 +00:00
azaozz 4e975cf400 Add hooks to WP_Widget, props ceenz, fixes #9651, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@11095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 10:56:29 +00:00
azaozz e1dbca4f8a Move Tag Cloud widget to WP_Widget, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@11094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 09:28:57 +00:00
azaozz 7ee6f89719 Move RSS widget to WP_Widget, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@11093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 08:46:47 +00:00
ryan f2f9eafc26 phpdoc udpates and error checks for http. Props DD32. fixes #8620
git-svn-id: http://svn.automattic.com/wordpress/trunk@11091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-26 23:54:59 +00:00
azaozz 15588b4080 Move recent comments widget to WP_Widget, extend is_active_widget() to use $id_base, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@11090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-26 20:09:08 +00:00
azaozz 84f5771dfa Fix conversion of old widget settings for Recent Posts, see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@11088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-26 05:34:06 +00:00
azaozz 143b92ded9 Move recent posts widget to WP_Widget. see #8441
git-svn-id: http://svn.automattic.com/wordpress/trunk@11087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-25 12:43:51 +00:00
azaozz a4207b955e Fix category__not_in and tag__not_in running empty, props coffee2code, fixes #9645
git-svn-id: http://svn.automattic.com/wordpress/trunk@11086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-25 07:48:17 +00:00