Commit Graph

2502 Commits

Author SHA1 Message Date
matt c5529f7d0f Change prints to echoes. Add check all button to avoid carpal clicking syndrome. Cleaned up some English. Fixes #5437. Hat tip: hailin. Changes from diff: moved JS inside of function so it didn't show up on every import page; moved button above form instead of next to submit button.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 22:07:32 +00:00
matt 13ad107f4d Invalid HTML in nested category checkbox list. Also cleans up source formatting a bit. Fixes #5462. Hat tip: 082net.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 21:40:36 +00:00
ryan e9c9b1fbf2 Import file attachments. Props tellyworth. fixes #5466
git-svn-id: http://svn.automattic.com/wordpress/trunk@6390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 21:34:48 +00:00
ryan 29ef8b6f5f New secure cookie protocol. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 17:41:59 +00:00
matt 3225503174 Remember what attachment options you pick, fixes #4565. Hat tip: filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 03:00:38 +00:00
ryan 7b16e3616c Pluggable random password generator from pishmishy. fixes #5401
git-svn-id: http://svn.automattic.com/wordpress/trunk@6385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-15 05:31:16 +00:00
ryan 85267d4d17 the_content_export filter from tellyworth. fixes #5465
git-svn-id: http://svn.automattic.com/wordpress/trunk@6383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 21:40:28 +00:00
ryan 2088cb4a1a Faster page_rows() from hailin. see #5303
git-svn-id: http://svn.automattic.com/wordpress/trunk@6380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 06:20:42 +00:00
ryan 805e41198c Defer term counting during import. Props tellyworth. fixes #5377
git-svn-id: http://svn.automattic.com/wordpress/trunk@6376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-12 05:14:00 +00:00
ryan 0f846cd38f Additional metadata for wxr export from tellyworth. fixes #5454
git-svn-id: http://svn.automattic.com/wordpress/trunk@6375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-12 05:11:24 +00:00
ryan 336e9b9e20 Correctly handle post_parent during import. Props tellyworth. fixes #5456
git-svn-id: http://svn.automattic.com/wordpress/trunk@6374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-12 05:08:48 +00:00
westi 4c53026f96 Autosave tags as well. Fixes #5359 props sembee
git-svn-id: http://svn.automattic.com/wordpress/trunk@6373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-11 20:30:22 +00:00
matt c5dc5fb56e Switch error messages to have a footer instead of use wp_die, so they don't look busted. Use absint where appropiate. Formatting cleanup. Clearer styling and messaging on buttons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-10 20:42:03 +00:00
ryan 2283075a92 Remove unused variables. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 06:37:30 +00:00
ryan 71e8b50ed2 Consistent AJAX fade colors. Props mdawaffe. fixes #5423
git-svn-id: http://svn.automattic.com/wordpress/trunk@6362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 06:08:14 +00:00
westi 63c48d25b9 Allow plugins to handle admin page access failures. Fixes #5379 props donncha
git-svn-id: http://svn.automattic.com/wordpress/trunk@6356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 07:34:57 +00:00
ryan dab1c792c7 Remove unused variables. Props DD32. fixes #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 00:29:05 +00:00
ryan 43b7cd700f get_user_by_email() and some user caching cleanups. fixes #5392
git-svn-id: http://svn.automattic.com/wordpress/trunk@6346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-27 22:14:53 +00:00
ryan 90fc94a73d Don't lose the upload tab. Props mdawaffe. fixes #5390
git-svn-id: http://svn.automattic.com/wordpress/trunk@6344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-26 22:26:51 +00:00
ryan 3dc58c8383 Don't load entire wxr import file at once to conserve memory. Props tellyworth. fixes #5357
git-svn-id: http://svn.automattic.com/wordpress/trunk@6336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-15 05:36:43 +00:00
ryan 9e8d25e767 Move export_wp() to an include. Props tellyworth. fixes #5347
git-svn-id: http://svn.automattic.com/wordpress/trunk@6335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-15 05:32:33 +00:00
ryan e531ad04c4 Add switch_theme(). Cache current theme in options to avoid calling get_themes(). fixes #5346
git-svn-id: http://svn.automattic.com/wordpress/trunk@6334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-13 05:07:44 +00:00
ryan 6bed155f5d Check publish_posts not edit_published_posts when setting pending status. Props jeremyclarke. fixes #5329
git-svn-id: http://svn.automattic.com/wordpress/trunk@6333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-12 19:58:09 +00:00
ryan ea1663435c Make sure term id is an int. Props tellyworth. fixes #5330
git-svn-id: http://svn.automattic.com/wordpress/trunk@6332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-12 19:51:42 +00:00
ryan 26cd478bb7 Output WP_Error message when adding categories via AJAX. fixes #5342
git-svn-id: http://svn.automattic.com/wordpress/trunk@6329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-12 19:12:49 +00:00
ryan 1e320a469e has_action and has_filter. see #5231
git-svn-id: http://svn.automattic.com/wordpress/trunk@6320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-07 04:30:11 +00:00
ryan f1a6553227 Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@6317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-06 20:14:52 +00:00
ryan dd29614f60 Extract and save image metadata. Props tellyworth. fixes #5162
git-svn-id: http://svn.automattic.com/wordpress/trunk@6313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-05 00:01:26 +00:00
ryan 6f761b1ef3 Update awaiting moderation count when comments are moderated through AJAX. Props mdawaffe. fixes #5315
git-svn-id: http://svn.automattic.com/wordpress/trunk@6312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-04 06:23:03 +00:00
westi 3d04ae4f29 Refactor of wp-admin/includes/image.php. Fixes #5312, #4151, #4709, #5304 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-03 18:33:19 +00:00
ryan f831731601 JS/AJAX form validation from mdawaffe. fixes #5299
git-svn-id: http://svn.automattic.com/wordpress/trunk@6303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-01 06:23:16 +00:00
ryan 1d0bf72d2f AJAX for link category add and delete. Props mdawaffe. fixes #5291
git-svn-id: http://svn.automattic.com/wordpress/trunk@6299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-31 03:53:32 +00:00
ryan 24f0b83cae Fix comment delete links and ajax moderation. Props mdawaffe. fixes #5288
git-svn-id: http://svn.automattic.com/wordpress/trunk@6298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-31 01:37:58 +00:00
westi 1eac18dd69 Fix the require_once in install-helper.php so that it works when included from a plugin. Fixes #5090
git-svn-id: http://svn.automattic.com/wordpress/trunk@6291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-25 17:35:35 +00:00
ryan a34b0064ad get rid of old style ajax adder junk. Fixes adding cats from manage -> categories. Props mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@6289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-25 05:50:18 +00:00
ryan 1920dc0390 Post filter fixes from mdawaffe. fixes #5249
git-svn-id: http://svn.automattic.com/wordpress/trunk@6287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 23:02:24 +00:00
ryan fbd325f037 AJAX list manipulation fixes for single post comment moderation. Props mdawaffe. fixes #5236
git-svn-id: http://svn.automattic.com/wordpress/trunk@6277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 18:39:07 +00:00
ryan c5dd16dd70 Remove debug cruft
git-svn-id: http://svn.automattic.com/wordpress/trunk@6272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-18 22:09:56 +00:00
ryan 0d3dc6f181 Group results when selecting from post2cat and link2cat to avoid dupes. fixes #5223 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 21:09:54 +00:00
ryan 2c5016e8fa activate_plugin(), deactivate_plugins(), and deactivate_all_plugins() from Quandary. fixes #5210
git-svn-id: http://svn.automattic.com/wordpress/trunk@6259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 17:14:58 +00:00
ryan 36caa9623c Prevent direct load of edit-post-rows.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 16:51:31 +00:00
ryan 2762527a1e Add current_user_can() checks to link.php. Props DD32. fixes #4627
git-svn-id: http://svn.automattic.com/wordpress/trunk@6255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-16 16:09:01 +00:00
ryan 6dea91b30b Use filename if no title. Props tellyworth. fixes #5080 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 22:15:54 +00:00
ryan a3846ef776 Fix category assigment during link import. fixes #5107 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 21:23:39 +00:00
ryan 62d3a12280 Eliminate , , and . see #5182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 21:12:34 +00:00
ryan fe3b6ca4ac Lose Convert All Categories button. It is confusing people. Props foolswisdom. fixes #5058
git-svn-id: http://svn.automattic.com/wordpress/trunk@6225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-11 17:50:56 +00:00
ryan f8afc0b75d jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: http://svn.automattic.com/wordpress/trunk@6213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 22:49:42 +00:00
ryan d4cefda518 Add some cache clearing to cat to tag converter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 22:39:20 +00:00
westi e026d1dfa2 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: http://svn.automattic.com/wordpress/trunk@6199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:40:54 +00:00
westi 61f8b8f569 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: http://svn.automattic.com/wordpress/trunk@6198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:18:33 +00:00