Changeset 3337411
- Timestamp:
- 07/31/2025 05:12:04 PM (8 months ago)
- Location:
- notification-for-telegram
- Files:
-
- 4 edited
- 1 copied
-
tags/3.4.4 (copied) (copied from notification-for-telegram/trunk)
-
tags/3.4.4/index.php (modified) (2 diffs)
-
tags/3.4.4/readme.txt (modified) (2 diffs)
-
trunk/index.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
notification-for-telegram/tags/3.4.4/index.php
r3337300 r3337411 4 4 * Plugin URI: https://www.reggae.it/my-wordpress-plugins 5 5 * Description: Sends notifications to Telegram when events occur in WordPress. 6 * Version: 3.4. 36 * Version: 3.4.4 7 7 * Author: Andrea Marinucci 8 8 * Author URI: … … 34 34 35 35 //Enqueue Admin CSS on Job Board Settings page only 36 if ( isset( $_GET['page'] ) && $_GET['page'] == 'telegram-notify' && !$notify_donot_load_css ) { 37 // Enqueue Core Admin Styles 36 if ( isset( $_GET['page'] ) && $_GET['page'] == 'telegram-notify' ) { 37 38 if ( !$notify_donot_load_css ) { 39 // Enqueue Core Admin Styles 38 40 wp_enqueue_style( 'nftb_plugin_script2', plugins_url ( '/mystyle.css', __FILE__ )); 39 40 41 //OLD BOOTSTRAP CODE 42 // JS 43 // wp_register_script('nftb_bootstrap', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js'); 44 // wp_enqueue_script('nftb_bootstrap'); 45 46 // CSS 47 // wp_register_style('nftb_bootstrap', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'); 48 // wp_enqueue_style('nftb_bootstrap'); 49 41 } else { 42 43 // se la selezione notify_donot_load_css attiva Enqueue Minimal CSS Styles 44 wp_enqueue_style( 'nftb_plugin_script2', plugins_url ( '/nftb_minimal.css', __FILE__ )); 45 46 47 } 48 50 49 51 50 wp_enqueue_script('nftb_plugin_script', plugins_url('/myjs.js', __FILE__), array('jquery') ); 52 51 53 } else { 54 wp_enqueue_style( 'nftb_plugin_script2', plugins_url ( '/nftb_minimal.css', __FILE__ )); 55 56 // echo '<style> 57 // .telegram-notify-page .telegram-notify-nav-tab { 58 // float: left; 59 60 // padding: 5px 10px; 61 // font-size: 14px; 62 // line-height: 1.71428571; 63 64 65 // } 66 // </style>'; 67 68 69 } 52 } 70 53 71 54 } -
notification-for-telegram/tags/3.4.4/readme.txt
r3337300 r3337411 5 5 Requires at least: 4.0 6 6 Tested up to: 6.8.1 7 Stable tag: 3.4. 37 Stable tag: 3.4.4 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 276 276 == Changelog == 277 277 278 = 3.4.4 = 279 Better logic to add the minimal CSS when main CSS is disable 280 278 281 = 3.4.3 = 279 Added a minimal CSS when Main CSS is disabled282 Added a minimal CSS when main CSS is disabled 280 283 281 284 = 3.4.2 = -
notification-for-telegram/trunk/index.php
r3337300 r3337411 4 4 * Plugin URI: https://www.reggae.it/my-wordpress-plugins 5 5 * Description: Sends notifications to Telegram when events occur in WordPress. 6 * Version: 3.4. 36 * Version: 3.4.4 7 7 * Author: Andrea Marinucci 8 8 * Author URI: … … 34 34 35 35 //Enqueue Admin CSS on Job Board Settings page only 36 if ( isset( $_GET['page'] ) && $_GET['page'] == 'telegram-notify' && !$notify_donot_load_css ) { 37 // Enqueue Core Admin Styles 36 if ( isset( $_GET['page'] ) && $_GET['page'] == 'telegram-notify' ) { 37 38 if ( !$notify_donot_load_css ) { 39 // Enqueue Core Admin Styles 38 40 wp_enqueue_style( 'nftb_plugin_script2', plugins_url ( '/mystyle.css', __FILE__ )); 39 40 41 //OLD BOOTSTRAP CODE 42 // JS 43 // wp_register_script('nftb_bootstrap', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js'); 44 // wp_enqueue_script('nftb_bootstrap'); 45 46 // CSS 47 // wp_register_style('nftb_bootstrap', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'); 48 // wp_enqueue_style('nftb_bootstrap'); 49 41 } else { 42 43 // se la selezione notify_donot_load_css attiva Enqueue Minimal CSS Styles 44 wp_enqueue_style( 'nftb_plugin_script2', plugins_url ( '/nftb_minimal.css', __FILE__ )); 45 46 47 } 48 50 49 51 50 wp_enqueue_script('nftb_plugin_script', plugins_url('/myjs.js', __FILE__), array('jquery') ); 52 51 53 } else { 54 wp_enqueue_style( 'nftb_plugin_script2', plugins_url ( '/nftb_minimal.css', __FILE__ )); 55 56 // echo '<style> 57 // .telegram-notify-page .telegram-notify-nav-tab { 58 // float: left; 59 60 // padding: 5px 10px; 61 // font-size: 14px; 62 // line-height: 1.71428571; 63 64 65 // } 66 // </style>'; 67 68 69 } 52 } 70 53 71 54 } -
notification-for-telegram/trunk/readme.txt
r3337300 r3337411 5 5 Requires at least: 4.0 6 6 Tested up to: 6.8.1 7 Stable tag: 3.4. 37 Stable tag: 3.4.4 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 276 276 == Changelog == 277 277 278 = 3.4.4 = 279 Better logic to add the minimal CSS when main CSS is disable 280 278 281 = 3.4.3 = 279 Added a minimal CSS when Main CSS is disabled282 Added a minimal CSS when main CSS is disabled 280 283 281 284 = 3.4.2 =
Note: See TracChangeset
for help on using the changeset viewer.