Commit Graph

3820 Commits

Author SHA1 Message Date
Ryan Boren 2bab8b487e 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: https://develop.svn.wordpress.org/trunk@3200 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 01:35:08 +00:00
Ryan Boren 289ef9a954 Add some defaults to avoid MySQL warnings.
git-svn-id: https://develop.svn.wordpress.org/trunk@3199 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 00:38:56 +00:00
Ryan Boren 3b4d47257d Add glob() compat for php < 4.3.0
git-svn-id: https://develop.svn.wordpress.org/trunk@3198 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 23:39:56 +00:00
Ryan Boren c29812748d Store some values in the class for debug purposes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3197 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 21:07:48 +00:00
Dougal Campbell 40c9993310 Fetch related post-meta for each comment item. (#1745)
git-svn-id: https://develop.svn.wordpress.org/trunk@3196 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 15:01:32 +00:00
Matt Mullenweg fd081cb70e Bumpa version
git-svn-id: https://develop.svn.wordpress.org/trunk@3195 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 09:56:15 +00:00
Ryan Boren 07c03bb2f3 Silence mkdir().
git-svn-id: https://develop.svn.wordpress.org/trunk@3194 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 07:45:07 +00:00
Ryan Boren e53912a4dd 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: https://develop.svn.wordpress.org/trunk@3193 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 03:45:40 +00:00
Ryan Boren 6584fdf4ff Count only approved comments. Props Mark JAquith. fixes #1930
git-svn-id: https://develop.svn.wordpress.org/trunk@3192 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 03:40:32 +00:00
Ryan Boren 742e46274f Upgrade to Snoopy 1.2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@3191 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 01:14:26 +00:00
Ryan Boren 43002e6cc1 Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: https://develop.svn.wordpress.org/trunk@3190 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 00:36:36 +00:00
Ryan Boren c9a56305a3 Add db_version option for fresh installs.
git-svn-id: https://develop.svn.wordpress.org/trunk@3189 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 21:59:43 +00:00
Ryan Boren 27dbb0228e Close iframe properly. Props ringmaster. fixes #1932
git-svn-id: https://develop.svn.wordpress.org/trunk@3188 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 18:30:46 +00:00
Ryan Boren e215f6a066 Filter blog name and description through kses. Props donncha. fixes #1931
git-svn-id: https://develop.svn.wordpress.org/trunk@3187 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 18:28:32 +00:00
Ryan Boren 937126176c Add trailing slash. Props Mark Jaquith. fixes #1929
git-svn-id: https://develop.svn.wordpress.org/trunk@3186 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 09:54:15 +00:00
Ryan Boren 73997ea8ae Require manage_options cap to access Options menu.
git-svn-id: https://develop.svn.wordpress.org/trunk@3185 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 09:29:19 +00:00
Ryan Boren a600bbf61c Verbage change.
git-svn-id: https://develop.svn.wordpress.org/trunk@3184 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 09:15:42 +00:00
Ryan Boren b41c0e1360 Therapeutic db version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@3183 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 09:13:20 +00:00
Ryan Boren 0586384a7f Upgrade or die.
git-svn-id: https://develop.svn.wordpress.org/trunk@3182 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 09:11:19 +00:00
Ryan Boren 3c37565a90 Don't show the 'All images' tab if no images have been uploaded. Props David House. fixes #1915
git-svn-id: https://develop.svn.wordpress.org/trunk@3181 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 08:44:38 +00:00
Ryan Boren 065bca2c32 Remove unneeded arg.
git-svn-id: https://develop.svn.wordpress.org/trunk@3180 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 08:35:05 +00:00
Ryan Boren 83de96a484 Remove extra curly.
git-svn-id: https://develop.svn.wordpress.org/trunk@3179 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 08:33:06 +00:00
Matt Mullenweg d12afba42a Better wording, fixes #1916
git-svn-id: https://develop.svn.wordpress.org/trunk@3178 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 08:29:07 +00:00
Ryan Boren 0872d8f9d7 Wrong var name.
git-svn-id: https://develop.svn.wordpress.org/trunk@3177 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 08:25:50 +00:00
Ryan Boren 5f54b206a7 Remove unused vars. Fixed var reference.
git-svn-id: https://develop.svn.wordpress.org/trunk@3176 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 08:23:08 +00:00
Ryan Boren 0807aea81d Add delete_link action. fixes #1926
git-svn-id: https://develop.svn.wordpress.org/trunk@3175 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 08:06:18 +00:00
Ryan Boren 94804af59a Run attachment filter for themes that don't have single.php or page.php. Props podz. fixes #1924
git-svn-id: https://develop.svn.wordpress.org/trunk@3174 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 02:08:59 +00:00
Ryan Boren 559d1847fa stripslashes() from admin email and weblog title since update_option() takes care of escaping them. fixes #1919
git-svn-id: https://develop.svn.wordpress.org/trunk@3173 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-20 07:40:17 +00:00
Ryan Boren 4327bb7a1e TinyMCE publish fix from skeltoac. fixes #1921
git-svn-id: https://develop.svn.wordpress.org/trunk@3172 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-20 07:34:47 +00:00
Ryan Boren 3b1677473a Silence fopen warnings and check return.
git-svn-id: https://develop.svn.wordpress.org/trunk@3171 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 22:52:57 +00:00
Ryan Boren f086287b81 Suppress fopen warnings and check return.
git-svn-id: https://develop.svn.wordpress.org/trunk@3170 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 20:12:26 +00:00
Ryan Boren d9d9fedb7a get_post_mime_type() from skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@3169 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 20:08:21 +00:00
Ryan Boren 38192bfb4f Remove extra file.
git-svn-id: https://develop.svn.wordpress.org/trunk@3168 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:41:54 +00:00
Ryan Boren 5fa9e518ee Add missing file.
git-svn-id: https://develop.svn.wordpress.org/trunk@3167 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:41:21 +00:00
Ryan Boren 4959c3fefa Relocate help icon to the correct place.
git-svn-id: https://develop.svn.wordpress.org/trunk@3166 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:39:09 +00:00
Ryan Boren c48eaea2fd Update help icon.
git-svn-id: https://develop.svn.wordpress.org/trunk@3165 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:28:48 +00:00
Ryan Boren 8d5607f6f7 Tab highlight fix from skeltoac. fixes #1619
git-svn-id: https://develop.svn.wordpress.org/trunk@3164 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:20:33 +00:00
Ryan Boren a1ef8e762c TinyMCE help. fixes #1908
git-svn-id: https://develop.svn.wordpress.org/trunk@3163 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:15:11 +00:00
Ryan Boren 1549abf703 Wrong PCRE flag break TinyMCE on lower PHP versions. fixes #1913
git-svn-id: https://develop.svn.wordpress.org/trunk@3162 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:11:03 +00:00
Matt Mullenweg 51f24b8597 Adding akismet
git-svn-id: https://develop.svn.wordpress.org/trunk@3161 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 00:35:53 +00:00
Matt Mullenweg 64d7f37d3a Dat da-da duuuummmmmmmm
git-svn-id: https://develop.svn.wordpress.org/trunk@3160 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 00:19:43 +00:00
Matt Mullenweg 97f0ed5dff Proper eol-style.
git-svn-id: https://develop.svn.wordpress.org/trunk@3159 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 23:43:41 +00:00
Matt Mullenweg 13b7134416 Adding missing div.
git-svn-id: https://develop.svn.wordpress.org/trunk@3158 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 23:42:53 +00:00
Matt Mullenweg c70442cfd2 Randomize the directory a little bit.
git-svn-id: https://develop.svn.wordpress.org/trunk@3157 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 23:32:40 +00:00
Ryan Boren 97eefbc202 Don't texturize for the rich editor. Props skeltoac. fixes #1909
git-svn-id: https://develop.svn.wordpress.org/trunk@3156 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 23:27:39 +00:00
Matt Mullenweg 4db5cfe7ef Be more discrete.
git-svn-id: https://develop.svn.wordpress.org/trunk@3155 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 23:18:34 +00:00
Matt Mullenweg 4f5ff66944 Adding backup plugin
git-svn-id: https://develop.svn.wordpress.org/trunk@3154 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 23:00:36 +00:00
Ryan Boren 94a4853f02 Autosave warning fix. fixes #1910
git-svn-id: https://develop.svn.wordpress.org/trunk@3153 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 22:55:39 +00:00
Matt Mullenweg 69b5f6add5 Another HTML error.
git-svn-id: https://develop.svn.wordpress.org/trunk@3152 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 22:54:02 +00:00
Matt Mullenweg b64d258a5a Validation fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3151 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 22:27:38 +00:00