Commit Graph

2447 Commits

Author SHA1 Message Date
ryan 276b690c7e Add cat-item-id and page-item-id classes. Props Otto42. fixes #4703
git-svn-id: http://svn.automattic.com/wordpress/trunk@5920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:59:45 +00:00
ryan f65528ed41 Fix get_post_comments_feed_link() to work with pages. fixes #4637
git-svn-id: http://svn.automattic.com/wordpress/trunk@5919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:42:57 +00:00
ryan 200f0b020f Add get_lastpostdate and 'get_lastpostdatemodified filters. Props rob1n. fixes #4801
git-svn-id: http://svn.automattic.com/wordpress/trunk@5918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:30:06 +00:00
ryan 02df4f722c Add class to tag cloud links. Props filosofo. fixes #4798
git-svn-id: http://svn.automattic.com/wordpress/trunk@5917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:28:00 +00:00
ryan cbad9a2993 posts_results and posts_selection hooks. fixes #4799
git-svn-id: http://svn.automattic.com/wordpress/trunk@5916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 18:03:26 +00:00
ryan 1a2aa3fcc3 Sanitize a few options
git-svn-id: http://svn.automattic.com/wordpress/trunk@5914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 17:57:36 +00:00
ryan 851ce58496 Some tag api additions from andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-21 18:39:45 +00:00
ryan 763f8b8821 commentsrss2_head action from joostdevalk. fixes #4694
git-svn-id: http://svn.automattic.com/wordpress/trunk@5911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-21 18:32:39 +00:00
ryan 9b395107f4 Deprecate permalink_single_rss(). Add the_permalink_rss() with accompanying filter. Props joostdevalk and Otto42. fixes #4654
git-svn-id: http://svn.automattic.com/wordpress/trunk@5910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-21 18:27:45 +00:00
ryan 567bc9d3f1 wp_reset_query() from mdawaffe. fixes #4741
git-svn-id: http://svn.automattic.com/wordpress/trunk@5907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-20 22:55:43 +00:00
ryan ba0f401390 bookmark sanitizer funcs and default filter cleanup. see #4546
git-svn-id: http://svn.automattic.com/wordpress/trunk@5906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-20 22:50:04 +00:00
matt 04558f4424 Don't run if installing, fixes $4772
git-svn-id: http://svn.automattic.com/wordpress/trunk@5900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-19 04:27:04 +00:00
ryan b4cd7ba224 Add back compat to get_the_category. Props nbachiyski. fixes #4771
git-svn-id: http://svn.automattic.com/wordpress/trunk@5899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-18 17:21:51 +00:00
ryan 8d75bcef27 Revert accidental commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 21:23:39 +00:00
ryan 0458d919c0 First cut of taxonomy API phpdoc from darkdragon. see #4742
git-svn-id: http://svn.automattic.com/wordpress/trunk@5896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 21:22:37 +00:00
matt 096bece621 Switch to init action. Hat tip: westi. See #1476
git-svn-id: http://svn.automattic.com/wordpress/trunk@5894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 13:28:45 +00:00
matt 7c2dbb9cb1 First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 10:33:52 +00:00
markjaquith 410a3c5762 Oops... forgot the svn add. Thanks mdawaffe. see #4554
git-svn-id: http://svn.automattic.com/wordpress/trunk@5891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 03:45:59 +00:00
ryan 948284b296 Don't update comments feed last-modified header for unapproved comments. Props James Ballantine and Nazgul. fixes #4618 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 19:26:01 +00:00
ryan 19f1e721bb Use dc:creator instead of author for rss2 comment feeds. Props lexhair, Otto42. fixes #4704 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:34:57 +00:00
ryan 4ae69ee6a8 Advanced Toolbar shortcut hint fix from leonid. fixes #4707
git-svn-id: http://svn.automattic.com/wordpress/trunk@5880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:17:54 +00:00
ryan aa1b4e8968 Set instead of add since the cache value has multiple keys that can change. Props josephscott. fixes #4743
git-svn-id: http://svn.automattic.com/wordpress/trunk@5879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:12:12 +00:00
ryan f478ddaa36 Pass args as array instead of query string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:00:47 +00:00
ryan ff20fd6c17 Category union and intersection query vars. fixes #4750
git-svn-id: http://svn.automattic.com/wordpress/trunk@5873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-15 22:08:51 +00:00
ryan 8b205f4e87 Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@5872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-15 21:54:02 +00:00
ryan 951a41ad1e get_the_tag_list from andy. fixes #4733
git-svn-id: http://svn.automattic.com/wordpress/trunk@5871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:44:49 +00:00
ryan 13b23aa20a Space before slash to properly close br tag. Props tmountjr. fixes #4717
git-svn-id: http://svn.automattic.com/wordpress/trunk@5870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:12:24 +00:00
ryan ddc05f60ea wp_update_comment_count hook from mdawaffe. fixes #4740
git-svn-id: http://svn.automattic.com/wordpress/trunk@5869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:08:44 +00:00
ryan 2ae70d7c72 Update in_category() to use object term cache API. Props technosailor. fixes #4442
git-svn-id: http://svn.automattic.com/wordpress/trunk@5868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:01:26 +00:00
ryan dc1c54a35c Use opendir instead of dir. Props nbachiyski. fixes #4450
git-svn-id: http://svn.automattic.com/wordpress/trunk@5867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:58:33 +00:00
ryan 638d5e6e39 wp_update_term_count fixes from cavemonkey50. fixes #4500
git-svn-id: http://svn.automattic.com/wordpress/trunk@5866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:54:02 +00:00
ryan 7c1ce10fae sanitize the value, not the field. Props cavemonkey50. fixes #4651
git-svn-id: http://svn.automattic.com/wordpress/trunk@5865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:46:06 +00:00
matt c13a667443 A more elegant way of doing get_col.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-10 19:30:24 +00:00
markjaquith 5b82b1c426 Prevent get_col() from returning an array of NULLs. see #4725
git-svn-id: http://svn.automattic.com/wordpress/trunk@5860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-10 18:08:04 +00:00
markjaquith 676ea2ea3c globalize wp_version so Magpie can use it. props Nazgul, hakre. fixes #3996
git-svn-id: http://svn.automattic.com/wordpress/trunk@5859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-10 08:07:53 +00:00
matt 0311e61389 If you don't have anything nice to say, don't say anything at all. (And certainly don't return the results of a previous query to an empty query.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-10 01:33:56 +00:00
markjaquith b64ce2d0f0 explicitly check next() against FALSE when iterating through filters. Props Denis-de-Bernardy, Otto42, Nazgul, santosj (go team effort!). fixes #4625 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-08 17:41:46 +00:00
markjaquith 2af150e496 Avoid running get_posts filter twice. Props DD32. fixes #4712
git-svn-id: http://svn.automattic.com/wordpress/trunk@5855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-08 04:24:44 +00:00
markjaquith 5c83a39e33 Clear old future post cron entry before creating the authoritative one. Props Barry. fixes #4710
git-svn-id: http://svn.automattic.com/wordpress/trunk@5853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-08 04:08:06 +00:00
markjaquith 44df30f2d6 Fix class-smtp.php typo. Props Nazgul, tension7. fixes #4700
git-svn-id: http://svn.automattic.com/wordpress/trunk@5852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-05 18:13:24 +00:00
markjaquith fa0dc110d9 Allow for hour/minute/second values in the QS that evaluate as false (like 0). Props Otto42 and agharbeia. fixes #4499
git-svn-id: http://svn.automattic.com/wordpress/trunk@5848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-04 16:30:27 +00:00
matt 763b0b689e If no user ID for whatever reason, bail early.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-04 03:58:42 +00:00
markjaquith 9e21fb42fc function_exists() wrapper around fetch_rss() to allow for plugin replacement. Props Otto42. see #4547
git-svn-id: http://svn.automattic.com/wordpress/trunk@5845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-03 01:39:36 +00:00
markjaquith 3ba71111de Allow pre_option_ filters to return values that evaluate as false. fixes #4695
git-svn-id: http://svn.automattic.com/wordpress/trunk@5842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-02 22:51:42 +00:00
markjaquith ad81604c8c add_option()/update_option() should pass the option name to get_option() pre-escaped. fixes #4690 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-01 19:14:10 +00:00
markjaquith e06883dfcc Use "home," not "siteurl" for widget dropdown category URLs. Props Pastinakel. fixes #4683 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-30 16:23:04 +00:00
markjaquith 764f50bd3d ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: http://svn.automattic.com/wordpress/trunk@5820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-27 21:28:01 +00:00
ryan f2223e6dc5 In your cats, making them back compat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-25 03:04:46 +00:00
ryan 401f581879 Don't forget to filter post_category
git-svn-id: http://svn.automattic.com/wordpress/trunk@5817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-24 22:29:41 +00:00
ryan b01cbf1b76 fix FF bug in write screen: post status change on reload. Props mdawaffe. fixes #4664
git-svn-id: http://svn.automattic.com/wordpress/trunk@5816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-24 21:40:58 +00:00