Changeset 3262953
- Timestamp:
- 03/27/2025 03:24:50 PM (10 months ago)
- Location:
- broken-link-notifier
- Files:
-
- 53 added
- 5 edited
-
tags/1.2.2 (added)
-
tags/1.2.2/broken-link-notifier.php (added)
-
tags/1.2.2/includes (added)
-
tags/1.2.2/includes/css (added)
-
tags/1.2.2/includes/css/results-front.css (added)
-
tags/1.2.2/includes/discord.php (added)
-
tags/1.2.2/includes/example-hook.php (added)
-
tags/1.2.2/includes/helpers.php (added)
-
tags/1.2.2/includes/img (added)
-
tags/1.2.2/includes/img/admin-help-docs.png (added)
-
tags/1.2.2/includes/img/clear-cache-everywhere.png (added)
-
tags/1.2.2/includes/img/dev-debug-tools.png (added)
-
tags/1.2.2/includes/img/devconsole.gif (added)
-
tags/1.2.2/includes/img/discord.png (added)
-
tags/1.2.2/includes/img/eri-file-library.png (added)
-
tags/1.2.2/includes/img/gf-discord.png (added)
-
tags/1.2.2/includes/img/gf-msteams.png (added)
-
tags/1.2.2/includes/img/gf-tools.png (added)
-
tags/1.2.2/includes/img/gravity-zwr.png (added)
-
tags/1.2.2/includes/img/logo-teal.png (added)
-
tags/1.2.2/includes/img/logo-transparent.png (added)
-
tags/1.2.2/includes/img/screen_options.png (added)
-
tags/1.2.2/includes/index.php (added)
-
tags/1.2.2/includes/integrations.php (added)
-
tags/1.2.2/includes/js (added)
-
tags/1.2.2/includes/js/index.php (added)
-
tags/1.2.2/includes/js/omits.js (added)
-
tags/1.2.2/includes/js/results-back.js (added)
-
tags/1.2.2/includes/js/results-front.js (added)
-
tags/1.2.2/includes/js/scan-multi.js (added)
-
tags/1.2.2/includes/js/scan-single.js (added)
-
tags/1.2.2/includes/js/settings.js (added)
-
tags/1.2.2/includes/loader.php (added)
-
tags/1.2.2/includes/menu.php (added)
-
tags/1.2.2/includes/msteams.php (added)
-
tags/1.2.2/includes/omits.php (added)
-
tags/1.2.2/includes/page-help.php (added)
-
tags/1.2.2/includes/page-link-search.php (added)
-
tags/1.2.2/includes/page-scan-multi.php (added)
-
tags/1.2.2/includes/page-scan-single.php (added)
-
tags/1.2.2/includes/page-settings.php (added)
-
tags/1.2.2/includes/page.php (added)
-
tags/1.2.2/includes/results.php (added)
-
tags/1.2.2/includes/scan-multi.php (added)
-
tags/1.2.2/includes/scan.php (added)
-
tags/1.2.2/includes/test_files (added)
-
tags/1.2.2/includes/test_files/Jubiläum-A-und-B.pdf (added)
-
tags/1.2.2/index.php (added)
-
tags/1.2.2/readme.txt (added)
-
trunk/broken-link-notifier.php (modified) (2 diffs)
-
trunk/includes/img/clear-cache-everywhere.png (added)
-
trunk/includes/img/eri-file-library.png (added)
-
trunk/includes/img/gf-tools.png (added)
-
trunk/includes/img/gravity-zwr.png (added)
-
trunk/includes/loader.php (modified) (1 diff)
-
trunk/includes/page-help.php (modified) (2 diffs)
-
trunk/includes/scan-multi.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
broken-link-notifier/trunk/broken-link-notifier.php
r3258065 r3262953 4 4 * Plugin URI: https://github.com/apos37/broken-link-notifier 5 5 * Description: Get notified when someone loads a page with a broken link 6 * Version: 1.2. 17 * Requires at least: 5.9 .08 * Tested up to: 6.7 .26 * Version: 1.2.2 7 * Requires at least: 5.9 8 * Tested up to: 6.7 9 9 * Requires PHP: 7.4 10 * Author: Apos37 11 * Author URI: https://apos37.com/ 10 * Author: WordPress Enhanced 11 * Author URI: https://wordpressenhanced.com/ 12 * Support URI: https://discord.gg/3HnzNEJVnR 12 13 * Text Domain: broken-link-notifier 13 14 * License: GPLv2 or later 14 15 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 16 * Created on: April 7, 2024 15 17 */ 16 18 17 // Exit if accessed directly. 18 if ( !defined( 'ABSPATH' ) ) { 19 exit; 20 } 19 20 /** 21 * Exit if accessed directly. 22 */ 23 if ( !defined( 'ABSPATH' ) ) exit; 21 24 22 25 … … 24 27 * Defines 25 28 */ 29 $plugin_data = get_file_data( __FILE__, [ 30 'name' => 'Plugin Name', 31 'version' => 'Version', 32 'requires_php' => 'Requires PHP', 33 'textdomain' => 'Text Domain', 34 'author' => 'Author', 35 'author_uri' => 'Author URI', 36 'support_uri' => 'Support URI', 37 ] ); 26 38 27 39 // Versions 28 define( 'BLNOTIFIER_VERSION', '1.2.1');29 define( 'BLNOTIFIER_MIN_PHP_VERSION', '7.4');40 define( 'BLNOTIFIER_VERSION', $plugin_data[ 'version' ] ); 41 define( 'BLNOTIFIER_MIN_PHP_VERSION', $plugin_data[ 'requires_php' ] ); 30 42 31 43 // Names 32 define( 'BLNOTIFIER_NAME', 'Broken Link Notifier');33 define( 'BLNOTIFIER_TEXTDOMAIN', 'broken-link-notifier');34 define( 'BLNOTIFIER_AUTHOR_NAME', 'Apos37');35 define( 'BLNOTIFIER_AUTHOR_URL', 'https://apos37.com/');36 define( 'BLNOTIFIER_DISCORD_SUPPORT_URL', 'https://discord.gg/3HnzNEJVnR');44 define( 'BLNOTIFIER_NAME', $plugin_data[ 'name' ] ); 45 define( 'BLNOTIFIER_TEXTDOMAIN', $plugin_data[ 'textdomain' ] ); 46 define( 'BLNOTIFIER_AUTHOR_NAME', $plugin_data[ 'author' ] ); 47 define( 'BLNOTIFIER_AUTHOR_URL', $plugin_data[ 'author_uri' ] ); 48 define( 'BLNOTIFIER_DISCORD_SUPPORT_URL', $plugin_data[ 'support_uri' ] ); 37 49 38 50 // Prevent loading the plugin if PHP version is not minimum -
broken-link-notifier/trunk/includes/loader.php
r3067171 r3262953 81 81 if ( BLNOTIFIER_TEXTDOMAIN.'/'.BLNOTIFIER_TEXTDOMAIN.'.php' == $file ) { 82 82 $row_meta = [ 83 'docs' => '<a href="'.esc_url( BLNOTIFIER_AUTHOR_URL.'wordpress-broken-link-notifier/' ).'" target="_blank" aria-label="'.esc_attr__( 'Plugin Website Link', 'broken-link-notifier' ).'">'.esc_html__( 'Website', 'broken-link-notifier' ).'</a>',83 // 'docs' => '<a href="'.esc_url( BLNOTIFIER_AUTHOR_URL.'wordpress-broken-link-notifier/' ).'" target="_blank" aria-label="'.esc_attr__( 'Plugin Website Link', 'broken-link-notifier' ).'">'.esc_html__( 'Website', 'broken-link-notifier' ).'</a>', 84 84 'discord' => '<a href="'.esc_url( BLNOTIFIER_DISCORD_SUPPORT_URL ).'" target="_blank" aria-label="'.esc_attr__( 'Plugin Support on Discord', 'broken-link-notifier' ).'">'.esc_html__( 'Discord Support', 'broken-link-notifier' ).'</a>' 85 85 ]; -
broken-link-notifier/trunk/includes/page-help.php
r3219318 r3262953 180 180 section .plugin-card div { 181 181 margin-bottom: 0; 182 } 183 #the-list { 184 display: flex; 185 flex-flow: wrap; 186 } 187 .plugin-card { 188 display: flex; 189 flex-direction: column; 190 margin-left: 0 !important; 191 } 192 .plugin-card .plugin-card-top { 193 flex: 1; 194 } 195 .plugin-card .plugin-card-bottom { 196 margin-top: auto; 197 } 198 .plugin-card .ws_stars { 199 display: inline-block; 200 } 201 .php-incompatible { 202 padding: 12px 20px; 203 background-color: #D1231B; 204 color: #FFFFFF; 205 border-top: 1px solid #dcdcde; 206 overflow: hidden; 207 } 208 #wpbody-content .plugin-card .plugin-action-buttons a.install-now[aria-disabled="true"] { 209 color: #CBB8AD !important; 210 border-color: #CBB8AD !important; 211 } 212 .plugin-action-buttons { 213 list-style: none !important; 182 214 } 183 215 </style> … … 368 400 <section> 369 401 <br><br> 370 <h3>Try My Other Plugins</h3> 371 <?php echo wp_kses_post( $HELPERS->plugin_card( 'admin-help-docs' ) ); ?> 372 <?php echo wp_kses_post( $HELPERS->plugin_card( 'gf-discord' ) ); ?> 373 <?php echo wp_kses_post( $HELPERS->plugin_card( 'gf-msteams' ) ); ?> 374 <?php echo wp_kses_post( $HELPERS->plugin_card( 'dev-debug-tools' ) ); ?> 375 </section> 402 <h3><?php echo esc_html__( 'Try My Other Plugins', 'broken-link-notifier' ); ?></h3> 403 <div class="wp-list-table widefat plugin-install"> 404 <div id="the-list"> 405 <?php echo wp_kses_post( $HELPERS->plugin_card( 'admin-help-docs' ) ); ?> 406 <?php echo wp_kses_post( $HELPERS->plugin_card( 'eri-file-library' ) ); ?> 407 <?php echo wp_kses_post( $HELPERS->plugin_card( 'clear-cache-everywhere' ) ); ?> 408 <?php echo wp_kses_post( $HELPERS->plugin_card( 'dev-debug-tools' ) ); ?> 409 <?php if ( is_plugin_active( 'gravityforms/gravityforms.php' ) ) { ?> 410 <?php echo wp_kses_post( $HELPERS->plugin_card( 'gf-tools' ) ); ?> 411 <?php echo wp_kses_post( $HELPERS->plugin_card( 'gf-discord' ) ); ?> 412 <?php echo wp_kses_post( $HELPERS->plugin_card( 'gf-msteams' ) ); ?> 413 <?php echo wp_kses_post( $HELPERS->plugin_card( 'gravity-zwr' ) ); ?> 414 <?php } ?> 415 </div> 416 </div> 417 </section> -
broken-link-notifier/trunk/includes/scan-multi.php
r3218012 r3262953 192 192 ob_start(); 193 193 194 $redirect_detected = false; 195 194 196 try { 195 197 // Process shortcodes and expand them in the content -
broken-link-notifier/trunk/readme.txt
r3258065 r3262953 2 2 Contributors: apos37 3 3 Tags: broken, link, links, checker, notify 4 Requires at least: 5.9 .05 Tested up to: 6.7 .24 Requires at least: 5.9 5 Tested up to: 6.7 6 6 Requires PHP: 7.4 7 Stable tag: 1.2. 17 Stable tag: 1.2.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 116 116 117 117 == Changelog == 118 = 1.2.2 = 119 * Update: Changed author name from Apos37 to WordPress Enhanced, new Author URI 120 * Tweak: Optimization of main file 121 * Fix: Undefined variable $redirect_detected 122 118 123 = 1.2.1 = 119 124 * Update: Added a method column to the results page
Note: See TracChangeset
for help on using the changeset viewer.