[wp-trac] [WordPress Trac] #33289: Remove existing Internal Pointers

WordPress Trac noreply at wordpress.org
Thu Aug 6 21:46:13 UTC 2015


#33289: Remove existing Internal Pointers
----------------------------+-----------------------
 Reporter:  obenland        |       Owner:  obenland
     Type:  task (blessed)  |      Status:  accepted
 Priority:  normal          |   Milestone:  4.3
Component:  Administration  |     Version:  4.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------

Comment (by obenland):

 Replying to [comment:5 ocean90]:
 > Instead of commenting out parts what about
 > {{{
 > $registered_pointers = array(
 >     // hook suffix => pointer callback
 > );
 >
 > $caps_required = array(
 >     // pointer callback => Array of required capabilities
 > );
 > }}}

 Sure, works for me.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33289#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list