Changeset 22874 for trunk/wp-admin/includes/template.php
- Timestamp:
- 11/27/2012 06:58:07 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r22815 r22874 1675 1675 'appearance_page_custom-header' => 'wp340_choose_image_from_library', 1676 1676 'appearance_page_custom-background' => 'wp340_choose_image_from_library', 1677 'plugin-install.php' => 'wp350_favorites',1678 1677 ); 1679 1678 … … 1829 1828 1830 1829 public static function pointer_wp350_media() { 1831 $content = '<h3>' . ( 'New Media Uploader' ) . '</h3>';1832 $content .= '<p>' . ( 'Uploading and inserting images and other files has never been easier.' ) . '</p>';1830 $content = '<h3>' . __( 'New Media Manager' ) . '</h3>'; 1831 $content .= '<p>' . __( 'Uploading files and creating image galleries has a whole new look. Check it out!' ) . '</p>'; 1833 1832 1834 1833 self::print_js( 'wp350_media', '.insert-media', array( 1835 1834 'content' => $content, 1836 1835 'position' => array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => 'center' ), 1837 ) );1838 }1839 1840 public static function pointer_wp350_favorites() {1841 $content = '<h3>' . __( 'New Feature: Plugin Favorites' ) . '</h3>';1842 $content .= '<p>' . __( 'If you have favorited plugins on WordPress.org, you can now install them directly from this tab.' ) . '</p>';1843 1844 self::print_js( 'wp350_favorites', '.plugin-install-favorites', array(1845 'content' => $content,1846 'position' => array( 'edge' => 'top', 'align' => is_rtl() ? 'right' : 'left', 'offset' => is_rtl() ? '40 0' : '-40 0' ),1847 1836 ) ); 1848 1837 } … … 1854 1843 */ 1855 1844 public static function dismiss_pointers_for_new_users( $user_id ) { 1856 add_user_meta( $user_id, 'dismissed_wp_pointers', 'wp330_toolbar,wp330_saving_widgets,wp340_choose_image_from_library,wp340_customize_current_theme_link,wp350_media ,wp350_favorites' );1845 add_user_meta( $user_id, 'dismissed_wp_pointers', 'wp330_toolbar,wp330_saving_widgets,wp340_choose_image_from_library,wp340_customize_current_theme_link,wp350_media' ); 1857 1846 } 1858 1847 }
Note: See TracChangeset
for help on using the changeset viewer.