Commit Graph

3570 Commits

Author SHA1 Message Date
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
ryan e1a257cc18 Add missing file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:41:21 +00:00
ryan a42ba92fe9 Relocate help icon to the correct place.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:39:09 +00:00
ryan d34cfa089b Update help icon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:28:48 +00:00
ryan 8272052631 Tab highlight fix from skeltoac. fixes #1619
git-svn-id: http://svn.automattic.com/wordpress/trunk@3164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:20:33 +00:00
ryan 15147edb24 TinyMCE help. fixes #1908
git-svn-id: http://svn.automattic.com/wordpress/trunk@3163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:15:11 +00:00
ryan ff39307b04 Wrong PCRE flag break TinyMCE on lower PHP versions. fixes #1913
git-svn-id: http://svn.automattic.com/wordpress/trunk@3162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:11:03 +00:00
matt 042e052bdf Adding akismet
git-svn-id: http://svn.automattic.com/wordpress/trunk@3161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 00:35:53 +00:00
matt 94c145394c Dat da-da duuuummmmmmmm
git-svn-id: http://svn.automattic.com/wordpress/trunk@3160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 00:19:43 +00:00
matt 6b57435536 Proper eol-style.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 23:43:41 +00:00
matt 99354b6c34 Adding missing div.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 23:42:53 +00:00
matt c078e2dbca Randomize the directory a little bit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 23:32:40 +00:00
ryan a78ca073b5 Don't texturize for the rich editor. Props skeltoac. fixes #1909
git-svn-id: http://svn.automattic.com/wordpress/trunk@3156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 23:27:39 +00:00
matt f8b2138eeb Be more discrete.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 23:18:34 +00:00
matt cc75d38839 Adding backup plugin
git-svn-id: http://svn.automattic.com/wordpress/trunk@3154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 23:00:36 +00:00
ryan dfb4f6b962 Autosave warning fix. fixes #1910
git-svn-id: http://svn.automattic.com/wordpress/trunk@3153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 22:55:39 +00:00
matt be3ae757c7 Another HTML error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 22:54:02 +00:00
matt 4b03838a00 Validation fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 22:27:38 +00:00