Changeset 44569 for trunk/tests/phpunit/tests/post/output.php
- Timestamp:
- 01/12/2019 03:19:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/output.php
r43571 r44569 30 30 31 31 function _shortcode_paragraph( $atts, $content ) { 32 extract( 33 shortcode_atts( 34 array( 35 'class' => 'graf', 36 ), 37 $atts 38 ) 32 $processed_atts = shortcode_atts( 33 array( 34 'class' => 'graf', 35 ), 36 $atts 39 37 ); 40 return "<p class='$class'>$content</p>\n"; 38 39 return "<p class='{$processed_atts['class']}'>$content</p>\n"; 41 40 } 42 41
Note: See TracChangeset
for help on using the changeset viewer.