WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18693, comment 21

Timestamp:
09/21/11 19:41:53 (21 months ago)
Author:
nacin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18693, comment 21

    initial v1  
    44wp_pointer_enqueue() is attached to admin_enqueue_scripts, which passes us a $hook_suffix. While constructing the API I left that in, as future pointers may have page-targeted pointers. 
    55 
    6 wp-pointer, as indicated by the suffix, is hours. wp-includes/js/jquery should probably be reserved for external scripts. wp-includes/js was chosen because there's nothing stopping this from being used on the frontend, either in a walkthrough or by a plugin. 
    7  
     6wp-pointer, as indicated by the prefix, is ours. wp-includes/js/jquery should probably be reserved for external scripts. wp-includes/js was chosen because there's nothing stopping this from being used on the frontend, either in a walkthrough or by a plugin.