Commit Graph

369 Commits

Author SHA1 Message Date
Ryan Boren 142146177c Check create_users cap instead of edit_users wgen adding/inserting users. Props imwebgefunden. fixes #6662 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7660 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:57:29 +00:00
Ryan Boren fdc05b24f6 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7645 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:13:25 +00:00
Ryan Boren 9a45f73814 Fix addition of new meta keys when no meta keys currently exist. Props DD32. fixes #6343
git-svn-id: https://develop.svn.wordpress.org/trunk@7509 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-25 01:42:38 +00:00
Ryan Boren e31076e464 Fix custom field add/update/delete. Props mdawaffe. fixes #6343
git-svn-id: https://develop.svn.wordpress.org/trunk@7468 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 08:15:48 +00:00
Ryan Boren 33d0588565 More nonce renewals from andy. fixes #6266
git-svn-id: https://develop.svn.wordpress.org/trunk@7376 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-18 04:59:54 +00:00
Ryan Boren 29cc2b5b9c Renew autosave nonce. Props andy. fixes #6266
git-svn-id: https://develop.svn.wordpress.org/trunk@7375 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-18 02:43:20 +00:00
Ryan Boren eae7b967de Display 15 posts. Remove no longer needed add-post AJAX action. Props johnhennmacc. fixes #6264
git-svn-id: https://develop.svn.wordpress.org/trunk@7352 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-17 22:18:32 +00:00
Ryan Boren 11620cd3b4 Don't allow duplicate category creation. Props westi and mdawaffe. fixes #3799
git-svn-id: https://develop.svn.wordpress.org/trunk@7336 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-16 20:37:02 +00:00
Mark Jaquith 5330df3c0a Post slug fixes from nbachiyski. fixes #6072
git-svn-id: https://develop.svn.wordpress.org/trunk@7162 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-05 22:09:28 +00:00
Ryan Boren 9df4b3f641 Post edit collision detection fixes from mdawaffe. fixes #6043
git-svn-id: https://develop.svn.wordpress.org/trunk@7146 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 00:05:30 +00:00
Ryan Boren 742b6b7ceb Autosave notice styling from mdawaffe. fixes #6054
git-svn-id: https://develop.svn.wordpress.org/trunk@7145 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 21:15:34 +00:00
Ryan Boren 4e4e172045 Slug edit fix from nbachiyski. fixes #6072
git-svn-id: https://develop.svn.wordpress.org/trunk@7139 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 21:02:53 +00:00
Ryan Boren b093ce1da2 Only show "saved at" when the post was actually saved. Props mdawaffe. fixes #6053
git-svn-id: https://develop.svn.wordpress.org/trunk@7138 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 20:58:06 +00:00
Ryan Boren e29306e69c Post Edit Collision Detection from mdawaffe. fixes #6043
git-svn-id: https://develop.svn.wordpress.org/trunk@7103 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 09:51:36 +00:00
Ryan Boren 97b59fbeda Fade approved comments from moderated list. Props mdawaffe. fixes #6032
git-svn-id: https://develop.svn.wordpress.org/trunk@7098 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 22:12:04 +00:00
Ryan Boren 992c3b92b7 Unify comment display. Props mdawaffe. fixes #6025
git-svn-id: https://develop.svn.wordpress.org/trunk@7082 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-28 06:50:25 +00:00
Ryan Boren 7ed364b2ce Notice fixes from nbachiyski. fixes #5961
git-svn-id: https://develop.svn.wordpress.org/trunk@6983 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 17:43:56 +00:00
Ryan Boren 908e657b61 Show permalink editor on new posts after autosave. Props filosofo. see #5749
git-svn-id: https://develop.svn.wordpress.org/trunk@6954 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 17:08:06 +00:00
Ryan Boren a738abba3d Auto add preview link after autosaving a new post or page. Props filosofo. see #5847
git-svn-id: https://develop.svn.wordpress.org/trunk@6953 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 06:19:46 +00:00
Ryan Boren 1d038f7c24 Fix edit slug ajax nonce. props nbachiyski. see #5816
git-svn-id: https://develop.svn.wordpress.org/trunk@6788 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-11 17:40:16 +00:00
Ryan Boren 4c6d9571f9 Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: https://develop.svn.wordpress.org/trunk@6761 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-08 19:57:50 +00:00
Ryan Boren c2083047a8 Remove cookie checking from check_ajax_referer(). Check nonces instead. Props mdawaffe. fixes #5782
git-svn-id: https://develop.svn.wordpress.org/trunk@6739 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-06 21:19:47 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren e9de000f12 First cut at Manage->Tags. Props jhodgdon. see #5684
git-svn-id: https://develop.svn.wordpress.org/trunk@6660 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 19:29:01 +00:00
Matt Mullenweg 098e6672e4 Edit permalink in place. Fixes #5679. Hat tip: nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@6633 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-17 16:51:32 +00:00
Matt Mullenweg 2597886ab2 This destroys other shutdown actions.
git-svn-id: https://develop.svn.wordpress.org/trunk@6631 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-17 02:46:22 +00:00
Ryan Boren 0480fcbf68 Fixes for new categories interface from mdawaffe. fixes #5618
git-svn-id: https://develop.svn.wordpress.org/trunk@6591 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-10 20:19:58 +00:00
Matt Mullenweg 2a77958de3 New experimental category interface, fixes #5618. Hat tip: mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@6588 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-10 09:39:35 +00:00
Ryan Boren 90d8fb5f30 Save toggle box open/closed state. Props nbachiyski. fixes #5610
git-svn-id: https://develop.svn.wordpress.org/trunk@6584 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 17:46:13 +00:00
Ryan Boren 5daadf8ce7 Mass select for users from cpoteet and mdawaffe. fixes #5592
git-svn-id: https://develop.svn.wordpress.org/trunk@6570 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-07 20:38:49 +00:00
Ryan Boren 6dc06a8e41 Widget admin redesign from mdawaffe. see #5583
git-svn-id: https://develop.svn.wordpress.org/trunk@6556 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 23:34:33 +00:00
Matt Mullenweg 30224a0b3d New tag interface, tag auto-suggest while typing. Rough - suggest and parts of JS should probably be refactored. Hat tip: jhodgdon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6542 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-03 01:34:11 +00:00
Peter Westwood 7003316321 Autosave tags as well. Fixes #5359 props sembee
git-svn-id: https://develop.svn.wordpress.org/trunk@6373 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-11 20:30:22 +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 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 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 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 5917c5458c Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6125 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:32:22 +00:00
Ryan Boren 61578a7d73 Don't die with type
git-svn-id: https://develop.svn.wordpress.org/trunk@5923 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 15:53:25 +00:00
Ryan Boren 9a4537dca9 First cut of link category management. Rough and ugly.
git-svn-id: https://develop.svn.wordpress.org/trunk@5654 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-05 05:08:27 +00:00
Ryan Boren 67013eb065 Separate AJAX cat adder into post and link flavors. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5637 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 02:53:09 +00:00
Ryan Boren 654381d080 Fix include path. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5545 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 09:53:16 +00:00
Ryan Boren 09f70467e0 Admin includes reorg. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5542 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 07:16:21 +00:00
Ryan Boren 8a15ffc657 Dynamically refill comment list when a comment is deleted. Props mdawaffe. fixes #4038
git-svn-id: https://develop.svn.wordpress.org/trunk@5118 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 21:20:16 +00:00
Matt Mullenweg d57901d29a Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: https://develop.svn.wordpress.org/trunk@5089 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:05:29 +00:00
Matt Mullenweg b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Mark Jaquith 5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Mark Jaquith f2bedff370 Prevent double timezone offset when saving titleless AJAX-created drafts. fixes #3701
git-svn-id: https://develop.svn.wordpress.org/trunk@4882 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-14 22:44:57 +00:00
Ryan Boren d3c162e0e5 Autosave fixes from mdawaffe. fixes #3601
git-svn-id: https://develop.svn.wordpress.org/trunk@4760 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-18 03:32:54 +00:00
Ryan Boren 192a3d47be js_escape and quot fixes from nbachiyski. fixes #3524
git-svn-id: https://develop.svn.wordpress.org/trunk@4700 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-08 03:02:33 +00:00
Mark Jaquith a011b23b47 Whitespace cleanup for [4656]
git-svn-id: https://develop.svn.wordpress.org/trunk@4657 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:45:58 +00:00
Mark Jaquith 31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Ryan Boren f906c003c6 Better AJAX feedback messages and markup fixes. Props mdawaffe. fixes #3208
git-svn-id: https://develop.svn.wordpress.org/trunk@4583 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 23:00:04 +00:00
Ryan Boren 731c24fd82 Avoid that something strange happened error. Props mdawaffe. fixes #3276
git-svn-id: https://develop.svn.wordpress.org/trunk@4575 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 12:02:30 +00:00
Ryan Boren 77e4790a50 Use temporary title when creating empty posts. Props mdawaffe. fixes #3097
git-svn-id: https://develop.svn.wordpress.org/trunk@4570 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 04:38:07 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren 45cd582085 AJAX responsiveness improvements from mdawaffe. fixes #3099
git-svn-id: https://develop.svn.wordpress.org/trunk@4187 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-13 21:39:53 +00:00
Ryan Boren f58cd3de78 Revert accidental commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@4163 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-02 22:08:10 +00:00
Ryan Boren 8da0ba34e2 Nonce delete comment. Props mdawaffe. fixes #3103
git-svn-id: https://develop.svn.wordpress.org/trunk@4162 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-02 22:05:37 +00:00
Ryan Boren 8390647b74 Ajax post meta fixes from mdawaffe. fixes #3098
git-svn-id: https://develop.svn.wordpress.org/trunk@4157 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-02 17:03:57 +00:00
Ryan Boren 5f241c40be autosave fix ups
git-svn-id: https://develop.svn.wordpress.org/trunk@4086 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 18:50:28 +00:00
Ryan Boren ff9a056e8b Autosave and prototype. Props masquerade. fixes #3020 #3017
git-svn-id: https://develop.svn.wordpress.org/trunk@4082 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 03:54:45 +00:00
Ryan Boren 31376ccaa9 Admin AJAX tweaks from mdawaffe. fixes #2969
git-svn-id: https://develop.svn.wordpress.org/trunk@4042 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-25 19:01:52 +00:00
Ryan Boren d44fdf7d33 Category Ajax improvements from mdawaffe. fixes #2803
git-svn-id: https://develop.svn.wordpress.org/trunk@4041 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-25 06:36:10 +00:00
Ryan Boren 4a2d5de79f Use the correct filename. Props Mark Jaquith. fixes #2815
git-svn-id: https://develop.svn.wordpress.org/trunk@3863 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-11 17:55:18 +00:00
Ryan Boren 6f355ce778 Get all error messages with get_error_messages().
git-svn-id: https://develop.svn.wordpress.org/trunk@3679 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:48:14 +00:00
Ryan Boren b3206083c3 AJAXify user addition. Props mdawaffe. fixes #2624
git-svn-id: https://develop.svn.wordpress.org/trunk@3677 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:31:26 +00:00
Ryan Boren cb23290318 AJAX, cause you love it. Props mdawaffe. fixes #2561
git-svn-id: https://develop.svn.wordpress.org/trunk@3660 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-29 01:51:55 +00:00