Timeline for can i limit editing specific custom fields to certain roles?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 18, 2013 at 0:37 | comment | added | brasofilo |
Yes, I edited the role names out in favor of capabilities. The whole *_user_can issue seems a bit murky...
|
|
Jan 17, 2013 at 23:43 | comment | added | s_ha_dum | Were you using role names in those functions? The current versions use capabilities. | |
Jan 17, 2013 at 23:33 | comment | added | brasofilo |
Nowadays, I use a custom function current_user_has_role . If remembering well, I had problems with current_user_can in the first versions of this A.
|
|
Jan 17, 2013 at 23:20 | history | answered | s_ha_dum | CC BY-SA 3.0 |