Commit Graph

53 Commits

Author SHA1 Message Date
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
Ryan Boren ec57c1a114 Static pages. Take 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1527 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-10 05:35:59 +00:00
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