Commit Graph

3437 Commits

Author SHA1 Message Date
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
ryan
d203771e72 Verbage change.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 09:15:42 +00:00
ryan
40bcf58a25 Therapeutic db version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 09:13:20 +00:00
ryan
36131de6e4 Upgrade or die.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 09:11:19 +00:00
ryan
b851080920 Don't show the 'All images' tab if no images have been uploaded. Props David House. fixes #1915
git-svn-id: http://svn.automattic.com/wordpress/trunk@3181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 08:44:38 +00:00
ryan
ab4bbdab05 Remove unneeded arg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 08:35:05 +00:00
ryan
d6b41824e8 Remove extra curly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 08:33:06 +00:00
matt
d3ce049567 Better wording, fixes #1916
git-svn-id: http://svn.automattic.com/wordpress/trunk@3178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 08:29:07 +00:00
ryan
58aa471101 Wrong var name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 08:25:50 +00:00
ryan
9947a83ae2 Remove unused vars. Fixed var reference.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 08:23:08 +00:00
ryan
1e0500a8e3 Add delete_link action. fixes #1926
git-svn-id: http://svn.automattic.com/wordpress/trunk@3175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 08:06:18 +00:00
ryan
3587a865c9 Run attachment filter for themes that don't have single.php or page.php. Props podz. fixes #1924
git-svn-id: http://svn.automattic.com/wordpress/trunk@3174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 02:08:59 +00:00
ryan
2f439c9306 stripslashes() from admin email and weblog title since update_option() takes care of escaping them. fixes #1919
git-svn-id: http://svn.automattic.com/wordpress/trunk@3173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-20 07:40:17 +00:00
ryan
6cc1deb00c TinyMCE publish fix from skeltoac. fixes #1921
git-svn-id: http://svn.automattic.com/wordpress/trunk@3172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-20 07:34:47 +00:00
ryan
eb7c563406 Silence fopen warnings and check return.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 22:52:57 +00:00
ryan
6628bfcf35 Suppress fopen warnings and check return.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 20:12:26 +00:00
ryan
51b8a36906 get_post_mime_type() from skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 20:08:21 +00:00
ryan
ed7b824257 Remove extra file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:41:54 +00:00