wp/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php
changeset 21 48c4eec2b7e6
parent 18 be944660c56a
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
    34 	 * @var string $post_type The post type.
    34 	 * @var string $post_type The post type.
    35 	 */
    35 	 */
    36 	protected $post_type = 'user_request';
    36 	protected $post_type = 'user_request';
    37 
    37 
    38 	/**
    38 	/**
    39 	 * Actions column.
    39 	 * Outputs the Actions column.
    40 	 *
    40 	 *
    41 	 * @since 4.9.6
    41 	 * @since 4.9.6
    42 	 *
    42 	 *
    43 	 * @param WP_User_Request $item Item being shown.
    43 	 * @param WP_User_Request $item Item being shown.
    44 	 * @return string Email column markup.
    44 	 * @return string Email column markup.
   106 
   106 
   107 		return sprintf( '<a href="%1$s">%2$s</a> %3$s', esc_url( 'mailto:' . $item->email ), $item->email, $this->row_actions( $row_actions ) );
   107 		return sprintf( '<a href="%1$s">%2$s</a> %3$s', esc_url( 'mailto:' . $item->email ), $item->email, $this->row_actions( $row_actions ) );
   108 	}
   108 	}
   109 
   109 
   110 	/**
   110 	/**
   111 	 * Next steps column.
   111 	 * Outputs the Next steps column.
   112 	 *
   112 	 *
   113 	 * @since 4.9.6
   113 	 * @since 4.9.6
   114 	 *
   114 	 *
   115 	 * @param WP_User_Request $item Item being shown.
   115 	 * @param WP_User_Request $item Item being shown.
   116 	 */
   116 	 */
   162 					)
   162 					)
   163 				) . '">' . esc_html__( 'Remove request' ) . '</a>';
   163 				) . '">' . esc_html__( 'Remove request' ) . '</a>';
   164 				break;
   164 				break;
   165 		}
   165 		}
   166 	}
   166 	}
   167 
       
   168 }
   167 }