Changeset 4554
- Timestamp:
- 12/16/2016 08:47:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php
r4499 r4554 1193 1193 1194 1194 // Stop reading file once end_line is reached. 1195 if ( $line > $end_line ) {1195 if ( $line >= $end_line ) { 1196 1196 break; 1197 1197 } … … 1199 1199 // Skip lines until start_line is reached. 1200 1200 if ( $line < $start_line ) { 1201 continue;1202 }1203 1204 // Skip the last line if it is "endif;"; the parser includes the1205 // endif of a if/endif wrapping typical of pluggable functions.1206 if ( $line === $end_line && 'endif;' === trim( $source_line ) ) {1207 1201 continue; 1208 1202 }
Note: See TracChangeset
for help on using the changeset viewer.