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
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
241fd10669
Normalize argument names.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3605 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 21:38:36 +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
621da95d0d
Add wp_dropdown_categories(). Deprecate dropdown_categories(). Add wp_list_categories() and make wp_list_cats() an alias.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3591 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 04:51:24 +00:00
Ryan Boren
64173c9918
Move deprecated functions to deprecated.php. #2520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3589 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 03:27:48 +00:00
Ryan Boren
93ec2ffd02
wp_list_cats() rework. Add walk_tree() and walk_category_tree(). Use get_categories() for query.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3582 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-01 13:30:19 +00:00
Ryan Boren
a2f5fa5254
Bookmark/link rework. #2499
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3570 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-27 04:57:30 +00:00
Ryan Boren
b8eba14ffa
Remove useless lines. Props majelbstoat. fixes #2455
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3540 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:25:10 +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
76bc07fe3f
Don't get children for cat 0. fixes #2123
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3338 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-22 04:31:48 +00:00
Matt Mullenweg
9f51a87277
Eliminating query and vars now that we have category_count in DB
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3039 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:03:13 +00:00
Ryan Boren
8b8c906885
Highlight current class. Props amanzi and skippy. fixes #1800
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3033 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-10 23:42:56 +00:00
Ryan Boren
c72a1f461e
Object caching, round one.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3011 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 21:56:03 +00:00
Matt Mullenweg
d6cb8a0942
Missing global, fix from airport. :)
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2978 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-01 18:22:30 +00:00
Matt Mullenweg
2b2c2e6c03
Some optimizations in queries and code.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2976 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 23:23:17 +00:00
Matt Mullenweg
7cd02175ff
Cleaner, better, faster.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2975 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 22:24:27 +00:00
Ryan Boren
a8562a1455
Code cleanup from Mark Jaquith. fixes #1746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2943 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-12 17:01:50 +00:00
Ryan Boren
36183456c1
SQL error fix from MikeLittle. fixes #1711
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2931 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-05 22:48:51 +00:00
Matt Mullenweg
def9d039f4
Fixes #1186 for 1.6
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2831 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 23:25:34 +00:00
Ryan Boren
337a17904f
Return output of list_cats() when calling from wp_list_cats(). Props: edavis fixes #1449
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2655 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 01:30:39 +00:00
Matt Mullenweg
64e674dad8
Bad cat ID cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2616 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-27 06:10:41 +00:00
Ryan Boren
7a561d0d00
Make sure cache is primed before use in get_category_children().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2608 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-14 02:57:47 +00:00
Matt Mullenweg
4b6aa188cd
http://mosquito.wordpress.org/view.php?id=1331 - Hat tip: Mike the Magnificant
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2603 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:13:13 +00:00
Matt Mullenweg
d0af63764e
More consistent use of cat_ID vs category_id
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2551 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 17:17:36 +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
95e5d37a0d
Fix all/none handling in dropdown_cats(). http://mosquito.wordpress.org/view.php?id=1120 Props: nbachiyski
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2450 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-16 21:36:18 +00:00
Matt Mullenweg
a0eba624c5
Category query speedup and indentation fixes. Hat tip: Scott. http://mosquito.wordpress.org/view.php?id=1005
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2396 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-01 09:10:12 +00:00
Ryan Boren
4aa9fdc013
Make sure get_the_category() returns an array.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2387 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-27 04:47:38 +00:00
Ryan Boren
f0b153775a
Add get_the_category_list(). http://mosquito.wordpress.org/view.php?id=970 Hat tip: nbachiyski
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2379 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-25 15:50:55 +00:00
michelvaldrighi
4b4f99f127
reverting the previous patch: it made it impossible to sort the list by category name
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2364 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-18 16:42:49 +00:00
michelvaldrighi
523757d3e6
getting the list of categories from cat_counts if hide_empty is true, saves one query
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2356 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 16:06:07 +00:00
Ryan Boren
f35d0429c3
Fix category links when permalinks are not enabled.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2347 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 06:52:38 +00:00
Matt Mullenweg
b217e56e28
More efficient get_category_link - http://mosquito.wordpress.org/view.php?id=590
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2316 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 03:27:50 +00:00
Matt Mullenweg
9c49e1b2a4
Don't show category counts from the future.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2270 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 03:43:56 +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
Matt Mullenweg
36a16fee94
Adding rel tags
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2164 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 03:49:50 +00:00
Matt Mullenweg
231c6d4b41
Patch from Adi Sieker
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2160 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-29 20:14:55 +00:00
Ryan Boren
0d0cf5aee2
Add category_link filter.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2153 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-26 22:49:18 +00:00
Ryan Boren
41709858cf
Filter category description. Bug 727. Hat tip: dmclark
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2113 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 03:06:56 +00:00
Matt Mullenweg
7e8f96ac46
Some feed template function cleanup.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2068 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 22:01:59 +00:00
Ryan Boren
0f3886534d
Keep it separated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2045 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-04 23:29:13 +00:00
Matt Mullenweg
3ebf5a36e2
Cleaning up blogfilename.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1997 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-24 01:34:47 +00:00
Matt Mullenweg
953caf1484
Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Matt Mullenweg
28080bcaae
Related to: http://mosquito.wordpress.org/view.php?id=225
...
Allow optiondates to be a PHP date() formatted timestamp, maintains backward compatibility.
git-svn-id: https://develop.svn.wordpress.org/trunk@1931 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 01:30:34 +00:00
Ryan Boren
dd4e4b9df6
Move rewrite and permalink functions into WP_Rewrite class.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1908 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-03 02:38:11 +00:00
Ryan Boren
8a56739dc3
Check for null category list just in case of borkage.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1853 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-15 06:00:21 +00:00
Ryan Boren
2eb5611be9
Sort the category list so that index associations are made non-sparse.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1851 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-12 23:08:51 +00:00