Permalink
Browse files

Fix project descriptions

WordPress.com VIP is hyperlinked and so we can't escape HTML if we want
it to work. Whitespace fix too.
  • Loading branch information...
1 parent a068115 commit 57628b78c4c83b083733ac968d2040fc08e730fb @Viper007Bond Viper007Bond committed Aug 21, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 developer.php
View
@@ -255,7 +255,7 @@ public function output_setup_box_html() {
<p>
<label>
<input type="radio" name="a8c_developer_project_type" value="<?php echo esc_attr( $project_slug ); ?>" <?php checked( $i, 1 ); ?> />
- <?php echo esc_html( $project_description ); ?>
+ <?php echo $project_description; ?>
</label>
</p>
<?php endforeach; ?>
@@ -618,9 +618,9 @@ public function is_recommended_plugin_installed( $slug ) {
private function get_project_types() {
return array(
- 'wporg' => __( 'Plugin for a self-hosted WordPress installation', 'a8c-developer' ),
+ 'wporg' => __( 'Plugin for a self-hosted WordPress installation', 'a8c-developer' ),
'wporg-theme' => __( 'Theme for a self-hosted WordPress installation', 'a8c-developer' ),
- 'wpcom-vip' => __( 'Theme for a <a href="http://vip.wordpress.com" target="_blank">WordPress.com VIP</a> site', 'a8c-developer' ),
+ 'wpcom-vip' => __( 'Theme for a <a href="http://vip.wordpress.com" target="_blank">WordPress.com VIP</a> site', 'a8c-developer' ),
);
}
}

0 comments on commit 57628b7

Please sign in to comment.