Title: Fix to get_plugin_data($plugin_file) in admin-functions.php
Last modified: August 18, 2016

---

# Fix to get_plugin_data($plugin_file) in admin-functions.php

 *  [bdp](https://wordpress.org/support/users/bdp/)
 * (@bdp)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/fix-to-get_plugin_dataplugin_file-in-admin-functionsphp/)
 * I am not sure where the best place to report this is. But to get some embedded
   code working correctly I needed to add some trim()s to the get_plugin_data() 
   function in admin-functions.php.
 * I do not seem to be abled to post code here with angle brackects as & < ; etc.

The topic ‘Fix to get_plugin_data($plugin_file) in admin-functions.php’ is closed
to new replies.

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 0 replies
 * 1 participant
 * Last reply from: [bdp](https://wordpress.org/support/users/bdp/)
 * Last activity: [20 years, 11 months ago](https://wordpress.org/support/topic/fix-to-get_plugin_dataplugin_file-in-admin-functionsphp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
