~vcs-imports/cricket-moods/trunk

« back to all changes in this revision

Viewing changes to cricket-moods.php

  • Committer: kccricket
  • Date: 2007-08-25 03:14:41 UTC
  • Revision ID: vcs-imports@canonical.com-20070825031441-a019tfosaish1col
cricket-moods: Pesky hyphens and dashes.  Why must you look so similar?

Show diffs side-by-side

added added

removed removed

Lines of Context:
242
242
 
243
243
        // If no $moods passed, pull from $_POST.
244
244
        if( !isset($moods) ) {
245
 
                if( !current_user_can('edit_post', $post_ID) || !wp_verify_nonce($_POST['cricket-moods_verify_key'], 'update-postmoods_cricket-moods') ) return $post_ID;
 
245
                if( !current_user_can('edit_post', $post_ID) || !wp_verify_nonce($_POST['cricket-moods_verify-key'], 'update-postmoods_cricket-moods') ) return $post_ID;
246
246
                $moods = cm_get_posted_moods();
247
247
        }
248
248