Plugin Directory


Ignore:
Timestamp:
10/15/2026 07:29:29 PM (4 days ago)
Author:
roxyapi
Message:

Update to version 1.21.0 from GitHub

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roxyapi/trunk/src/Plugin.php

    r3642986 r3749195  
    1313
    1414use RoxyAPI\Admin\ActionLinks;
     15use RoxyAPI\Admin\BuilderPage;
    1516use RoxyAPI\Admin\DashboardWidget;
    1617use RoxyAPI\Admin\DemoPage;
    … …  
    9697                SettingsPage::register();
    9798                ShortcodesPage::register();
     99                BuilderPage::register();
    98100                DemoPage::register();
    99101                Notice::register();
    … …  
    233235
    234236        /**
    235          * One-shot redirect to the Settings page right after activation.
     237         * One-shot redirect to Create a reading right after activation.
    236238         *
    237239         * Set by Activation::activate(). Skipped when WordPress just activated
    … …  
    249251                // request landing on admin_init doesn't eat the redirect intended for
    250252                // the next real admin page load.
    251                 if ( wp_doing_ajax() || wp_doing_cron() ) {
     253                if ( wp_doing_ajax() || wp_doing_cron() || is_network_admin() ) {
    252254                        return;
    253255                }
    … …  
    267269
    268270                delete_transient( 'roxyapi_activated' );
    269                 // Land new installs on the Shortcodes library, not Settings. The plugin
    270                 // renders on a free daily allowance with no key, so the fastest path to
    271                 // a working reading is the copy-paste catalog, not a key-entry form. The
    272                 // key field stays one click away under the RoxyAPI menu for more headroom.
    273                 wp_safe_redirect( admin_url( 'admin.php?page=' . ShortcodesPage::PAGE_SLUG ) );
     271                // The builder guides site owners to a working reading on the free allowance.
     272                wp_safe_redirect( admin_url( 'admin.php?page=' . BuilderPage::PAGE_SLUG ) );
    274273                exit;
    275274        }
Note: See TracChangeset for help on using the changeset viewer.