Commit Graph

339 Commits

Author SHA1 Message Date
saxmatt 4f6e367f90 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: http://svn.automattic.com/wordpress/trunk@1404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 10:01:45 +00:00
saxmatt f9d3eafb29 Needs to be inside of conditional.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 09:17:41 +00:00
saxmatt e2d3bb0acc Changes to options system and query improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 08:42:25 +00:00
saxmatt 50e5276b0a More comments and comment template improvements. TODO: popup comment template
git-svn-id: http://svn.automattic.com/wordpress/trunk@1400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 08:40:58 +00:00
saxmatt 6728151fd2 Move comments include into function.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 07:42:48 +00:00
rboren 2e544d32b6 Global $m in wp_title() so that date archive titles are displayed correctly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-09 20:35:58 +00:00
rboren 336f42db94 Add back the trailing slash to paged permalinks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-08 17:48:21 +00:00
rboren 5d4fca3088 Add null check to $functions in apply_filters(). http://www.kackreiz.net/wordpress.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@1394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-08 09:34:01 +00:00
rboren 282123d62f Fix links generated by link_pages() in next mode. http://www.kackreiz.net/wordpress.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@1393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-08 09:29:41 +00:00
rboren 1139d6fd36 posts_nav_link fixes. http://wordpress.org/support/6/6979
git-svn-id: http://svn.automattic.com/wordpress/trunk@1391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-07 04:41:06 +00:00
rboren a56fac823a Guard against empty $cat_counts array. http://wordpress.org/support/3/6080
git-svn-id: http://svn.automattic.com/wordpress/trunk@1389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-06 07:21:58 +00:00
rboren f8258351b4 Rewrite and %category% fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-06 02:02:27 +00:00
rboren 12dea3832c Add %category% support to get_permalink.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-04 02:36:46 +00:00
saxmatt b3f30a2877 Added consistant trailing slash.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-02 21:43:18 +00:00
saxmatt ffcebf236f Fix for strange slash nav errors for paged nice links, and validation fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-02 07:44:43 +00:00
rboren b863cf90d1 Make /feed/ and /comments/feed work with path info. Introduce get_feed_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-02 07:14:03 +00:00
rboren 96e44262b4 Rewrite rule fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-02 05:16:44 +00:00
rboren 44e890f765 index.php now handles feeds and trackbacks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 23:35:32 +00:00
rboren 2367e7cef2 Apply the list_cats filter to the cat name. Credit: Jaykul. http://wordpress.org/support/4/6242
git-svn-id: http://svn.automattic.com/wordpress/trunk@1375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 22:09:38 +00:00
rboren ea50451ba6 More rewrite rule refactoring. Move the permalink parser into generate_rewrite_rules() and make it handle categories and authors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 21:34:00 +00:00
rboren e4bf283bc6 Revamp rewrite rule generation. Add clean page links. Credit to Jaykul for get_pagenum_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 17:22:25 +00:00
michelvaldrighi 38293cef03 added iso8601 handling functions, to avoid ugly nasty conversions
git-svn-id: http://svn.automattic.com/wordpress/trunk@1372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 17:02:09 +00:00
rboren bd9c5a9bb4 Fix up the_category_ID() and the_category_head() to maintain backwards compat. Mark as deprecated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-27 21:19:37 +00:00
emc3 48250cd478 Fixed check_comment() to ignore empty lines in moderation_keys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-27 13:53:27 +00:00
saxmatt 557fe886cd New hook for when comment status is changed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-27 03:49:23 +00:00
saxmatt fbfa9fbe02 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-26 05:07:14 +00:00
saxmatt 3c8d213ac1 Fix for unencoded ampersands. When did we lose this?
git-svn-id: http://svn.automattic.com/wordpress/trunk@1361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-25 04:33:37 +00:00
rboren bf8e4423f0 Make $request global to satisfy the page navigation fxns.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-25 01:16:49 +00:00
saxmatt 25ae03ee65 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: http://svn.automattic.com/wordpress/trunk@1355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 08:22:18 +00:00
rboren 89d5a6fd88 Introducing query_posts(), update_post_caches(), update_user_cache(), and update_category_cache().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 02:55:39 +00:00
michelvaldrighi 831d0c9965 relocated misc database-related functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@1353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 01:34:57 +00:00
michelvaldrighi be22bea57d make xmlrpc_getpostcategory support multiple, comma-separated categories
git-svn-id: http://svn.automattic.com/wordpress/trunk@1347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-23 02:55:10 +00:00
michelvaldrighi 3c2c7625e9 we shall use IXR instead of phpxmlrpc in the future -- so long, and thanks for all the xmlrpcval headaches
git-svn-id: http://svn.automattic.com/wordpress/trunk@1346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-22 16:44:45 +00:00
michelvaldrighi a37b646a67 new remove_accents for sanitize_title, not relying on the file's charset
git-svn-id: http://svn.automattic.com/wordpress/trunk@1345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-22 14:34:09 +00:00
saxmatt a939c7571a FINALLY.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-22 10:27:12 +00:00
michelvaldrighi be0bac91d8 strip leading and trailing dashes from post slugs
git-svn-id: http://svn.automattic.com/wordpress/trunk@1336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 21:35:16 +00:00
michelvaldrighi 8055e88898 backing out that encoding fix until further testing is done
git-svn-id: http://svn.automattic.com/wordpress/trunk@1335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 21:29:57 +00:00
michelvaldrighi 056ba53cce removing removeaccents, will put replacement after a release is out
git-svn-id: http://svn.automattic.com/wordpress/trunk@1334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 21:05:17 +00:00
rboren d267a0f119 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: http://svn.automattic.com/wordpress/trunk@1333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 08:37:55 +00:00
rboren b7e26217c3 Require wp-config.php from wp-l10n.php to make sure WPLANG is always set.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 03:26:12 +00:00
saxmatt 56dc234e6a Support for MathML, from Jacques Distler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-20 17:25:26 +00:00
emc3 44344bdcd7 Fixed list_cats support for hide_empty and optioncount. Also fixed indentation in that function.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-20 14:07:55 +00:00
emc3 035ff03f95 Removed and eradicated redundant duplication. And fixed indentation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-20 13:31:48 +00:00
saxmatt 730f6ceb32 Last release candidate, I promise.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-20 11:56:24 +00:00
michelvaldrighi 476d22babc what's with me committing parse errors lately, damn it
git-svn-id: http://svn.automattic.com/wordpress/trunk@1321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-19 22:34:01 +00:00
saxmatt cce21f96fd Remove unused variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-19 05:59:21 +00:00
rboren 4354f8c214 Remove extra slash in filename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-19 03:09:49 +00:00
michelvaldrighi 8b28d69e79 if the class is used in WP, use the blog's charset in xmlrpc requests that we send
git-svn-id: http://svn.automattic.com/wordpress/trunk@1310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-19 01:35:09 +00:00
saxmatt 91d7e604f2 This is used more than I thought in templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-18 08:36:53 +00:00
saxmatt 79de611ce9 Simple function to check if a post is in a category.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-18 08:18:38 +00:00