Skip to content
This repository
Browse code

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
Alex Mills Viper007Bond authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 developer.php
6 developer.php
@@ -255,7 +255,7 @@ public function output_setup_box_html() {
255 255 <p>
256 256 <label>
257 257 <input type="radio" name="a8c_developer_project_type" value="<?php echo esc_attr( $project_slug ); ?>" <?php checked( $i, 1 ); ?> />
258   - <?php echo esc_html( $project_description ); ?>
  258 + <?php echo $project_description; ?>
259 259 </label>
260 260 </p>
261 261 <?php endforeach; ?>
@@ -618,9 +618,9 @@ public function is_recommended_plugin_installed( $slug ) {
618 618
619 619 private function get_project_types() {
620 620 return array(
621   - 'wporg' => __( 'Plugin for a self-hosted WordPress installation', 'a8c-developer' ),
  621 + 'wporg' => __( 'Plugin for a self-hosted WordPress installation', 'a8c-developer' ),
622 622 'wporg-theme' => __( 'Theme for a self-hosted WordPress installation', 'a8c-developer' ),
623   - 'wpcom-vip' => __( 'Theme for a <a href="http://vip.wordpress.com" target="_blank">WordPress.com VIP</a> site', 'a8c-developer' ),
  623 + 'wpcom-vip' => __( 'Theme for a <a href="http://vip.wordpress.com" target="_blank">WordPress.com VIP</a> site', 'a8c-developer' ),
624 624 );
625 625 }
626 626 }

0 comments on commit 57628b7

Please sign in to comment.
Something went wrong with that request. Please try again.