[wp-trac] [WordPress Trac] #20045: Delete User should not default to "Delete all posts and links"
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 25 08:02:55 UTC 2012
#20045: Delete User should not default to "Delete all posts and links"
------------------------------+-------------------------
Reporter: lachlanj | Owner: GhostToast
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 3.5
Component: Users | Version: 3.3.1
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+-------------------------
Changes (by nacin):
* keywords: has-patch => has-patch commit
Comment:
I took this for a spin and ended up with [attachment:20045.diff].
Simplifies the JS, adds a no-JS "ERROR" fallback.
Also removes redundant current_user_can() calls, adds a space after the
"Attribute all posts to:" label, and does better (and earlier)
sanitization of passed users.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20045#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list