Ticket #17038: 17038.2.diff
| File 17038.2.diff, 2.0 KB (added by kawauso, 2 years ago) |
|---|
-
wp-admin/plugin-editor.php
215 215 continue; 216 216 } 217 217 ?> 218 <li<?php echo $file == $plugin_file ? ' class="highlight"' : ''; ?>><a href="plugin-editor.php?file=<?php echo $plugin_file; ?>&plugin=<?php echo $plugin;?>"><?php echo $plugin_file ?></a></li>218 <li<?php echo $file == $plugin_file ? ' class="highlight"' : ''; ?>><a href="plugin-editor.php?file=<?php echo urlencode( $plugin_file ) ?>&plugin=<?php echo urlencode( $plugin ) ?>"><?php echo $plugin_file ?></a></li> 219 219 <?php endforeach; ?> 220 220 </ul> 221 221 </div> -
wp-admin/theme-editor.php
192 192 ksort( $template_mapping ); 193 193 while ( list( $template_sorted_key, list( $template_file, $filedesc ) ) = each( $template_mapping ) ) : 194 194 ?> 195 <li><a href="theme-editor.php?file=<?php echo "$template_file"; ?>&theme=<?php echo urlencode($theme) ?>&dir=theme"><?php echo $filedesc ?></a></li>195 <li><a href="theme-editor.php?file=<?php echo urlencode( $template_file ) ?>&theme=<?php echo urlencode( $theme ) ?>&dir=theme"><?php echo $filedesc ?></a></li> 196 196 <?php endwhile; ?> 197 197 </ul> 198 198 <h3><?php /* translators: Theme stylesheets in theme editor */ _ex('Styles', 'Theme stylesheets in theme editor'); ?></h3> … … 214 214 ksort( $template_mapping ); 215 215 while ( list( $template_sorted_key, list( $style_file, $filedesc ) ) = each( $template_mapping ) ) : 216 216 ?> 217 <li><a href="theme-editor.php?file=<?php echo "$style_file";?>&theme=<?php echo urlencode($theme) ?>&dir=style"><?php echo $filedesc ?></a></li>217 <li><a href="theme-editor.php?file=<?php echo urlencode( $style_file ) ?>&theme=<?php echo urlencode($theme) ?>&dir=style"><?php echo $filedesc ?></a></li> 218 218 <?php endwhile; ?> 219 219 </ul> 220 220 <?php endif; ?>
