wordpress/wp-content/themes/basic/themify/themify-builder/classes/class-themify-builder-revisions.php
/**
	 * Ajax Get all post revisions list.
	 * 
	 * @access public
	 */
Ajax Get all post revisions list.

@access public
Ajax Get all post revisions list . @access public
public static function load_revision_lists() {
		check_ajax_referer('tb_load_nonce', 'tb_load_nonce');
		$post_id = (int) $_POST['postid'];
		$revisions = wp_get_post_revisions( $post_id, array(
			'posts_per_page' => self::$default_revisions_limit,
		) );
		$can_edit_post = $post_id===0?true:current_user_can( 'edit_post', $post_id );
		include THEMIFY_BUILDER_INCLUDES_DIR . '/themify-builder-revision-list.php';
		wp_die();
	}
public static function load_revision_lists ( ) { check_ajax_referer ( 'tb_load_nonce' , 'tb_load_nonce' ) ; $ post_id = ( int ) $ _POST [ 'postid' ] ; $ revisions = wp_get_post_revisions ( $ post_id , array ( 'posts_per_page' => self :: $ default_revisions_limit , ) ) ; $ can_edit_post = $ post_id === 0 ? true : current_user_can ( 'edit_post' , $ post_id ) ; include THEMIFY_BUILDER_INCLUDES_DIR . '/themify-builder-revision-list.php' ; wp_die ( ) ; }
Ajax Get all post revisions list.
Ajax Get all post revisions list .