Commit Graph

93 Commits

Author SHA1 Message Date
Ryan Boren
112af5d381 Move page walkers to classes. Props David House. fixes #2593
git-svn-id: https://develop.svn.wordpress.org/trunk@3704 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 04:40:48 +00:00
Matt Mullenweg
7caac09279 walk_tree broken, fixes #2608
git-svn-id: https://develop.svn.wordpress.org/trunk@3701 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-09 22:08:18 +00:00
Ryan Boren
f677c0a9c9 List filters from David House. fixes #2328
git-svn-id: https://develop.svn.wordpress.org/trunk@3691 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-04 02:02:12 +00:00
Ryan Boren
ff7c3f55e4 Add meta_key and meta_value options to get_posts() and get_pages(). Props MichaelH. fixes #2563
git-svn-id: https://develop.svn.wordpress.org/trunk@3656 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-21 22:46:38 +00:00
Ryan Boren
956f814c41 Add include param to get_posts(), get_categories(), get_pages(), and get_bookmarks(). Props MichaelH. fixes #2562
git-svn-id: https://develop.svn.wordpress.org/trunk@3655 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-21 04:26:50 +00:00
Ryan Boren
eab1586158 Comment feed fixes from David House. fixes #2570
git-svn-id: https://develop.svn.wordpress.org/trunk@3644 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-17 01:16:22 +00:00
Ryan Boren
a429dd1cd9 Use array_merge() to set defaults.
git-svn-id: https://develop.svn.wordpress.org/trunk@3595 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 06:37:00 +00:00
Ryan Boren
c4d9df2c99 Allow args to be passed as query string or as associative array. This avoid multiple parse_str calls when passing args along and provides choice on the cheap.
git-svn-id: https://develop.svn.wordpress.org/trunk@3594 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 05:47:59 +00:00
Ryan Boren
71232c4705 Add name arg to wp_dropdown_pages().
git-svn-id: https://develop.svn.wordpress.org/trunk@3575 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 06:11:59 +00:00
Ryan Boren
68b90359ea wp_dropdown_pages() and walk_page_tree()
git-svn-id: https://develop.svn.wordpress.org/trunk@3573 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 03:57:08 +00:00
Ryan Boren
5177b31702 Fix post/page slug out. Props donncha. fixes #2472
git-svn-id: https://develop.svn.wordpress.org/trunk@3558 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 17:13:06 +00:00
Ryan Boren
6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren
f961003343 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: https://develop.svn.wordpress.org/trunk@3510 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 10:03:48 +00:00
Ryan Boren
c9096b231b post_custom cleanup. fixes #2160
git-svn-id: https://develop.svn.wordpress.org/trunk@3486 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 07:38:43 +00:00
Matt Mullenweg
5275f2eef6 get_post_custom_values update. Fixes #2160
git-svn-id: https://develop.svn.wordpress.org/trunk@3448 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-17 01:01:17 +00:00
Ryan Boren
6a0ee8785c i18n fix from pandem. fixes #2292
git-svn-id: https://develop.svn.wordpress.org/trunk@3438 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-15 22:04:21 +00:00
Ryan Boren
e4df415fa6 i18n fixes from SteveAgl. fixes #2207
git-svn-id: https://develop.svn.wordpress.org/trunk@3393 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 21:08:34 +00:00
Ryan Boren
d417f96524 Validation tweaks. fixes #2097
git-svn-id: https://develop.svn.wordpress.org/trunk@3329 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-19 19:10:09 +00:00
Ryan Boren
f160329f66 Attachment enhancements from skeltoac. fixes #2074
git-svn-id: https://develop.svn.wordpress.org/trunk@3303 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 19:19:56 +00:00
Ryan Boren
5e34745dc9 Use the full page hierarchy when matching page URIs. Props David House. fixes #1964
git-svn-id: https://develop.svn.wordpress.org/trunk@3229 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 01:43:32 +00:00
Matt Mullenweg
dd9bb0699c Return if not an array, fixes #1940
git-svn-id: https://develop.svn.wordpress.org/trunk@3217 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 06:38:12 +00:00
Ryan Boren
1a012b8b49 Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: https://develop.svn.wordpress.org/trunk@3092 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 22:55:24 +00:00
Ryan Boren
0920b65feb Remove extraneous whitespace from wp_list_pages() output. Props: error fixes #1838
git-svn-id: https://develop.svn.wordpress.org/trunk@2991 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 03:15:43 +00:00
Ryan Boren
1da25e1927 Image fu from Andy. fixes #1776
git-svn-id: https://develop.svn.wordpress.org/trunk@2958 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 20:48:32 +00:00
Ryan Boren
25458f93b8 More massive code cleanups from Mark Jaquith. fixes #1772
git-svn-id: https://develop.svn.wordpress.org/trunk@2955 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-18 22:42:02 +00:00
Matt Mullenweg
08ab1b910a Output not echo, fixes #1465
git-svn-id: https://develop.svn.wordpress.org/trunk@2686 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:37:08 +00:00
Matt Mullenweg
16e3eb7431 http://mosquito.wordpress.org/view.php?id=1341 - Hat tip: Ryan the Rockstar
git-svn-id: https://develop.svn.wordpress.org/trunk@2601 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:09:21 +00:00
Matt Mullenweg
58917f8be1 Use class instead of ID - http://mosquito.wordpress.org/view.php?id=1320
git-svn-id: https://develop.svn.wordpress.org/trunk@2588 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 10:58:14 +00:00
Matt Mullenweg
e749e54a6b Add filter to page list
git-svn-id: https://develop.svn.wordpress.org/trunk@2583 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-04 20:57:12 +00:00
Matt Mullenweg
9859c8dc9f Show 0 titles - http://mosquito.wordpress.org/view.php?id=1266 Hat tip: Mark
git-svn-id: https://develop.svn.wordpress.org/trunk@2567 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-21 00:55:30 +00:00
Ryan Boren
b7c7267534 Add echo option to wp_list_pages() and subordinates. http://mosquito.wordpress.org/view.php?id=1270 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2566 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-21 00:49:15 +00:00
Ryan Boren
5f3362fbf5 Pass by value instead of reference. http://mosquito.wordpress.org/view.php?id=1171 Props: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2482 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 01:04:16 +00:00
Ryan Boren
7413ccfe72 Get all generations of page children, not just the first, when using child_of. http://mosquito.wordpress.org/view.php?id=1171
git-svn-id: https://develop.svn.wordpress.org/trunk@2480 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 22:17:23 +00:00
Ryan Boren
9536835eb4 Split post and page caches.
git-svn-id: https://develop.svn.wordpress.org/trunk@2479 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 21:56:10 +00:00
Ryan Boren
8dec99fddb Cacheing cleanup. Introduce get_post() and get_category(). http://mosquito.wordpress.org/view.php?id=1157
git-svn-id: https://develop.svn.wordpress.org/trunk@2478 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 20:45:01 +00:00
Ryan Boren
73b0feb5b8 Don't allow a page to be its own parent. http://mosquito.wordpress.org/view.php?id=1095
git-svn-id: https://develop.svn.wordpress.org/trunk@2435 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 01:24:18 +00:00
Ryan Boren
3bacf431ae Page caching fixes. Mosquito bugs 920, 927, and 934.
git-svn-id: https://develop.svn.wordpress.org/trunk@2421 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-09 03:16:30 +00:00
Ryan Boren
d2b598c1c3 Add missing globals to post_custom(). http://mosquito.wordpress.org/view.php?id=1058 Props: kellan
git-svn-id: https://develop.svn.wordpress.org/trunk@2420 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-08 16:28:57 +00:00
Matt Mullenweg
48b52b3aa9 Hide password on user end - http://mosquito.wordpress.org/view.php?id=1016
git-svn-id: https://develop.svn.wordpress.org/trunk@2402 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 17:56:21 +00:00
michelvaldrighi
7a45d0e309 whoops, make wp_list_pages not spew a warning when there are no pages
git-svn-id: https://develop.svn.wordpress.org/trunk@2360 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-17 00:11:35 +00:00
michelvaldrighi
efc4b4e54d added cache_pages to avoid making 1+X queries everytime wp_list_pages is called, where X is the number of pages
git-svn-id: https://develop.svn.wordpress.org/trunk@2354 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 15:12:04 +00:00
Matt Mullenweg
9b6518f605 Make excerpt stuff a filter
git-svn-id: https://develop.svn.wordpress.org/trunk@2341 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 00:21:21 +00:00
Matt Mullenweg
128ee4de8a http://mosquito.wordpress.org/view.php?id=871
git-svn-id: https://develop.svn.wordpress.org/trunk@2330 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 07:09:51 +00:00
Matt Mullenweg
fd66fc02c6 Enclosure cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2288 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 08:58:10 +00:00
Matt Mullenweg
f116d6b4f0 Styleme - http://mosquito.wordpress.org/view.php?id=856
git-svn-id: https://develop.svn.wordpress.org/trunk@2283 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 07:31:56 +00:00
Matt Mullenweg
1f344fc951 Shorten excerpt
git-svn-id: https://develop.svn.wordpress.org/trunk@2262 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 02:19:16 +00:00
Ryan Boren
728874a7b7 Concatenate this.
git-svn-id: https://develop.svn.wordpress.org/trunk@2241 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 09:14:14 +00:00
Matt Mullenweg
e9915276e7 Some filter action and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@2240 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:46:41 +00:00
Matt Mullenweg
5173c86910 Remove querystring variable legacy code
git-svn-id: https://develop.svn.wordpress.org/trunk@2239 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:37:53 +00:00
Ryan Boren
e90040e79b Correctly add args to strings that contain only a query string and not a full URI.
git-svn-id: https://develop.svn.wordpress.org/trunk@2227 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 03:40:08 +00:00