Changeset 19389 for trunk/wp-admin/includes/template.php
- Timestamp:
- 11/21/2011 11:04:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r19388 r19389 1674 1674 * remove_action( 'admin_enqueue_scripts', array( 'WP_Internal_Pointers', 'enqueue_scripts' ) ); 1675 1675 * 1676 * Individual pointers (e.g. wp330 -toolbar) can be disabled using the following:1676 * Individual pointers (e.g. wp330_toolbar) can be disabled using the following: 1677 1677 * remove_action( 'admin_print_footer_scripts', array( 'WP_Internal_Pointers', 'pointer_wp330_toolbar' ) ); 1678 1678 */ … … 1683 1683 */ 1684 1684 $registered_pointers = array( 1685 'index.php' => 'wp330-toolbar', 1686 'post-new.php' => 'wp330-media-uploader', 1687 'themes.php' => 'wp330-saving-widgets', 1685 'index.php' => 'wp330_toolbar', 1686 'post-new.php' => 'wp330_media_uploader', 1687 'post.php' => 'wp330_media_uploader', 1688 'themes.php' => 'wp330_saving_widgets', 1688 1689 ); 1689 1690 … … 1702 1703 1703 1704 // Bind pointer print function 1704 add_action( 'admin_print_footer_scripts', array( 'WP_Internal_Pointers', 'pointer_' . str_replace( '-', '_', $pointer )) );1705 add_action( 'admin_print_footer_scripts', array( 'WP_Internal_Pointers', 'pointer_' . $pointer ) ); 1705 1706 1706 1707 // Add pointers script and style to queue … … 1754 1755 $content .= '<p>' .esc_js( __( 'Network Admin is now located in the My Sites menu.' ) ) . '</p>'; 1755 1756 1756 WP_Internal_Pointers::print_js( 'wp330 -toolbar', '#wpadminbar', array(1757 WP_Internal_Pointers::print_js( 'wp330_toolbar', '#wpadminbar', array( 1757 1758 'content' => $content, 1758 1759 'position' => array( 'edge' => 'top', 'align' => 'center' ), … … 1769 1770 $content .= '<p>' . esc_js( __( 'The single media icon now launches the uploader for all file types, and the new drag and drop interface makes uploading a breeze.' ) ) . '</p>'; 1770 1771 1771 WP_Internal_Pointers::print_js( 'wp330 -media-uploader', '#content-add_media', array(1772 WP_Internal_Pointers::print_js( 'wp330_media_uploader', '#content-add_media', array( 1772 1773 'content' => $content, 1773 1774 'position' => array( 'edge' => 'left', 'align' => 'center' ), … … 1784 1785 $content .= '<p>' . esc_js( __( 'If you change your mind and revert to your previous theme, we’ll put the widgets back the way you had them.' ) ) . '</p>'; 1785 1786 1786 WP_Internal_Pointers::print_js( 'wp330 -saving-widgets', '#message2', array(1787 WP_Internal_Pointers::print_js( 'wp330_saving_widgets', '#message2', array( 1787 1788 'content' => $content, 1788 1789 'position' => array( 'edge' => 'top', 'align' => 'left' ),
Note: See TracChangeset
for help on using the changeset viewer.