Changeset 736
- Timestamp:
- 07/02/2014 07:51:48 PM (10 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
r724 r736 481 481 } 482 482 $params[ $tag['variable'] ]['types'] = implode( '|', $types ); 483 if ( strtolower( substr( $tag['content'], 0, 8) ) == "optional." ) {483 if ( strtolower( substr( $tag['content'], 0, 9 ) ) == "optional." ) { 484 484 $params[ $tag['variable'] ]['required'] = 'Optional'; 485 $params[ $tag['variable'] ]['content'] = substr( $tag['content'], 9);485 $params[ $tag['variable'] ]['content'] = substr( $tag['content'], 10 ); 486 486 } else { 487 487 $params[ $tag['variable'] ]['required'] = 'Required';
Note: See TracChangeset
for help on using the changeset viewer.