Title: wp-admin/plugin-install.php shows code fragment
Last modified: August 19, 2016

---

# wp-admin/plugin-install.php shows code fragment

 *  Resolved [tilthouse](https://wordpress.org/support/users/tilthouse/)
 * (@tilthouse)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/wp-adminplugin-installphp-shows-code-fragment/)
 * Has anyone run into this issue?
 * When I go to wp-admin/plugin-install.php, it just shows a fragment of php code,
   namely:
 *     ```
       *  $text ) { $sep = ( end($tabs) != $text ) ? ' | ' : ''; $class = ( $action == $tab ) ? ' class="current"' : ''; $href = admin_url('plugin-install.php?tab=' . $action); echo "\t\t$text$sep
             \n"; } ?>
       ```
   
 * … though that is just what’s displayed. It seems to be display the php source.
   Note that this ONLY seems to happen for the plugin-install.php. And the permissions
   look right…

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/wp-adminplugin-installphp-shows-code-fragment/#post-1471883)
 * Try re-uploading the wp-admin folder from a **fresh** download of WordPress

Viewing 1 replies (of 1 total)

The topic ‘wp-admin/plugin-install.php shows code fragment’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/wp-adminplugin-installphp-shows-code-fragment/#post-1471883)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
