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 @@
/**
* Staff Shortcode
*
* @author ThemeBoy
* @category Shortcodes
* @package SportsPress/Shortcodes/Staff
* @author ThemeBoy
* @category Shortcodes
* @package SportsPress/Shortcodes/Staff
* @version 2.5.5
*/
class SP_Shortcode_Staff {
@@ -16,10 +16,11 @@ class SP_Shortcode_Staff {
*/
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( 'staff-photo.php', $atts );
sp_get_template( 'staff-photo.php', $atts );
sp_get_template( 'staff-details.php', $atts );
}
}