https://github.com/suifengtec/wp-orphanage-plus
Plugin to promote users with no roles set (the orphans) to the role from other blog where they registered or to default if any found.
https://github.com/suifengtec/wp-orphanage-plus
php wordpress
Last synced: about 2 months ago
JSON representation
Plugin to promote users with no roles set (the orphans) to the role from other blog where they registered or to default if any found.
- Host: GitHub
- URL: https://github.com/suifengtec/wp-orphanage-plus
- Owner: suifengtec
- License: apache-2.0
- Created: 2018-01-23T17:05:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-23T17:09:11.000Z (over 8 years ago)
- Last Synced: 2025-10-12T07:28:33.453Z (9 months ago)
- Topics: php, wordpress
- Language: PHP
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WP Orphanage Plus
Plugin to promote users with no roles set (the orphans) to the role from other blog where they registered or to default if any found.
## 使用条件
多个 WP 站点使用同一个用户数据表,以不同的表前缀区分不同站点的除用户之外的数据;
假如同一数据库有N个WordPress 站点的数据表,不同的 WordPress 站点以不同的
数据表前缀做区别, 其中有 `www.site-1.com` 和 `www.site-2.com` 两个站点,想让
site-2 这个站点(数据表前缀为 s2_ )使用 site-1 这个站点(数据表前缀为 s1_ )的用户数据表,可以在 site-2 的 `wp-config.php`, 定义两个常量:
```php
define('CUSTOM_USER_TABLE', 's1_users');
define('CUSTOM_USER_META_TABLE', 's1_usermeta');
```
## Dev Log
```
1.0.0 : Based on WP-Orphanage Extended (version 1.1) by MELONIQ.NET
```