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 Profile 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_Profile {
@@ -16,11 +16,12 @@ class SP_Shortcode_Staff_Profile {
*/
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-header.php', $atts );
sp_get_template( 'staff-photo.php', $atts );
sp_get_template( 'staff-header.php', $atts );
sp_get_template( 'staff-photo.php', $atts );
sp_get_template( 'staff-details.php', $atts );
sp_get_template( 'staff-excerpt.php', $atts );
sp_get_template( 'staff-content.php', $atts );