Plugin Directory

Changeset 3258848


Ignore:
Timestamp:
03/20/2025 03:36:59 AM (9 months ago)
Author:
nielslange
Message:

Update to version 1.4 from GitHub

Location:
smntcs-show-symlinked-plugins
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • smntcs-show-symlinked-plugins/tags/1.4/README.md

    r2982842 r3258848  
    11# SMNTCS Show Symlinked Plugins
     2
     3![Support Level](https://img.shields.io/badge/support-active-green.svg)
     4![Build Status](https://github.com/nielslange/smntcs-show-symlinked-plugins/actions/workflows/test.yml/badge.svg)
     5![GPLv2 License](https://img.shields.io/github/license/nielslange/smntcs-show-symlinked-plugins.svg)
     6![Compatible to WordPress version](https://plugintests.com/plugins/smntcs-show-symlinked-plugins/wp-badge.svg)
     7![Compatible to PHP version](https://plugintests.com/plugins/smntcs-show-symlinked-plugins/php-badge.svg)
     8![Downloads](https://img.shields.io/wordpress/plugin/dt/smntcs-show-symlinked-plugins.svg)
     9![Plugin Version](https://img.shields.io/wordpress/plugin/v/smntcs-show-symlinked-plugins.svg)
     10![Tag Version](https://img.shields.io/github/tag/nielslange/smntcs-show-symlinked-plugins.svg)
    211
    312Prevent accidentally deleting or updating symlinked plugins.
     
    38472. Activate the plugin through the `Plugins` menu in WordPress.
    3948
     49## Plugin page
     50
     51You can find the plugin on https://wordpress.org/plugins/smntcs-show-symlinked-plugins/.
     52
    4053## Changelog
     54
     55### 1.4 (2025.03.20)
     56
     57-   Test up to WP 6.8
    4158
    4259### 1.3 (2023.10.24)
  • smntcs-show-symlinked-plugins/tags/1.4/README.txt

    r2982842 r3258848  
    33Contributors:       nielslange
    44Tags:               Plugins
    5 Stable tag:         1.3
    6 Tested up to:       6.4
     5Stable tag:         1.4
     6Tested up to:       6.8
    77Requires at least:  5.2
    88Requires PHP:       7.4
     
    4545== Changelog ==
    4646
     47= 1.4 (2025.03.20) =
     48
     49- Test up to WP 6.8
     50
    4751= 1.3 (2023.10.24) =
    4852
  • smntcs-show-symlinked-plugins/tags/1.4/smntcs-show-symlinked-plugins.php

    r2982842 r3258848  
    77 * Author URI:          http://nielslange.de
    88 * Text Domain:         smntcs-show-symlinked-plugins
    9  * Version:             1.3
     9 * Version:             1.4
    1010 * Requires at least:   5.2
    1111 * Requires PHP:        5.6
     
    8484                            row.find('.delete').remove();
    8585
    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                            });
    8892
    8993                            // Removes the "Enable auto-updates" link.
  • smntcs-show-symlinked-plugins/trunk/README.md

    r2982842 r3258848  
    11# SMNTCS Show Symlinked Plugins
     2
     3![Support Level](https://img.shields.io/badge/support-active-green.svg)
     4![Build Status](https://github.com/nielslange/smntcs-show-symlinked-plugins/actions/workflows/test.yml/badge.svg)
     5![GPLv2 License](https://img.shields.io/github/license/nielslange/smntcs-show-symlinked-plugins.svg)
     6![Compatible to WordPress version](https://plugintests.com/plugins/smntcs-show-symlinked-plugins/wp-badge.svg)
     7![Compatible to PHP version](https://plugintests.com/plugins/smntcs-show-symlinked-plugins/php-badge.svg)
     8![Downloads](https://img.shields.io/wordpress/plugin/dt/smntcs-show-symlinked-plugins.svg)
     9![Plugin Version](https://img.shields.io/wordpress/plugin/v/smntcs-show-symlinked-plugins.svg)
     10![Tag Version](https://img.shields.io/github/tag/nielslange/smntcs-show-symlinked-plugins.svg)
    211
    312Prevent accidentally deleting or updating symlinked plugins.
     
    38472. Activate the plugin through the `Plugins` menu in WordPress.
    3948
     49## Plugin page
     50
     51You can find the plugin on https://wordpress.org/plugins/smntcs-show-symlinked-plugins/.
     52
    4053## Changelog
     54
     55### 1.4 (2025.03.20)
     56
     57-   Test up to WP 6.8
    4158
    4259### 1.3 (2023.10.24)
  • smntcs-show-symlinked-plugins/trunk/README.txt

    r2982842 r3258848  
    33Contributors:       nielslange
    44Tags:               Plugins
    5 Stable tag:         1.3
    6 Tested up to:       6.4
     5Stable tag:         1.4
     6Tested up to:       6.8
    77Requires at least:  5.2
    88Requires PHP:       7.4
     
    4545== Changelog ==
    4646
     47= 1.4 (2025.03.20) =
     48
     49- Test up to WP 6.8
     50
    4751= 1.3 (2023.10.24) =
    4852
  • smntcs-show-symlinked-plugins/trunk/smntcs-show-symlinked-plugins.php

    r2982842 r3258848  
    77 * Author URI:          http://nielslange.de
    88 * Text Domain:         smntcs-show-symlinked-plugins
    9  * Version:             1.3
     9 * Version:             1.4
    1010 * Requires at least:   5.2
    1111 * Requires PHP:        5.6
     
    8484                            row.find('.delete').remove();
    8585
    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                            });
    8892
    8993                            // Removes the "Enable auto-updates" link.
Note: See TracChangeset for help on using the changeset viewer.