PluginProbe
OpenStation: Desktop Windows, Dock & Virtual Desktops for WP Admin / 1.1.12
OpenStation: Desktop Windows, Dock & Virtual Desktops for WP Admin v1.1.12
1.1.12 1.1.11 1.1.10 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.1 1.0.0 0.9.8 0.9.7 0.9.6 0.9.4 0.9.5 0.9.3 0.9.2 0.9.1 0.9.0 0.8.9 All 36 releases
← All changes | includes/games/store.php +3 -3 1.1.1 → 1.1.12 View file →
@@ -208,9 +208,9 @@
208 208 return array(
209 209 'id' => (int) $row['id'],
210 210 'game' => (string) $row['game'],
211 211 'userId' => $user_id,
212 - 'userName' => $user ? $user->display_name : __( 'Former user', 'desktop-mode' ),
212 + 'userName' => $user ? openstation_plain_text_title( $user->display_name ) : __( 'Former user', 'desktop-mode' ),
213 213 'userAvatar' => $user ? get_avatar_url( $user_id, array( 'size' => 48 ) ) : '',
214 214 'score' => (int) $row['score'],
215 215 'meta' => is_array( $meta ) ? $meta : array(),
216 216 'createdAtMs' => (int) $row['created_at_ms'],
@@ -497,12 +497,12 @@
497 497 return array(
498 498 'id' => (int) $row['id'],
499 499 'game' => (string) $row['game'],
500 500 'challengerId' => (int) $row['challenger_id'],
501 - 'challengerName' => $challenger ? $challenger->display_name : __( 'Former user', 'desktop-mode' ),
501 + 'challengerName' => $challenger ? openstation_plain_text_title( $challenger->display_name ) : __( 'Former user', 'desktop-mode' ),
502 502 'challengerAvatar' => $challenger ? get_avatar_url( $challenger->ID, array( 'size' => 48 ) ) : '',
503 503 'recipientId' => (int) $row['recipient_id'],
504 - 'recipientName' => $recipient ? $recipient->display_name : __( 'Former user', 'desktop-mode' ),
504 + 'recipientName' => $recipient ? openstation_plain_text_title( $recipient->display_name ) : __( 'Former user', 'desktop-mode' ),
505 505 'recipientAvatar' => $recipient ? get_avatar_url( $recipient->ID, array( 'size' => 48 ) ) : '',
506 506 'scoreToBeat' => (int) $row['score_to_beat'],
507 507 'scoreMeta' => is_array( $score_meta ) ? $score_meta : array(),
508 508 'state' => (string) $row['state'],