WP 3.5 Gallery integration

Signed-off-by: Thad Allender <thadallender@gmail.com>