Make WordPress Core

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


Ignore:
Timestamp:
09/21/2011 07:41:53 PM (12 years 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.