Plugin Directory

Changeset 3274245


Ignore:
Timestamp:
04/16/2025 07:36:55 AM (9 months ago)
Author:
Annubis
Message:

update wp 6.8

Location:
smart-threema/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smart-threema/trunk/readme.txt

    r3207230 r3274245  
    55Version: 2.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
     
    1414Add Threema Buttons to your Website and allow your Visitor to Contact you.
    1515The Contact Button show only on mobile Device
    16 
    1716
    1817= Features =
  • smart-threema/trunk/threema.php

    r3207230 r3274245  
    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
    1515//threema mehrsprachig machen
    16 function my_plugin_initthreema() {
    17     load_plugin_textdomain( 'smart-threema', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    18   }
    19   add_action('init', 'my_plugin_initthreema');
    20 
    21 
    22 
    23 
     16function my_plugin_initthreema()
     17{
     18  load_plugin_textdomain('smart-threema', false, dirname(plugin_basename(__FILE__)) . '/languages');
     19}
     20add_action('init', 'my_plugin_initthreema');
    2421
    2522
     
    2825include 'conf.php';
    2926
    30 add_action( 'wp_enqueue_scripts', 'threemasmart_css_style_include' );
    31  
    32 function threemasmart_css_style_include() {
    33     //quick sharing button css
    3427
    35 wp_register_style( 'threemasmart_style', plugins_url('css/threemasmart_style.css', __FILE__) );
    36 wp_enqueue_style( 'threemasmart_style' );
     28
     29
     30add_action('wp_enqueue_scripts', 'threemasmart_css_style_include');
     31
     32function threemasmart_css_style_include()
     33{
     34  //quick sharing button css
     35
     36  wp_register_style('threemasmart_style', plugins_url('css/threemasmart_style.css', __FILE__));
     37  wp_enqueue_style('threemasmart_style');
    3738}
     39
     40
    3841
    3942//threema://compose?id=33EJU3H5&text=Hier%20ein%20Beispiel%20Text.
     
    6063/* ------------------------------------------- Floating Button Funktion  -------------------------------------------------- */
    6164$threemasmart_floatingbutton_status_check = get_option('threemasmart_floatingbutton_status');
    62 if ($threemasmart_floatingbutton_status_check == 'an')
    63 {
    64 include("floating-button.php");
     65if ($threemasmart_floatingbutton_status_check == 'an') {
     66  include("floating-button.php");
     67} else {
    6568}
    66 else
    67 {}
    6869
    6970/* ----------------------------------------------------------------------------------------------------------------------- */
    70 
    71 
    72 ?>
Note: See TracChangeset for help on using the changeset viewer.