Changeset 2865
- Timestamp:
- 03/31/2016 09:17:59 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/public_html/gp-templates-new/locale-projects.php
r2115 r2865 167 167 </div> 168 168 <div class="project-description"> 169 <p><?php echo $sub_project->description; ?></p> 169 <p><?php 170 $description = wp_strip_all_tags( $sub_project->description ); 171 $description = str_replace( array( 'WordPress.org Plugin Page', 'WordPress.org Theme Page' ), '', $description ); 172 echo wp_trim_words( $description, 30 ); 173 ?></p> 170 174 </div> 171 175 </div>
Note: See TracChangeset
for help on using the changeset viewer.