Commit Graph

2641 Commits

Author SHA1 Message Date
ryan e46b5e6bc2 Port autosave to jquery. Props rmccue. see #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@6546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 08:46:33 +00:00
matt 594820e5b0 Update both of the comment counts when something changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 22:24:58 +00:00
matt 2073c22bbd Post screen improvements^H^H^H, er, changes. Will file tickets for todos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 08:03:29 +00:00
matt ae18e22598 New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-03 01:34:11 +00:00
ryan 8b64f70945 Defer comment counting. Props tellyworth. fixes #5557
git-svn-id: http://svn.automattic.com/wordpress/trunk@6532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-01 17:03:52 +00:00
ryan d13d567b22 Theme tagging from andy. fixes #5545
git-svn-id: http://svn.automattic.com/wordpress/trunk@6530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-31 18:39:43 +00:00
ryan 5104e0dad0 Extra traversal check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-29 03:14:33 +00:00
ryan f56f0f64a4 Load jquery.js instead of interface.js. fixes #5544
git-svn-id: http://svn.automattic.com/wordpress/trunk@6513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 19:57:00 +00:00
matt 54b7d8f9c5 Styling: alerts, updates, top dashboard.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 07:14:41 +00:00
matt 287edad647 A better addLoadEvent which kicks off when the DOM is ready instead onLoad, which kicks off after images finish. Code from Dean Edwards, Mathias Miller, John Resig, Jesse Skinner. Should speed up front-end execution.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 07:08:37 +00:00
ryan b3fa9f2840 Importer refactoring from tellyworth. fixes #5522
git-svn-id: http://svn.automattic.com/wordpress/trunk@6477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 06:20:34 +00:00
matt 1d2147c456 Newer and Older entries, rather than next/previous.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 04:25:04 +00:00
matt 8720ce2827 A few more stylings -- options/settings still need a lot more work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-23 10:05:37 +00:00
ryan 7e0152f018 Add import_done actions
git-svn-id: http://svn.automattic.com/wordpress/trunk@6472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-23 01:10:29 +00:00
ryan e8241c6966 Show DB errors if WP_DEBUG and if installing. see #5473
git-svn-id: http://svn.automattic.com/wordpress/trunk@6469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-22 17:45:30 +00:00
matt 32c3c43307 First pass at some of the header/footer styles. Again, work in progress. A few menu item renames.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-22 09:46:13 +00:00
matt 232980bcee Only show comments on pages meant to show one entry, rather than any edit.php query which happens to have one result.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-22 07:34:14 +00:00
matt 5118aa7b7d pre flight commit, BOOM. hat tip: rboren.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 22:24:04 +00:00
westi 19471ad3ab Fix funky formatting
git-svn-id: http://svn.automattic.com/wordpress/trunk@6454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 09:23:59 +00:00
ryan 0106156df2 gettext for new dashboard from nbachiyski. fixes #5499
git-svn-id: http://svn.automattic.com/wordpress/trunk@6441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 22:36:00 +00:00
westi 92c4835150 Preserve PNG transparency/alpha during thumbnail creation. Fixes #2805 props Libertus/Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 22:24:39 +00:00
westi 71b2207ea3 Ensure we don't call exif_read_data() on unsupported file types. Fixes #5397 props DD32
git-svn-id: http://svn.automattic.com/wordpress/trunk@6438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 22:18:28 +00:00
westi 9f9a2b862a Fix html for post customfields entry box. Fixes #5068 props minusfive.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 20:36:35 +00:00
westi 7a8c378a07 Add a link to the post a comment is for when editing a comment. Fixes #4345 props mgrouchy,
git-svn-id: http://svn.automattic.com/wordpress/trunk@6432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 20:31:46 +00:00
matt ff4b271a82 To avoid monolithic commits I'm going to be bringing this in piece by piece. No need to file bug about lack of styling, it's on purpose right now. Trunk will be hit with the oogly stick for 2-3 days. This brings in structure for new dashboard.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 20:23:30 +00:00
ryan 7f722d1f90 Use __ngettext() for plurals. Props darkdragon. see #4865
git-svn-id: http://svn.automattic.com/wordpress/trunk@6430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 17:05:06 +00:00
ryan 7c1515630d Fix funky char, remove IE taunt. Props nbachiyski. see #4470
git-svn-id: http://svn.automattic.com/wordpress/trunk@6429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 05:50:57 +00:00
ryan 74cb5ee95d Attachment and post meta import improvements from tellyworth. fixes #5497
git-svn-id: http://svn.automattic.com/wordpress/trunk@6428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 05:31:39 +00:00
ryan 8273b56d60 Orphaned page fix from hailin. fixes #5498
git-svn-id: http://svn.automattic.com/wordpress/trunk@6427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 05:29:52 +00:00
ryan de5340b9f3 Set error if there is a problem connecting to the DB. Props skeltoac and Potter_System. fixes #5495
git-svn-id: http://svn.automattic.com/wordpress/trunk@6426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 02:10:09 +00:00
ryan 99ed3ba7ce Not so new anymore. Props johnbillion. fixes #4951
git-svn-id: http://svn.automattic.com/wordpress/trunk@6423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 23:19:49 +00:00
ryan 67b50add23 Rename file. see #4470
git-svn-id: http://svn.automattic.com/wordpress/trunk@6422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 22:46:02 +00:00
ryan 49245b272c Add file. see #4470
git-svn-id: http://svn.automattic.com/wordpress/trunk@6421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 22:40:44 +00:00
ryan 1f28d55ab3 Password strength meter from MellerTime. see #4470
git-svn-id: http://svn.automattic.com/wordpress/trunk@6419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 21:53:10 +00:00
ryan f4b80af89a Better is_admin() check from filosofo and pishmishy. fixes #5487
git-svn-id: http://svn.automattic.com/wordpress/trunk@6412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:56:16 +00:00
ryan e0301f76ea Avoid warning when import dir is empty. Props Viper007Bond. fixes #5395
git-svn-id: http://svn.automattic.com/wordpress/trunk@6411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:48:51 +00:00
westi e0de7b04a6 Move the heading inside the wrap. Fixes #5348 props rob1n
git-svn-id: http://svn.automattic.com/wordpress/trunk@6406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:27:22 +00:00
ryan 2c49f4748b Clean cache for orphaned pages. Props hailin. fixes #5457
git-svn-id: http://svn.automattic.com/wordpress/trunk@6403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-18 19:38:17 +00:00
ryan 83ccac4372 unique filename fixes from tellyworth. fixes #5482
git-svn-id: http://svn.automattic.com/wordpress/trunk@6401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-18 03:32:43 +00:00
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
westi e9cfb43133 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 06:55:24 +00:00
westi 410b858509 Ensure we have the default category id. Fixes #5150 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 06:21:05 +00:00
ryan 7f61116c5b Add some spacing. fixes #5137 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-05 16:27:48 +00:00
markjaquith 6aa8345250 Some error message normalization from Viper007Bond and DD32. fixes #5139
git-svn-id: http://svn.automattic.com/wordpress/trunk@6188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-04 19:38:35 +00:00
ryan 3211ab1d54 Add page sanitization. Props xknown. fixes #5135 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-03 16:27:07 +00:00
westi 6d2459f689 Add string descriptions to the translations of the user roles. Fixes #5102 props RanYanivHartstein
git-svn-id: http://svn.automattic.com/wordpress/trunk@6178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-30 10:09:31 +00:00
ryan fbd6081f46 Spelling fix from zamoose. fixes #5095 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-28 17:37:16 +00:00
ryan e87e2508f5 Gettext fix from nbachiyski. fixes #5086 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-26 23:23:14 +00:00
ryan fd17fe449d Remove reference to importers and move the note about converting up to the Note section. fixes #5060
git-svn-id: http://svn.automattic.com/wordpress/trunk@6163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-24 02:39:49 +00:00
ryan 6486085cf4 STP importer fixes from momo360modena. fixes #5059
git-svn-id: http://svn.automattic.com/wordpress/trunk@6162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-24 01:57:55 +00:00
markjaquith 5f4c602776 Cast to array in upgrade foreach(). props arnee. fixes #5047
git-svn-id: http://svn.automattic.com/wordpress/trunk@6158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 23:14:38 +00:00
ryan 683db28b4c 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: http://svn.automattic.com/wordpress/trunk@6157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 18:01:08 +00:00
ryan add4250c0d Revert part of [5263] to fix downloading in Safari. fixes #5040
git-svn-id: http://svn.automattic.com/wordpress/trunk@6156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 16:50:35 +00:00
ryan 72e74add8d Don't reset parent when updating attachment. Props filosofo and michelwp. fixes #5010
git-svn-id: http://svn.automattic.com/wordpress/trunk@6155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 16:30:40 +00:00
markjaquith e56c1c2097 Bookend moderation links properly with right square bracket. highest omg bbq? Still, nice catch, ozh. fixes #5035
git-svn-id: http://svn.automattic.com/wordpress/trunk@6154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 06:28:47 +00:00
markjaquith d3d447d6e9 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: http://svn.automattic.com/wordpress/trunk@6151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 00:08:50 +00:00
ryan a366ee01ef Export and import of post tags. fixes #4682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-21 18:34:28 +00:00
ryan 2794b34f4a Add some filtering. Props jhodgdon. fixes #5030
git-svn-id: http://svn.automattic.com/wordpress/trunk@6147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-21 15:04:13 +00:00
ryan 94349171ec Updated RTL CSS from mani_monaj. fixes #5025
git-svn-id: http://svn.automattic.com/wordpress/trunk@6146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 23:36:45 +00:00
markjaquith 315a28c4b5 Remove non-functioning and misleading "Privacy" label on install. fixes #5012
git-svn-id: http://svn.automattic.com/wordpress/trunk@6140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 21:45:23 +00:00
ryan 3ac0df5170 Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997
git-svn-id: http://svn.automattic.com/wordpress/trunk@6137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 04:27:56 +00:00
ryan bbe284b1d1 Fake being in the loop during export so that template tags work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 18:01:47 +00:00
ryan 8eceaca349 Import tags. see #4682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 17:50:21 +00:00
ryan c352f29893 Drop old tables. Props Nazgul. fixes #4995
git-svn-id: http://svn.automattic.com/wordpress/trunk@6126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:37:21 +00:00
ryan 9bfccd6286 Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:32:22 +00:00
ryan 3ccba6071a Add tags-input class. Props momo360modena. fixes #4989
git-svn-id: http://svn.automattic.com/wordpress/trunk@6123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-16 18:25:10 +00:00
ryan 6d53f77f31 gettext string. Props tai. fixes #4985
git-svn-id: http://svn.automattic.com/wordpress/trunk@6122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-16 18:15:03 +00:00
markjaquith d3db272764 Properly name files with unknown extensions (for people with unfiltered_upload cap, natch). props Nazgul. fixes #4974 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-14 21:13:23 +00:00
westi b36db5619b Switch to is_callable instead of function_exists to allow for class based importer plugins. Fixes #4614
git-svn-id: http://svn.automattic.com/wordpress/trunk@6113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 20:36:31 +00:00
markjaquith b9dcf3c0c3 Don't set comment_author_email for pings in MT import. fixes #4461
git-svn-id: http://svn.automattic.com/wordpress/trunk@6101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 04:10:36 +00:00
ryan 159ea09341 Resurrect admin-functions.php and upgrade-functions.php for back compat. fixes #4956
git-svn-id: http://svn.automattic.com/wordpress/trunk@6090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 02:36:04 +00:00
ryan 8e5302b57f Add cat_row filter. Props johnbillion. fixes #4926
git-svn-id: http://svn.automattic.com/wordpress/trunk@6089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 01:08:19 +00:00
ryan e3db8369d0 Remove reference to the_quicktags. Props Nazgul. fixes #4925
git-svn-id: http://svn.automattic.com/wordpress/trunk@6081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 19:56:40 +00:00
ryan 6d983b5bb5 If a category is already a tag, don't put it in the list of categories to convert. fixes #4955
git-svn-id: http://svn.automattic.com/wordpress/trunk@6080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 19:54:19 +00:00
ryan 33953bc337 Retain default category when converting categories to tags. fixes #4845
git-svn-id: http://svn.automattic.com/wordpress/trunk@6079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 19:33:35 +00:00
westi c3155a54b2 Fix tab order when edit comments. Props Nazgul fixes #4726
git-svn-id: http://svn.automattic.com/wordpress/trunk@6078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 19:08:26 +00:00
ryan 6df40aea78 Use setup_postdata instead of deprecated start_wp. fixes #3188
git-svn-id: http://svn.automattic.com/wordpress/trunk@6077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 18:56:16 +00:00
ryan 87fcc363c1 Add tags to export. see #4682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 18:35:21 +00:00
ryan c8077169aa Add user_nicename key to users table. fixes #4937
git-svn-id: http://svn.automattic.com/wordpress/trunk@6075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 18:13:56 +00:00
westi a4a609093e Add importer for Bunny's Technorati Tags plugin. Fixes #4931
git-svn-id: http://svn.automattic.com/wordpress/trunk@6072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 20:30:55 +00:00
markjaquith 7931d5eca5 Revert [6047] -- we await a better solution. see #4858
git-svn-id: http://svn.automattic.com/wordpress/trunk@6065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-08 17:20:35 +00:00
markjaquith 23b1e871a1 Don't show a plugin author byline if no author name has been specified. Props Viper007Bond. fixes #4927
git-svn-id: http://svn.automattic.com/wordpress/trunk@6060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 18:53:56 +00:00
markjaquith 229a52b3a1 focus the cursor when writing a new post. Props foolswisdom and Nazgul. fixes #3936
git-svn-id: http://svn.automattic.com/wordpress/trunk@6059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 02:56:05 +00:00
markjaquith 95b86a22f5 Don't re-add the deprecated new_users_can_blog option. Props Nazgul. fixes #4923
git-svn-id: http://svn.automattic.com/wordpress/trunk@6055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 01:44:24 +00:00
markjaquith eb2d6cea06 Upgrade the options table before calling populate_options() to avoid errors. Props Nazgul. fixes #4921
git-svn-id: http://svn.automattic.com/wordpress/trunk@6053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 23:08:25 +00:00
markjaquith 445d7b077f Set guid when creating first post during install. Props Nazgul and rubys. fixes #4894
git-svn-id: http://svn.automattic.com/wordpress/trunk@6052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 23:01:30 +00:00
ryan 8bbd1008f1 Fix term count calculation during upgrade. fixes #4922
git-svn-id: http://svn.automattic.com/wordpress/trunk@6051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 22:56:03 +00:00
markjaquith f851dc2257 Always put the author of the post in the authors dropdown, even if they have since been demoted to a role without post-saving capabilities. fixes #4458
git-svn-id: http://svn.automattic.com/wordpress/trunk@6049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 04:46:56 +00:00
markjaquith 94973a275b Default to showing published posts on Manage Posts page. fixes #4858
git-svn-id: http://svn.automattic.com/wordpress/trunk@6047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 04:33:35 +00:00
ryan 2ee9183f8a Fix comment orphaning in blogger importer. Props andy. fixes #4406
git-svn-id: http://svn.automattic.com/wordpress/trunk@6043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 22:48:58 +00:00
ryan 7bdf6d6c6e Remove redundant url filter. fixes #4663
git-svn-id: http://svn.automattic.com/wordpress/trunk@6042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 22:44:58 +00:00
markjaquith bdd9e5e1e4 Use post_date (not post_modified) to check for unpublished posts when showing post listings in admin. fixes #4914
git-svn-id: http://svn.automattic.com/wordpress/trunk@6041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 22:17:59 +00:00
markjaquith 98a92950a3 Deprecate option_can_override, option_type, option_width, option_height, option_description, option_admin_level from options table. Props Nazgul. fixes #4390
git-svn-id: http://svn.automattic.com/wordpress/trunk@6039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 19:20:53 +00:00
markjaquith c8215773ce Fix link to others' drafts from nag. fixes #4912
git-svn-id: http://svn.automattic.com/wordpress/trunk@6038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 18:40:40 +00:00
markjaquith f396867f60 Show "Post #N" for posts without a title in the nag. Props Viper007Bond. fixes #4849
git-svn-id: http://svn.automattic.com/wordpress/trunk@6037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 18:33:45 +00:00
ryan 64382fbdc9 mprove desriptions for I18N strings. Props nbachiyski. fixes #4906
git-svn-id: http://svn.automattic.com/wordpress/trunk@6034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 22:50:31 +00:00
westi d7c37c0c02 Improve desriptions for I18N strings. Fixes #4906 props nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@6033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 20:56:08 +00:00
markjaquith 2f0e0c8760 Clean up Jerome's Keywords importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@6028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 02:14:34 +00:00
ryan 321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan 87c4f3a17f Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:19:20 +00:00
ryan 8c8c1cb4f7 Remove unused var. Props johnjosephbachir. fixes #4764
git-svn-id: http://svn.automattic.com/wordpress/trunk@6023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 20:06:27 +00:00