Commit Graph

134 Commits

Author SHA1 Message Date
rboren a095fdaf84 Write rewrite rules to .htacces if .htaccess is writable. Create .htaccess if it does not exist and the directory is writable. Props to Owen Winkler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-27 23:37:45 +00:00
saxmatt 2577287a67 Whoops!
git-svn-id: http://svn.automattic.com/wordpress/trunk@1480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-23 09:26:37 +00:00
saxmatt c0b93707a1 Options system can now transparently handle arrays and objects.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-23 09:14:30 +00:00
rboren 241958270d Add rewrite_rules_array filter point.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-15 23:29:41 +00:00
rboren a166bd1267 Handle trackback URIs containing query strings. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000066
git-svn-id: http://svn.automattic.com/wordpress/trunk@1461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-13 17:52:47 +00:00
saxmatt 78397fa62c Fine tune checking.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-30 21:54:10 +00:00
rboren 8b44ee9d93 Add WP_Query_State class. Introduce is_single(), is_archive(), and friends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-30 15:31:49 +00:00
rboren 1f4bbde4a2 If the new value and old value are the same, do not update the option in update_option().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-24 01:00:31 +00:00
rboren b8f38cca10 Add posts_where, the_posts, and query_string filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-20 22:36:45 +00:00
jverber 1464a3364f Fixes for bugs #0000088-90: fixed encoding of special chars.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-19 04:23:59 +00:00
rboren 6fd6b1080d stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: http://svn.automattic.com/wordpress/trunk@1435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-18 00:22:09 +00:00
rboren 069c6d1f17 Call update_post_caches() from within query_posts() and get_posts(). http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000046
git-svn-id: http://svn.automattic.com/wordpress/trunk@1428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-15 03:30:00 +00:00
michelvaldrighi b806731280 rolling back the ob_gzhandler 'fix' because ob_get_status is php >4.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@1426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-14 23:16:03 +00:00
michelvaldrighi 657d4982ba send the blog's charset in trackbacks' Content-type
git-svn-id: http://svn.automattic.com/wordpress/trunk@1425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-14 22:43:27 +00:00
michelvaldrighi 802137da74 prevent double ob_gzhandler error
git-svn-id: http://svn.automattic.com/wordpress/trunk@1424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-14 22:42:43 +00:00
rboren 8971569b13 Add comment_approved to commentdata. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000015
git-svn-id: http://svn.automattic.com/wordpress/trunk@1413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 19:03:59 +00:00
rboren 7ff35cf184 stripslashes() elimination.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 16:51:39 +00:00
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 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
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 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 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 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
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
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 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
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 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 53a668610d Output default Geo headers if the query has returns one post but the lat and lon are empty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 21:59:51 +00:00
michelvaldrighi c9ad4c9437 merging fixes by Mark Ghosh for service pings
git-svn-id: http://svn.automattic.com/wordpress/trunk@1279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 17:31:54 +00:00
saxmatt 9f98ec2941 Trackback and feed URIs weren't working when there was no trailing slash on the permalink structure. Thanks Kitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 08:47:01 +00:00
saxmatt d8ab98d7b8 Maybe some pinging fixes?
git-svn-id: http://svn.automattic.com/wordpress/trunk@1256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-10 08:13:42 +00:00
saxmatt fbd7cc9b6d Comment count patch from Kitty. http://poker.mookitty.co.uk/
git-svn-id: http://svn.automattic.com/wordpress/trunk@1252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 22:36:47 +00:00
saxmatt 4915acfefd Fixes for silly category_base stuff. Now lets it be blank and acts accordingly, more sane.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 02:52:27 +00:00
saxmatt ba407ff5b3 E_ALL fixes and cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-07 23:56:33 +00:00
saxmatt b4a0d174d8 Some E_ALL fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 21:29:23 +00:00
saxmatt 348dbc769b Allow ? in trackback URIs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 08:07:16 +00:00
saxmatt 5a391b5bc8 Some style cleanup. Category base and additional URI options from Jay McCarthy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 07:34:41 +00:00
saxmatt 9e9589e6f9 remove_slashes was broken.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 06:47:20 +00:00
saxmatt d35fb75d7d Don't gzip admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-01 08:59:40 +00:00
saxmatt 9eff118f7c Fixes for post screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-30 08:56:49 +00:00
saxmatt cf06e8e7f6 Gremlins in the options machine.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 20:31:41 +00:00
saxmatt 4e4cb4e004 Allow WordPress installation URI and blog URI to be different.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 07:27:03 +00:00