[wp-trac] [WordPress Trac] #2672: JS error when editing post for
Contributors
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 20 06:03:30 GMT 2006
#2672: JS error when editing post for Contributors
----------------------------+-----------------------------------------------
Id: 2672 | Status: new
Component: Administration | Modified: Thu Apr 20 06:03:30 2006
Severity: trivial | Milestone: 2.1
Priority: normal | Version: 2.1
Owner: mdawaffe | Reporter: mdawaffe
----------------------------+-----------------------------------------------
On the edit post screen, there are two things which use the list
manipulation JS: on the fly category addition and custom fields.
Currently, the JS is only included if (
current_user_can('manage_categories') ), so a user who can't will get a JS
error when the custom fields JS runs.
Trivial patch attached.
--
Ticket URL: <http://trac.wordpress.org/ticket/2672>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list