Wordpress 3.1.3
[autoinstalls/wordpress.git] / wp-includes / functions.php
index 72843130a804171a3d451422ef45b79b90b0de5a..34fe1132ad384401140d98de50b679398f66558b 100644 (file)
@@ -4482,4 +4482,16 @@ function wp_find_hierarchy_loop_tortoise_hare( $callback, $start, $override = ar
        return false;
 }
 
+/**
+ * Send a HTTP header to limit rendering of pages to same origin iframes.
+ *
+ * @link https://developer.mozilla.org/en/the_x-frame-options_response_header
+ *
+ * @since 3.1.3
+ * @return none
+ */
+function send_frame_options_header() {
+       @header( 'X-Frame-Options: SAMEORIGIN' );
+}
+
 ?>