Commit Graph

3254 Commits

Author SHA1 Message Date
matt 0ff8f49cd5 Part of a healthy balanced breakfast - fixes #1980
git-svn-id: http://svn.automattic.com/wordpress/trunk@3234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 07:58:50 +00:00
ryan f57362c61c Only unset query vars when serving admin pages. fixes #1979
git-svn-id: http://svn.automattic.com/wordpress/trunk@3233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 06:44:44 +00:00
ryan 8cbfe2c46e Regenerate page rewrite rules after creating the first page during install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 02:47:31 +00:00
ryan b62211209a If PHP_SELF is empty, use REQUEST_URI when determining pagenow.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 02:33:25 +00:00
matt 138f2e6a91 So close I can taste it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 02:01:48 +00:00
ryan efce6979b1 Use the full page hierarchy when matching page URIs. Props David House. fixes #1964
git-svn-id: http://svn.automattic.com/wordpress/trunk@3229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 01:43:32 +00:00
ryan 2059a97ebd Textpattern importer from Aaron Brazell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 00:40:09 +00:00
matt 2e6a305fca Who did the goo-id? Fixes #1089
git-svn-id: http://svn.automattic.com/wordpress/trunk@3227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 00:16:04 +00:00
ryan cba87fb462 Don't try to do permalinks for admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 23:30:42 +00:00
ryan ef2c2c4cb9 Inling uploading updates from skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 23:13:35 +00:00
matt 9a440c7951 Fixes #1966
git-svn-id: http://svn.automattic.com/wordpress/trunk@3224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 23:06:21 +00:00
matt beff0bedba Don't do bad xhtml fixing by default - fixes #1975
git-svn-id: http://svn.automattic.com/wordpress/trunk@3223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 23:05:12 +00:00
matt 6b4867e248 Fix the unsightly visible category line, fixes #1898
git-svn-id: http://svn.automattic.com/wordpress/trunk@3222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 10:23:45 +00:00
matt 380033a673 Allow 0 for postmeta, fixes #1912
git-svn-id: http://svn.automattic.com/wordpress/trunk@3221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 10:21:23 +00:00
matt 2235469b60 No need to do those big fancy joins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 09:44:56 +00:00
matt 7c4d4cbec8 Another query bites the dust!
git-svn-id: http://svn.automattic.com/wordpress/trunk@3219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 09:37:17 +00:00
matt dced5779ea Don't create empty umeta values.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 08:48:18 +00:00
matt e8a4812526 Return if not an array, fixes #1940
git-svn-id: http://svn.automattic.com/wordpress/trunk@3217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 06:38:12 +00:00
matt 5bb35ba138 Show comments in moderation even if there are no new ones. Fixes #1473
git-svn-id: http://svn.automattic.com/wordpress/trunk@3216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 05:45:45 +00:00
matt 2fdc11a1d2 Don't show 404s for empty cats, fixes #1969
git-svn-id: http://svn.automattic.com/wordpress/trunk@3215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 03:15:48 +00:00
matt 43b2fc5f73 Better email from, fixes #1532
git-svn-id: http://svn.automattic.com/wordpress/trunk@3214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-25 22:57:26 +00:00
matt 1b15c54153 Only show tooltip when rich editing is on, fixes #1942
git-svn-id: http://svn.automattic.com/wordpress/trunk@3213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-25 22:44:48 +00:00
matt b5dee82b85 Better error, fixes #1934
git-svn-id: http://svn.automattic.com/wordpress/trunk@3212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-25 09:12:22 +00:00
matt 6ff1b1af48 Removing old importers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-25 05:01:47 +00:00
matt 138a13dee7 Only load category JS on editing pages, fixes #1901
git-svn-id: http://svn.automattic.com/wordpress/trunk@3210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-25 05:00:25 +00:00
matt fc66387b58 Options not used anymore, fixes #1950
git-svn-id: http://svn.automattic.com/wordpress/trunk@3209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-25 04:44:53 +00:00
matt f2ccb3f21d Trim submitted values, fixes #1954
git-svn-id: http://svn.automattic.com/wordpress/trunk@3208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-25 04:36:03 +00:00
ryan 9410afb60e Check those XFN boxes. fixes #1946
git-svn-id: http://svn.automattic.com/wordpress/trunk@3207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 23:07:36 +00:00
ryan 313e9a406b Strip home path from path info. This prevents a path info value of '/wp/index.php' from being considered as a permalink request. fixes #1938
git-svn-id: http://svn.automattic.com/wordpress/trunk@3206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 22:38:25 +00:00
ryan 6708e3d4ff s/user_description/description/. Props tinyau. fixes #1943
git-svn-id: http://svn.automattic.com/wordpress/trunk@3205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 18:01:32 +00:00
ryan 88fc7ae84e MT importer work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 10:02:23 +00:00
ryan 945a03bea5 Add get_attached_file().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 10:00:07 +00:00
matt 45c73a3298 Don't show 0 as a month.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 07:57:58 +00:00
matt e8f47bf315 Forgot this wasn't in there, it's been incredibly helpful on WP.com
git-svn-id: http://svn.automattic.com/wordpress/trunk@3201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 07:28:46 +00:00
ryan 0b3cf7e738 Allow wp_insert/update_post to handle classes in addition to associative arrays. This should avoid the 'Cannot use object of type stdClass as array' warnings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 01:35:08 +00:00
ryan c9cc15c4f4 Add some defaults to avoid MySQL warnings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 00:38:56 +00:00
ryan 7b29bce03c Add glob() compat for php < 4.3.0
git-svn-id: http://svn.automattic.com/wordpress/trunk@3198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 23:39:56 +00:00
ryan 9426478867 Store some values in the class for debug purposes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 21:07:48 +00:00
dougal d6ec4672a7 Fetch related post-meta for each comment item. (#1745)
git-svn-id: http://svn.automattic.com/wordpress/trunk@3196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 15:01:32 +00:00
matt ac47eb038c Bumpa version
git-svn-id: http://svn.automattic.com/wordpress/trunk@3195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 09:56:15 +00:00
ryan 5be6242b23 Silence mkdir().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 07:45:07 +00:00
ryan 24e2307445 Instead of incrementing the current comment count, recount all comments to make sure we have a good count. Props Mark Jaquith. fixes #1920
git-svn-id: http://svn.automattic.com/wordpress/trunk@3193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 03:45:40 +00:00
ryan 0d31fcbeef Count only approved comments. Props Mark JAquith. fixes #1930
git-svn-id: http://svn.automattic.com/wordpress/trunk@3192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 03:40:32 +00:00
ryan a9d801767f Upgrade to Snoopy 1.2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@3191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 01:14:26 +00:00
ryan 73dde55507 Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: http://svn.automattic.com/wordpress/trunk@3190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 00:36:36 +00:00
ryan 2d46d957a6 Add db_version option for fresh installs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 21:59:43 +00:00
ryan bfcc6d9927 Close iframe properly. Props ringmaster. fixes #1932
git-svn-id: http://svn.automattic.com/wordpress/trunk@3188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 18:30:46 +00:00
ryan 5f83a2a756 Filter blog name and description through kses. Props donncha. fixes #1931
git-svn-id: http://svn.automattic.com/wordpress/trunk@3187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 18:28:32 +00:00
ryan f78567d941 Add trailing slash. Props Mark Jaquith. fixes #1929
git-svn-id: http://svn.automattic.com/wordpress/trunk@3186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 09:54:15 +00:00
ryan f7cda7e8db Require manage_options cap to access Options menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 09:29:19 +00:00