Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「wp_redirect」(またはヘッダー) を使用している場合、Wordpress 3.0 ではすべてが機能しますが、Wordpress 3.5 でリダイレクトしている場合、ヘッダーは既に送信されています。問題を調査したところ、Wordpress 3.5 が html を出力することがわかりました。Worpress 3.5 のプラグインから単純なリダイレクトを作成するにはどうすればよいですか?
JSを使用できます:
window.location.href = 'http://someurl/';