Commit Graph

2485 Commits

Author SHA1 Message Date
Ryan Boren 2c8864821d get_user_by_email() and some user caching cleanups. fixes #5392
git-svn-id: https://develop.svn.wordpress.org/trunk@6346 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-27 22:14:53 +00:00
Ryan Boren b88b2b507d Don't lose the upload tab. Props mdawaffe. fixes #5390
git-svn-id: https://develop.svn.wordpress.org/trunk@6344 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-26 22:26:51 +00:00
Ryan Boren e5e7b6d2b4 Don't load entire wxr import file at once to conserve memory. Props tellyworth. fixes #5357
git-svn-id: https://develop.svn.wordpress.org/trunk@6336 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-15 05:36:43 +00:00
Ryan Boren 46dbf8b1c9 Move export_wp() to an include. Props tellyworth. fixes #5347
git-svn-id: https://develop.svn.wordpress.org/trunk@6335 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-15 05:32:33 +00:00
Ryan Boren 31fc42f07b Add switch_theme(). Cache current theme in options to avoid calling get_themes(). fixes #5346
git-svn-id: https://develop.svn.wordpress.org/trunk@6334 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-13 05:07:44 +00:00
Ryan Boren f00acd7eb0 Check publish_posts not edit_published_posts when setting pending status. Props jeremyclarke. fixes #5329
git-svn-id: https://develop.svn.wordpress.org/trunk@6333 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:58:09 +00:00
Ryan Boren a24adbd80b Make sure term id is an int. Props tellyworth. fixes #5330
git-svn-id: https://develop.svn.wordpress.org/trunk@6332 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:51:42 +00:00
Ryan Boren f9e3a4df2a Output WP_Error message when adding categories via AJAX. fixes #5342
git-svn-id: https://develop.svn.wordpress.org/trunk@6329 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:12:49 +00:00
Ryan Boren d5ed4b3d7d has_action and has_filter. see #5231
git-svn-id: https://develop.svn.wordpress.org/trunk@6320 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-07 04:30:11 +00:00
Ryan Boren 051c264788 Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@6317 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-06 20:14:52 +00:00
Ryan Boren f5013e7925 Extract and save image metadata. Props tellyworth. fixes #5162
git-svn-id: https://develop.svn.wordpress.org/trunk@6313 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-05 00:01:26 +00:00
Ryan Boren 48127234af Update awaiting moderation count when comments are moderated through AJAX. Props mdawaffe. fixes #5315
git-svn-id: https://develop.svn.wordpress.org/trunk@6312 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-04 06:23:03 +00:00
Peter Westwood be99735638 Refactor of wp-admin/includes/image.php. Fixes #5312, #4151, #4709, #5304 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@6309 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-03 18:33:19 +00:00
Ryan Boren 8bbc8227ab JS/AJAX form validation from mdawaffe. fixes #5299
git-svn-id: https://develop.svn.wordpress.org/trunk@6303 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-01 06:23:16 +00:00
Ryan Boren a7719ba164 AJAX for link category add and delete. Props mdawaffe. fixes #5291
git-svn-id: https://develop.svn.wordpress.org/trunk@6299 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-31 03:53:32 +00:00
Ryan Boren 528b340dc9 Fix comment delete links and ajax moderation. Props mdawaffe. fixes #5288
git-svn-id: https://develop.svn.wordpress.org/trunk@6298 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-31 01:37:58 +00:00
Peter Westwood 1521b5169b Fix the require_once in install-helper.php so that it works when included from a plugin. Fixes #5090
git-svn-id: https://develop.svn.wordpress.org/trunk@6291 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-25 17:35:35 +00:00
Ryan Boren 973ae6f2d8 get rid of old style ajax adder junk. Fixes adding cats from manage -> categories. Props mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@6289 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-25 05:50:18 +00:00
Ryan Boren e14f9e0d4d Post filter fixes from mdawaffe. fixes #5249
git-svn-id: https://develop.svn.wordpress.org/trunk@6287 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-23 23:02:24 +00:00
Ryan Boren 042d55e81d AJAX list manipulation fixes for single post comment moderation. Props mdawaffe. fixes #5236
git-svn-id: https://develop.svn.wordpress.org/trunk@6277 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-19 18:39:07 +00:00
Ryan Boren 1dd06602d4 Remove debug cruft
git-svn-id: https://develop.svn.wordpress.org/trunk@6272 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-18 22:09:56 +00:00
Ryan Boren 643d2a8cb5 Group results when selecting from post2cat and link2cat to avoid dupes. fixes #5223 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6269 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-17 21:09:54 +00:00
Ryan Boren 79d46bfaa9 activate_plugin(), deactivate_plugins(), and deactivate_all_plugins() from Quandary. fixes #5210
git-svn-id: https://develop.svn.wordpress.org/trunk@6259 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-17 17:14:58 +00:00
Ryan Boren 37f91c8bb1 Prevent direct load of edit-post-rows.
git-svn-id: https://develop.svn.wordpress.org/trunk@6257 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-17 16:51:31 +00:00
Ryan Boren f283e26138 Add current_user_can() checks to link.php. Props DD32. fixes #4627
git-svn-id: https://develop.svn.wordpress.org/trunk@6255 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-16 16:09:01 +00:00
Ryan Boren 94c4c00308 Use filename if no title. Props tellyworth. fixes #5080 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6235 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 22:15:54 +00:00
Ryan Boren 8b8777ffba Fix category assigment during link import. fixes #5107 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6230 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 21:23:39 +00:00
Ryan Boren 770c20562c Eliminate , , and . see #5182
git-svn-id: https://develop.svn.wordpress.org/trunk@6229 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 21:12:34 +00:00
Ryan Boren f5c0b18865 Lose Convert All Categories button. It is confusing people. Props foolswisdom. fixes #5058
git-svn-id: https://develop.svn.wordpress.org/trunk@6225 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-11 17:50:56 +00:00
Ryan Boren 490789554f jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: https://develop.svn.wordpress.org/trunk@6213 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 22:49:42 +00:00
Ryan Boren 50ecbab7df Add some cache clearing to cat to tag converter.
git-svn-id: https://develop.svn.wordpress.org/trunk@6206 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-08 22:39:20 +00:00
Peter Westwood 8fe6767f3b Move all calls to mysql_ functions to withiWPDB so that t we don't expect any mysql stuff when we are using a custo$wpdb class. Fixes #5127
props ComputerGuru.


git-svn-id: https://develop.svn.wordpress.org/trunk@6199 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 08:40:54 +00:00
Peter Westwood 0919b3ca32 Move database class loading to a shared function to ensure all of WordPress is wp-content/wp-db.php aware. Fixes #5128 props ComputerGuru.
git-svn-id: https://develop.svn.wordpress.org/trunk@6198 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 08:18:33 +00:00
Peter Westwood 3c2cc79a46 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@6195 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 06:55:24 +00:00
Peter Westwood 4a6a16fef1 Ensure we have the default category id. Fixes #5150 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6193 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 06:21:05 +00:00
Ryan Boren f027350b3f Add some spacing. fixes #5137 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6189 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-05 16:27:48 +00:00
Mark Jaquith e4a7d60051 Some error message normalization from Viper007Bond and DD32. fixes #5139
git-svn-id: https://develop.svn.wordpress.org/trunk@6188 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-04 19:38:35 +00:00
Ryan Boren 9c63ee1146 Add page sanitization. Props xknown. fixes #5135 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6185 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-03 16:27:07 +00:00
Peter Westwood 34fa3532e2 Add string descriptions to the translations of the user roles. Fixes #5102 props RanYanivHartstein
git-svn-id: https://develop.svn.wordpress.org/trunk@6178 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-30 10:09:31 +00:00
Ryan Boren 6cf764da6e Spelling fix from zamoose. fixes #5095 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6174 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-28 17:37:16 +00:00
Ryan Boren f1ade9ee25 Gettext fix from nbachiyski. fixes #5086 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6171 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-26 23:23:14 +00:00
Ryan Boren 7cc48789e4 Remove reference to importers and move the note about converting up to the Note section. fixes #5060
git-svn-id: https://develop.svn.wordpress.org/trunk@6163 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-24 02:39:49 +00:00
Ryan Boren 6404a6cc79 STP importer fixes from momo360modena. fixes #5059
git-svn-id: https://develop.svn.wordpress.org/trunk@6162 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-24 01:57:55 +00:00
Mark Jaquith 787122b1b8 Cast to array in upgrade foreach(). props arnee. fixes #5047
git-svn-id: https://develop.svn.wordpress.org/trunk@6158 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 23:14:38 +00:00
Ryan Boren c93bdc05d1 Term with slug that conflicts with existing term with different parent gets a new term entry with a unique slug. see #5034
git-svn-id: https://develop.svn.wordpress.org/trunk@6157 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 18:01:08 +00:00
Ryan Boren f4012a2763 Revert part of [5263] to fix downloading in Safari. fixes #5040
git-svn-id: https://develop.svn.wordpress.org/trunk@6156 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 16:50:35 +00:00
Ryan Boren 4e45315a83 Don't reset parent when updating attachment. Props filosofo and michelwp. fixes #5010
git-svn-id: https://develop.svn.wordpress.org/trunk@6155 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 16:30:40 +00:00
Mark Jaquith e3901c0a0c Bookend moderation links properly with right square bracket. highest omg bbq? Still, nice catch, ozh. fixes #5035
git-svn-id: https://develop.svn.wordpress.org/trunk@6154 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 06:28:47 +00:00
Mark Jaquith ccad303433 Core and plugin update checking: make sure fsockopen() is available and check file resources with is_resource() -- both to prevent feof() infinite loops. Props xknown. fixes #5037
git-svn-id: https://develop.svn.wordpress.org/trunk@6151 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 00:08:50 +00:00
Ryan Boren 4f4bb50529 Export and import of post tags. fixes #4682
git-svn-id: https://develop.svn.wordpress.org/trunk@6149 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-21 18:34:28 +00:00