Changeset 2179184
- Timestamp:
- 10/24/2019 10:14:35 AM (6 years ago)
- Location:
- open-social/trunk
- Files:
-
- 2 edited
-
open-social.php (modified) (7 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
open-social/trunk/open-social.php
r1994246 r2179184 1 1 <?php 2 2 /** 3 * Plugin Name: Open Social3 * Plugin Name: WP Open Social (Login & Share) 4 4 * Plugin URI: https://www.xiaomac.com/201311150.html 5 * Description: Login and Share with social networks: QQ, Sina, Baidu, Google, Live, DouBan, RenRen, KaiXin, XiaoMi, CSDN, OSChina, Facebook, Twitter, Github, WeChat. No API, NO Register!6 * Author: Afly5 * Description: 使用 QQ、微信、微博等知名社交一键登录和分享。Login and Share with social networks: QQ, WeiBo, WeChat, Google, Twitter, Facebook. No SDK! Single PHP! 6 * Author: XiaoMac 7 7 * Author URI: https://www.xiaomac.com/ 8 8 * Version: 1.6.9 … … 871 871 $headers[]='Authorization: Bearer '.$_SESSION["access_token"]; 872 872 } 873 $headers[] = 'User-Agent: Open Social (xiaomac.com)';873 $headers[] = 'User-Agent: WP Open Social (xiaomac.com)'; 874 874 $headers[] = 'Expect:'; 875 875 curl_setopt($ci, CURLOPT_HTTPHEADER, $headers); … … 905 905 remove_menu_page('index.php'); 906 906 }else{ 907 add_options_page(__(' Open Social','open-social'), __('Open Social','open-social'), 'manage_options', plugin_basename(__FILE__), 'open_options_page');907 add_options_page(__('WP Open Social','open-social'), __('WP Open Social','open-social'), 'manage_options', plugin_basename(__FILE__), 'open_options_page'); 908 908 } 909 909 } … … 917 917 </div> 918 918 <div class="wrap"> 919 <h2><?php _e(' Open Social','open-social')?>919 <h2><?php _e('WP Open Social','open-social')?> 920 920 <small style="font-size:14px;padding-left:8px;color:#666"> 921 921 <?php … … 1212 1212 add_action('profile_personal_options', 'open_social_bind_options'); 1213 1213 function open_social_bind_options( $user ) { 1214 $html = '<table class="form-table"><tr valign="top"><th scope="row">'.__(' Open Social','open-social').'</th><td>';1214 $html = '<table class="form-table"><tr valign="top"><th scope="row">'.__('WP Open Social','open-social').'</th><td>'; 1215 1215 $open_type = get_user_meta( $user->ID, 'open_type', true); 1216 1216 $open_email = get_user_meta( $user->ID, 'open_email', true); … … 1328 1328 class open_social_login_widget extends WP_Widget { 1329 1329 function __construct() { 1330 parent::__construct(false, __(' Open Social Login', 'open-social'), array( 'description' => __('Display yourOpen Social login button', 'open-social'), ) );1330 parent::__construct(false, __('WP Open Social Login', 'open-social'), array( 'description' => __('Display your WP Open Social login button', 'open-social'), ) ); 1331 1331 } 1332 1332 function form($instance) { … … 1360 1360 class open_social_share_widget extends WP_Widget { 1361 1361 function __construct() { 1362 parent::__construct(false, $name = __(' Open Social Share', 'open-social'), array( 'description' => __('Display yourOpen Social share button', 'open-social'), ) );1362 parent::__construct(false, $name = __('WP Open Social Share', 'open-social'), array( 'description' => __('Display your WP Open Social share button', 'open-social'), ) ); 1363 1363 } 1364 1364 function form($instance) { -
open-social/trunk/readme.txt
r2139865 r2179184 1 === Open Social===2 3 Contributors: playes1 === WP Open Social (Login & Share) === 2 3 Contributors: XiaoMac 4 4 Donate link: https://www.xiaomac.com/about 5 Tags: china, afly, social, login, connect, qq, sina, weibo, baidu, google, live, douban, renren, kaixin001, openid, xiaomi, wechat, QQ登陆, 新浪微博, 百度, 谷歌, 豆瓣, 人人网, 开心网, 登录, 连接, 注册, 分享, 小米, 微信6 Tested up to: 5.2. 25 Tags: xiaomac, china, social, login, share, qq, wechat, weibo, google, twitter, facebook, QQ, 微信, 微博, 谷歌, 社交, 登陆, 登录, 注册, 分享 6 Tested up to: 5.2.4 7 7 Stable tag: 1.6.9 8 8 9 Login or Share with social networks: QQ, WeiBo, Baidu, Google, Microsoft, DouBan, XiaoMi, WeChat, GitHub, Twitter, Facebook. No SDK! Single PHP!9 使用 QQ、微信、微博等知名社交一键登录和分享。Login and Share with social networks: QQ, WeiBo, WeChat, Google, Twitter, Facebook. No SDK! Single PHP! 10 10 11 11 == Description == 12 13 由于 Open Social 跟谷歌一个项目重名,为了区分改为:WP Open Social (Login & Share) 12 14 13 15 ### 功能特点 ### … … 39 41 1. Upload the plugin folder to the "/wp-content/plugins/" directory of your WordPress site, 40 42 2. Activate the plugin through the 'Plugins' menu in WordPress, 41 3. Visit the "Settings \ Open Social Setting" administration page to setup the plugin.43 3. Visit the "Settings \ XiaoMac Open Social" administration page to setup the plugin. 42 44 43 45 == Frequently Asked Questions ==
Note: See TracChangeset
for help on using the changeset viewer.