跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Cambia Utente

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Cambia Utente

作者:Fabio Moro
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

Cambia Utente adds an admin screen that lists the site users and lets an
administrator log in as any of them with one click. It is handy for support and
debugging: you can check what a WooCommerce customer actually sees — active
orders, available downloads, account pages — without asking for their password.

How it works:

  • A top-level Cambia Utente menu (icon: people) is added to wp-admin.
  • The screen lists users with name and email and an Log in button each.
  • Clicking a button replaces your session with that user’s session and sends you
    to the site front page as that user.
  • To go back to your account, log out and log in again as administrator.

Security:

  • The screen and the switch action are restricted to users with the edit_users
    capability (administrators), customisable via the cambia_utente_capability filter.
  • Every switch is protected by a WordPress nonce.
  • The plugin stores no options, creates no tables and sends no data to external services.

安装

  1. Upload the cambia-utente folder to /wp-content/plugins/, or install the
    plugin from the Plugins screen in WordPress.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Open the Cambia Utente menu in wp-admin and click Log in next to a user.

常见问题

Who can switch user?

Only logged-in administrators (users with the edit_users capability). You can
change the required capability with the cambia_utente_capability filter.

How do I switch back to my administrator account?

Log out and log back in as administrator. The plugin performs a one-way switch by
design and keeps no impersonation state.

Does it require WooCommerce?

No. It works with any WordPress users. It is especially useful together with
WooCommerce to inspect a customer’s orders and downloads.

Does the plugin send any data to external services?

No. Everything happens on your own site; no third party is contacted.

评价

Very good

ucciu 2018 年 12 月 9 日
Nice plugin
阅读所有1条评价

贡献者及开发者

「Cambia Utente」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Fabio Moro

帮助将「Cambia Utente」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.5

  • Security: capability check moved to edit_users, all input is unslashed and
    sanitised, and the nonce is verified before any action.
  • The user switch now runs on admin_init, clears the previous auth cookie and
    redirects after switching.
  • Output is fully escaped; the inline <style> block was moved to an enqueued
    stylesheet loaded only on the plugin page.
  • Added a guard against direct file access (ABSPATH check) and the
    cambia_utente_capability filter.
  • Fixed the user display name (was reading a non-existent property).
  • Completed the plugin header and rewrote the readme in English with a Stable tag
    and License URI (the previous readme had no Stable tag).

1.4

  • Previous public release.

额外信息

  • 版本 1.5
  • 最后更新:2 月前
  • 活跃安装数量 不到10
  • WordPress 版本 6.5 或更高版本
  • 已测试的最高版本为 7.0.2
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    administratorcustomerloginuserswoocommerce
  • 高级视图

评级

5 星(最高 5 星)。
  • 1 条 5 星评价 5 星 1
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

Your review

查看全部评论

贡献者

  • Fabio Moro

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.