How To Get WordPress To Open A New Page In An iFrame

Published Date Author: , Posted July 30th, 2011 at 5:36:05pm

Edit the file wordpress/wp-includes/functions.php and just comment out the line in the middle:

UPDATE: Based on Brent’s comment, here is a better solution:

Comments reader  3 Reader Comments

Brent Shepherd - Gravatar

find.brentshepherd.com Brent Shepherd said on July 31, 2011, 9:27 am:

It’s not necessary to modify the core. This function is called twice via hooks, so we can remove the hooks:

Thomas Allmer - Gravatar

Thomas Allmer said on October 22, 2013, 6:19 am:

second remove action needs to be
remove_action(‘admin_init’, ‘send_frame_options_header’);

erics - Gravatar

www.wyzaerd.com erics said on October 22, 2013, 6:23 am:

Thanks very much for the great catch, Thomas! Post edited accordingly.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.