added an experimental implementation for the wordpress media manager