Changeset 9492
- Timestamp:
- 02/11/2020 07:19:45 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-helphub/inc/table-of-contents-lite/includes/class-table-of-contents-lite.php
r8255 r9492 245 245 $last_item = false; 246 246 foreach ( $items as $item ) { 247 $last_item = $item[2];248 247 if ( $last_item ) { 249 248 if ( $last_item < $item[2] ) { … … 255 254 } 256 255 } 256 $last_item = $item[2]; 257 257 $toc .= sprintf( '<li><a href="#%1s">%2s</a>', sanitize_title_with_dashes( $item[3] ), $item[3] ); 258 258 }
Note: See TracChangeset
for help on using the changeset viewer.