Plugin Directory

Changeset 3274248


Ignore:
Timestamp:
04/16/2025 07:39:29 AM (10 months ago)
Author:
Annubis
Message:

update wp 6.8

Location:
quick-google-analytics/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quick-google-analytics/trunk/quickgoogleanalytics.php

    r3207224 r3274248  
    88Author URI: http://www.ericmaechler.com
    99Requires at least: 4.0
    10 Tested up to: 6.7.1
     10Tested up to: 6.8
    1111*/
    1212
    13 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
     13if (! defined('ABSPATH')) exit; // Exit if accessed directly
    1414
    1515include 'conf.php';
    1616
     17
    1718//add css
    18 function quick_google_analytics_admin_styles() {
    19     // Prüfe, ob wir uns im Backend befinden
    20         // Pfade zur CSS-Datei deines Plugins anpassen
    21         wp_enqueue_style('quick-google-analytics', plugins_url('style_backend.css', __FILE__));
    22 
     19function quick_google_analytics_admin_styles()
     20{
     21    // Prüfe, ob wir uns im Backend befinden
     22    // Pfade zur CSS-Datei deines Plugins anpassen
     23    wp_enqueue_style('quick-google-analytics', plugins_url('style_backend.css', __FILE__));
    2324}
    2425
     
    2829
    2930
    30 
    31 
    32 
    3331$quickgoogleanalytics_select_active = get_option('quickgoogleanalytics_select');
    3432
    35 if ($quickgoogleanalytics_select_active == '' OR $quickgoogleanalytics_select_active == '1')
    36     {
     33if ($quickgoogleanalytics_select_active == '' or $quickgoogleanalytics_select_active == '1') {
    3734    //ga
    38 //add code for google analytics
    39 include ("shortcode_ga_ua.php");
     35    //add code for google analytics
     36    include("shortcode_ga_ua.php");
     37} elseif ($quickgoogleanalytics_select_active == '2') {
     38    //beide
     39    //add code for google analytics
     40    include("shortcode_ga_ua.php");
    4041
    41     }
     42    //add code for google analytcs 4
     43    include("shortcode_ga_g.php");
     44} elseif ($quickgoogleanalytics_select_active == '3') {
    4245
    43 elseif ($quickgoogleanalytics_select_active == '2') {
    44     //beide
    45 //add code for google analytics
    46 include ("shortcode_ga_ua.php");
    47 
    48 //add code for google analytcs 4
    49 include ("shortcode_ga_g.php");
    50 }
    51 
    52 elseif ($quickgoogleanalytics_select_active == '3') {
    53 
    54 //add code for google analytcs 4
    55 include ("shortcode_ga_g.php");
    56 
    57 }
    58 
    59 elseif ($quickgoogleanalytics_select_active == '4') {
     46    //add code for google analytcs 4
     47    include("shortcode_ga_g.php");
     48} elseif ($quickgoogleanalytics_select_active == '4') {
    6049    //keine
    6150}
    62 
    63 
    64 
    65 
    66 ?>
  • quick-google-analytics/trunk/readme.txt

    r3207224 r3274248  
    55Version: 1.4
    66Requires at least: 4.0
    7 Tested up to: 6.7.1
     7Tested up to: 6.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1515
    1616Add the New gtag.js into your header.php file
    17 
    1817
    1918= Features =
     
    3231== Screenshots ==
    3332
    34  
    35  
    36  
     33
    3734== Frequently Asked Questions ==
    3835  = Wie merke ich, ob es eine neue Version des Plugins gibt? =
Note: See TracChangeset for help on using the changeset viewer.