Skip to content

Commit

Permalink
Use wp_nonce_field() instead of rolling our own nonce <input>.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.locallylost.com/themes/hybrid-core/trunk@894 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information
greenshady committed Oct 5, 2011
1 parent b4e3bf0 commit 871dfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/meta-box-post-seo.php
Expand Up @@ -41,7 +41,7 @@ function hybrid_meta_box_post_display_seo( $object, $box ) {

$domain = hybrid_get_textdomain(); ?>

<input type="hidden" name="hybrid-core-post-meta-box-seo" value="<?php echo wp_create_nonce( basename( __FILE__ ) ); ?>" />
<?php wp_nonce_field( basename( __FILE__ ), 'hybrid-core-post-meta-box-seo' ); ?>

<div class="hybrid-post-settings">

Expand Down

0 comments on commit 871dfa3

Please sign in to comment.