Plugin Directory

Changeset 3360214


Ignore:
Timestamp:
09/12/2025 03:01:41 AM (4 months ago)
Author:
calliko
Message:
  • Update current version.
  • Remade twitter in x.
Location:
share-computy
Files:
26 added
8 edited

Legend:

Unmodified
Added
Removed
  • share-computy/trunk/admin/settings.php

    r3141356 r3360214  
    114114        <br>
    115115        <input id="share-social-tw" name="share_computy_option[share-tw]" type="checkbox" value="1" <?php echo $checkedtw; ?>>
    116         <label for="share-social-tw">TWITTER</label>
     116        <label for="share-social-tw">X(TWITTER)</label>
    117117<br>
    118118        <input id="share-social-tg" name="share_computy_option[share-tg]" type="checkbox" value="1" <?php echo $checkedtg; ?>>
  • share-computy/trunk/readme.txt

    r3141356 r3360214  
    44Tags: share, shares
    55Requires at least:  4.6
    6 Tested up to:  6.6
    7 Stable tag: 1.2.4
     6Tested up to:  6.8
     7Stable tag: 1.2.5
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    2727
    2828== Changelog ==
     29
     30= 1.2.5 - 12.09.2025 =
     31* Update current version.
     32* Remade twitter in x.
    2933
    3034= 1.2.4 - 26.08.2024 =
  • share-computy/trunk/share-computy.php

    r3141356 r3360214  
    22/*
    33* Plugin Name:   Share computy
    4 * Version:       1.2.4
     4* Version:       1.2.5
    55* Text Domain:   share-computy
    66* Plugin URI:    https://computy.ru/blog/plugin-share-computy
     
    1515    define( 'SHARE_COMPUTY_PLUGIN_URL', plugins_url( '/', __FILE__ ) );
    1616}
    17 define( 'SHARE_COMPUTY_VERSION', '1.2.4' );
     17define( 'SHARE_COMPUTY_VERSION', '1.2.5' );
    1818
    1919/*Страница админки*/
  • share-computy/trunk/view/img/pack1/tw.svg

    r2729672 r3360214  
    1 <?xml version="1.0" encoding="iso-8859-1"?>
    2 <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
    3      viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
    4 <path style="fill:#fff;" d="M512,97.248c-19.04,8.352-39.328,13.888-60.48,16.576c21.76-12.992,38.368-33.408,46.176-58.016
    5     c-20.288,12.096-42.688,20.64-66.56,25.408C411.872,60.704,384.416,48,354.464,48c-58.112,0-104.896,47.168-104.896,104.992
    6     c0,8.32,0.704,16.32,2.432,23.936c-87.264-4.256-164.48-46.08-216.352-109.792c-9.056,15.712-14.368,33.696-14.368,53.056
    7     c0,36.352,18.72,68.576,46.624,87.232c-16.864-0.32-33.408-5.216-47.424-12.928c0,0.32,0,0.736,0,1.152
    8     c0,51.008,36.384,93.376,84.096,103.136c-8.544,2.336-17.856,3.456-27.52,3.456c-6.72,0-13.504-0.384-19.872-1.792
    9     c13.6,41.568,52.192,72.128,98.08,73.12c-35.712,27.936-81.056,44.768-130.144,44.768c-8.608,0-16.864-0.384-25.12-1.44
    10     C46.496,446.88,101.6,464,161.024,464c193.152,0,298.752-160,298.752-298.688c0-4.64-0.16-9.12-0.384-13.568
    11     C480.224,136.96,497.728,118.496,512,97.248z"/>
    12 </svg>
     1<svg style="color: white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" version="1.1"> <path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" fill="white"></path> </svg>
  • share-computy/trunk/view/share-computy-style.css

    r2966309 r3360214  
    7676#share_computy .share-item.tw:focus,
    7777#share_computy .share-item.tw:active{
    78     background: #00ACED!important;
     78    background: #000!important;
    7979}
    8080#share_computy .share-item.tw .icon{
  • share-computy/trunk/view/template_buttons.php

    r3033951 r3360214  
    7676
    7777    if(isset($val['share-tw'])){
    78         $share_buttons .= '<a rel="nofollow noopener" href="https://twitter.com/share?url='.$url.'&text='.$title.'" onclick="go(\'https://twitter.com/share?url='.$url.'&text='.$title.'\'); return false;" class="share-item tw" data-type="tw" title="'. __( 'Odnoklassniki', 'share-computy' ).'" data-title="'. __( 'Twitter', 'share-computy' ).'">
     78        $share_buttons .= '<a rel="nofollow noopener" href="https://twitter.com/intent/tweet?url='.$url.'&text='.$title.'" onclick="go(\'https://twitter.com/intent/tweet?url='.$url.'&text='.$title.'\'); return false;" class="share-item tw" data-type="tw" title="'. __( 'X', 'share-computy' ).'" data-title="'. __( 'X', 'share-computy' ).'">
    7979     <div class="icon"></div>
    8080    <span class="value" data-value="'.$count4.'">'.$count4.'</span></a>';
Note: See TracChangeset for help on using the changeset viewer.