[wp-trac] [WordPress Trac] #18693: New feature pointers

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 20 17:14:14 UTC 2011


#18693: New feature pointers
----------------------------+--------------------------
 Reporter:  jane            |       Owner:  koopersmith
     Type:  task (blessed)  |      Status:  accepted
 Priority:  normal          |   Milestone:  3.3
Component:  UI              |     Version:  3.3
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+--------------------------

Comment (by ocean90):

 [attachment:18693.more-pointers.patch] is my concept how we could handle
 more pointers.
  - Save pointers into an array {{{pointer_id => hook_suffix}}}
  - Get dismissed pointers => array_diff()
  - Print pointers
   - Before: Check if $hook_suffix is the right one
   - ''Callback'' function would be _wp_pointer_print_{pointer ID ( s/-/_/}

 To avoid code duplication I added {{{_wp_pointer_javascript()}}} which
 accepts 4 args.

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


More information about the wp-trac mailing list