Clean up spaces, tabs, indentation, and bracket formatting
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
/**
|
||||
* Event Results Shortcode
|
||||
*
|
||||
* @author ThemeBoy
|
||||
* @category Shortcodes
|
||||
* @package SportsPress/Shortcodes/Event_Results
|
||||
* @author ThemeBoy
|
||||
* @category Shortcodes
|
||||
* @package SportsPress/Shortcodes/Event_Results
|
||||
* @version 0.8
|
||||
*/
|
||||
class SP_Shortcode_Event_Results {
|
||||
@@ -16,8 +16,9 @@ class SP_Shortcode_Event_Results {
|
||||
*/
|
||||
public static function output( $atts ) {
|
||||
|
||||
if ( ! isset( $atts['id'] ) && isset( $atts[0] ) && is_numeric( $atts[0] ) )
|
||||
if ( ! isset( $atts['id'] ) && isset( $atts[0] ) && is_numeric( $atts[0] ) ) {
|
||||
$atts['id'] = $atts[0];
|
||||
}
|
||||
|
||||
sp_get_template( 'event-results.php', $atts );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user