Plugin Directory

Changeset 2922648


Ignore:
Timestamp:
06/07/2023 05:56:31 AM (3 years ago)
Author:
webkinder
Message:

Update to version 1.11.0 from GitHub

Location:
wk-google-analytics
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wk-google-analytics/tags/1.11.0/lib/Settings.php

    r2715258 r2922648  
    55class Settings
    66{
    7 
    8     /**
    9      * Add an options page under 'Settings'
     7    /**
     8     * Add an options page under 'Settings'.
    109     *
    1110     * @since 1.0
    1211     * @see https://codex.wordpress.org/Function_Reference/add_options_page
    13      *
    14      */
    15     function settings_page()
     12     */
     13    public function settings_page()
    1614    {
    1715        add_options_page(
     
    2018            'manage_options',
    2119            'google_analytics',
    22             array($this, "settings_content")
    23         );
    24     }
    25 
    26 
    27     /**
    28      * Ouputs the markup for the options page
     20            [$this, 'settings_content']
     21        );
     22    }
     23
     24    /**
     25     * Ouputs the markup for the options page.
    2926     *
    3027     * @since 1.0
    31      *
    32      */
    33     function settings_content()
    34     {
    35 
    36         if (!isset($_REQUEST['settings-updated']))
     28     */
     29    public function settings_content()
     30    {
     31        if (!isset($_REQUEST['settings-updated'])) {
    3732            $_REQUEST['settings-updated'] = false;
    38 ?>
     33        }
     34        ?>
    3935        <div class="wrap">
    4036            <h2><?php echo esc_html(get_admin_page_title()); ?></h2>
    41             <?php if (false !== $_REQUEST['settings-updated']) : ?>
     37            <?php if (false !== $_REQUEST['settings-updated']) { ?>
    4238                <div class="updated fade">
    4339                    <p>
     
    4743                    </p>
    4844                </div>
    49             <?php endif; ?>
     45            <?php } ?>
    5046            <div class="wk-left-part">
    5147                <form id="wk-google-analytics-settings" method="post" action="options.php">
     
    6056    }
    6157
    62 
    63     /**
    64      * Registers all the settings separately
     58    /**
     59     * Registers all the settings separately.
    6560     *
    6661     * @since 1.0
     
    6863     * @see https://codex.wordpress.org/Function_Reference/add_settings_section
    6964     * @see https://codex.wordpress.org/Function_Reference/add_settings_field
    70      *
    71      */
    72     function register_settings()
    73     {
    74 
     65     */
     66    public function register_settings()
     67    {
    7568        add_settings_section(
    7669            'google_analytics',
    7770            '',
    78             array($this, 'settings_header'),
    79             'google_analytics'
    80         );
    81 
    82         /**
    83          * @since 1.0
    84          */
     71            [$this, 'settings_header'],
     72            'google_analytics'
     73        );
     74
     75        // @since 1.0
    8576        register_setting(
    8677            'wk_ga_google_analytics',
     
    9081        add_settings_field(
    9182            'ga_tracking_code',
    92             __('Google Analytics Tracking ID', 'wk-google-analytics'),
    93             array($this, 'tracking_code_field'),
    94             'google_analytics',
    95             'google_analytics'
    96         );
    97 
    98         /**
    99          * @since 1.0
    100          */
     83            __('Google Analytics 4 Stream-ID', 'wk-google-analytics'),
     84            [$this, 'tracking_code_field'],
     85            'google_analytics',
     86            'google_analytics'
     87        );
     88
     89        // @since 1.0
    10190        register_setting(
    10291            'wk_ga_google_analytics',
     
    10796            'ga_anonymize_ip',
    10897            __('IP Anonymization', 'wk-google-analytics'),
    109             array($this, 'anonymize_ip_field'),
    110             'google_analytics',
    111             'google_analytics'
    112         );
    113 
    114         /**
    115          * @since 1.1
    116          */
     98            [$this, 'anonymize_ip_field'],
     99            'google_analytics',
     100            'google_analytics'
     101        );
     102
     103        // @since 1.1
    117104        register_setting(
    118105            'wk_ga_google_analytics',
     
    123110            'track_logged_in',
    124111            __('Track logged in users', 'wk-google-analytics'),
    125             array($this, 'track_logged_in_field'),
    126             'google_analytics',
    127             'google_analytics'
    128         );
    129 
    130         /**
    131          * @since 1.2
    132          */
     112            [$this, 'track_logged_in_field'],
     113            'google_analytics',
     114            'google_analytics'
     115        );
     116
     117        // @since 1.2
    133118        register_setting(
    134119            'wk_ga_google_analytics',
     
    139124            'ga_use_tag_manager',
    140125            __('Use Google Tag Manager instead', 'wk-google-analytics'),
    141             array($this, 'use_tag_manager_field'),
    142             'google_analytics',
    143             'google_analytics'
    144         );
    145 
    146         /**
    147          * @since 1.2
    148          */
     126            [$this, 'use_tag_manager_field'],
     127            'google_analytics',
     128            'google_analytics'
     129        );
     130
     131        // @since 1.2
    149132        register_setting(
    150133            'wk_ga_google_analytics',
     
    155138            'ga_tag_manager_id',
    156139            __('Google Tag Manager ID', 'wk-google-analytics'),
    157             array($this, 'tag_manager_id_field'),
    158             'google_analytics',
    159             'google_analytics'
    160         );
    161     }
    162 
    163 
    164     /**
    165      * Renders the header text for the settings page
    166      *
    167      * @since 1.6.2
    168      *
    169      */
    170     function settings_header()
     140            [$this, 'tag_manager_id_field'],
     141            'google_analytics',
     142            'google_analytics'
     143        );
     144    }
     145
     146    /**
     147     * Renders the header text for the settings page.
     148     *
     149     * @since 1.6.2
     150     */
     151    public function settings_header()
    171152    {
    172153        wp_enqueue_script('cookie-js');
    173154        wp_enqueue_script('wk-ga-admin-js');
    174     ?>
    175 
     155        ?>
    176156        <p><?php _e('Enter your Google Analytics tracking ID below. Should you use Google Tag Manager to deploy Google Analytics, enter your GTM Container ID in the respective field and tick the box “Use Google Tag Manager instead”.', 'wk-google-analytics'); ?>
    177157        </p>
    178 
    179     <?php
    180     }
    181 
    182     /**
    183      * Renders text input for the Google Analytics tracking code
    184      *
    185      * @since 1.6.2
    186      *
    187      */
    188     function tracking_code_field()
    189     {
    190 
     158    <?php
     159    }
     160
     161    /**
     162     * Renders text input for the Google Analytics tracking code.
     163     *
     164     * @since 1.6.2
     165     */
     166    public function tracking_code_field()
     167    {
    191168        $field = 'ga_tracking_code';
    192169        $value = esc_attr(get_option($field));
    193170
    194     ?>
    195 
    196         <input type="text" name="<?php echo $field; ?>" placeholder="UA-XXXXXXXX-X" value="<?php echo $value; ?>" />
    197 
    198     <?php
    199     }
    200 
    201     /**
    202      * Renders checkbox for the anonymize IP's option
    203      *
    204      * @since 1.6.2
    205      *
    206      */
    207     function anonymize_ip_field()
    208     {
    209 
     171        ?>
     172        <input type="text" name="<?php echo $field; ?>" placeholder="G-XXXXXXXXXX" value="<?php echo $value; ?>" />
     173    <?php
     174    }
     175
     176    /**
     177     * Renders checkbox for the anonymize IP's option.
     178     *
     179     * @since 1.6.2
     180     */
     181    public function anonymize_ip_field()
     182    {
    210183        $field = 'ga_anonymize_ip';
    211184        $value = get_option($field);
    212         $value = ($value !== false) ? $value : true;
    213 
    214     ?>
     185        $value = (false !== $value) ? $value : true;
     186
     187        ?>
    215188
    216189        <div class="anonymize-ip-tooltip">
     
    229202            }
    230203        </style>
    231 
    232     <?php
    233 
    234     }
    235 
    236     /**
    237      * Renders checkbox for the track logged in users option
    238      *
    239      * @since 1.6.2
    240      *
    241      */
    242     function track_logged_in_field()
    243     {
    244 
     204    <?php
     205    }
     206
     207    /**
     208     * Renders checkbox for the track logged in users option.
     209     *
     210     * @since 1.6.2
     211     */
     212    public function track_logged_in_field()
     213    {
    245214        $field = 'track_logged_in';
    246215        $value = get_option($field);
    247216
    248     ?>
    249 
     217        ?>
    250218        <input type="checkbox" name="<?php echo $field; ?>" value="1" <?php checked($value); ?> />
    251 
    252     <?php
    253 
    254     }
    255 
    256     /**
    257      * Renders checkbox for the use tag manager option
    258      *
    259      * @since 1.6.2
    260      *
    261      */
    262     function use_tag_manager_field()
    263     {
    264 
     219    <?php
     220
     221    }
     222
     223    /**
     224     * Renders checkbox for the use tag manager option.
     225     *
     226     * @since 1.6.2
     227     */
     228    public function use_tag_manager_field()
     229    {
    265230        $field = 'ga_use_tag_manager';
    266231        $value = get_option($field);
    267232
    268     ?>
    269 
     233        ?>
    270234        <input type="checkbox" name="<?php echo $field; ?>" value="1" <?php checked($value); ?> />
    271 
    272     <?php
    273 
    274     }
    275 
    276     /**
    277      * Renders text field for the Google Tag Manager ID
    278      *
    279      * @since 1.6.2
    280      *
    281      */
    282     function tag_manager_id_field()
    283     {
    284 
     235    <?php
     236
     237    }
     238
     239    /**
     240     * Renders text field for the Google Tag Manager ID.
     241     *
     242     * @since 1.6.2
     243     */
     244    public function tag_manager_id_field()
     245    {
    285246        $field = 'ga_tag_manager_id';
    286247        $value = esc_attr(get_option($field));
    287248
    288     ?>
    289 
     249        ?>
    290250        <input type="text" name="<?php echo $field; ?>" placeholder="GTM-XXXXXX" value="<?php echo $value; ?>" />
    291 
    292251<?php
    293252
  • wk-google-analytics/tags/1.11.0/readme.txt

    r2893569 r2922648  
    55Tested up to: 6.2
    66Requires PHP: 7.2
    7 Stable tag: 1.10.1
     7Stable tag: 1.11.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3333
    3434== Changelog ==
     35
     36= 1.11.0 =
     37
     38* Renamed UA to G in settings for better understanding with the upcoming changes
    3539
    3640= 1.10.1 =
  • wk-google-analytics/tags/1.11.0/vendor/autoload.php

    r2893569 r2922648  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit3649409dbb62a90143e517b7b492fdbf::getLoader();
     7return ComposerAutoloaderInit5c342c80332e199e3105d5a596e44f57::getLoader();
  • wk-google-analytics/tags/1.11.0/vendor/composer/autoload_real.php

    r2893569 r2922648  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit3649409dbb62a90143e517b7b492fdbf
     5class ComposerAutoloaderInit5c342c80332e199e3105d5a596e44f57
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit3649409dbb62a90143e517b7b492fdbf', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit5c342c80332e199e3105d5a596e44f57', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit3649409dbb62a90143e517b7b492fdbf', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit5c342c80332e199e3105d5a596e44f57', 'loadClassLoader'));
    3030
    3131        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3333            require __DIR__ . '/autoload_static.php';
    3434
    35             call_user_func(\Composer\Autoload\ComposerStaticInit3649409dbb62a90143e517b7b492fdbf::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInit5c342c80332e199e3105d5a596e44f57::getInitializer($loader));
    3636        } else {
    3737            $map = require __DIR__ . '/autoload_namespaces.php';
  • wk-google-analytics/tags/1.11.0/vendor/composer/autoload_static.php

    r2893569 r2922648  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit3649409dbb62a90143e517b7b492fdbf
     7class ComposerStaticInit5c342c80332e199e3105d5a596e44f57
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    135135    {
    136136        return \Closure::bind(function () use ($loader) {
    137             $loader->prefixLengthsPsr4 = ComposerStaticInit3649409dbb62a90143e517b7b492fdbf::$prefixLengthsPsr4;
    138             $loader->prefixDirsPsr4 = ComposerStaticInit3649409dbb62a90143e517b7b492fdbf::$prefixDirsPsr4;
    139             $loader->classMap = ComposerStaticInit3649409dbb62a90143e517b7b492fdbf::$classMap;
     137            $loader->prefixLengthsPsr4 = ComposerStaticInit5c342c80332e199e3105d5a596e44f57::$prefixLengthsPsr4;
     138            $loader->prefixDirsPsr4 = ComposerStaticInit5c342c80332e199e3105d5a596e44f57::$prefixDirsPsr4;
     139            $loader->classMap = ComposerStaticInit5c342c80332e199e3105d5a596e44f57::$classMap;
    140140
    141141        }, null, ClassLoader::class);
  • wk-google-analytics/tags/1.11.0/vendor/composer/installed.php

    r2893569 r2922648  
    11<?php return array(
    22    'root' => array(
    3         'pretty_version' => '1.10.1',
    4         'version' => '1.10.1.0',
     3        'pretty_version' => '1.11.0',
     4        'version' => '1.11.0.0',
    55        'type' => 'wordpress-plugin',
    66        'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        'webkinder/wk-google-analytics' => array(
    23             'pretty_version' => '1.10.1',
    24             'version' => '1.10.1.0',
     23            'pretty_version' => '1.11.0',
     24            'version' => '1.11.0.0',
    2525            'type' => 'wordpress-plugin',
    2626            'install_path' => __DIR__ . '/../../',
  • wk-google-analytics/tags/1.11.0/wk-ga.php

    r2893569 r2922648  
    55 * Plugin URI: https://wordpress.org/plugins/wk-google-analytics/
    66 * Description: Deploy Google Analytics on your website without having to edit code and without tracking your own visits. You can exclude any logged in user from this and enable tracking solely for them.
    7  * Version: 1.10.1
     7 * Version: 1.11.0
    88 * Author: WEBKINDER
    99 * Author URI: https://www.webkinder.ch/
  • wk-google-analytics/trunk/lib/Settings.php

    r2715258 r2922648  
    55class Settings
    66{
    7 
    8     /**
    9      * Add an options page under 'Settings'
     7    /**
     8     * Add an options page under 'Settings'.
    109     *
    1110     * @since 1.0
    1211     * @see https://codex.wordpress.org/Function_Reference/add_options_page
    13      *
    14      */
    15     function settings_page()
     12     */
     13    public function settings_page()
    1614    {
    1715        add_options_page(
     
    2018            'manage_options',
    2119            'google_analytics',
    22             array($this, "settings_content")
    23         );
    24     }
    25 
    26 
    27     /**
    28      * Ouputs the markup for the options page
     20            [$this, 'settings_content']
     21        );
     22    }
     23
     24    /**
     25     * Ouputs the markup for the options page.
    2926     *
    3027     * @since 1.0
    31      *
    32      */
    33     function settings_content()
    34     {
    35 
    36         if (!isset($_REQUEST['settings-updated']))
     28     */
     29    public function settings_content()
     30    {
     31        if (!isset($_REQUEST['settings-updated'])) {
    3732            $_REQUEST['settings-updated'] = false;
    38 ?>
     33        }
     34        ?>
    3935        <div class="wrap">
    4036            <h2><?php echo esc_html(get_admin_page_title()); ?></h2>
    41             <?php if (false !== $_REQUEST['settings-updated']) : ?>
     37            <?php if (false !== $_REQUEST['settings-updated']) { ?>
    4238                <div class="updated fade">
    4339                    <p>
     
    4743                    </p>
    4844                </div>
    49             <?php endif; ?>
     45            <?php } ?>
    5046            <div class="wk-left-part">
    5147                <form id="wk-google-analytics-settings" method="post" action="options.php">
     
    6056    }
    6157
    62 
    63     /**
    64      * Registers all the settings separately
     58    /**
     59     * Registers all the settings separately.
    6560     *
    6661     * @since 1.0
     
    6863     * @see https://codex.wordpress.org/Function_Reference/add_settings_section
    6964     * @see https://codex.wordpress.org/Function_Reference/add_settings_field
    70      *
    71      */
    72     function register_settings()
    73     {
    74 
     65     */
     66    public function register_settings()
     67    {
    7568        add_settings_section(
    7669            'google_analytics',
    7770            '',
    78             array($this, 'settings_header'),
    79             'google_analytics'
    80         );
    81 
    82         /**
    83          * @since 1.0
    84          */
     71            [$this, 'settings_header'],
     72            'google_analytics'
     73        );
     74
     75        // @since 1.0
    8576        register_setting(
    8677            'wk_ga_google_analytics',
     
    9081        add_settings_field(
    9182            'ga_tracking_code',
    92             __('Google Analytics Tracking ID', 'wk-google-analytics'),
    93             array($this, 'tracking_code_field'),
    94             'google_analytics',
    95             'google_analytics'
    96         );
    97 
    98         /**
    99          * @since 1.0
    100          */
     83            __('Google Analytics 4 Stream-ID', 'wk-google-analytics'),
     84            [$this, 'tracking_code_field'],
     85            'google_analytics',
     86            'google_analytics'
     87        );
     88
     89        // @since 1.0
    10190        register_setting(
    10291            'wk_ga_google_analytics',
     
    10796            'ga_anonymize_ip',
    10897            __('IP Anonymization', 'wk-google-analytics'),
    109             array($this, 'anonymize_ip_field'),
    110             'google_analytics',
    111             'google_analytics'
    112         );
    113 
    114         /**
    115          * @since 1.1
    116          */
     98            [$this, 'anonymize_ip_field'],
     99            'google_analytics',
     100            'google_analytics'
     101        );
     102
     103        // @since 1.1
    117104        register_setting(
    118105            'wk_ga_google_analytics',
     
    123110            'track_logged_in',
    124111            __('Track logged in users', 'wk-google-analytics'),
    125             array($this, 'track_logged_in_field'),
    126             'google_analytics',
    127             'google_analytics'
    128         );
    129 
    130         /**
    131          * @since 1.2
    132          */
     112            [$this, 'track_logged_in_field'],
     113            'google_analytics',
     114            'google_analytics'
     115        );
     116
     117        // @since 1.2
    133118        register_setting(
    134119            'wk_ga_google_analytics',
     
    139124            'ga_use_tag_manager',
    140125            __('Use Google Tag Manager instead', 'wk-google-analytics'),
    141             array($this, 'use_tag_manager_field'),
    142             'google_analytics',
    143             'google_analytics'
    144         );
    145 
    146         /**
    147          * @since 1.2
    148          */
     126            [$this, 'use_tag_manager_field'],
     127            'google_analytics',
     128            'google_analytics'
     129        );
     130
     131        // @since 1.2
    149132        register_setting(
    150133            'wk_ga_google_analytics',
     
    155138            'ga_tag_manager_id',
    156139            __('Google Tag Manager ID', 'wk-google-analytics'),
    157             array($this, 'tag_manager_id_field'),
    158             'google_analytics',
    159             'google_analytics'
    160         );
    161     }
    162 
    163 
    164     /**
    165      * Renders the header text for the settings page
    166      *
    167      * @since 1.6.2
    168      *
    169      */
    170     function settings_header()
     140            [$this, 'tag_manager_id_field'],
     141            'google_analytics',
     142            'google_analytics'
     143        );
     144    }
     145
     146    /**
     147     * Renders the header text for the settings page.
     148     *
     149     * @since 1.6.2
     150     */
     151    public function settings_header()
    171152    {
    172153        wp_enqueue_script('cookie-js');
    173154        wp_enqueue_script('wk-ga-admin-js');
    174     ?>
    175 
     155        ?>
    176156        <p><?php _e('Enter your Google Analytics tracking ID below. Should you use Google Tag Manager to deploy Google Analytics, enter your GTM Container ID in the respective field and tick the box “Use Google Tag Manager instead”.', 'wk-google-analytics'); ?>
    177157        </p>
    178 
    179     <?php
    180     }
    181 
    182     /**
    183      * Renders text input for the Google Analytics tracking code
    184      *
    185      * @since 1.6.2
    186      *
    187      */
    188     function tracking_code_field()
    189     {
    190 
     158    <?php
     159    }
     160
     161    /**
     162     * Renders text input for the Google Analytics tracking code.
     163     *
     164     * @since 1.6.2
     165     */
     166    public function tracking_code_field()
     167    {
    191168        $field = 'ga_tracking_code';
    192169        $value = esc_attr(get_option($field));
    193170
    194     ?>
    195 
    196         <input type="text" name="<?php echo $field; ?>" placeholder="UA-XXXXXXXX-X" value="<?php echo $value; ?>" />
    197 
    198     <?php
    199     }
    200 
    201     /**
    202      * Renders checkbox for the anonymize IP's option
    203      *
    204      * @since 1.6.2
    205      *
    206      */
    207     function anonymize_ip_field()
    208     {
    209 
     171        ?>
     172        <input type="text" name="<?php echo $field; ?>" placeholder="G-XXXXXXXXXX" value="<?php echo $value; ?>" />
     173    <?php
     174    }
     175
     176    /**
     177     * Renders checkbox for the anonymize IP's option.
     178     *
     179     * @since 1.6.2
     180     */
     181    public function anonymize_ip_field()
     182    {
    210183        $field = 'ga_anonymize_ip';
    211184        $value = get_option($field);
    212         $value = ($value !== false) ? $value : true;
    213 
    214     ?>
     185        $value = (false !== $value) ? $value : true;
     186
     187        ?>
    215188
    216189        <div class="anonymize-ip-tooltip">
     
    229202            }
    230203        </style>
    231 
    232     <?php
    233 
    234     }
    235 
    236     /**
    237      * Renders checkbox for the track logged in users option
    238      *
    239      * @since 1.6.2
    240      *
    241      */
    242     function track_logged_in_field()
    243     {
    244 
     204    <?php
     205    }
     206
     207    /**
     208     * Renders checkbox for the track logged in users option.
     209     *
     210     * @since 1.6.2
     211     */
     212    public function track_logged_in_field()
     213    {
    245214        $field = 'track_logged_in';
    246215        $value = get_option($field);
    247216
    248     ?>
    249 
     217        ?>
    250218        <input type="checkbox" name="<?php echo $field; ?>" value="1" <?php checked($value); ?> />
    251 
    252     <?php
    253 
    254     }
    255 
    256     /**
    257      * Renders checkbox for the use tag manager option
    258      *
    259      * @since 1.6.2
    260      *
    261      */
    262     function use_tag_manager_field()
    263     {
    264 
     219    <?php
     220
     221    }
     222
     223    /**
     224     * Renders checkbox for the use tag manager option.
     225     *
     226     * @since 1.6.2
     227     */
     228    public function use_tag_manager_field()
     229    {
    265230        $field = 'ga_use_tag_manager';
    266231        $value = get_option($field);
    267232
    268     ?>
    269 
     233        ?>
    270234        <input type="checkbox" name="<?php echo $field; ?>" value="1" <?php checked($value); ?> />
    271 
    272     <?php
    273 
    274     }
    275 
    276     /**
    277      * Renders text field for the Google Tag Manager ID
    278      *
    279      * @since 1.6.2
    280      *
    281      */
    282     function tag_manager_id_field()
    283     {
    284 
     235    <?php
     236
     237    }
     238
     239    /**
     240     * Renders text field for the Google Tag Manager ID.
     241     *
     242     * @since 1.6.2
     243     */
     244    public function tag_manager_id_field()
     245    {
    285246        $field = 'ga_tag_manager_id';
    286247        $value = esc_attr(get_option($field));
    287248
    288     ?>
    289 
     249        ?>
    290250        <input type="text" name="<?php echo $field; ?>" placeholder="GTM-XXXXXX" value="<?php echo $value; ?>" />
    291 
    292251<?php
    293252
  • wk-google-analytics/trunk/readme.txt

    r2893569 r2922648  
    55Tested up to: 6.2
    66Requires PHP: 7.2
    7 Stable tag: 1.10.1
     7Stable tag: 1.11.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3333
    3434== Changelog ==
     35
     36= 1.11.0 =
     37
     38* Renamed UA to G in settings for better understanding with the upcoming changes
    3539
    3640= 1.10.1 =
  • wk-google-analytics/trunk/vendor/autoload.php

    r2893569 r2922648  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit3649409dbb62a90143e517b7b492fdbf::getLoader();
     7return ComposerAutoloaderInit5c342c80332e199e3105d5a596e44f57::getLoader();
  • wk-google-analytics/trunk/vendor/composer/autoload_real.php

    r2893569 r2922648  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit3649409dbb62a90143e517b7b492fdbf
     5class ComposerAutoloaderInit5c342c80332e199e3105d5a596e44f57
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit3649409dbb62a90143e517b7b492fdbf', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit5c342c80332e199e3105d5a596e44f57', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit3649409dbb62a90143e517b7b492fdbf', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit5c342c80332e199e3105d5a596e44f57', 'loadClassLoader'));
    3030
    3131        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3333            require __DIR__ . '/autoload_static.php';
    3434
    35             call_user_func(\Composer\Autoload\ComposerStaticInit3649409dbb62a90143e517b7b492fdbf::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInit5c342c80332e199e3105d5a596e44f57::getInitializer($loader));
    3636        } else {
    3737            $map = require __DIR__ . '/autoload_namespaces.php';
  • wk-google-analytics/trunk/vendor/composer/autoload_static.php

    r2893569 r2922648  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit3649409dbb62a90143e517b7b492fdbf
     7class ComposerStaticInit5c342c80332e199e3105d5a596e44f57
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    135135    {
    136136        return \Closure::bind(function () use ($loader) {
    137             $loader->prefixLengthsPsr4 = ComposerStaticInit3649409dbb62a90143e517b7b492fdbf::$prefixLengthsPsr4;
    138             $loader->prefixDirsPsr4 = ComposerStaticInit3649409dbb62a90143e517b7b492fdbf::$prefixDirsPsr4;
    139             $loader->classMap = ComposerStaticInit3649409dbb62a90143e517b7b492fdbf::$classMap;
     137            $loader->prefixLengthsPsr4 = ComposerStaticInit5c342c80332e199e3105d5a596e44f57::$prefixLengthsPsr4;
     138            $loader->prefixDirsPsr4 = ComposerStaticInit5c342c80332e199e3105d5a596e44f57::$prefixDirsPsr4;
     139            $loader->classMap = ComposerStaticInit5c342c80332e199e3105d5a596e44f57::$classMap;
    140140
    141141        }, null, ClassLoader::class);
  • wk-google-analytics/trunk/vendor/composer/installed.php

    r2893569 r2922648  
    11<?php return array(
    22    'root' => array(
    3         'pretty_version' => '1.10.1',
    4         'version' => '1.10.1.0',
     3        'pretty_version' => '1.11.0',
     4        'version' => '1.11.0.0',
    55        'type' => 'wordpress-plugin',
    66        'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        'webkinder/wk-google-analytics' => array(
    23             'pretty_version' => '1.10.1',
    24             'version' => '1.10.1.0',
     23            'pretty_version' => '1.11.0',
     24            'version' => '1.11.0.0',
    2525            'type' => 'wordpress-plugin',
    2626            'install_path' => __DIR__ . '/../../',
  • wk-google-analytics/trunk/wk-ga.php

    r2893569 r2922648  
    55 * Plugin URI: https://wordpress.org/plugins/wk-google-analytics/
    66 * Description: Deploy Google Analytics on your website without having to edit code and without tracking your own visits. You can exclude any logged in user from this and enable tracking solely for them.
    7  * Version: 1.10.1
     7 * Version: 1.11.0
    88 * Author: WEBKINDER
    99 * Author URI: https://www.webkinder.ch/
Note: See TracChangeset for help on using the changeset viewer.