mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- added nonce fields;
This commit is contained in:
@@ -82,6 +82,8 @@ if ( ! class_exists( 'um\core\User_posts' ) ) {
|
||||
*
|
||||
*/
|
||||
function load_posts() {
|
||||
UM()->check_ajax_nonce();
|
||||
|
||||
$author = ! empty( $_POST['author'] ) ? $_POST['author'] : get_current_user_id();
|
||||
$page = ! empty( $_POST['page'] ) ? $_POST['page'] : 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user