Plugin Directory

Changeset 3414076


Ignore:
Timestamp:
12/08/2025 10:05:57 AM (3 months ago)
Author:
7thskysoftware
Message:

WordPress 6.9 Compatibly update

Location:
smart-notification-manager
Files:
20 added
3 edited

Legend:

Unmodified
Added
Removed
  • smart-notification-manager/trunk/inc/class-senm7s-admin.php

    r3392817 r3414076  
    206206            'logs'        => __( 'Logs', 'smart-notification-manager' ),
    207207        );
     208       
     209        // Allow premium plugins to add tabs.
     210        $tabs = apply_filters( 'senm7s_admin_tabs', $tabs );
    208211        ?>
    209212        <div class="wrap senm7s-wrap">
     
    223226                $this->render_logs_tab();
    224227            } else {
    225                 ?>
    226                 <form method="post">
    227                     <?php wp_nonce_field( 'senm7s_save_settings' ); ?>
    228                     <input type="hidden" name="senm7s_action" value="save_settings" />
    229                     <input type="hidden" name="senm7s_tab" value="<?php echo esc_attr( $current_tab ); ?>" />
    230                     <?php include SENM7S_PLUGIN_DIR . 'templates/settings-page.php'; ?>
    231                     <p class="submit">
    232                         <button type="submit" class="button button-primary"><?php esc_html_e( 'Save Changes', 'smart-notification-manager' ); ?></button>
    233                     </p>
    234                 </form>
    235                 <?php
     228                // Allow premium plugins to render custom tabs.
     229                if ( has_action( 'senm7s_render_tab_' . $current_tab ) ) {
     230                    ?>
     231                    <form method="post">
     232                        <?php wp_nonce_field( 'senm7s_save_settings' ); ?>
     233                        <input type="hidden" name="senm7s_action" value="save_settings" />
     234                        <input type="hidden" name="senm7s_tab" value="<?php echo esc_attr( $current_tab ); ?>" />
     235                        <?php do_action( 'senm7s_render_tab_' . $current_tab, $options ); ?>
     236                        <p class="submit">
     237                            <button type="submit" class="button button-primary"><?php esc_html_e( 'Save Changes', 'smart-notification-manager' ); ?></button>
     238                        </p>
     239                    </form>
     240                    <?php
     241                } else {
     242                    ?>
     243                    <form method="post">
     244                        <?php wp_nonce_field( 'senm7s_save_settings' ); ?>
     245                        <input type="hidden" name="senm7s_action" value="save_settings" />
     246                        <input type="hidden" name="senm7s_tab" value="<?php echo esc_attr( $current_tab ); ?>" />
     247                        <?php include SENM7S_PLUGIN_DIR . 'templates/settings-page.php'; ?>
     248                        <p class="submit">
     249                            <button type="submit" class="button button-primary"><?php esc_html_e( 'Save Changes', 'smart-notification-manager' ); ?></button>
     250                        </p>
     251                    </form>
     252                    <?php
     253                }
    236254            }
    237255            ?>
  • smart-notification-manager/trunk/readme.txt

    r3392817 r3414076  
    55Requires at least: 5.8
    66Requires PHP: 7.4
    7 Tested up to: 6.8
    8 Stable tag: 1.0.0
     7Tested up to: 6.9
     8Stable tag: 1.0.1
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    3030
    3131== Installation ==
     32You can install the **Smart Notification Manager** plugin directly from the WordPress repository.
    3233
    33341. From your WordPress dashboard, navigate to **Plugins → Add New**.
     
    6061== Changelog ==
    6162
    62 1.0.0
     63= 1.0.1 =
     64* Compatibility update with WordPress 6.9
     65
     66= 1.0.0 =
     67
    6368* Initial release
    6469* Added email disabling
  • smart-notification-manager/trunk/smart-notification-manager.php

    r3392817 r3414076  
    88 * Plugin URI:   https://7thskysoftware.com/smart-notification-manager/
    99 * Description:  Manage and customize WordPress notification emails. Disable, override and log user registration, password reset, email change, comment moderation, site update and WooCommerce new account emails. Includes role‑based rules, custom templates and a logging interface. Styled to complement the Smart plugin suite.
    10  * Version:      1.0.0
     10 *
     11 * Version:      1.0.1
    1112 * Author:       Seventh Sky
    1213 * Author URI:   https://7thskysoftware.com/
     14 *
    1315 * License:      GPLv2 or later
    1416 * License URI:  https://www.gnu.org/licenses/gpl-2.0.html
    1517 * Text Domain:  smart-notification-manager
     18 *
    1619 * Requires PHP: 7.4
    1720 * Requires at least: 4.9
    18  * Tested up to: 6.8
     21 * Tested up to: 6.9
    1922 * Domain Path:  /languages
    2023 */
Note: See TracChangeset for help on using the changeset viewer.