[wp-trac] [WordPress Trac] #17924: Make Integrating Multiple Roles Per User Easier for Plugin Authors

WordPress Trac wp-trac at lists.automattic.com
Wed May 30 04:41:21 UTC 2012


#17924: Make Integrating Multiple Roles Per User Easier for Plugin Authors
-----------------------------+------------------------------
 Reporter:  mobius5150       |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Role/Capability  |     Version:  3.2
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by mobius5150):

 Replying to [comment:21 nacin]:
 >
 > You should try to implement this as a plugin using the hooks available
 rather than as a core hack. In general, if you are going to submit a
 temporary hack, you should only distribute it as a patch file. Then,
 ideally, only those knowledgeable enough to realize what they are doing
 will go forward with it.

 The reason for this patch is that short of output buffering the WP admin
 pages and doing a search and replace on the page html, there is no way of
 implementing this with only hooks. All the patch does is add the actions
 and filters necessary to extend this functionality, the rest is done with
 a plugin.

 > As a matter of creating patches, please post a single patch with all
 changes, and make that patch against "trunk", which is currently 3.4-RC1
 but is always a moving target.

 In my hurry to get this patched before I fell asleep at my keyboard, I
 actually didn't notice trunk was 3.4-RC1, and actually made the diff for
 that. Once 3.4 is officially release I'll update the patch file again.

 > And in terms of getting it into a future release, I'd have to take a
 closer look at the approach, but I definitely like the general direction.

 Thanks for your feedback, I know a number of people would love more
 support for this.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17924#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list