| @@ -9,8 +9,12 @@ | ||
| 9 | 9 | * |
| 10 | 10 | * @package automattic/jetpack |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 14 | + exit( 0 ); | |
| 15 | +} | |
| 16 | + | |
| 13 | 17 | /** |
| 14 | 18 | * Display the Bandcamp shortcode. |
| 15 | 19 | * |
| 16 | 20 | * @param array $atts Shortcode attributes. |
| @@ -37,9 +41,9 @@ | ||
| 37 | 41 | 'minimal' => null, // may be string "true" (defaults false). |
| 38 | 42 | 'theme' => null, // may be theme identifier string ("light"|"dark" so far). |
| 39 | 43 | 'package' => null, // integer package id. |
| 40 | 44 | 't' => null, // integer track number. |
| 41 | - 'tracks' => null, // comma separated list of allowed tracks. | |
| 45 | + 'tracks' => null, // comma-separated list of allowed tracks. | |
| 42 | 46 | 'esig' => null, // hex, no '#' prefix. |
| 43 | 47 | ), |
| 44 | 48 | $atts, |
| 45 | 49 | 'bandcamp' |