Changeset 59224 for trunk/src/wp-includes/class-wp-customize-nav-menus.php
- Timestamp:
- 10/13/2024 07:07:06 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-nav-menus.php
r58306 r59224 1224 1224 <div id="<?php echo esc_attr( $id ); ?>" class="accordion-section"> 1225 1225 <h4 class="accordion-section-title" role="presentation"> 1226 <?php echo esc_html( $available_item_type['title'] ); ?> 1227 <span class="spinner"></span> 1228 <span class="no-items"><?php _e( 'No items' ); ?></span> 1229 <button type="button" class="button-link" aria-expanded="false"> 1230 <span class="screen-reader-text"> 1231 <?php 1232 /* translators: %s: Title of a section with menu items. */ 1233 printf( __( 'Toggle section: %s' ), esc_html( $available_item_type['title'] ) ); 1234 ?> 1235 </span> 1226 <button type="button" class="accordion-trigger" aria-expanded="false" aria-controls="<?php echo esc_attr( $id ); ?>-content"> 1227 <?php echo esc_html( $available_item_type['title'] ); ?> 1228 <span class="spinner"></span> 1229 <span class="no-items"><?php _e( 'No items' ); ?></span> 1236 1230 <span class="toggle-indicator" aria-hidden="true"></span> 1237 1231 </button> 1238 1232 </h4> 1239 <div class="accordion-section-content" >1233 <div class="accordion-section-content" id="<?php echo esc_attr( $id ); ?>-content"> 1240 1234 <?php if ( 'post_type' === $available_item_type['type'] ) : ?> 1241 1235 <?php $post_type_obj = get_post_type_object( $available_item_type['object'] ); ?> … … 1265 1259 <div id="new-custom-menu-item" class="accordion-section"> 1266 1260 <h4 class="accordion-section-title" role="presentation"> 1267 <?php _e( 'Custom Links' ); ?> 1268 <button type="button" class="button-link" aria-expanded="false"> 1269 <span class="screen-reader-text"> 1270 <?php 1271 /* translators: Hidden accessibility text. */ 1272 _e( 'Toggle section: Custom Links' ); 1273 ?> 1274 </span> 1261 <button type="button" class="accordion-trigger" aria-expanded="false" aria-controls="new-custom-menu-item-content"> 1262 <?php _e( 'Custom Links' ); ?> 1275 1263 <span class="toggle-indicator" aria-hidden="true"></span> 1276 1264 </button> 1277 1265 </h4> 1278 <div class="accordion-section-content customlinkdiv" >1266 <div class="accordion-section-content customlinkdiv" id="new-custom-menu-item-content"> 1279 1267 <input type="hidden" value="custom" id="custom-menu-item-type" name="menu-item[-1][menu-item-type]" /> 1280 1268 <p id="menu-item-url-wrap" class="wp-clearfix">
Note: See TracChangeset
for help on using the changeset viewer.