Plugin Directory

Changeset 3458125


Ignore:
Timestamp:
02/10/2026 02:34:40 PM (7 weeks ago)
Author:
surflabtech
Message:

v2.5.1

Location:
surflink
Files:
289 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • surflink/trunk/assets/css/surfl.css

    r3456424 r3458125  
    18801880  > .dashicons-lock {
    18811881  display: none;
    1882 }
    1883 
    1884 /* Show premium lock icons when sidebar is expanded */
    1885 .surfl-side-navs.surfl-sidebar-expanded .surfl-side-nav > .dashicons-lock {
    1886   display: inline-block;
    1887   margin-left: 4px;
    18881882}
    18891883
  • surflink/trunk/readme.txt

    r3458050 r3458125  
    66**Requires PHP:** 7.4   
    77**Tested up to:** 6.9.1 
    8 **Stable tag:** 2.5.0
     8**Stable tag:** 2.5.1
    99**License:** GPLv3 or later 
    1010**License URI:** https://opensource.org/licenses/GPL-3.0 
     
    3232* **Import/Export:** Support for CSV import/export for bulk management.
    3333
    34 ### 🔗 Module 3: Smart Links
    35 A pro suite for creating and managing shortlinks.
    36 * **Link Shortener (Pro):** Create custom, memorable shortlinks (e.g., `mysite.com/go/sale`) with click tracking.
    37 * **Group Tagging (Pro):** Create, edit, and delete shortlinks groups. Organize links into groups for easy navigation.
    38 * **ShortLink List (Pro):** View shortlinks in a nice table. Create, edit, and delete shortlinks.
    39 * **Import/Export:** Support for CSV import/export for bulk management.
    40 * **Auto Linker (Pro):** Let SurfLink handle your affiliate linking for you. Enter your keywords once, and watch every existing and future post monetize itself automatically.
    41 * **Hard Linker (Pro):** Automatically link posts, pages, categories, tags, and custom post types.
    42 * **Hard Unlinker (Pro):** Automatically unlink posts, pages, categories, tags, and custom post types.
    43 
    44 ### 💾 Module 4: Backup and Restore
     34### 💾 Module 3: Backup and Restore
    4535Secure your site data with a few clicks.
    4636* **Flexible Backups:** Backup the entire database, specific directories (Uploads, Themes, Plugins), or both.
     
    5242
    5343
    54 ### 🔒 Module 5: LoginHider Security
     44### 🔒 Module 4: LoginHider Security
    5545Protect your site from brute-force attacks.
    5646* **Hide Login URL:** Change your default `wp-login.php` to a custom slug (e.g., `/my-secret-entry`) and show a nice login form.
  • surflink/trunk/surf-link.php

    r3458050 r3458125  
    77 * Author: SurfLab
    88 * Author URI: https://surflabtech.com
    9  * Version: 2.5.0
     9 * Version: 2.5.1
    1010 * Text Domain: surflink
    1111 * License: GPL-3.0-or-later
     
    8888        }
    8989        if ( !defined( 'SURFL_VERSION' ) ) {
    90             define( 'SURFL_VERSION', '2.5.0' );
     90            define( 'SURFL_VERSION', '2.5.1' );
    9191        }
    9292        if ( !defined( 'SURFL_SITE_URL' ) ) {
  • surflink/trunk/templates/surfl-redirect-list-html.php

    r3456424 r3458125  
    44    exit;
    55}
     6$is_premium = false;
    67?>
    78<!-- REDIRECT LIST START -->
     
    197198                            <?php
    198199        $not_url = false;
    199         if ( strpos( $redirect->source_type, 'specific_url' ) === false || strpos( $redirect->target_type, 'specific_url' ) === false ) {
    200             $not_url = true;
     200        if ( !$is_premium ) {
     201            if ( strpos( $redirect->source_type, 'specific_url' ) === false || strpos( $redirect->target_type, 'specific_url' ) === false ) {
     202                $not_url = true;
     203            }
    201204        }
    202205        ?>
     
    235238        echo esc_attr( $redirect->ignore_trailing_slash );
    236239        ?>">
    237                                 <?php
    238         esc_html_e( 'Edit', 'surflink' );
    239         ?> <?php
    240         if ( $not_url ) {
    241             echo '<span class="dashicons dashicons-lock"></span>';
    242         }
    243         ?>
     240                                Edit
    244241                            </button>
    245242
     
    427424?>
    428425                                        <?php
    429 $rules_text = array(
    430     'Specific URL'        => 'Redirects a single, specific URL.',
    431     'Random Post'         => 'Redirects to a random post on your site.',
    432     'Contain'             => 'Redirects URLs that contain a specific keyword.',
    433     'Start with'          => 'Redirects URLs that start with a specific string.',
    434     'End with'            => 'Redirects URLs that end with a specific string.',
    435     'Permalink structure' => 'Redirects based on your permalink settings.',
    436     'Regex matches'       => 'Redirects URLs that match a regular expression.',
    437     'Are 404s'            => 'Redirects all pages that result in a 404 error.',
    438     'All URLs'            => 'Redirects all URLs on your site.',
    439 );
    440 $rules_type = 'Source';
    441 require SURFL_PATH . 'specific/surfl-rules-info-modal.php';
    442426?></label>
    443427
     
    446430                                            class="red-condition-type-select">
    447431                                            <option value="" <?php
    448 echo ( !surflink_fs()->is__premium_only() ? 'disabled' : '' );
     432echo ( !$is_premium ? 'disabled' : '' );
    449433?>>Select one</option>
    450434                                            <option value="specific_url">A Specific URL</option>
    451                                             <option value="random_post" <?php
    452 echo ( !surflink_fs()->is__premium_only() ? 'disabled' : '' );
    453 ?>>A Random Post</option>
    454                                             <option value="contain" <?php
    455 echo ( !surflink_fs()->is__premium_only() ? 'disabled' : '' );
    456 ?>>Contain</option>
    457                                             <option value="start_with" <?php
    458 echo ( !surflink_fs()->is__premium_only() ? 'disabled' : '' );
    459 ?>>Start with</option>
    460                                             <option value="end_with" <?php
    461 echo ( !surflink_fs()->is__premium_only() ? 'disabled' : '' );
    462 ?>>End with</option>
    463                                             <option value="permalink_structure" <?php
    464 echo ( !surflink_fs()->is__premium_only() ? 'disabled' : '' );
    465 ?>>Permalink structure</option>
    466                                             <option value="regex_matches" <?php
    467 echo ( !surflink_fs()->is__premium_only() ? 'disabled' : '' );
    468 ?>>Regex matches</option>
    469                                             <option value="404s" <?php
    470 echo ( !surflink_fs()->is__premium_only() ? 'disabled' : '' );
    471 ?>>Are 404s</option>
    472                                             <option value="all" <?php
    473 echo ( !surflink_fs()->is__premium_only() ? 'disabled' : '' );
    474 ?>>All URLs</option>
     435                                            <?php
     436?>
    475437                                        </select>
    476438                                    </div>
     
    484446?>
    485447                                            <?php
    486 $rules_text = array(
    487     'A Specific URL'          => 'Redirect to a specific destination URL.',
    488     'URL with new string'     => 'Replace part of the source URL with a new string in the target.',
    489     'URL with removed string' => 'Remove part of the source URL for the redirection.',
    490     'New permalink structure' => 'Convert the source URL into a different permalink structure.',
    491     'Regex matches'           => 'Use regular expression rules to match and redirect URLs.',
    492     'Random similar post'     => 'Redirect to a randomly picked similar or related post.',
    493 );
    494 $rules_type = 'Target';
    495 require SURFL_PATH . 'specific/surfl-rules-info-modal.php';
    496448?>
    497449
Note: See TracChangeset for help on using the changeset viewer.