Commit Graph

339 Commits

Author SHA1 Message Date
Matt Mullenweg 39541ea299 Gzip cleanup, debugged wacky options problem, some cleanup and reorg. We need to split up functions.php more logically, and kill some of the useless functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@1404 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 10:01:45 +00:00
Matt Mullenweg f1cdd2b2ff Needs to be inside of conditional.
git-svn-id: https://develop.svn.wordpress.org/trunk@1402 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 09:17:41 +00:00
Matt Mullenweg 6c97530035 Changes to options system and query improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@1401 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 08:42:25 +00:00
Matt Mullenweg feef0aee85 More comments and comment template improvements. TODO: popup comment template
git-svn-id: https://develop.svn.wordpress.org/trunk@1400 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 08:40:58 +00:00
Matt Mullenweg a507894ed3 Move comments include into function.
git-svn-id: https://develop.svn.wordpress.org/trunk@1398 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 07:42:48 +00:00
Ryan Boren 7f3d0a8af1 Global $m in wp_title() so that date archive titles are displayed correctly.
git-svn-id: https://develop.svn.wordpress.org/trunk@1396 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-09 20:35:58 +00:00
Ryan Boren 1935f7c897 Add back the trailing slash to paged permalinks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1395 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-08 17:48:21 +00:00
Ryan Boren 25b507c295 Add null check to $functions in apply_filters(). http://www.kackreiz.net/wordpress.php
git-svn-id: https://develop.svn.wordpress.org/trunk@1394 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-08 09:34:01 +00:00
Ryan Boren 78b413030f Fix links generated by link_pages() in next mode. http://www.kackreiz.net/wordpress.php
git-svn-id: https://develop.svn.wordpress.org/trunk@1393 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-08 09:29:41 +00:00
Ryan Boren 5e0bb09d82 posts_nav_link fixes. http://wordpress.org/support/6/6979
git-svn-id: https://develop.svn.wordpress.org/trunk@1391 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-07 04:41:06 +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 44d532c6e3 Rewrite and %category% fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1388 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-06 02:02:27 +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
Matt Mullenweg 2146da7f5c Added consistant trailing slash.
git-svn-id: https://develop.svn.wordpress.org/trunk@1384 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 21:43:18 +00:00
Matt Mullenweg 4530008ec8 Fix for strange slash nav errors for paged nice links, and validation fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1383 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 07:44:43 +00:00
Ryan Boren 640004f5ca Make /feed/ and /comments/feed work with path info. Introduce get_feed_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1382 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 07:14:03 +00:00
Ryan Boren 98378de860 Rewrite rule fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1381 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 05:16:44 +00:00
Ryan Boren b721c5b54f index.php now handles feeds and trackbacks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1376 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 23:35:32 +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 a807cd1fad More rewrite rule refactoring. Move the permalink parser into generate_rewrite_rules() and make it handle categories and authors.
git-svn-id: https://develop.svn.wordpress.org/trunk@1374 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 21:34:00 +00:00
Ryan Boren 94732a5611 Revamp rewrite rule generation. Add clean page links. Credit to Jaykul for get_pagenum_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1373 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 17:22:25 +00:00
michelvaldrighi bec01652c4 added iso8601 handling functions, to avoid ugly nasty conversions
git-svn-id: https://develop.svn.wordpress.org/trunk@1372 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 17:02:09 +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
Dougal Campbell 1cb1a9bf7a Fixed check_comment() to ignore empty lines in moderation_keys.
git-svn-id: https://develop.svn.wordpress.org/trunk@1366 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-27 13:53:27 +00:00
Matt Mullenweg 9df4c2452a New hook for when comment status is changed.
git-svn-id: https://develop.svn.wordpress.org/trunk@1365 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-27 03:49:23 +00:00
Matt Mullenweg 499980672d Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@1362 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-26 05:07:14 +00:00
Matt Mullenweg be058a1058 Fix for unencoded ampersands. When did we lose this?
git-svn-id: https://develop.svn.wordpress.org/trunk@1361 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-25 04:33:37 +00:00
Ryan Boren 5715b0880d Make $request global to satisfy the page navigation fxns.
git-svn-id: https://develop.svn.wordpress.org/trunk@1360 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-25 01:16:49 +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
Ryan Boren 97d49f1923 Introducing query_posts(), update_post_caches(), update_user_cache(), and update_category_cache().
git-svn-id: https://develop.svn.wordpress.org/trunk@1354 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 02:55:39 +00:00
michelvaldrighi 0eee4cb011 relocated misc database-related functions
git-svn-id: https://develop.svn.wordpress.org/trunk@1353 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 01:34:57 +00:00
michelvaldrighi 39d6ffcb6b make xmlrpc_getpostcategory support multiple, comma-separated categories
git-svn-id: https://develop.svn.wordpress.org/trunk@1347 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-23 02:55:10 +00:00
michelvaldrighi 903f80b54c we shall use IXR instead of phpxmlrpc in the future -- so long, and thanks for all the xmlrpcval headaches
git-svn-id: https://develop.svn.wordpress.org/trunk@1346 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-22 16:44:45 +00:00
michelvaldrighi c4d4add631 new remove_accents for sanitize_title, not relying on the file's charset
git-svn-id: https://develop.svn.wordpress.org/trunk@1345 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-22 14:34:09 +00:00
Matt Mullenweg dd1c202d8b FINALLY.
git-svn-id: https://develop.svn.wordpress.org/trunk@1344 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-22 10:27:12 +00:00
michelvaldrighi 5ffeea8e7c strip leading and trailing dashes from post slugs
git-svn-id: https://develop.svn.wordpress.org/trunk@1336 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 21:35:16 +00:00
michelvaldrighi 63f7bf9723 backing out that encoding fix until further testing is done
git-svn-id: https://develop.svn.wordpress.org/trunk@1335 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 21:29:57 +00:00
michelvaldrighi be29cd98fb removing removeaccents, will put replacement after a release is out
git-svn-id: https://develop.svn.wordpress.org/trunk@1334 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 21:05:17 +00:00
Ryan Boren 49bb2124c1 Add removeaccents for use in sanitize_title to remove accents from characters so that they can be used in permalinks. Bust the functionality in sanitize_title out into a replaceable filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@1333 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 08:37:55 +00:00
Ryan Boren 7be84af801 Require wp-config.php from wp-l10n.php to make sure WPLANG is always set.
git-svn-id: https://develop.svn.wordpress.org/trunk@1331 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 03:26:12 +00:00
Matt Mullenweg ceb940bbe2 Support for MathML, from Jacques Distler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1329 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-20 17:25:26 +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
Dougal Campbell b5cdc60beb Removed and eradicated redundant duplication. And fixed indentation.
git-svn-id: https://develop.svn.wordpress.org/trunk@1327 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-20 13:31:48 +00:00
Matt Mullenweg a0c798d8a0 Last release candidate, I promise.
git-svn-id: https://develop.svn.wordpress.org/trunk@1326 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-20 11:56:24 +00:00
michelvaldrighi a67d48bae7 what's with me committing parse errors lately, damn it
git-svn-id: https://develop.svn.wordpress.org/trunk@1321 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-19 22:34:01 +00:00
Matt Mullenweg 4f1c3f477b Remove unused variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@1314 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-19 05:59:21 +00:00
Ryan Boren 8d736b3f5c Remove extra slash in filename.
git-svn-id: https://develop.svn.wordpress.org/trunk@1312 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-19 03:09:49 +00:00
michelvaldrighi a052f091dc if the class is used in WP, use the blog's charset in xmlrpc requests that we send
git-svn-id: https://develop.svn.wordpress.org/trunk@1310 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-19 01:35:09 +00:00
Matt Mullenweg 4ee5c8aefc This is used more than I thought in templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@1305 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-18 08:36:53 +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