Commit Graph

1880 Commits

Author SHA1 Message Date
matt
df17a15b02 New manage posts almost fully functional, and some admin CSS reorganization. TODO: Delete buttons and checkboxes are currently impotent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 08:10:11 +00:00
ryan
500c8f1ab8 Fix users table formatting. Props Potter_System and markjaquith. fixes #5784
git-svn-id: http://svn.automattic.com/wordpress/trunk@6776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:28:14 +00:00
ryan
7f78733f6b Separate meta box context into page and context to accommodate postbox API changes. see #5798
git-svn-id: http://svn.automattic.com/wordpress/trunk@6762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 21:06:15 +00:00
ryan
bc817d2a2e Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: http://svn.automattic.com/wordpress/trunk@6761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 19:57:50 +00:00
ryan
47ac60f02c add_meta_box(). see #5798
git-svn-id: http://svn.automattic.com/wordpress/trunk@6758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-08 18:51:37 +00:00
ryan
f8be8cb880 Widget interface updates from mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 21:57:54 +00:00
ryan
47faf261ba Add post_password to export. Props Nazgul. fixes #4376
git-svn-id: http://svn.automattic.com/wordpress/trunk@6753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 19:22:59 +00:00
ryan
36a651ef92 get_avatar(). see #5775
git-svn-id: http://svn.automattic.com/wordpress/trunk@6748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 06:07:12 +00:00
ryan
04a6478e12 Constrain image size when adding to editor. Props tellyworth. fixes #5777
git-svn-id: http://svn.automattic.com/wordpress/trunk@6747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 04:22:38 +00:00
ryan
8fecb97b09 Order by and index on comment_date_gmt instead of comment_date to insulate order from offset changes. fixes #5773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 23:29:59 +00:00
ryan
edf9c3607b Fix edit.php h2 text
git-svn-id: http://svn.automattic.com/wordpress/trunk@6733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 21:16:19 +00:00
ryan
ed5224f393 Enum to varchar. fixes #4778
git-svn-id: http://svn.automattic.com/wordpress/trunk@6732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 21:05:56 +00:00
ryan
3587caeb53 First cut at post status menu. Needs style fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 20:30:24 +00:00
ryan
b67bbb9e4e Add key on comment_approved,comment_date to speed up last comment modified queries. fixes #5773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 18:04:17 +00:00
ryan
f609dcdd56 Add beginnings of bulk tag delete. see #5684
git-svn-id: http://svn.automattic.com/wordpress/trunk@6727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 07:45:40 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
4b0cd5c58a Remove eextra set of links. Props mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-04 20:54:51 +00:00
ryan
9f643af85d Dashboard fixes from mdawaffe. No longer stomps sidebar. see #5750
git-svn-id: http://svn.automattic.com/wordpress/trunk@6717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-04 20:38:48 +00:00
ryan
45ebbd5bb8 Fix edit link form categories a bit. AJAX add still needs work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 20:31:56 +00:00
ryan
d42b1a8256 Don't hard code post type in edit forms. Props filosofo and DD32. fixes #4991
git-svn-id: http://svn.automattic.com/wordpress/trunk@6712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 19:22:14 +00:00
ryan
7f4d8b2f27 New dashboard from mdawaffe. see #5750
git-svn-id: http://svn.automattic.com/wordpress/trunk@6705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 07:57:51 +00:00
ryan
7d78a53a87 like_escape() from nbachiyski. see #5684
git-svn-id: http://svn.automattic.com/wordpress/trunk@6680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 17:20:27 +00:00
ryan
53c09007bb Widget i18n from nbachiyski. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 17:17:13 +00:00
ryan
b26cf6d97d Fix tag search. Props jhodgdon. see #5684
git-svn-id: http://svn.automattic.com/wordpress/trunk@6677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 23:25:46 +00:00
ryan
bd3b74e729 Tag searching from jhodgdon. see #5684
git-svn-id: http://svn.automattic.com/wordpress/trunk@6670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-28 17:21:14 +00:00
ryan
879f7f4766 First cut at Manage->Tags. Props jhodgdon. see #5684
git-svn-id: http://svn.automattic.com/wordpress/trunk@6660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:29:01 +00:00
matt
f529123061 First pass at async upload, multi-upload, and gallery feature. Modified names from patch. Hat tip: tellyworth, skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:21:11 +00:00
ryan
1fde397d5b s/Save/Change/
git-svn-id: http://svn.automattic.com/wordpress/trunk@6650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-24 22:48:30 +00:00
matt
5fbca12c9e Edit permalink in place. Fixes #5679. Hat tip: nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-17 16:51:32 +00:00
ryan
f78af1cbe5 Typo fix from hansengel. fixes #5676
git-svn-id: http://svn.automattic.com/wordpress/trunk@6628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 19:07:11 +00:00
ryan
b7b689e35f Move WP_User_Search to admin includes. Props Viper007Bond. fixes #5111
git-svn-id: http://svn.automattic.com/wordpress/trunk@6615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 21:55:17 +00:00
matt
3905811c9f Have footer stay at the bottom even on short pages in long windows. Hat tip: DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 03:16:56 +00:00
matt
23770cb94e Have the bottom boxes be closed by default. Remove the global padding kill from thickbox CSS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 00:20:52 +00:00
matt
917d5a7370 Fixes to category list saving. Hat tip: mdawaffe. Fixes #5631
git-svn-id: http://svn.automattic.com/wordpress/trunk@6597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 22:42:49 +00:00
ryan
db44305ce1 Fixes for new categories interface from mdawaffe. fixes #5618
git-svn-id: http://svn.automattic.com/wordpress/trunk@6591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 20:19:58 +00:00
matt
16d42d6ee7 New experimental category interface, fixes #5618. Hat tip: mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 09:39:35 +00:00
ryan
d3e7affa4b Save toggle box open/closed state. Props nbachiyski. fixes #5610
git-svn-id: http://svn.automattic.com/wordpress/trunk@6584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 17:46:13 +00:00
ryan
cf879c0c55 Plugin reactivation. Props dougal. see #4176
git-svn-id: http://svn.automattic.com/wordpress/trunk@6580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 09:37:27 +00:00
ryan
3388050bf9 New image uploader from tellyworth. see #5609
git-svn-id: http://svn.automattic.com/wordpress/trunk@6579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 08:14:29 +00:00
ryan
62d4757979 Mass select for users from cpoteet and mdawaffe. fixes #5592
git-svn-id: http://svn.automattic.com/wordpress/trunk@6570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-07 20:38:49 +00:00
ryan
c7f3beebe7 Widget admin redesign from mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 23:40:47 +00:00
ryan
4f56c35980 Widget admin redesign from mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 23:34:33 +00:00
ryan
91586ebff4 Page walk fixes from hailin. fixes #5581
git-svn-id: http://svn.automattic.com/wordpress/trunk@6552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:55:17 +00:00
ryan
1ae1811dd0 Unused var cleanup. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:36:34 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
markjaquith
6cfdd1934b trim() plugin URL before deciding whether to show a link. props Gary King. fixes #4633
git-svn-id: http://svn.automattic.com/wordpress/trunk@6020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 16:55:10 +00:00
ryan
93840b1632 Add some filtering. Props jhodgdon. see #4516
git-svn-id: http://svn.automattic.com/wordpress/trunk@5998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-31 23:55:56 +00:00
markjaquith
0219651b96 Check manage_options for upgrade notification. Tailor message accordingly. Props johnbillion. fixes #4869
git-svn-id: http://svn.automattic.com/wordpress/trunk@5994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 18:21:03 +00:00
westi
f9e28418ce Ensure we always show the current version in the footer if the last update check failed. Fixes #4867 props Viper007Bond
git-svn-id: http://svn.automattic.com/wordpress/trunk@5987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 16:25:50 +00:00
markjaquith
88f73f7f41 Use "update" language to refer to new versions. Props johnbillion. fixes #4868
git-svn-id: http://svn.automattic.com/wordpress/trunk@5985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 14:41:03 +00:00
ryan
f78592cf01 Redirect back to post-new.php when doing a save and continue with empty post fields. fixes #4855
git-svn-id: http://svn.automattic.com/wordpress/trunk@5967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 17:24:42 +00:00
ryan
014915caea Make css cache busting and rtl inclusion uniform across admin. Props mdawaffe. fixes #4830
git-svn-id: http://svn.automattic.com/wordpress/trunk@5965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 23:23:38 +00:00
ryan
c630733e1d Take post_max_size into account when determining the upload limit. Props mdawaffe. fixes #4240
git-svn-id: http://svn.automattic.com/wordpress/trunk@5964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 23:13:16 +00:00
ryan
5fc07fcd15 Gettext fixes from nbachiyski. fixes #4835
git-svn-id: http://svn.automattic.com/wordpress/trunk@5955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 18:57:55 +00:00
ryan
62f60a666d Fix typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@5943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-25 18:41:12 +00:00
matt
77c64399d0 As the developer links are out of date and just used to attack us now, updating the blogroll to include links to WP resources.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-25 18:06:22 +00:00
ryan
a5fbb3f85f Fix blogroll upgrades from 2.0. fixes #4813
git-svn-id: http://svn.automattic.com/wordpress/trunk@5940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-25 16:57:56 +00:00
ryan
51b6d6f6ea Don't pass cat as ref. Fix some term sanitization. fixes #4702
git-svn-id: http://svn.automattic.com/wordpress/trunk@5938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-24 18:41:01 +00:00
westi
8047b60291 Give the view links in post/page listings the view class rather than the edit class, fixes #4058 props rgovostes
git-svn-id: http://svn.automattic.com/wordpress/trunk@5927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-23 18:04:15 +00:00
matt
27657cd8cf First pass plugin update notification, see #4795
git-svn-id: http://svn.automattic.com/wordpress/trunk@5913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 10:48:48 +00:00
ryan
eb30d086be Really make slugs unique during upgrade. fixes #4776
git-svn-id: http://svn.automattic.com/wordpress/trunk@5908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-21 00:11:46 +00:00
ryan
ba0f401390 bookmark sanitizer funcs and default filter cleanup. see #4546
git-svn-id: http://svn.automattic.com/wordpress/trunk@5906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-20 22:50:04 +00:00
matt
7bacf89b7e Better styling for update notice, fixes #1476
git-svn-id: http://svn.automattic.com/wordpress/trunk@5904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-20 07:01:15 +00:00
matt
7c2dbb9cb1 First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 10:33:52 +00:00
ryan
13b23aa20a Space before slash to properly close br tag. Props tmountjr. fixes #4717
git-svn-id: http://svn.automattic.com/wordpress/trunk@5870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:12:24 +00:00
ryan
dc1c54a35c Use opendir instead of dir. Props nbachiyski. fixes #4450
git-svn-id: http://svn.automattic.com/wordpress/trunk@5867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:58:33 +00:00
markjaquith
f359dab72e More upload escaping. Props Brian Layman. fixes #4689 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-01 20:58:19 +00:00
matt
f526180278 Absolute numbers where we will never allow negatives, fixes #4692
git-svn-id: http://svn.automattic.com/wordpress/trunk@5836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-01 19:41:44 +00:00
markjaquith
e9b0e8284b attribute_escape() in upload form action. Props Nazgul. fixes #4689 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-01 17:20:01 +00:00
markjaquith
8c454d7909 Favor the term "blog" instead of "weblog." Props foolswisdom and Nazgul. fixes #4674
git-svn-id: http://svn.automattic.com/wordpress/trunk@5825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-30 16:32:12 +00:00
matt
51ce46e892 Shows pending moderation comments in title and bold comment numbers with comments that need attention.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-29 19:56:55 +00:00
markjaquith
764f50bd3d ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: http://svn.automattic.com/wordpress/trunk@5820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-27 21:28:01 +00:00
ryan
00ac511053 Recalculate counts
git-svn-id: http://svn.automattic.com/wordpress/trunk@5815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-21 21:52:35 +00:00
ryan
a7720182d1 First attempt at upgrading old releases that used the linkcategories table to taxonomy. Needs testing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-21 20:53:19 +00:00
westi
c510f1060d Update .htaccess file when rewrite rules are deleted if it exists.
Fixes #4018


git-svn-id: http://svn.automattic.com/wordpress/trunk@5809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-18 20:46:54 +00:00
ryan
e7d71efdd9 Revert jcalendar date picker experiment. Save it for another day. fixes #4641
git-svn-id: http://svn.automattic.com/wordpress/trunk@5808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-17 19:26:03 +00:00
ryan
714f8edd6c jquery data selector for post timestamps. Props tellyworth. fixes #4641
git-svn-id: http://svn.automattic.com/wordpress/trunk@5804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-16 19:22:27 +00:00
ryan
05c0d6840b Return hook as null instead of empty string. Props DD32. fixes #4639
git-svn-id: http://svn.automattic.com/wordpress/trunk@5803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-15 17:59:05 +00:00
ryan
d8d651221c Show upload file size in upload browser. Props tellyworth. fixes #4561
git-svn-id: http://svn.automattic.com/wordpress/trunk@5801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-15 17:52:50 +00:00
ryan
ebf520f0d7 Post filter rework. see #4546
git-svn-id: http://svn.automattic.com/wordpress/trunk@5796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-11 19:57:43 +00:00
markjaquith
b1a12f6718 get_comment_to_edit() should return false when the comment does not exist or is marked as spam. props Westi. fixes #4533.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 21:30:18 +00:00
markjaquith
d50996b941 Order pending posts nag by post_modified ASC, drafts by post_modified DESC
git-svn-id: http://svn.automattic.com/wordpress/trunk@5750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-24 05:58:38 +00:00
markjaquith
bf8b03a928 Matt requested that I revert this ([5742]). see #4254 for discussion
git-svn-id: http://svn.automattic.com/wordpress/trunk@5744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-22 01:29:57 +00:00
markjaquith
37dbcc2a80 BrowseHappy is outdated. fixes #4254
git-svn-id: http://svn.automattic.com/wordpress/trunk@5742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-21 21:53:41 +00:00
ryan
fd5da3a85e Protect _wp_page_template too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 22:42:25 +00:00
ryan
e2dc2a8dd3 Add some taxonomy validation. Rearrange funcs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 00:33:44 +00:00
ryan
e8dc080307 Prevent editing of protected meta keys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-18 16:28:11 +00:00
ryan
e7890261e5 EXTR_SKIP. See #4468
git-svn-id: http://svn.automattic.com/wordpress/trunk@5712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 17:30:37 +00:00
rob1n
560d294867 Fix reference to ocomment.php. Props alanjcastonguay and Lloyd. fixes #4471
git-svn-id: http://svn.automattic.com/wordpress/trunk@5710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 16:54:17 +00:00
markjaquith
7f44512c5d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: http://svn.automattic.com/wordpress/trunk@5707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 16:24:28 +00:00
ryan
2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
markjaquith
6dca00cae6 Correct SQL query in [5691]. fixes #2316
git-svn-id: http://svn.automattic.com/wordpress/trunk@5692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 23:44:45 +00:00
markjaquith
f1fa801385 Omit underscore-prefixed meta keys from dropdown list. fixes #2316
git-svn-id: http://svn.automattic.com/wordpress/trunk@5691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 23:22:38 +00:00
rob1n
458b65a2f0 Translate ». see #3401
git-svn-id: http://svn.automattic.com/wordpress/trunk@5676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-11 21:05:50 +00:00
ryan
f2f6101e1c Comment caching. Reduce queries on edit-comments.php page. Add non-persistent cache groups. Hat tip to hovenko. fixes #4387
git-svn-id: http://svn.automattic.com/wordpress/trunk@5666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 00:20:22 +00:00
ryan
d2188a7dde Fix category renaming. fixes #4415 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-06 16:12:02 +00:00
ryan
d5f3d0c2d7 Remove comment_text filter from get_comment_to_edit. fixes #4403 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-05 14:41:02 +00:00
rob1n
1390f9deee Better use empty alt attribute than the filename. Props cpoteet. fixes #3100
git-svn-id: http://svn.automattic.com/wordpress/trunk@5653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-05 04:40:10 +00:00
ryan
e515401912 Run comment_text filter before format_to_edit() when getting a comment to edit. fixes #4403 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-04 17:43:22 +00:00
ryan
b8c0875ef0 Upgrade fixes. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-03 18:57:14 +00:00
ryan
4214428322 Separate AJAX cat adder into post and link flavors. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 02:53:09 +00:00
rob1n
cac67278d2 Move JavaScript to js subfolder, and CSS to css subfolder. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:37:51 +00:00
rob1n
c927ae3f37 Keep greedy regex's in control. fixes #4165
git-svn-id: http://svn.automattic.com/wordpress/trunk@5630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:02:06 +00:00
rob1n
f7ba6b94d9 A bit simpler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 23:16:50 +00:00
ryan
9e8bfa7f7b query by parent, not child_of, in get_nested_categories(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 02:24:07 +00:00
ryan
fb6ce027e1 Use new term tables in wp_install_defaults(). see #4380, #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 22:50:47 +00:00
ryan
e7e4c113fd If a term has no children, return an empty array for child_of queries. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:44:18 +00:00
ryan
48bfddf9fc Disable nesting until inifinite loop tracked down.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:09:58 +00:00
ryan
7c39499aa0 Category hierarchy fixes. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 01:39:47 +00:00
ryan
4efb612c1a Post and page management filter additions from mdawaffe. see #3945
git-svn-id: http://svn.automattic.com/wordpress/trunk@5587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:28:10 +00:00
ryan
e3f7055082 Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@5566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 00:04:33 +00:00
matt
0ee4823f71 A helpful pointer for a possible cause of this error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 22:08:42 +00:00
ryan
ab1d417e55 Return true when deleting link to satisfy admin-ajax error check. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 19:43:44 +00:00
ryan
eb541a962f Link category fixes. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 17:21:04 +00:00
ryan
c816b51b8c Fix object term relationship deletion and count updating.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 05:15:18 +00:00
ryan
80ce3031d1 Update cat2tag converter. Some term API tweaks. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 18:54:16 +00:00
ryan
b068bd6447 During upgrade, make slugs unique and put like slugs in a term group. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 17:47:20 +00:00
ryan
f24ed6715f Fix schema formatting to appease dbDelta. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 22:57:52 +00:00
ryan
8e547a3677 attribute_escape()s and int casts. see #4333
git-svn-id: http://svn.automattic.com/wordpress/trunk@5543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 09:41:04 +00:00
ryan
770613e763 Admin includes reorg. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 07:16:21 +00:00