Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 57628b78c4c83b083733ac968d2040fc08e730fb 1 parent a068115
@Viper007Bond Viper007Bond authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 developer.php
View
6 developer.php
@@ -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' ),
);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.