Clean up spaces, tabs, indentation, and bracket formatting

This commit is contained in:
Brian Miyaji
2021-11-10 15:41:40 +09:00
parent e58beb1201
commit 3dff686a00
285 changed files with 29638 additions and 24147 deletions

View File

@@ -2,9 +2,9 @@
/**
* Event Venue Shortcode
*
* @author ThemeBoy
* @category Shortcodes
* @package SportsPress/Shortcodes/Event_Venue
* @author ThemeBoy
* @category Shortcodes
* @package SportsPress/Shortcodes/Event_Venue
* @version 2.6.9
*/
class SP_Shortcode_Event_Venue {
@@ -16,8 +16,9 @@ class SP_Shortcode_Event_Venue {
*/
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-venue.php', $atts );
}