Changeset 3258848
- Timestamp:
- 03/20/2025 03:36:59 AM (9 months ago)
- Location:
- smntcs-show-symlinked-plugins
- Files:
-
- 6 edited
- 1 copied
-
tags/1.4 (copied) (copied from smntcs-show-symlinked-plugins/trunk)
-
tags/1.4/README.md (modified) (2 diffs)
-
tags/1.4/README.txt (modified) (2 diffs)
-
tags/1.4/smntcs-show-symlinked-plugins.php (modified) (2 diffs)
-
trunk/README.md (modified) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/smntcs-show-symlinked-plugins.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smntcs-show-symlinked-plugins/tags/1.4/README.md
r2982842 r3258848 1 1 # SMNTCS Show Symlinked Plugins 2 3  4  5  6  7  8  9  10  2 11 3 12 Prevent accidentally deleting or updating symlinked plugins. … … 38 47 2. Activate the plugin through the `Plugins` menu in WordPress. 39 48 49 ## Plugin page 50 51 You can find the plugin on https://wordpress.org/plugins/smntcs-show-symlinked-plugins/. 52 40 53 ## Changelog 54 55 ### 1.4 (2025.03.20) 56 57 - Test up to WP 6.8 41 58 42 59 ### 1.3 (2023.10.24) -
smntcs-show-symlinked-plugins/tags/1.4/README.txt
r2982842 r3258848 3 3 Contributors: nielslange 4 4 Tags: Plugins 5 Stable tag: 1. 36 Tested up to: 6. 45 Stable tag: 1.4 6 Tested up to: 6.8 7 7 Requires at least: 5.2 8 8 Requires PHP: 7.4 … … 45 45 == Changelog == 46 46 47 = 1.4 (2025.03.20) = 48 49 - Test up to WP 6.8 50 47 51 = 1.3 (2023.10.24) = 48 52 -
smntcs-show-symlinked-plugins/tags/1.4/smntcs-show-symlinked-plugins.php
r2982842 r3258848 7 7 * Author URI: http://nielslange.de 8 8 * Text Domain: smntcs-show-symlinked-plugins 9 * Version: 1. 39 * Version: 1.4 10 10 * Requires at least: 5.2 11 11 * Requires PHP: 5.6 … … 84 84 row.find('.delete').remove(); 85 85 86 // Removes the " | " separator behind the "Activate" link when plugin is active. 87 row.find('.activate').html(function(_, html){ return html.replace(' | ', ''); }); 86 // Conditionally removes the " | " separator behind the "Activate" link if there are no other links after it. 87 row.find('.activate').each(function() { 88 if ($(this).next().length === 0 || $(this).next().is('.deactivate')) { 89 $(this).html(function(_, html) { return html.replace(' | ', ''); }); 90 } 91 }); 88 92 89 93 // Removes the "Enable auto-updates" link. -
smntcs-show-symlinked-plugins/trunk/README.md
r2982842 r3258848 1 1 # SMNTCS Show Symlinked Plugins 2 3  4  5  6  7  8  9  10  2 11 3 12 Prevent accidentally deleting or updating symlinked plugins. … … 38 47 2. Activate the plugin through the `Plugins` menu in WordPress. 39 48 49 ## Plugin page 50 51 You can find the plugin on https://wordpress.org/plugins/smntcs-show-symlinked-plugins/. 52 40 53 ## Changelog 54 55 ### 1.4 (2025.03.20) 56 57 - Test up to WP 6.8 41 58 42 59 ### 1.3 (2023.10.24) -
smntcs-show-symlinked-plugins/trunk/README.txt
r2982842 r3258848 3 3 Contributors: nielslange 4 4 Tags: Plugins 5 Stable tag: 1. 36 Tested up to: 6. 45 Stable tag: 1.4 6 Tested up to: 6.8 7 7 Requires at least: 5.2 8 8 Requires PHP: 7.4 … … 45 45 == Changelog == 46 46 47 = 1.4 (2025.03.20) = 48 49 - Test up to WP 6.8 50 47 51 = 1.3 (2023.10.24) = 48 52 -
smntcs-show-symlinked-plugins/trunk/smntcs-show-symlinked-plugins.php
r2982842 r3258848 7 7 * Author URI: http://nielslange.de 8 8 * Text Domain: smntcs-show-symlinked-plugins 9 * Version: 1. 39 * Version: 1.4 10 10 * Requires at least: 5.2 11 11 * Requires PHP: 5.6 … … 84 84 row.find('.delete').remove(); 85 85 86 // Removes the " | " separator behind the "Activate" link when plugin is active. 87 row.find('.activate').html(function(_, html){ return html.replace(' | ', ''); }); 86 // Conditionally removes the " | " separator behind the "Activate" link if there are no other links after it. 87 row.find('.activate').each(function() { 88 if ($(this).next().length === 0 || $(this).next().is('.deactivate')) { 89 $(this).html(function(_, html) { return html.replace(' | ', ''); }); 90 } 91 }); 88 92 89 93 // Removes the "Enable auto-updates" link.
Note: See TracChangeset
for help on using the changeset viewer.