Plugin Directory

Changeset 3296592


Ignore:
Timestamp:
05/19/2025 03:17:56 PM (10 months ago)
Author:
slimndap
Message:

v1.31.3

Location:
jeero/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • jeero/trunk/Jeero.php

    r3294991 r3296592  
    66 * Author:          Slim & Dapper
    77 * Author URI:      https://slimndap.com
    8  * Version:         1.31.2
     8 * Version:         1.31.3
    99 * Text Domain:     jeero
    1010 *
     
    2020
    2121
    22 // Bootstrap plugin on init: include core functionality.
     22/**
     23 * Bootstrap core plugin functionality on the 'init' hook.
     24 *
     25 * Defines plugin constants (version, path, URI), loads the main Jeero loader,
     26 * and seeds the first Inbox pickup into WP-Cron. Calling schedule_next_pickup()
     27 * on every init is safe (it no-ops if an event is already scheduled) and
     28 * ensures that WP-Cron has a job to process incoming items shortly after activation.
     29 */
    2330add_action( 'init', function() {
    2431
    25     define( 'Jeero\VERSION', '1.31.2' );
     32    define( 'Jeero\VERSION', '1.31.3' );
    2633    define( 'Jeero\PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
    2734    define( 'Jeero\PLUGIN_URI', plugin_dir_url( __FILE__ ) );
    2835
    2936    include_once \Jeero\PLUGIN_PATH . 'includes/Jeero.php';
     37    \Jeero\Inbox\schedule_next_pickup();
    3038} );
  • jeero/trunk/includes/Inbox/Inbox.php

    r3171580 r3296592  
    2323const PICKUP_ITEMS_HOOK = 'jeero\inbox\pickup_items';
    2424
    25 add_action( 'init', __NAMESPACE__.'\schedule_next_pickup' );
     25// Scheduling of the next pickup is handled centrally in Jeero.php bootstrap.
     26
    2627add_action( PICKUP_ITEMS_HOOK, __NAMESPACE__.'\pickup_items' );
    2728
  • jeero/trunk/readme.txt

    r3294985 r3296592  
    267267== Upgrade Notice ==
    268268
     269= 1.31.3 =
     270* Fixes an issue with stalling imports.
     271
    269272= 1.31 =
    270273* Avoids conflicts with plugins and themes that use older versions of Twig.
Note: See TracChangeset for help on using the changeset viewer.