Ticket #9393: 9393-wp_explain_nonce.patch
File 9393-wp_explain_nonce.patch, 641 bytes (added by , 16 years ago) |
---|
-
wp-includes/functions.php
2282 2282 return $trans[$verb][$noun][0]; 2283 2283 } 2284 2284 } 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?' ) ); 2285 2289 } 2286 2287 return apply_filters( 'explain_nonce_' . $verb . '-' . $noun, __( 'Are you sure you want to do this?' ), $matches[4] );2288 2290 } 2289 2291 2290 2292 /**