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/my-wordpress/user-stats.php +3 -3 1.1.9 → 1.1.12 View file →
@@ -130,9 +130,9 @@
130 130
131 131 // ----- Profile -----------------------------------------------------
132 132 $profile = array(
133 133 'id' => (int) $user->ID,
134 - 'name' => $user->display_name,
134 + 'name' => openstation_plain_text_title( $user->display_name ),
135 135 'description' => (string) $user->description,
136 136 'link' => get_author_posts_url( $user->ID ),
137 137 'website' => esc_url_raw( $user->user_url ),
138 138 'avatarUrl' => get_avatar_url( $user->ID, array( 'size' => 192 ) ),
@@ -383,9 +383,9 @@
383 383 continue;
384 384 }
385 385 $recent[] = array(
386 386 'id' => (int) $p->ID,
387 - 'title' => get_the_title( $p ),
387 + 'title' => openstation_plain_text_title( get_the_title( $p ) ),
388 388 'date' => mysql2date( 'c', $p->post_date_gmt, false ),
389 389 'status' => (string) $p->post_status,
390 390 'type' => (string) $p->post_type,
391 391 'link' => get_permalink( $p ),
@@ -414,9 +414,9 @@
414 414 $top_terms = array();
415 415 foreach ( (array) $top_term_rows as $row ) {
416 416 $top_terms[] = array(
417 417 'id' => (int) $row['term_id'],
418 - 'name' => (string) $row['name'],
418 + 'name' => openstation_plain_text_title( $row['name'] ),
419 419 'slug' => (string) $row['slug'],
420 420 'taxonomy' => (string) $row['taxonomy'],
421 421 'count' => (int) $row['n'],
422 422 );