Changeset 3274234
- Timestamp:
- 04/16/2025 07:30:23 AM (11 months ago)
- Location:
- dsgvo-youtube/trunk
- Files:
-
- 2 edited
-
index.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dsgvo-youtube/trunk/index.php
r3262802 r3274234 8 8 Author URI: https://www.ericmaechler.com 9 9 Requires at least: 4.0 10 Tested up to: 6. 7.210 Tested up to: 6.8 11 11 Text Domain: dsgvo-youtube 12 12 Domain Path: /languages … … 14 14 15 15 //dsgvo youtube mehrsprachig machen 16 function my_plugin_initdsgvoyoutube() { 17 load_plugin_textdomain( 'dsgvo-youtube', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 18 } 19 add_action('init', 'my_plugin_initdsgvoyoutube'); 16 function my_plugin_initdsgvoyoutube() 17 { 18 load_plugin_textdomain('dsgvo-youtube', false, dirname(plugin_basename(__FILE__)) . '/languages'); 19 } 20 add_action('init', 'my_plugin_initdsgvoyoutube'); 20 21 21 22 22 23 23 24 // Funktion zum Einbinden des PHP-Stylesheets 24 function dsgvoyoutube_enqueue_styles() { 25 // Pfad zum PHP-Stylesheet 26 $php_file = plugins_url( 'css/style.php', __FILE__ ); 25 function dsgvoyoutube_enqueue_styles() 26 { 27 // Pfad zum PHP-Stylesheet 28 $php_file = plugins_url('css/style.php', __FILE__); 27 29 28 // Einbinden des PHP-Stylesheets im Backend und Frontend29 wp_enqueue_style( 'dsgvoyoutube-style', $php_file);30 // Einbinden des PHP-Stylesheets im Backend und Frontend 31 wp_enqueue_style('dsgvoyoutube-style', $php_file); 30 32 } 31 33 32 34 // Hook, um die Funktion aufzurufen 33 add_action( 'admin_enqueue_scripts', 'dsgvoyoutube_enqueue_styles');34 add_action( 'wp_enqueue_scripts', 'dsgvoyoutube_enqueue_styles');35 add_action('admin_enqueue_scripts', 'dsgvoyoutube_enqueue_styles'); 36 add_action('wp_enqueue_scripts', 'dsgvoyoutube_enqueue_styles'); 35 37 36 38 … … 44 46 45 47 // add css JS -> includes/add-js-css.php 46 include ("includes/add-js-css.php");48 include("includes/add-js-css.php"); 47 49 48 50 // add Button für Text-Editor mit standard-bild 49 include ("includes/add-button-texteditor.php");51 include("includes/add-button-texteditor.php"); 50 52 51 53 // add Button für Text-Editor mit standard-bild 52 include ("includes/add-button-texteditor-eigenesbild.php");54 include("includes/add-button-texteditor-eigenesbild.php"); 53 55 54 56 // the popup shortcode -
dsgvo-youtube/trunk/readme.txt
r3262802 r3274234 5 5 Version: 1.5.2 6 6 Requires at least: 4.0 7 Tested up to: 6. 7.27 Tested up to: 6.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 68 68 == Changelog == 69 69 = 1.5.2 = 70 * add shortcode validation70 * xss vulnerability has been reported and fixed 71 71 = 1.5.1 = 72 72 * Update lang file
Note: See TracChangeset
for help on using the changeset viewer.