Changeset 3373759
- Timestamp:
- 10/06/2025 02:04:06 PM (6 months ago)
- Location:
- broken-link-notifier
- Files:
-
- 54 added
- 6 edited
-
tags/1.3.4 (added)
-
tags/1.3.4/broken-link-notifier.php (added)
-
tags/1.3.4/includes (added)
-
tags/1.3.4/includes/cache.php (added)
-
tags/1.3.4/includes/css (added)
-
tags/1.3.4/includes/css/results-front.css (added)
-
tags/1.3.4/includes/css/results-front.min.css (added)
-
tags/1.3.4/includes/discord.php (added)
-
tags/1.3.4/includes/example-hook.php (added)
-
tags/1.3.4/includes/export.php (added)
-
tags/1.3.4/includes/helpers.php (added)
-
tags/1.3.4/includes/img (added)
-
tags/1.3.4/includes/img/admin-help-docs.png (added)
-
tags/1.3.4/includes/img/clear-cache-everywhere.png (added)
-
tags/1.3.4/includes/img/dev-debug-tools.png (added)
-
tags/1.3.4/includes/img/devconsole.gif (added)
-
tags/1.3.4/includes/img/discord.png (added)
-
tags/1.3.4/includes/img/eri-file-library.png (added)
-
tags/1.3.4/includes/img/gf-discord.png (added)
-
tags/1.3.4/includes/img/gf-msteams.png (added)
-
tags/1.3.4/includes/img/gf-tools.png (added)
-
tags/1.3.4/includes/img/gravity-zwr.png (added)
-
tags/1.3.4/includes/img/logo-teal.png (added)
-
tags/1.3.4/includes/img/logo-transparent.png (added)
-
tags/1.3.4/includes/img/screen_options.png (added)
-
tags/1.3.4/includes/index.php (added)
-
tags/1.3.4/includes/integrations.php (added)
-
tags/1.3.4/includes/js (added)
-
tags/1.3.4/includes/js/index.php (added)
-
tags/1.3.4/includes/js/omits.js (added)
-
tags/1.3.4/includes/js/results-back.js (added)
-
tags/1.3.4/includes/js/results-front.js (added)
-
tags/1.3.4/includes/js/results-front.min.js (added)
-
tags/1.3.4/includes/js/scan-multi.js (added)
-
tags/1.3.4/includes/js/scan-single.js (added)
-
tags/1.3.4/includes/js/settings.js (added)
-
tags/1.3.4/includes/loader.php (added)
-
tags/1.3.4/includes/menu.php (added)
-
tags/1.3.4/includes/msteams.php (added)
-
tags/1.3.4/includes/omits.php (added)
-
tags/1.3.4/includes/page-export.php (added)
-
tags/1.3.4/includes/page-help.php (added)
-
tags/1.3.4/includes/page-link-search.php (added)
-
tags/1.3.4/includes/page-scan-multi.php (added)
-
tags/1.3.4/includes/page-scan-single.php (added)
-
tags/1.3.4/includes/page-settings.php (added)
-
tags/1.3.4/includes/page.php (added)
-
tags/1.3.4/includes/results.php (added)
-
tags/1.3.4/includes/scan-multi.php (added)
-
tags/1.3.4/includes/scan.php (added)
-
tags/1.3.4/includes/test_files (added)
-
tags/1.3.4/includes/test_files/Jubiläum-A-und-B.pdf (added)
-
tags/1.3.4/index.php (added)
-
tags/1.3.4/readme.txt (added)
-
trunk/broken-link-notifier.php (modified) (1 diff)
-
trunk/includes/css/results-front.css (modified) (1 diff)
-
trunk/includes/helpers.php (modified) (1 diff)
-
trunk/includes/omits.php (modified) (2 diffs)
-
trunk/includes/results.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
broken-link-notifier/trunk/broken-link-notifier.php
r3349334 r3373759 4 4 * Plugin URI: https://pluginrx.com/plugin/broken-link-notifier/ 5 5 * Description: Get notified when someone loads a page with a broken link 6 * Version: 1.3. 36 * Version: 1.3.4 7 7 * Requires at least: 5.9 8 8 * Tested up to: 6.8 -
broken-link-notifier/trunk/includes/css/results-front.css
r3067171 r3373759 1 1 @keyframes glowingText { 2 2 0% { 3 background-color: #FFFF00;4 box-shadow: 0 0 5px #FFFF00;3 background-color: #FFFF00; 4 box-shadow: 0 0 5px #FFFF00; 5 5 } 6 6 50% { 7 background-color: #FFFFFF;8 box-shadow: 0 0 20px #FFFFFF;7 background-color: #FFFFFF; 8 box-shadow: 0 0 20px #FFFFFF; 9 9 } 10 10 100% { 11 background-color: #FFFF00;12 box-shadow: 0 0 5px #FFFF00;11 background-color: #FFFF00; 12 box-shadow: 0 0 5px #FFFF00; 13 13 } 14 14 } 15 15 .glowText { 16 animation: glowingText 1300ms infinite;17 color: #000000 !important;18 border: 2px dashed #FF0000 !important;16 animation: glowingText 1300ms infinite; 17 color: #000000 !important; 18 border: 2px dashed #FF0000 !important; 19 19 } -
broken-link-notifier/trunk/includes/helpers.php
r3349334 r3373759 421 421 } // End start_timer() 422 422 423 424 /** 425 * Stop the timer and return the total time 426 * 427 * @param int $start 428 * @return int 429 */ 423 430 public function stop_timer( $start ) { 424 431 $time = microtime(); -
broken-link-notifier/trunk/includes/omits.php
r3287974 r3373759 72 72 add_filter( 'manage_edit-'.$taxonomies[0].'_columns', [ $this, 'admin_columns_links' ] ); 73 73 add_filter( 'manage_edit-'.$taxonomies[1].'_columns', [ $this, 'admin_columns_pages' ] ); 74 add_filter( 'manage_'.$taxonomies[1].'_custom_column', [ $this, 'admin_column_content_pages' ], 10, 3); 74 add_filter( 'manage_'.$taxonomies[1].'_custom_column', [ $this, 'admin_column_content_pages' ], 10, 3 ); 75 add_filter( $taxonomies[0].'_row_actions', [ $this, 'modify_term_actions' ], 10, 2 ); 76 add_filter( $taxonomies[1].'_row_actions', [ $this, 'modify_term_actions' ], 10, 2 ); 75 77 76 78 // Ajax … … 246 248 247 249 /** 250 * Modify the action links on taxonomy term rows. 251 * 252 * @param array $actions Array of action links. 253 * @param WP_Term $term The current term object. 254 * 255 * @return array 256 */ 257 public function modify_term_actions( $actions, $term ) { 258 if ( isset( $actions[ 'delete' ] ) ) { 259 $actions[ 'delete' ] = str_replace( 'Delete', 'Remove Omission', $actions[ 'delete' ] ); 260 } 261 262 return $actions; 263 } // End modify_term_actions() 264 265 266 /** 248 267 * Add a link to the omits 249 268 * -
broken-link-notifier/trunk/includes/results.php
r3292122 r3373759 640 640 */ 641 641 public function admin_bar( $wp_admin_bar ) { 642 $count = ( new BLNOTIFIER_HELPERS )->count_broken_links(); 643 $count_class = $count > 0 ? ' blnotifier-count-indicator' : ''; 644 642 645 // Add the node 643 646 $wp_admin_bar->add_node( [ 644 647 'id' => 'blnotifier-notify', 645 'title' => '<span class="ab-icon dashicons dashicons-editor-unlink"></span> <span class="a waiting-mod">'.(new BLNOTIFIER_HELPERS)->count_broken_links().'</span>',646 'href' => ( new BLNOTIFIER_MENU)->get_plugin_page( 'results' )648 'title' => '<span class="ab-icon dashicons dashicons-editor-unlink"></span> <span class="ab-count' . $count_class . '">' . $count . '</span>', 649 'href' => ( new BLNOTIFIER_MENU )->get_plugin_page( 'results' ) 647 650 ] ); 648 651 … … 661 664 #wp-admin-bar-blnotifier-notify .ab-icon:before { 662 665 font-size: 16px; 666 } 667 #wp-admin-bar-blnotifier-notify .ab-count { 668 margin: 0 0 0 2px !important; 669 } 670 #wp-admin-bar-blnotifier-notify .blnotifier-count-indicator { 671 display: inline-block; 672 margin: 0 0 0 2px !important; 673 padding: 0 5px; 674 background-color: #dc3232; 675 color: #fff; 663 676 } 664 677 </style>'; … … 1333 1346 /** 1334 1347 * Enque the JavaScript 1335 * // TODO: Reminder to swap version number after testing1336 1348 * 1337 1349 * @return void … … 1369 1381 /** 1370 1382 * Enque the JavaScript 1371 * // TODO: Reminder to swap version number after testing1372 1383 * 1373 1384 * @return void -
broken-link-notifier/trunk/readme.txt
r3349334 r3373759 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.3. 37 Stable tag: 1.3.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 127 127 128 128 == Changelog == 129 = 1.3.4 = 130 * Tweak: Change "Delete" action link on omitted links/pages to "Remove Omission" (props Diane for suggestion) 131 * Tweak: Highlighted the admin bar count red 132 129 133 = 1.3.3 = 130 134 * Fix: Settings error causing missing fields and submit button (props @DLLHell)
Note: See TracChangeset
for help on using the changeset viewer.