Commit Graph

73 Commits

Author SHA1 Message Date
mikelittle
96630b6e9d get_archives() now checks for results from query before trying to iterate through them.
git-svn-id: http://svn.automattic.com/wordpress/trunk@293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-08-04 22:33:27 +00:00
mikelittle
966a388a92 Added ability to output archives as options (just add select tag)
git-svn-id: http://svn.automattic.com/wordpress/trunk@292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-08-04 21:55:10 +00:00
mikelittle
a1813a9120 Added list_cats() options to dropdown_cats() sort order, post count, last date, etc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-08-04 21:25:35 +00:00
mikelittle
70afc0f3a6 Separated out html sanitise stuff from balance tags.
Also made it slightly more robust.


git-svn-id: http://svn.automattic.com/wordpress/trunk@284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-08-02 13:26:26 +00:00
mikelittle
04a81c131f Removed mysql direct calls
git-svn-id: http://svn.automattic.com/wordpress/trunk@282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-07-30 23:44:08 +00:00
mikelittle
797d6fbc8b Minor update to get_archives_link()
git-svn-id: http://svn.automattic.com/wordpress/trunk@274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-07-25 23:31:11 +00:00
mikelittle
0ee44fea8f Update to get_archives()
Now can produce site navigation links
Hack by  Orien (http://icecode.com/)


git-svn-id: http://svn.automattic.com/wordpress/trunk@273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-07-25 23:07:38 +00:00
mikelittle
ab084d4ca3 Removed extra closing anchor tag.
double quotes -> single.
http://wordpress.org/support/6/366


git-svn-id: http://svn.automattic.com/wordpress/trunk@272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-07-24 00:59:07 +00:00
mikelittle
2cc31e7848 Added stripslashes to get_userdata()
Reported on the support forums http://wordpress.org/support/3/376


git-svn-id: http://svn.automattic.com/wordpress/trunk@271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-07-24 00:41:40 +00:00
mikelittle
1556042c08 previous/next_post don't link to non-published posts.
Fix by Alex King


git-svn-id: http://svn.automattic.com/wordpress/trunk@268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-07-23 21:04:25 +00:00
mikelittle
44198a4506 Added last date, post count, and hide empty mods to list_cats.
git-svn-id: http://svn.automattic.com/wordpress/trunk@259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-07-19 22:55:18 +00:00
mikelittle
3d1da58e9e Removed mysql reference, converted to EZSQL
git-svn-id: http://svn.automattic.com/wordpress/trunk@258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-07-19 22:51:43 +00:00
saxmatt
5e5d3abaf2 We don't need decade old JS hacks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-07-18 22:57:50 +00:00
mikelittle
2031c68eb8 minor change to apply_filters (spotted by Robert Morrison)
git-svn-id: http://svn.automattic.com/wordpress/trunk@249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-07-04 22:22:26 +00:00
mikelittle
68ab72e70d Fixed problem with previous_post always showing title.
git-svn-id: http://svn.automattic.com/wordpress/trunk@248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-30 22:27:21 +00:00
mikelittle
06b347f81b Fixed missing wpdb in next_post()
Fixed call to blalanceTags() in comment_text()


git-svn-id: http://svn.automattic.com/wordpress/trunk@247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-26 23:23:37 +00:00
mikelittle
afce238b27 Always strip those tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-25 22:13:15 +00:00
mikelittle
1120a2c27e Security fix for comments: Strip out dangerousa tags.
Fix by Michel V.


git-svn-id: http://svn.automattic.com/wordpress/trunk@244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-23 23:06:12 +00:00
saxmatt
f158f22376 Strip HTML from titles for autodiscovery RDF. From Kelson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-19 07:06:32 +00:00
mikelittle
a5f01a4928 tablesettings no longer used
git-svn-id: http://svn.automattic.com/wordpress/trunk@229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-15 22:48:49 +00:00
mikelittle
f918f37baa whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-12 22:46:04 +00:00
mikelittle
ce679e000f Use defined beginning of week.
git-svn-id: http://svn.automattic.com/wordpress/trunk@217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-12 22:45:27 +00:00
mikelittle
6723d53c03 New function to pull new options from db.
Added default parameter to dropdown_categories()
require -> require_once


git-svn-id: http://svn.automattic.com/wordpress/trunk@216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-12 22:45:08 +00:00
saxmatt
9636e717eb XHTML 1.1 compliant permalink
git-svn-id: http://svn.automattic.com/wordpress/trunk@205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-11 19:48:43 +00:00
mikelittle
01a35b5231 Fix to go with xmlrpc update to use ezSQL.
git-svn-id: http://svn.automattic.com/wordpress/trunk@203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-11 10:08:44 +00:00
saxmatt
70e29f987e Typo! Whoops.
git-svn-id: http://svn.automattic.com/wordpress/trunk@194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-08 10:15:17 +00:00
saxmatt
0e1ccae1a1 fixed bug in comment_author_link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-08 10:12:50 +00:00
mikelittle
faadf27271 More fixes to weekly archive mode, links now work sql slightly simpler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-08 01:12:38 +00:00
mikelittle
fce35f099c Updated archive mode. Default is now admin setting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-08 00:15:39 +00:00
mikelittle
9e3d334434 Fixed other archive modes in get_archives.Removed standalone archives files.
However limit does not work as expected in weekly mode.


git-svn-id: http://svn.automattic.com/wordpress/trunk@190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-08 00:10:07 +00:00
mikelittle
c89dde17f4 return is not a function!
git-svn-id: http://svn.automattic.com/wordpress/trunk@184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-07 17:19:38 +00:00
saxmatt
fc0546cf02 We need the ampersand fixer in the loop too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-06 22:51:33 +00:00
mikelittle
3d3a37ed5a RE-fixed mis-mat hed quote type in popup comment link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-06 21:58:24 +00:00
saxmatt
67b6947894 Ampersand fixer should be called outside of the texturize loop.
git-svn-id: http://svn.automattic.com/wordpress/trunk@174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-06 21:19:30 +00:00
saxmatt
e8ba6971ab Version up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 19:36:53 +00:00
saxmatt
2768a4eab3 New comment status code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 19:36:35 +00:00
mikelittle
e08dbbefab fixed mismatched quotes in popup comment link
git-svn-id: http://svn.automattic.com/wordpress/trunk@146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-01 21:00:30 +00:00
saxmatt
183c6c718f Time should update when editing a draft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-01 14:02:17 +00:00
saxmatt
b70dc9bbcb Added new status fields.
git-svn-id: http://svn.automattic.com/wordpress/trunk@140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-01 13:26:54 +00:00
saxmatt
de71fcebbc Updated author functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-01 11:57:50 +00:00
saxmatt
a18d531876 Clipped convert_chars, it's too slow and most people won't notice. We need to do the conversion on insert rather than display.
git-svn-id: http://svn.automattic.com/wordpress/trunk@133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-01 11:30:13 +00:00
saxmatt
7012a9ae46 Cleaned up functions, ezSQL updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-01 08:05:29 +00:00
saxmatt
72546592dd Unnecessary code cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-05-29 15:51:10 +00:00
saxmatt
d37d5204a9 ezSQL mods.
git-svn-id: http://svn.automattic.com/wordpress/trunk@114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-05-29 14:04:30 +00:00
saxmatt
cb0702c078 EZ SQL, modified slightly for WP use.
git-svn-id: http://svn.automattic.com/wordpress/trunk@112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-05-28 08:41:04 +00:00
saxmatt
fe76341b15 Links in popup windows now target different window.
git-svn-id: http://svn.automattic.com/wordpress/trunk@111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-05-28 08:40:34 +00:00
saxmatt
20adb1d803 Much improved (and faster!) autop.
git-svn-id: http://svn.automattic.com/wordpress/trunk@106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-05-26 11:44:05 +00:00
saxmatt
91de6b846c New path system.
git-svn-id: http://svn.automattic.com/wordpress/trunk@96 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-05-25 12:43:31 +00:00
mikelittle
27d747b9b0 Fixed doubling of faked excerpt in rss/rdf mode
git-svn-id: http://svn.automattic.com/wordpress/trunk@91 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-05-24 23:44:19 +00:00
mikelittle
acf5725b65 Fix re excerpts. Don't fake 'em on b2edit page
git-svn-id: http://svn.automattic.com/wordpress/trunk@87 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-05-24 23:14:04 +00:00