Changeset 942262
- Timestamp:
- 07/02/2014 04:14:50 PM (12 years ago)
- Location:
- dxw-security/trunk/lib
- Files:
-
- 3 edited
-
api.class.php (modified) (1 diff)
-
plugin_recommendation.class.php (modified) (1 diff)
-
review_data.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dxw-security/trunk/lib/api.class.php
r942260 r942262 78 78 $parsed_body = $this->parse_response_body($response['body']); 79 79 $data = $this->extract_data($parsed_body); 80 // TODO: Validate data and raise an error if it's invalid. Children of this class would need to implement a 'validate()' function 80 81 $this->cache_api_data($data); 81 82 return $data; -
dxw-security/trunk/lib/plugin_recommendation.class.php
r934571 r942262 18 18 $this->body = $body; // Legitimately includes html - defined in this file 19 19 $this->review_data = $review_data; 20 $this->heading = $heading; 20 $this->heading = $heading; // Legitimately includes html - defined within the code of this plugin 21 21 $this->dialog_intro = $dialog_intro; 22 22 } -
dxw-security/trunk/lib/review_data.class.php
r934571 r942262 90 90 ?> 91 91 <div class="other-review <?php echo $review->slug ?>"> 92 <h2>Version <?php echo $review->version(); if ($review->version_matches($this->latest_version)) { echo " (Latest)"; }?></h2>92 <h2>Version <?php echo esc_attr($review->version()); if ($review->version_matches($this->latest_version)) { echo " (Latest)"; }?></h2> 93 93 <?php print_r($review->render()) ?> 94 94 </div>
Note: See TracChangeset
for help on using the changeset viewer.