Single => Singular
This commit is contained in:
@@ -104,7 +104,7 @@ class SportsPress_Icons {
|
||||
if ( ! $id || ! $value ) return $icons;
|
||||
$icon = get_post_meta( $id, 'sp_icon', true );
|
||||
if ( null !== $icon && in_array( $icon, $this->icons ) ) {
|
||||
$title = sp_get_single_name( $id );
|
||||
$title = sp_get_singular_name( $id );
|
||||
$color = get_post_meta( $id, 'sp_color', true );
|
||||
preg_match( '#\((.*?)\)#', $value, $match );
|
||||
if ( ! empty( $match ) && isset( $match[1] ) ) {
|
||||
|
||||
Reference in New Issue
Block a user