diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-07-27 10:05:23 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-07-27 10:05:23 +0200 |
| commit | 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab (patch) | |
| tree | 39a1a4629749056191c05dfd899f931701b7acf3 /srcs/wordpress/wp-includes/class-wp-user-request.php | |
| parent | 5afd237bbd22028b85532b8c0b3fcead49a00764 (diff) | |
| download | ft_server-master.tar.gz ft_server-master.tar.bz2 ft_server-master.zip | |
Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my famillyHEADmaster
Diffstat (limited to 'srcs/wordpress/wp-includes/class-wp-user-request.php')
| -rw-r--r-- | srcs/wordpress/wp-includes/class-wp-user-request.php | 107 |
1 files changed, 0 insertions, 107 deletions
diff --git a/srcs/wordpress/wp-includes/class-wp-user-request.php b/srcs/wordpress/wp-includes/class-wp-user-request.php deleted file mode 100644 index a59c7ff..0000000 --- a/srcs/wordpress/wp-includes/class-wp-user-request.php +++ /dev/null @@ -1,107 +0,0 @@ -<?php -/** - * WP_User_Request class. - * - * Represents user request data loaded from a WP_Post object. - * - * @since 4.9.6 - */ -final class WP_User_Request { - /** - * Request ID. - * - * @var int - */ - public $ID = 0; - - /** - * User ID. - * - * @var int - */ - public $user_id = 0; - - /** - * User email. - * - * @var int - */ - public $email = ''; - - /** - * Action name. - * - * @var string - */ - public $action_name = ''; - - /** - * Current status. - * - * @var string - */ - public $status = ''; - - /** - * Timestamp this request was created. - * - * @var int|null - */ - public $created_timestamp = null; - - /** - * Timestamp this request was last modified. - * - * @var int|null - */ - public $modified_timestamp = null; - - /** - * Timestamp this request was confirmed. - * - * @var int - */ - public $confirmed_timestamp = null; - - /** - * Timestamp this request was completed. - * - * @var int - */ - public $completed_timestamp = null; - - /** - * Misc data assigned to this request. - * - * @var array - */ - public $request_data = array(); - - /** - * Key used to confirm this request. - * - * @var string - */ - public $confirm_key = ''; - - /** - * Constructor. - * - * @since 4.9.6 - * - * @param WP_Post|object $post Post object. - */ - public function __construct( $post ) { - $this->ID = $post->ID; - $this->user_id = $post->post_author; - $this->email = $post->post_title; - $this->action_name = $post->post_name; - $this->status = $post->post_status; - $this->created_timestamp = strtotime( $post->post_date_gmt ); - $this->modified_timestamp = strtotime( $post->post_modified_gmt ); - $this->confirmed_timestamp = (int) get_post_meta( $post->ID, '_wp_user_request_confirmed_timestamp', true ); - $this->completed_timestamp = (int) get_post_meta( $post->ID, '_wp_user_request_completed_timestamp', true ); - $this->request_data = json_decode( $post->post_content, true ); - $this->confirm_key = $post->post_password; - } -} |
