Timeline for Better solution for managing media attachments with `wp_editor()`?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 19, 2013 at 13:50 | vote | accept | Michael Ecklund | ||
| Jun 27, 2013 at 1:03 | comment | added | Wyck | That is a failure of the basic principle of a software design pattern. There is no reason you should be doing it wrong, despite the client. | |
| Jun 26, 2013 at 18:14 | comment | added | Michael Ecklund | I cannot create a new role. Client would like to keep all users as an "Author". I have modified the Author role though. Removing dashboard access and publishing rights. They can still receive the rest of the normal Author capabilities. I don't really know if this is a good solution or not, but I edited the global variable for post_id, right before the call to wp_editor(); Example: $GLOBALS['post']->ID = null; wp_editor(); | |
| Jun 26, 2013 at 4:34 | history | answered | Wyck | CC BY-SA 3.0 |