Odd - page shows up blank inside an iframe. Why?
I am trying to set up a web-based control panel for some hosting customers that use WordPress.
As you probably know, the URL for administrating a WordPress site is http://domain.com/wp-admin. For example:
http://minutebookreview.com/wp-admin (this is just a random blog)
Now, look what happens when I try to load this page inside an iframe using this code:
<iframe width=640 height=480 src="http://minutebookreview.com/wp-admin"></iframe>
You'd think this开发者_开发问答 would work, right?
Well, have a look for yourself:
http://jsfiddle.net/A4MxE/
The page simply shows up blank inside the iframe. The wp-admin login page won't load.
Anyone know why this is happening? It doesn't make any sense to me.
Here is what I saw. It seams wordpress just dosen't like you.
精彩评论