Commit Graph

37 Commits

Author SHA1 Message Date
Ryan Boren
685eeb94f9 Quote $id in get_the_category() db query. Patch from MCincubus for bug 0000191.
git-svn-id: https://develop.svn.wordpress.org/trunk@1486 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-27 14:58:30 +00:00
Ryan Boren
dc89a3d3a4 Add missing breaks to the_category().
git-svn-id: https://develop.svn.wordpress.org/trunk@1444 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-22 01:42:24 +00:00
Ryan Boren
475e0b9e07 stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: https://develop.svn.wordpress.org/trunk@1435 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-18 00:22:09 +00:00
jverber
b8faed46d6 Changed (wp_)list_cats. children argument now determines if categories below top level are displayed, and hierarchical determines if the list is displayed hierarchically.
git-svn-id: https://develop.svn.wordpress.org/trunk@1412 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 19:01:01 +00:00
Ryan Boren
650a1a3a56 Guard against empty $cat_counts array. http://wordpress.org/support/3/6080
git-svn-id: https://develop.svn.wordpress.org/trunk@1389 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-06 07:21:58 +00:00
Ryan Boren
fe680a36a0 Add %category% support to get_permalink.
git-svn-id: https://develop.svn.wordpress.org/trunk@1385 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-04 02:36:46 +00:00
Ryan Boren
013c08307a Apply the list_cats filter to the cat name. Credit: Jaykul. http://wordpress.org/support/4/6242
git-svn-id: https://develop.svn.wordpress.org/trunk@1375 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 22:09:38 +00:00
Ryan Boren
035a6402d2 Fix up the_category_ID() and the_category_head() to maintain backwards compat. Mark as deprecated.
git-svn-id: https://develop.svn.wordpress.org/trunk@1368 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-27 21:19:37 +00:00
Matt Mullenweg
717855f007 Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.
git-svn-id: https://develop.svn.wordpress.org/trunk@1355 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 08:22:18 +00:00
Dougal Campbell
7fbb072b49 Fixed list_cats support for hide_empty and optioncount. Also fixed indentation in that function.
git-svn-id: https://develop.svn.wordpress.org/trunk@1328 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-20 14:07:55 +00:00
Matt Mullenweg
b14b19b3ff Simple function to check if a post is in a category.
git-svn-id: https://develop.svn.wordpress.org/trunk@1304 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-18 08:18:38 +00:00
Dougal Campbell
17ab4425d2 Only used published posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@1280 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 19:44:23 +00:00
michelvaldrighi
7b9518dbed fix for the bug that made list_cats show empty categories, thanks to brux
git-svn-id: https://develop.svn.wordpress.org/trunk@1278 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 16:20:38 +00:00
michelvaldrighi
addba80c31 (sue me, I had committed with debug junk still in there)
git-svn-id: https://develop.svn.wordpress.org/trunk@1249 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 16:41:16 +00:00
michelvaldrighi
440b7aaff6 adding wp_filter support to the_category, the_category_rss, and list_cats
git-svn-id: https://develop.svn.wordpress.org/trunk@1248 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 16:34:03 +00:00
Matt Mullenweg
7f1cdc843e Various fixes and cleanups, inspired and pointed out by Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@1245 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 05:47:02 +00:00
Matt Mullenweg
4a58f4f523 Fixes for silly category_base stuff. Now lets it be blank and acts accordingly, more sane.
git-svn-id: https://develop.svn.wordpress.org/trunk@1244 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 02:52:27 +00:00
Matt Mullenweg
3b1de5d605 Some E_ALL fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1235 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-05 21:29:23 +00:00
Matt Mullenweg
6eae3c0e1e Missed the cat call.
git-svn-id: https://develop.svn.wordpress.org/trunk@1228 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-05 07:59:51 +00:00
Matt Mullenweg
1205b3d97c Some style cleanup. Category base and additional URI options from Jay McCarthy.
git-svn-id: https://develop.svn.wordpress.org/trunk@1227 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-05 07:34:41 +00:00
Dougal Campbell
3a405e2af7 Added 'exclude' parameter to wp_list_cats()
git-svn-id: https://develop.svn.wordpress.org/trunk@1217 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-30 18:28:50 +00:00
Matt Mullenweg
20cb408553 Allow WordPress installation URI and blog URI to be different.
git-svn-id: https://develop.svn.wordpress.org/trunk@1203 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-28 07:27:03 +00:00
Matt Mullenweg
ac6bb0a6e4 Breaking list_cats some more.
git-svn-id: https://develop.svn.wordpress.org/trunk@1191 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-28 00:03:58 +00:00
Matt Mullenweg
590223e506 Bug that was causing duplicate queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@1183 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-26 19:12:33 +00:00
Matt Mullenweg
83fc5c942e A few typos.
git-svn-id: https://develop.svn.wordpress.org/trunk@1109 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-20 23:03:09 +00:00
Matt Mullenweg
94f0cf9181 Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: https://develop.svn.wordpress.org/trunk@1108 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-20 22:56:47 +00:00
Ryan Boren
8be1b0cfe0 Mark strings for translation.
git-svn-id: https://develop.svn.wordpress.org/trunk@1088 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-17 15:56:23 +00:00
Ryan Boren
8b7a7b2dcf Add feed and feed_image options to wp_list_cats() and wp_list_authors().
git-svn-id: https://develop.svn.wordpress.org/trunk@987 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-23 04:45:27 +00:00
Ryan Boren
19888e9223 Introducing wp_list_authors() and friends.
git-svn-id: https://develop.svn.wordpress.org/trunk@979 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-19 16:20:49 +00:00
Ryan Boren
62e8849bc6 Fix wp_list_cats() argument handling.
git-svn-id: https://develop.svn.wordpress.org/trunk@974 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-12 23:51:16 +00:00
Ryan Boren
0ebf22b222 Converted overlooked reference to $siteurl to get_settings().
git-svn-id: https://develop.svn.wordpress.org/trunk@962 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-07 17:41:14 +00:00
Matt Mullenweg
22ed64e4ec Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
git-svn-id: https://develop.svn.wordpress.org/trunk@945 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 16:15:48 +00:00
michelvaldrighi
b33c06593c using "" for html attributes in some functions
git-svn-id: https://develop.svn.wordpress.org/trunk@893 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-20 00:51:52 +00:00
Matt Mullenweg
d6a30cc0e8 Refactoring of template tags to use filters, use TABS (!!!), and general cleanliness, which is next to godliness. Some get_settings improvements, less globals.
git-svn-id: https://develop.svn.wordpress.org/trunk@885 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-17 04:56:29 +00:00
Matt Mullenweg
ee730aea98 Show categories nested by default. New wp_list_cats function that uses parse_str.
git-svn-id: https://develop.svn.wordpress.org/trunk@873 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-13 16:14:36 +00:00
Ryan Boren
6ebd3ca6c0 Clean feed and trackback URLs.
git-svn-id: https://develop.svn.wordpress.org/trunk@836 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-05 20:55:50 +00:00
Matt Mullenweg
3cd0b08876 Broke up template-functions into several files to facilitate maintainance and change tracking.
git-svn-id: https://develop.svn.wordpress.org/trunk@801 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-27 09:58:01 +00:00