Changeset 11213 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-dashicons.php
- Timestamp:
- 08/30/2021 10:45:11 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-dashicons.php
r11207 r11213 10 10 require_once __DIR__ . '/inc/dashicons.php'; 11 11 12 wp_enqueue_style( 'dashicons-page', get_template_directory_uri() . '/stylesheets/page-dashicons.css', array(), '202108 26' );13 wp_enqueue_script( 'dashicons-page', get_template_directory_uri() . '/js/page-dashicons.js', array( 'jquery', 'wp-util' ), '202108 26' );12 wp_enqueue_style( 'dashicons-page', get_template_directory_uri() . '/stylesheets/page-dashicons.css', array(), '20210830' ); 13 wp_enqueue_script( 'dashicons-page', get_template_directory_uri() . '/js/page-dashicons.js', array( 'jquery', 'wp-util' ), '20210830' ); 14 14 15 15 get_header(); ?> … … 37 37 <?php 38 38 foreach ( DevHub_Dashicons::get_dashicons() as $group => $group_info ) : 39 echo "<h4>{$group_info['label']}</h4>\n\n"; 39 printf( 40 '<h4 id="%s">%s <a href="#%s" class="anchor"><span aria-hidden="true">#</span><span class="screen-reader-text">%s</span></a></h4>' . "\n\n", 41 esc_attr( 'icons-' . sanitize_title( $group ) ), 42 $group_info['label'], 43 esc_attr( 'icons-' . sanitize_title( $group ) ), 44 $group_info['label'] 45 ); 46 40 47 echo "<!-- {$group} -->\n"; 41 48
Note: See TracChangeset
for help on using the changeset viewer.