Title: IPUA &#8211; IP  属地和 User-Agent 插件
Author: 耗子
Published: <strong>October 1, 2022</strong>
Last modified: August 25, 2023

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-ipua.svg)

# IPUA – IP 属地和 User-Agent 插件

 By [耗子](https://profiles.wordpress.org/haozi/)

[Download](https://downloads.wordpress.org/plugin/wp-ipua.2.0.1.zip)

 * [Details](https://pcd.wordpress.org/plugins/wp-ipua/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/wp-ipua/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/wp-ipua/#installation)
 * [Development](https://pcd.wordpress.org/plugins/wp-ipua/#developers)

 [Support](https://wordpress.org/support/plugin/wp-ipua/)

## Description

此插件提供一种简单的方式为你的 WordPress 网站提供作者 IP 属地及 User-Agent 展示，
以符合中国的法律要求。
 插件使用纯真 IP 库 或 腾讯位置服务(https://lbs.qq.com/location/)，
个人单日可免费查询 10000 次，企业单日免费 3000000 次。 Notice: This plugin uses 
the api from lbs.qq.com to work, privacy URI: https://lbs.qq.com/userAgreements/
agreements/terms

## Installation

1.安装插件
 2.设置插件 3.集成代码 4.Enjoy it

#### System Requirements

 * PHP >=5.6
 * WordPress >=4.9

#### Author

 * [耗子](https://hzbk.net)

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“IPUA – IP 属地和 User-Agent 插件” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ 耗子 ](https://profiles.wordpress.org/haozi/)

“IPUA – IP 属地和 User-Agent 插件” has been translated into 1 locale. Thank you 
to [the translators](https://translate.wordpress.org/projects/wp-plugins/wp-ipua/contributors)
for their contributions.

[Translate “IPUA – IP 属地和 User-Agent 插件” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-ipua)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-ipua/), check out
the [SVN repository](https://plugins.svn.wordpress.org/wp-ipua/), or subscribe to
the [development log](https://plugins.trac.wordpress.org/log/wp-ipua/) by [RSS](https://plugins.trac.wordpress.org/log/wp-ipua/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.1

 * 修复版本号 Bug

#### 2.0.0

 * 重构使用 Composer 管理依赖
 * 支持纯真 IP 数据库
 * 支持站点网络
 * 请注意调整命名空间

#### 1.8.0

 * 修复插件页设置404

#### 1.7.0

 * 新增一些UA格式
 * 调整PHP兼容到5.6
 * 兼容WordPress6.1.1
 * 命名空间重构，你需要对应修改你添加的代码

#### 1.6.0

 * 修复文本域及国际化

#### 1.5.0

 * 修改兼容的WordPress版本

#### 1.4.0

 * 增强设置框架的安全性

#### 1.3.0

 * 支持IPV6地址解析
 * 增强设置框架的安全性

#### 1.2.0

 * 完善接口请求错误检测
 * 修复缓存时间设置为不缓存时报错的问题

#### 1.1.0

 * 插件改名
 * 对传入的数据进行类型判断
 * 新增一种IP显示格式
 * 支持国际化

#### 1.0.0

 * 初版发布

## Meta

 *  Version **2.0.1**
 *  Last updated **3 years ago**
 *  Active installations **20+**
 *  WordPress version ** 4.9 or higher **
 *  Tested up to **6.3.8**
 *  PHP version ** 5.6.0 or higher **
 *  Languages
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/wp-ipua/) and [English (US)](https://wordpress.org/plugins/wp-ipua/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wp-ipua)
 * Tags
 * [china](https://pcd.wordpress.org/plugins/tags/china/)[ip](https://pcd.wordpress.org/plugins/tags/ip/)
   [UA](https://pcd.wordpress.org/plugins/tags/ua/)[user agent](https://pcd.wordpress.org/plugins/tags/user-agent/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/wp-ipua/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/wp-ipua/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-ipua/reviews/)

## Contributors

 *   [ 耗子 ](https://profiles.wordpress.org/haozi/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-ipua/)