Changeset 23317
- Timestamp:
- 01/22/2013 03:37:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.5/wp-includes/media.php
r23282 r23317 736 736 $itemtag = tag_escape($itemtag); 737 737 $captiontag = tag_escape($captiontag); 738 $icontag = tag_escape($icontag); 739 $valid_tags = wp_kses_allowed_html( 'post' ); 740 if ( ! isset( $valid_tags[ $itemtag ] ) ) 741 $itemtag = 'dl'; 742 if ( ! isset( $valid_tags[ $captiontag ] ) ) 743 $captiontag = 'dd'; 744 if ( ! isset( $valid_tags[ $icontag ] ) ) 745 $icontag = 'dt'; 746 738 747 $columns = intval($columns); 739 748 $itemwidth = $columns > 0 ? floor(100/$columns) : 100;
Note: See TracChangeset
for help on using the changeset viewer.