Plugin Directory

Changeset 2179184


Ignore:
Timestamp:
10/24/2019 10:14:35 AM (6 years ago)
Author:
playes
Message:

1.6.9

  • 修复分享的变量替换问题
Location:
open-social/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • open-social/trunk/open-social.php

    r1994246 r2179184  
    11<?php
    22/**
    3  * Plugin Name: Open Social
     3 * Plugin Name: WP Open Social (Login & Share)
    44 * 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: Afly
     5 * Description: 使用 QQ、微信、微博等知名社交一键登录和分享。Login and Share with social networks: QQ, WeiBo, WeChat, Google, Twitter, Facebook. No SDK! Single PHP!
     6 * Author: XiaoMac
    77 * Author URI: https://www.xiaomac.com/
    88 * Version: 1.6.9
     
    871871        $headers[]='Authorization: Bearer '.$_SESSION["access_token"];
    872872    }
    873     $headers[] = 'User-Agent: Open Social (xiaomac.com)';
     873    $headers[] = 'User-Agent: WP Open Social (xiaomac.com)';
    874874    $headers[] = 'Expect:';
    875875    curl_setopt($ci, CURLOPT_HTTPHEADER, $headers);
     
    905905        remove_menu_page('index.php');
    906906    }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');
    908908    }
    909909}
     
    917917    </div>
    918918    <div class="wrap">
    919         <h2><?php _e('Open Social','open-social')?>
     919        <h2><?php _e('WP Open Social','open-social')?>
    920920        <small style="font-size:14px;padding-left:8px;color:#666">
    921921        <?php
     
    12121212add_action('profile_personal_options', 'open_social_bind_options');
    12131213function 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>';
    12151215    $open_type = get_user_meta( $user->ID, 'open_type', true);
    12161216    $open_email = get_user_meta( $user->ID, 'open_email', true);
     
    13281328class open_social_login_widget extends WP_Widget {
    13291329    function __construct() {
    1330         parent::__construct(false, __('Open Social Login', 'open-social'), array( 'description' => __('Display your Open 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'), ) );
    13311331    }
    13321332    function form($instance) {
     
    13601360class open_social_share_widget extends WP_Widget {
    13611361    function __construct() {
    1362         parent::__construct(false, $name = __('Open Social Share', 'open-social'), array( 'description' => __('Display your Open 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'), ) );
    13631363    }
    13641364    function form($instance) {
  • open-social/trunk/readme.txt

    r2139865 r2179184  
    1 === Open Social ===
    2 
    3 Contributors: playes
     1=== WP Open Social (Login & Share) ===
     2
     3Contributors: XiaoMac
    44Donate 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.2
     5Tags: xiaomac, china, social, login, share, qq, wechat, weibo, google, twitter, facebook, QQ, 微信, 微博, 谷歌, 社交, 登陆, 登录, 注册, 分享
     6Tested up to: 5.2.4
    77Stable tag: 1.6.9
    88
    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!
    1010
    1111== Description ==
     12
     13由于 Open Social 跟谷歌一个项目重名,为了区分改为:WP Open Social (Login & Share)
    1214
    1315### 功能特点 ###
     
    39411. Upload the plugin folder to the "/wp-content/plugins/" directory of your WordPress site,
    40422. Activate the plugin through the 'Plugins' menu in WordPress,
    41 3. Visit the "Settings \ Open Social Setting" administration page to setup the plugin.
     433. Visit the "Settings \ XiaoMac Open Social" administration page to setup the plugin.
    4244
    4345== Frequently Asked Questions ==
Note: See TracChangeset for help on using the changeset viewer.