WordPress.org

Make WordPress Core

Changeset 10857


Ignore:
Timestamp:
04/01/09 05:52:05 (6 years ago)
Author:
markjaquith
Message:

PHP Notice fix for non-normative nonce action strings. props Viper007Bond. see #9393

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r10830 r10857  
    22832283            } 
    22842284        } 
    2285     } 
    2286  
    2287     return apply_filters( 'explain_nonce_' . $verb . '-' . $noun, __( 'Are you sure you want to do this?' ), $matches[4] ); 
     2285 
     2286        return apply_filters( 'explain_nonce_' . $verb . '-' . $noun, __( 'Are you sure you want to do this?' ), $matches[4] ); 
     2287    } else { 
     2288        return apply_filters( 'explain_nonce_' . $action, __( 'Are you sure you want to do this?' ) ); 
     2289    } 
    22882290} 
    22892291 
Note: See TracChangeset for help on using the changeset viewer.