Commit Graph

230 Commits

Author SHA1 Message Date
Ryan Boren 22497fb74f Add prohphylactic addlashes when evaling query. Props xknown.
git-svn-id: https://develop.svn.wordpress.org/trunk@8510 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 17:17:38 +00:00
Ryan Boren a9751a9ee9 Walker improvements from hailin. fixes #7353
git-svn-id: https://develop.svn.wordpress.org/trunk@8494 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 22:50:57 +00:00
Ryan Boren 57532d83dd Don't try to match rewrite rules against AtomPub requests. Props josephscott. fixes #7249
git-svn-id: https://develop.svn.wordpress.org/trunk@8263 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-06 17:33:39 +00:00
Peter Westwood 5abf4bfe1b Move another sizeof out of the loop. See #7147.
git-svn-id: https://develop.svn.wordpress.org/trunk@8118 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-18 06:48:48 +00:00
Ryan Boren f46c926a06 Don't do sizeof() in a loop. Props DD32. see #7147
git-svn-id: https://develop.svn.wordpress.org/trunk@8111 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-17 03:07:42 +00:00
Ryan Boren 524b45d6ba Init array. Props DD32. fixes #6981
git-svn-id: https://develop.svn.wordpress.org/trunk@7944 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-16 16:33:11 +00:00
Matt Mullenweg fc437f1276 Fix default taxonomy query var. Populate taxonomy and term query vars ASAP. Fixes template fall-through. Hat tip: andy
git-svn-id: https://develop.svn.wordpress.org/trunk@7940 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-16 02:35:24 +00:00
Ryan Boren 9e8d5079c6 Convert Walker classes to pass as reference. Props mdawaffe. fixes #6796 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7761 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 19:30:54 +00:00
Ryan Boren 39ee18d8f3 Remove unanchored string replacement. Props nh7a. fixes #6423
git-svn-id: https://develop.svn.wordpress.org/trunk@7551 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 20:10:29 +00:00
Ryan Boren ec33c42302 Taxonomy links and template tags from andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7520 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 06:37:19 +00:00
Ryan Boren 6ab2307892 Fix some notices
git-svn-id: https://develop.svn.wordpress.org/trunk@7503 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 20:30:33 +00:00
Ryan Boren cbfb5d78b5 Taxonomy queries and urls. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7491 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 17:02:11 +00:00
Ryan Boren 004b469e34 Fix parens in walker. Props hailin.
git-svn-id: https://develop.svn.wordpress.org/trunk@7454 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 18:11:47 +00:00
Ryan Boren 39a2681bc7 Capture last db error. Pass it in WP_Error data when term inserts fail. Fix typo in WP_Ajax_Response
git-svn-id: https://develop.svn.wordpress.org/trunk@7431 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-20 23:34:32 +00:00
Ryan Boren 6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren 71f274c599 Add option to check caps when querying a particular post status. fixes #6052
git-svn-id: https://develop.svn.wordpress.org/trunk@7109 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 21:49:49 +00:00
Ryan Boren e29306e69c Post Edit Collision Detection from mdawaffe. fixes #6043
git-svn-id: https://develop.svn.wordpress.org/trunk@7103 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 09:51:36 +00:00
Ryan Boren 7940191d5c Cast to array
git-svn-id: https://develop.svn.wordpress.org/trunk@7081 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 06:43:45 +00:00
Ryan Boren 0808c1b9a1 Introduce get_post_ancestors(). Add current_page_ancestor class to ancestors of the current page. Props AaronCampbell. fixes #5662
git-svn-id: https://develop.svn.wordpress.org/trunk@7074 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 23:28:18 +00:00
Ryan Boren 0803a8a86a Revert [6940]. Breaks atompub. see #5717
git-svn-id: https://develop.svn.wordpress.org/trunk@6956 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 20:47:15 +00:00
Ryan Boren 8ddbf1eb16 Skip main posts query if 404. Props misterbisson. fixes #5717
git-svn-id: https://develop.svn.wordpress.org/trunk@6940 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 16:52:40 +00:00
Ryan Boren 5f85c2dc0c Media Library design updates from Andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@6910 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-19 06:13:20 +00:00
Ryan Boren d50b16fba6 Walker markup fixes from hailin. fixes #5844
git-svn-id: https://develop.svn.wordpress.org/trunk@6858 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-15 07:34:52 +00:00
Ryan Boren 1a9f6e6657 Revert [6835] as it breaks the depth arg. see#5844
git-svn-id: https://develop.svn.wordpress.org/trunk@6839 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-14 02:51:12 +00:00
Ryan Boren 7a334c8fa5 Walker markup fixes from hailin. fixes #5844
git-svn-id: https://develop.svn.wordpress.org/trunk@6835 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-14 00:54:52 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren 60b802e55d Some notice fixes from Nazgul. fixes #3155
git-svn-id: https://develop.svn.wordpress.org/trunk@6711 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-02 18:42:09 +00:00
Ryan Boren 153ce1be0d Page walk fixes from hailin. fixes #5581
git-svn-id: https://develop.svn.wordpress.org/trunk@6552 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 19:55:17 +00:00
Ryan Boren 791a7d7191 Unused var cleanup. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6551 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 19:36:34 +00:00
Ryan Boren 5ff262b3da Page walker fixes from hailin. fixes #5498
git-svn-id: https://develop.svn.wordpress.org/trunk@6456 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-21 18:49:20 +00:00
Peter Westwood e097caa70c Fix some of the notices visible with WP_DEBUG enabled.
git-svn-id: https://develop.svn.wordpress.org/trunk@6436 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-20 21:25:12 +00:00
Ryan Boren 6268241e88 Fix depth = 1 page traversal. Props hailin. fixes #5469
git-svn-id: https://develop.svn.wordpress.org/trunk@6388 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-16 20:31:44 +00:00
Ryan Boren 95e4e8c822 Faster page and cat walker. Props hailin. see #5458
git-svn-id: https://develop.svn.wordpress.org/trunk@6384 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-14 21:46:52 +00:00
Ryan Boren fb05263f15 New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328
git-svn-id: https://develop.svn.wordpress.org/trunk@6365 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:58:15 +00:00
Ryan Boren d5ed4b3d7d has_action and has_filter. see #5231
git-svn-id: https://develop.svn.wordpress.org/trunk@6320 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-07 04:30:11 +00:00
Ryan Boren 8bbc8227ab JS/AJAX form validation from mdawaffe. fixes #5299
git-svn-id: https://develop.svn.wordpress.org/trunk@6303 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-01 06:23:16 +00:00
Ryan Boren 490789554f jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: https://develop.svn.wordpress.org/trunk@6213 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 22:49:42 +00:00
Ryan Boren c8e307e72f Tag unions and intersections. fixes #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6021 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 18:14:05 +00:00
Ryan Boren 3e725d7a7d tag__in, tag__not_in, and tag_and queries. fixes #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6011 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 03:24:23 +00:00
Ryan Boren dac74f6c47 Add cat-item-id and page-item-id classes. Props Otto42. fixes #4703
git-svn-id: https://develop.svn.wordpress.org/trunk@5920 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:59:45 +00:00
Ryan Boren 669d471fed Category union and intersection query vars. fixes #4750
git-svn-id: https://develop.svn.wordpress.org/trunk@5873 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-15 22:08:51 +00:00
Ryan Boren 09da00f7fe Use EXTR_SKIP when extracting. see #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +00:00
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
rob1n 12c2ef6be0 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: https://develop.svn.wordpress.org/trunk@5640 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 05:21:18 +00:00
Ryan Boren c9b37847ce Better draft, private, and future post/page management from mdawaffe. fixes #3945
git-svn-id: https://develop.svn.wordpress.org/trunk@5575 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 18:34:06 +00:00
Ryan Boren 3261234a0d Convert category queries and list cats to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5530 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 18:59:12 +00:00
rob1n c213997f48 Use wp_parse_args(). fixes #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5444 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:10:05 +00:00
rob1n 616570aadc Run the post titles through the the_title filter. fixes #3366
git-svn-id: https://develop.svn.wordpress.org/trunk@5164 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 15:40:50 +00:00
Matt Mullenweg 570a74e818 All the query stuff we need for tag= URLs to work.
git-svn-id: https://develop.svn.wordpress.org/trunk@5149 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 06:16:12 +00:00
Ryan Boren d4007dfa64 Don't cast to string if empty. Props donncha. fixes #3979
git-svn-id: https://develop.svn.wordpress.org/trunk@5051 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 22:00:43 +00:00