Changeset 11206 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-dashicons.php
- Timestamp:
- 08/26/2021 11:34:14 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-dashicons.php
r11196 r11206 11 11 12 12 wp_enqueue_style( 'dashicons-page', get_template_directory_uri() . '/stylesheets/page-dashicons.css', array(), '20200427' ); 13 wp_enqueue_script( 'dashicons-page', get_template_directory_uri() . '/js/page-dashicons.js', array( 'jquery', 'wp-util' ), '202 00427' );13 wp_enqueue_script( 'dashicons-page', get_template_directory_uri() . '/js/page-dashicons.js', array( 'jquery', 'wp-util' ), '20210826' ); 14 14 15 15 get_header(); ?> … … 40 40 echo "<!-- {$group} -->\n"; 41 41 42 echo "<ul>\n"; 42 43 foreach ( $group_info['icons'] as $name => $info ) { 43 44 printf( 44 '<div alt="%s" class="dashicons %s">%s</div>' . "\n", 45 $info['code'], 46 $name, 47 $info['keywords'] 45 '<li data-keywords="%s" data-code="%s" class="dashicons %s"><span>%s</span></li>' . "\n", 46 esc_attr( $info['keywords'] ), 47 esc_attr( $info['code'] ), 48 esc_attr( $name ), 49 $info['label'] 48 50 ); 49 51 } 52 echo "</ul>\n"; 50 53 endforeach; 51 54 ?>
Note: See TracChangeset
for help on using the changeset viewer.