Plugin Directory

Changeset 3035577


Ignore:
Timestamp:
02/14/2024 10:55:24 AM (2 years ago)
Author:
marcbelletre
Message:

v1.5.0

Location:
acf-rrule-field
Files:
30 edited
1 copied

Legend:

Unmodified
Added
Removed
  • acf-rrule-field/tags/1.5.0/README.md

    r3022067 r3035577  
    3434| **last_date**         | *DateTime*          | The last occurrence of the recurrence (since v1.4.0)                                |
    3535
     36### Advanced usage
     37
     38A common use case for this plugin is creating an agenda-style display for your events. Here is how I usually do it.
     39
     40In the following example we will assume you have an `event` custom post type with an ACF RRule field named `rrule`.
     41
     42The first step is to use the `acf/save_post` hook to save the first and last dates in database. This is necessary for querying our events later.
     43
     44```php
     45/**
     46 * Save first & last occurrences of an event in database.
     47 *
     48 * @param  int|string  $post_id
     49 * @return void
     50 */
     51add_action('acf/save_post', function (int|string $post_id) {
     52    if (! $post_id || get_post_type($post_id) !== 'event') {
     53        return;
     54    }
     55
     56    $rrule = get_field('rrule');
     57
     58    update_post_meta($post_id, 'start_date', $rrule['first_date']->format('Y-m-d'));
     59    update_post_meta($post_id, 'end_date', $rrule['last_date']->format('Y-m-d'));
     60});
     61```
     62
     63You will then be able to use the `start_date` and `end_date` meta values in a custom `WP_Query` to filter events that may have occurrences between the specified dates.
     64
     65```php
     66$startDate = date('Y-m-d'); // Today
     67$endDate = date('Y-m-d', strtotime('+1 month', strtotime($startDate))); // Today + 1 month
     68
     69// Retrieve events starting before the end date
     70// and ending after the start date
     71$eventsQuery = new WP_Query([
     72    'post_type' => 'event',
     73    'posts_per_page' => -1,
     74    'post_status' => 'publish',
     75    'meta_query' => [
     76        'relation' => 'AND',
     77        [
     78            'key' => 'start_date',
     79            'compare' => '<=',
     80            'value' => $endDate,
     81            'type' => 'DATE',
     82        ],
     83        [
     84            'key' => 'end_date',
     85            'compare' => '>=',
     86            'value' => $startDate,
     87            'type' => 'DATE',
     88        ],
     89    ],
     90]);
     91```
     92
     93The next and last step is to create an associative array of dates. Each date will be an array of events that occurs at the given date.
     94
     95```php
     96// Instanciate an array for our list of dates
     97$dates = [];
     98
     99while ($eventsQuery->have_posts()) {
     100    $eventsQuery->the_post();
     101
     102    $recurrence = get_field('rrule');
     103
     104    // Loop through the individual dates for the recurrence
     105    foreach ($recurrence['dates_collection'] as $datetime) {
     106        $date = $datetime->format('Y-m-d');
     107
     108        if ($date < $startDate) {
     109            // If the date is before the start date, jump directly to the next one
     110            continue;
     111        } elseif ($date > $endDate) {
     112            // If the date is after the end date, break the loop
     113            break;
     114        }
     115
     116        // Create the date if it doesn't exist yet
     117        if (! isset($dates[$date])) {
     118            // Each date will contain an array of events
     119            $dates[$date] = [];
     120        }
     121
     122        // Use the event ID as key to avoid duplicates
     123        $dates[$date][$post->ID] = $post;
     124    }
     125
     126    // Sort array by key
     127    ksort($dates);
     128}
     129```
     130
     131Of course this is a very basic example that you will have to adapt to your use case.
     132
    36133## Testing
    37134
  • acf-rrule-field/tags/1.5.0/acf-rrule.php

    r3035121 r3035577  
    55Plugin URI: https://github.com/marcbelletre/acf-rrule
    66Description: Create recurring rules with a single ACF field
    7 Version: 1.4.2
     7Version: 1.5.0
    88Author: Marc Bellêtre
    99Author URI: https://pixelparfait.fr
     
    4545            // - these will be passed into the field class.
    4646            $this->settings = [
    47                 'version' => '1.4.2',
     47                'version' => '1.5.0',
    4848                'url' => plugin_dir_url(__FILE__),
    4949                'path' => plugin_dir_path(__FILE__),
  • acf-rrule-field/tags/1.5.0/composer.lock

    r2990646 r3035577  
    224224        {
    225225            "name": "doctrine/deprecations",
    226             "version": "1.1.2",
     226            "version": "1.1.3",
    227227            "source": {
    228228                "type": "git",
    229229                "url": "https://github.com/doctrine/deprecations.git",
    230                 "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931"
    231             },
    232             "dist": {
    233                 "type": "zip",
    234                 "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931",
    235                 "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931",
     230                "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab"
     231            },
     232            "dist": {
     233                "type": "zip",
     234                "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab",
     235                "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab",
    236236                "shasum": ""
    237237            },
     
    265265            "support": {
    266266                "issues": "https://github.com/doctrine/deprecations/issues",
    267                 "source": "https://github.com/doctrine/deprecations/tree/1.1.2"
    268             },
    269             "time": "2023-09-27T20:04:15+00:00"
     267                "source": "https://github.com/doctrine/deprecations/tree/1.1.3"
     268            },
     269            "time": "2024-01-30T19:34:25+00:00"
    270270        },
    271271        {
     
    581581        {
    582582            "name": "squizlabs/php_codesniffer",
    583             "version": "3.7.2",
    584             "source": {
    585                 "type": "git",
    586                 "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
    587                 "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879"
    588             },
    589             "dist": {
    590                 "type": "zip",
    591                 "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879",
    592                 "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879",
     583            "version": "3.8.1",
     584            "source": {
     585                "type": "git",
     586                "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
     587                "reference": "14f5fff1e64118595db5408e946f3a22c75807f7"
     588            },
     589            "dist": {
     590                "type": "zip",
     591                "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/14f5fff1e64118595db5408e946f3a22c75807f7",
     592                "reference": "14f5fff1e64118595db5408e946f3a22c75807f7",
    593593                "shasum": ""
    594594            },
     
    600600            },
    601601            "require-dev": {
    602                 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
     602                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
    603603            },
    604604            "bin": [
    605                 "bin/phpcs",
    606                 "bin/phpcbf"
     605                "bin/phpcbf",
     606                "bin/phpcs"
    607607            ],
    608608            "type": "library",
     
    619619                {
    620620                    "name": "Greg Sherwood",
    621                     "role": "lead"
     621                    "role": "Former lead"
     622                },
     623                {
     624                    "name": "Juliette Reinders Folmer",
     625                    "role": "Current lead"
     626                },
     627                {
     628                    "name": "Contributors",
     629                    "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
    622630                }
    623631            ],
    624632            "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
    625             "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
     633            "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
    626634            "keywords": [
    627635                "phpcs",
     
    630638            ],
    631639            "support": {
    632                 "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
    633                 "source": "https://github.com/squizlabs/PHP_CodeSniffer",
    634                 "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
    635             },
    636             "time": "2023-02-22T23:07:41+00:00"
     640                "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
     641                "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy",
     642                "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
     643                "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki"
     644            },
     645            "funding": [
     646                {
     647                    "url": "https://github.com/PHPCSStandards",
     648                    "type": "github"
     649                },
     650                {
     651                    "url": "https://github.com/jrfnl",
     652                    "type": "github"
     653                },
     654                {
     655                    "url": "https://opencollective.com/php_codesniffer",
     656                    "type": "open_collective"
     657                }
     658            ],
     659            "time": "2024-01-11T20:47:48+00:00"
    637660        }
    638661    ],
  • acf-rrule-field/tags/1.5.0/include/render.php

    r3022067 r3035577  
    205205                                    <?php
    206206                                    $bysetpos = [
    207                                         '1' => 'First',
    208                                         '2' => 'Second',
    209                                         '3' => 'Third',
    210                                         '4' => 'Fourth',
    211                                         '-1' => 'Last',
     207                                        '1' => __('First', 'acf-rrule-field'),
     208                                        '2' => __('Second', 'acf-rrule-field'),
     209                                        '3' => __('Third', 'acf-rrule-field'),
     210                                        '4' => __('Fourth', 'acf-rrule-field'),
     211                                        '5' => __('Fifth', 'acf-rrule-field'),
     212                                        '-1' => __('Last', 'acf-rrule-field'),
    212213                                    ];
    213214                                    ?>
  • acf-rrule-field/tags/1.5.0/lang/acf-rrule-field-fr_FR.po

    r3023435 r3035577  
    22msgstr ""
    33"Project-Id-Version: ACF RRule Field\n"
    4 "POT-Creation-Date: 2024-01-18 11:51+0100\n"
    5 "PO-Revision-Date: 2024-01-18 11:55+0100\n"
     4"POT-Creation-Date: 2024-02-14 11:28+0100\n"
     5"PO-Revision-Date: 2024-02-14 11:28+0100\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    222222msgstr "Jours de la semaine"
    223223
    224 #: include/render.php:256
     224#: include/render.php:207
     225msgid "First"
     226msgstr "Premier"
     227
     228#: include/render.php:208
     229msgid "Second"
     230msgstr "Deuxième"
     231
     232#: include/render.php:209
     233msgid "Third"
     234msgstr "Troisième"
     235
     236#: include/render.php:210
     237msgid "Fourth"
     238msgstr "Quatrième"
     239
     240#: include/render.php:211
     241msgid "Fifth"
     242msgstr "Cinquième"
     243
     244#: include/render.php:212
     245msgid "Last"
     246msgstr "Dernier"
     247
     248#: include/render.php:257
    225249msgid "Month"
    226250msgstr "Mois"
    227251
    228 #: include/render.php:262
     252#: include/render.php:263
    229253msgid "January"
    230254msgstr "Janvier"
    231255
    232 #: include/render.php:263
     256#: include/render.php:264
    233257msgid "February"
    234258msgstr "Février"
    235259
    236 #: include/render.php:264
     260#: include/render.php:265
    237261msgid "March"
    238262msgstr "Mars"
    239263
    240 #: include/render.php:265
     264#: include/render.php:266
    241265msgid "April"
    242266msgstr "Avril"
    243267
    244 #: include/render.php:266
     268#: include/render.php:267
    245269msgid "May"
    246270msgstr "Mai"
    247271
    248 #: include/render.php:267
     272#: include/render.php:268
    249273msgid "June"
    250274msgstr "Juin"
    251275
    252 #: include/render.php:268
     276#: include/render.php:269
    253277msgid "July"
    254278msgstr "Juillet"
    255279
    256 #: include/render.php:269
     280#: include/render.php:270
    257281msgid "August"
    258282msgstr "Août"
    259283
    260 #: include/render.php:270
     284#: include/render.php:271
    261285msgid "September"
    262286msgstr "Septembre"
    263287
    264 #: include/render.php:271
     288#: include/render.php:272
    265289msgid "October"
    266290msgstr "Octobre"
    267291
    268 #: include/render.php:272
     292#: include/render.php:273
    269293msgid "November"
    270294msgstr "Novembre"
    271295
    272 #: include/render.php:273
     296#: include/render.php:274
    273297msgid "December"
    274298msgstr "Décembre"
    275299
    276 #: include/render.php:297
     300#: include/render.php:298
    277301msgid "End date"
    278302msgstr "Date de fin"
    279303
    280 #: include/render.php:307
     304#: include/render.php:308
    281305msgid "At a specific date"
    282306msgstr "À une date précise"
    283307
    284 #: include/render.php:308
     308#: include/render.php:309
    285309msgid "After a number of occurrences"
    286310msgstr "Après un certain nombre d’occurrences"
    287311
    288 #: include/render.php:309
     312#: include/render.php:310
    289313msgid "Never"
    290314msgstr "Jamais"
    291315
    292 #: include/render.php:330
     316#: include/render.php:331
    293317msgid "After"
    294318msgstr "Après"
    295319
    296 #: include/render.php:333
     320#: include/render.php:334
    297321msgid "occurrence(s)"
    298322msgstr "occurrence(s)"
    299323
    300 #: include/render.php:356
     324#: include/render.php:357
    301325msgid "Until"
    302326msgstr "Jusqu'à"
     
    324348#~ msgid "Days of the week"
    325349#~ msgstr "Jours de la semaine"
    326 
    327 #~ msgid "First"
    328 #~ msgstr "Premier"
    329 
    330 #~ msgid "Second"
    331 #~ msgstr "Deuxième"
    332 
    333 #~ msgid "Third"
    334 #~ msgstr "Troisième"
    335 
    336 #~ msgid "Fourth"
    337 #~ msgstr "Quatrième"
    338 
    339 #~ msgid "Last"
    340 #~ msgstr "Dernier"
  • acf-rrule-field/tags/1.5.0/lang/acf-rrule-field.pot

    r3023435 r3035577  
    33msgstr ""
    44"Project-Id-Version: Advanced Custom Fields: RRule\n"
    5 "POT-Creation-Date: 2024-01-18 12:01+0100\n"
     5"POT-Creation-Date: 2024-02-14 11:28+0100\n"
    66"PO-Revision-Date: 2020-06-15 10:20+0200\n"
    77"Last-Translator: \n"
     
    222222msgstr ""
    223223
    224 #: include/render.php:256
     224#: include/render.php:207
     225msgid "First"
     226msgstr ""
     227
     228#: include/render.php:208
     229msgid "Second"
     230msgstr ""
     231
     232#: include/render.php:209
     233msgid "Third"
     234msgstr ""
     235
     236#: include/render.php:210
     237msgid "Fourth"
     238msgstr ""
     239
     240#: include/render.php:211
     241msgid "Fifth"
     242msgstr ""
     243
     244#: include/render.php:212
     245msgid "Last"
     246msgstr ""
     247
     248#: include/render.php:257
    225249msgid "Month"
    226250msgstr ""
    227251
    228 #: include/render.php:262
     252#: include/render.php:263
    229253msgid "January"
    230254msgstr ""
    231255
    232 #: include/render.php:263
     256#: include/render.php:264
    233257msgid "February"
    234258msgstr ""
    235259
    236 #: include/render.php:264
     260#: include/render.php:265
    237261msgid "March"
    238262msgstr ""
    239263
    240 #: include/render.php:265
     264#: include/render.php:266
    241265msgid "April"
    242266msgstr ""
    243267
    244 #: include/render.php:266
     268#: include/render.php:267
    245269msgid "May"
    246270msgstr ""
    247271
    248 #: include/render.php:267
     272#: include/render.php:268
    249273msgid "June"
    250274msgstr ""
    251275
    252 #: include/render.php:268
     276#: include/render.php:269
    253277msgid "July"
    254278msgstr ""
    255279
    256 #: include/render.php:269
     280#: include/render.php:270
    257281msgid "August"
    258282msgstr ""
    259283
    260 #: include/render.php:270
     284#: include/render.php:271
    261285msgid "September"
    262286msgstr ""
    263287
    264 #: include/render.php:271
     288#: include/render.php:272
    265289msgid "October"
    266290msgstr ""
    267291
    268 #: include/render.php:272
     292#: include/render.php:273
    269293msgid "November"
    270294msgstr ""
    271295
    272 #: include/render.php:273
     296#: include/render.php:274
    273297msgid "December"
    274298msgstr ""
    275299
    276 #: include/render.php:297
     300#: include/render.php:298
    277301msgid "End date"
    278302msgstr ""
    279303
    280 #: include/render.php:307
     304#: include/render.php:308
    281305msgid "At a specific date"
    282306msgstr ""
    283307
    284 #: include/render.php:308
     308#: include/render.php:309
    285309msgid "After a number of occurrences"
    286310msgstr ""
    287311
    288 #: include/render.php:309
     312#: include/render.php:310
    289313msgid "Never"
    290314msgstr ""
    291315
    292 #: include/render.php:330
     316#: include/render.php:331
    293317msgid "After"
    294318msgstr ""
    295319
    296 #: include/render.php:333
     320#: include/render.php:334
    297321msgid "occurrence(s)"
    298322msgstr ""
    299323
    300 #: include/render.php:356
     324#: include/render.php:357
    301325msgid "Until"
    302326msgstr ""
  • acf-rrule-field/tags/1.5.0/readme.txt

    r3035121 r3035577  
    33Tags: acf, rrule, recurrence, date, calendar
    44Requires at least: 4.7
    5 Tested up to: 6.3
     5Tested up to: 6.4
    66Requires PHP: 7.2
    7 Stable tag: 1.4.2
     7Stable tag: 1.5.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3131
    3232== Changelog ==
     33
     34= 1.5.0 =
     35* Add "Fifth" option to weekdays
     36* Add missing translations
     37* Fix montlhy frequency preselection
    3338
    3439= 1.4.2 =
  • acf-rrule-field/tags/1.5.0/vendor/autoload.php

    r3021069 r3035577  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInitc35fcbe54628f3a3a961b0147fa06c59::getLoader();
     25return ComposerAutoloaderInitd9457430dc7c2728674532aead9f08e1::getLoader();
  • acf-rrule-field/tags/1.5.0/vendor/composer/ClassLoader.php

    r3021069 r3035577  
    4343class ClassLoader
    4444{
    45     /** @var ?string */
     45    /** @var \Closure(string):void */
     46    private static $includeFile;
     47
     48    /** @var string|null */
    4649    private $vendorDir;
    4750
    4851    // PSR-4
    4952    /**
    50      * @var array[]
    51      * @psalm-var array<string, array<string, int>>
     53     * @var array<string, array<string, int>>
    5254     */
    5355    private $prefixLengthsPsr4 = array();
    5456    /**
    55      * @var array[]
    56      * @psalm-var array<string, array<int, string>>
     57     * @var array<string, list<string>>
    5758     */
    5859    private $prefixDirsPsr4 = array();
    5960    /**
    60      * @var array[]
    61      * @psalm-var array<string, string>
     61     * @var list<string>
    6262     */
    6363    private $fallbackDirsPsr4 = array();
     
    6565    // PSR-0
    6666    /**
    67      * @var array[]
    68      * @psalm-var array<string, array<string, string[]>>
     67     * List of PSR-0 prefixes
     68     *
     69     * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2')))
     70     *
     71     * @var array<string, array<string, list<string>>>
    6972     */
    7073    private $prefixesPsr0 = array();
    7174    /**
    72      * @var array[]
    73      * @psalm-var array<string, string>
     75     * @var list<string>
    7476     */
    7577    private $fallbackDirsPsr0 = array();
     
    7981
    8082    /**
    81      * @var string[]
    82      * @psalm-var array<string, string>
     83     * @var array<string, string>
    8384     */
    8485    private $classMap = array();
     
    8889
    8990    /**
    90      * @var bool[]
    91      * @psalm-var array<string, bool>
     91     * @var array<string, bool>
    9292     */
    9393    private $missingClasses = array();
    9494
    95     /** @var ?string */
     95    /** @var string|null */
    9696    private $apcuPrefix;
    9797
    9898    /**
    99      * @var self[]
     99     * @var array<string, self>
    100100     */
    101101    private static $registeredLoaders = array();
    102102
    103103    /**
    104      * @param ?string $vendorDir
     104     * @param string|null $vendorDir
    105105     */
    106106    public function __construct($vendorDir = null)
    107107    {
    108108        $this->vendorDir = $vendorDir;
    109     }
    110 
    111     /**
    112      * @return string[]
     109        self::initializeIncludeClosure();
     110    }
     111
     112    /**
     113     * @return array<string, list<string>>
    113114     */
    114115    public function getPrefixes()
     
    122123
    123124    /**
    124      * @return array[]
    125      * @psalm-return array<string, array<int, string>>
     125     * @return array<string, list<string>>
    126126     */
    127127    public function getPrefixesPsr4()
     
    131131
    132132    /**
    133      * @return array[]
    134      * @psalm-return array<string, string>
     133     * @return list<string>
    135134     */
    136135    public function getFallbackDirs()
     
    140139
    141140    /**
    142      * @return array[]
    143      * @psalm-return array<string, string>
     141     * @return list<string>
    144142     */
    145143    public function getFallbackDirsPsr4()
     
    149147
    150148    /**
    151      * @return string[] Array of classname => path
    152      * @psalm-return array<string, string>
     149     * @return array<string, string> Array of classname => path
    153150     */
    154151    public function getClassMap()
     
    158155
    159156    /**
    160      * @param string[] $classMap Class to filename map
    161      * @psalm-param array<string, string> $classMap
     157     * @param array<string, string> $classMap Class to filename map
    162158     *
    163159     * @return void
     
    176172     * appending or prepending to the ones previously set for this prefix.
    177173     *
    178      * @param string          $prefix  The prefix
    179      * @param string[]|string $paths   The PSR-0 root directories
    180      * @param bool            $prepend Whether to prepend the directories
     174     * @param string              $prefix  The prefix
     175     * @param list<string>|string $paths   The PSR-0 root directories
     176     * @param bool                $prepend Whether to prepend the directories
    181177     *
    182178     * @return void
     
    184180    public function add($prefix, $paths, $prepend = false)
    185181    {
     182        $paths = (array) $paths;
    186183        if (!$prefix) {
    187184            if ($prepend) {
    188185                $this->fallbackDirsPsr0 = array_merge(
    189                     (array) $paths,
     186                    $paths,
    190187                    $this->fallbackDirsPsr0
    191188                );
     
    193190                $this->fallbackDirsPsr0 = array_merge(
    194191                    $this->fallbackDirsPsr0,
    195                     (array) $paths
     192                    $paths
    196193                );
    197194            }
     
    202199        $first = $prefix[0];
    203200        if (!isset($this->prefixesPsr0[$first][$prefix])) {
    204             $this->prefixesPsr0[$first][$prefix] = (array) $paths;
     201            $this->prefixesPsr0[$first][$prefix] = $paths;
    205202
    206203            return;
     
    208205        if ($prepend) {
    209206            $this->prefixesPsr0[$first][$prefix] = array_merge(
    210                 (array) $paths,
     207                $paths,
    211208                $this->prefixesPsr0[$first][$prefix]
    212209            );
     
    214211            $this->prefixesPsr0[$first][$prefix] = array_merge(
    215212                $this->prefixesPsr0[$first][$prefix],
    216                 (array) $paths
     213                $paths
    217214            );
    218215        }
     
    223220     * appending or prepending to the ones previously set for this namespace.
    224221     *
    225      * @param string          $prefix  The prefix/namespace, with trailing '\\'
    226      * @param string[]|string $paths   The PSR-4 base directories
    227      * @param bool            $prepend Whether to prepend the directories
     222     * @param string              $prefix  The prefix/namespace, with trailing '\\'
     223     * @param list<string>|string $paths   The PSR-4 base directories
     224     * @param bool                $prepend Whether to prepend the directories
    228225     *
    229226     * @throws \InvalidArgumentException
     
    233230    public function addPsr4($prefix, $paths, $prepend = false)
    234231    {
     232        $paths = (array) $paths;
    235233        if (!$prefix) {
    236234            // Register directories for the root namespace.
    237235            if ($prepend) {
    238236                $this->fallbackDirsPsr4 = array_merge(
    239                     (array) $paths,
     237                    $paths,
    240238                    $this->fallbackDirsPsr4
    241239                );
     
    243241                $this->fallbackDirsPsr4 = array_merge(
    244242                    $this->fallbackDirsPsr4,
    245                     (array) $paths
     243                    $paths
    246244                );
    247245            }
     
    253251            }
    254252            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
    255             $this->prefixDirsPsr4[$prefix] = (array) $paths;
     253            $this->prefixDirsPsr4[$prefix] = $paths;
    256254        } elseif ($prepend) {
    257255            // Prepend directories for an already registered namespace.
    258256            $this->prefixDirsPsr4[$prefix] = array_merge(
    259                 (array) $paths,
     257                $paths,
    260258                $this->prefixDirsPsr4[$prefix]
    261259            );
     
    264262            $this->prefixDirsPsr4[$prefix] = array_merge(
    265263                $this->prefixDirsPsr4[$prefix],
    266                 (array) $paths
     264                $paths
    267265            );
    268266        }
     
    273271     * replacing any others previously set for this prefix.
    274272     *
    275      * @param string          $prefix The prefix
    276      * @param string[]|string $paths  The PSR-0 base directories
     273     * @param string              $prefix The prefix
     274     * @param list<string>|string $paths  The PSR-0 base directories
    277275     *
    278276     * @return void
     
    291289     * replacing any others previously set for this namespace.
    292290     *
    293      * @param string          $prefix The prefix/namespace, with trailing '\\'
    294      * @param string[]|string $paths  The PSR-4 base directories
     291     * @param string              $prefix The prefix/namespace, with trailing '\\'
     292     * @param list<string>|string $paths  The PSR-4 base directories
    295293     *
    296294     * @throws \InvalidArgumentException
     
    426424    {
    427425        if ($file = $this->findFile($class)) {
    428             includeFile($file);
     426            $includeFile = self::$includeFile;
     427            $includeFile($file);
    429428
    430429            return true;
     
    477476
    478477    /**
    479      * Returns the currently registered loaders indexed by their corresponding vendor directories.
    480      *
    481      * @return self[]
     478     * Returns the currently registered loaders keyed by their corresponding vendor directories.
     479     *
     480     * @return array<string, self>
    482481     */
    483482    public static function getRegisteredLoaders()
     
    556555        return false;
    557556    }
     557
     558    /**
     559     * @return void
     560     */
     561    private static function initializeIncludeClosure()
     562    {
     563        if (self::$includeFile !== null) {
     564            return;
     565        }
     566
     567        /**
     568         * Scope isolated include.
     569         *
     570         * Prevents access to $this/self from included files.
     571         *
     572         * @param  string $file
     573         * @return void
     574         */
     575        self::$includeFile = \Closure::bind(static function($file) {
     576            include $file;
     577        }, null, null);
     578    }
    558579}
    559 
    560 /**
    561  * Scope isolated include.
    562  *
    563  * Prevents access to $this/self from included files.
    564  *
    565  * @param  string $file
    566  * @return void
    567  * @private
    568  */
    569 function includeFile($file)
    570 {
    571     include $file;
    572 }
  • acf-rrule-field/tags/1.5.0/vendor/composer/InstalledVersions.php

    r3021069 r3035577  
    9999        foreach (self::getInstalled() as $installed) {
    100100            if (isset($installed['versions'][$packageName])) {
    101                 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
     101                return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
    102102            }
    103103        }
     
    120120    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    121121    {
    122         $constraint = $parser->parseConstraints($constraint);
     122        $constraint = $parser->parseConstraints((string) $constraint);
    123123        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    124124
     
    329329                    $installed[] = self::$installedByVendor[$vendorDir];
    330330                } elseif (is_file($vendorDir.'/composer/installed.php')) {
    331                     $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
     331                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     332                    $required = require $vendorDir.'/composer/installed.php';
     333                    $installed[] = self::$installedByVendor[$vendorDir] = $required;
    332334                    if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    333335                        self::$installed = $installed[count($installed) - 1];
     
    341343            // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
    342344            if (substr(__DIR__, -8, 1) !== 'C') {
    343                 self::$installed = require __DIR__ . '/installed.php';
     345                /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     346                $required = require __DIR__ . '/installed.php';
     347                self::$installed = $required;
    344348            } else {
    345349                self::$installed = array();
    346350            }
    347351        }
    348         $installed[] = self::$installed;
     352
     353        if (self::$installed !== array()) {
     354            $installed[] = self::$installed;
     355        }
    349356
    350357        return $installed;
  • acf-rrule-field/tags/1.5.0/vendor/composer/autoload_real.php

    r3021069 r3035577  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitc35fcbe54628f3a3a961b0147fa06c59
     5class ComposerAutoloaderInitd9457430dc7c2728674532aead9f08e1
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInitc35fcbe54628f3a3a961b0147fa06c59', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInitd9457430dc7c2728674532aead9f08e1', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInitc35fcbe54628f3a3a961b0147fa06c59', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitd9457430dc7c2728674532aead9f08e1', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInitc35fcbe54628f3a3a961b0147fa06c59::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInitd9457430dc7c2728674532aead9f08e1::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • acf-rrule-field/tags/1.5.0/vendor/composer/autoload_static.php

    r3021069 r3035577  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitc35fcbe54628f3a3a961b0147fa06c59
     7class ComposerStaticInitd9457430dc7c2728674532aead9f08e1
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    4949    {
    5050        return \Closure::bind(function () use ($loader) {
    51             $loader->prefixLengthsPsr4 = ComposerStaticInitc35fcbe54628f3a3a961b0147fa06c59::$prefixLengthsPsr4;
    52             $loader->prefixDirsPsr4 = ComposerStaticInitc35fcbe54628f3a3a961b0147fa06c59::$prefixDirsPsr4;
    53             $loader->classMap = ComposerStaticInitc35fcbe54628f3a3a961b0147fa06c59::$classMap;
     51            $loader->prefixLengthsPsr4 = ComposerStaticInitd9457430dc7c2728674532aead9f08e1::$prefixLengthsPsr4;
     52            $loader->prefixDirsPsr4 = ComposerStaticInitd9457430dc7c2728674532aead9f08e1::$prefixDirsPsr4;
     53            $loader->classMap = ComposerStaticInitd9457430dc7c2728674532aead9f08e1::$classMap;
    5454
    5555        }, null, ClassLoader::class);
  • acf-rrule-field/tags/1.5.0/vendor/composer/installed.json

    r2990646 r3035577  
    224224        {
    225225            "name": "doctrine/deprecations",
    226             "version": "1.1.2",
    227             "version_normalized": "1.1.2.0",
     226            "version": "1.1.3",
     227            "version_normalized": "1.1.3.0",
    228228            "source": {
    229229                "type": "git",
    230230                "url": "https://github.com/doctrine/deprecations.git",
    231                 "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931"
     231                "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab"
    232232            },
    233233            "dist": {
    234234                "type": "zip",
    235                 "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931",
    236                 "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931",
     235                "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab",
     236                "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab",
    237237                "shasum": ""
    238238            },
     
    252252                "psr/log": "Allows logging deprecations via PSR-3 logger implementation"
    253253            },
    254             "time": "2023-09-27T20:04:15+00:00",
     254            "time": "2024-01-30T19:34:25+00:00",
    255255            "type": "library",
    256256            "installation-source": "dist",
     
    268268            "support": {
    269269                "issues": "https://github.com/doctrine/deprecations/issues",
    270                 "source": "https://github.com/doctrine/deprecations/tree/1.1.2"
     270                "source": "https://github.com/doctrine/deprecations/tree/1.1.3"
    271271            },
    272272            "install-path": "../doctrine/deprecations"
  • acf-rrule-field/tags/1.5.0/vendor/composer/installed.php

    r3021069 r3035577  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '8c965d85f5c60647dcba6b2bee165e6aec5e220e',
     6        'reference' => '1b8665cca165c76963a312d6e9e600dfa016eceb',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    3030        ),
    3131        'doctrine/deprecations' => array(
    32             'pretty_version' => '1.1.2',
    33             'version' => '1.1.2.0',
    34             'reference' => '4f2d4f2836e7ec4e7a8625e75c6aa916004db931',
     32            'pretty_version' => '1.1.3',
     33            'version' => '1.1.3.0',
     34            'reference' => 'dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab',
    3535            'type' => 'library',
    3636            'install_path' => __DIR__ . '/../doctrine/deprecations',
     
    4141            'pretty_version' => 'dev-master',
    4242            'version' => 'dev-master',
    43             'reference' => '8c965d85f5c60647dcba6b2bee165e6aec5e220e',
     43            'reference' => '1b8665cca165c76963a312d6e9e600dfa016eceb',
    4444            'type' => 'wordpress-plugin',
    4545            'install_path' => __DIR__ . '/../../',
  • acf-rrule-field/trunk/README.md

    r3022067 r3035577  
    3434| **last_date**         | *DateTime*          | The last occurrence of the recurrence (since v1.4.0)                                |
    3535
     36### Advanced usage
     37
     38A common use case for this plugin is creating an agenda-style display for your events. Here is how I usually do it.
     39
     40In the following example we will assume you have an `event` custom post type with an ACF RRule field named `rrule`.
     41
     42The first step is to use the `acf/save_post` hook to save the first and last dates in database. This is necessary for querying our events later.
     43
     44```php
     45/**
     46 * Save first & last occurrences of an event in database.
     47 *
     48 * @param  int|string  $post_id
     49 * @return void
     50 */
     51add_action('acf/save_post', function (int|string $post_id) {
     52    if (! $post_id || get_post_type($post_id) !== 'event') {
     53        return;
     54    }
     55
     56    $rrule = get_field('rrule');
     57
     58    update_post_meta($post_id, 'start_date', $rrule['first_date']->format('Y-m-d'));
     59    update_post_meta($post_id, 'end_date', $rrule['last_date']->format('Y-m-d'));
     60});
     61```
     62
     63You will then be able to use the `start_date` and `end_date` meta values in a custom `WP_Query` to filter events that may have occurrences between the specified dates.
     64
     65```php
     66$startDate = date('Y-m-d'); // Today
     67$endDate = date('Y-m-d', strtotime('+1 month', strtotime($startDate))); // Today + 1 month
     68
     69// Retrieve events starting before the end date
     70// and ending after the start date
     71$eventsQuery = new WP_Query([
     72    'post_type' => 'event',
     73    'posts_per_page' => -1,
     74    'post_status' => 'publish',
     75    'meta_query' => [
     76        'relation' => 'AND',
     77        [
     78            'key' => 'start_date',
     79            'compare' => '<=',
     80            'value' => $endDate,
     81            'type' => 'DATE',
     82        ],
     83        [
     84            'key' => 'end_date',
     85            'compare' => '>=',
     86            'value' => $startDate,
     87            'type' => 'DATE',
     88        ],
     89    ],
     90]);
     91```
     92
     93The next and last step is to create an associative array of dates. Each date will be an array of events that occurs at the given date.
     94
     95```php
     96// Instanciate an array for our list of dates
     97$dates = [];
     98
     99while ($eventsQuery->have_posts()) {
     100    $eventsQuery->the_post();
     101
     102    $recurrence = get_field('rrule');
     103
     104    // Loop through the individual dates for the recurrence
     105    foreach ($recurrence['dates_collection'] as $datetime) {
     106        $date = $datetime->format('Y-m-d');
     107
     108        if ($date < $startDate) {
     109            // If the date is before the start date, jump directly to the next one
     110            continue;
     111        } elseif ($date > $endDate) {
     112            // If the date is after the end date, break the loop
     113            break;
     114        }
     115
     116        // Create the date if it doesn't exist yet
     117        if (! isset($dates[$date])) {
     118            // Each date will contain an array of events
     119            $dates[$date] = [];
     120        }
     121
     122        // Use the event ID as key to avoid duplicates
     123        $dates[$date][$post->ID] = $post;
     124    }
     125
     126    // Sort array by key
     127    ksort($dates);
     128}
     129```
     130
     131Of course this is a very basic example that you will have to adapt to your use case.
     132
    36133## Testing
    37134
  • acf-rrule-field/trunk/acf-rrule.php

    r3035121 r3035577  
    55Plugin URI: https://github.com/marcbelletre/acf-rrule
    66Description: Create recurring rules with a single ACF field
    7 Version: 1.4.2
     7Version: 1.5.0
    88Author: Marc Bellêtre
    99Author URI: https://pixelparfait.fr
     
    4545            // - these will be passed into the field class.
    4646            $this->settings = [
    47                 'version' => '1.4.2',
     47                'version' => '1.5.0',
    4848                'url' => plugin_dir_url(__FILE__),
    4949                'path' => plugin_dir_path(__FILE__),
  • acf-rrule-field/trunk/composer.lock

    r2990646 r3035577  
    224224        {
    225225            "name": "doctrine/deprecations",
    226             "version": "1.1.2",
     226            "version": "1.1.3",
    227227            "source": {
    228228                "type": "git",
    229229                "url": "https://github.com/doctrine/deprecations.git",
    230                 "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931"
    231             },
    232             "dist": {
    233                 "type": "zip",
    234                 "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931",
    235                 "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931",
     230                "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab"
     231            },
     232            "dist": {
     233                "type": "zip",
     234                "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab",
     235                "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab",
    236236                "shasum": ""
    237237            },
     
    265265            "support": {
    266266                "issues": "https://github.com/doctrine/deprecations/issues",
    267                 "source": "https://github.com/doctrine/deprecations/tree/1.1.2"
    268             },
    269             "time": "2023-09-27T20:04:15+00:00"
     267                "source": "https://github.com/doctrine/deprecations/tree/1.1.3"
     268            },
     269            "time": "2024-01-30T19:34:25+00:00"
    270270        },
    271271        {
     
    581581        {
    582582            "name": "squizlabs/php_codesniffer",
    583             "version": "3.7.2",
    584             "source": {
    585                 "type": "git",
    586                 "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
    587                 "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879"
    588             },
    589             "dist": {
    590                 "type": "zip",
    591                 "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879",
    592                 "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879",
     583            "version": "3.8.1",
     584            "source": {
     585                "type": "git",
     586                "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
     587                "reference": "14f5fff1e64118595db5408e946f3a22c75807f7"
     588            },
     589            "dist": {
     590                "type": "zip",
     591                "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/14f5fff1e64118595db5408e946f3a22c75807f7",
     592                "reference": "14f5fff1e64118595db5408e946f3a22c75807f7",
    593593                "shasum": ""
    594594            },
     
    600600            },
    601601            "require-dev": {
    602                 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
     602                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
    603603            },
    604604            "bin": [
    605                 "bin/phpcs",
    606                 "bin/phpcbf"
     605                "bin/phpcbf",
     606                "bin/phpcs"
    607607            ],
    608608            "type": "library",
     
    619619                {
    620620                    "name": "Greg Sherwood",
    621                     "role": "lead"
     621                    "role": "Former lead"
     622                },
     623                {
     624                    "name": "Juliette Reinders Folmer",
     625                    "role": "Current lead"
     626                },
     627                {
     628                    "name": "Contributors",
     629                    "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
    622630                }
    623631            ],
    624632            "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
    625             "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
     633            "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
    626634            "keywords": [
    627635                "phpcs",
     
    630638            ],
    631639            "support": {
    632                 "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
    633                 "source": "https://github.com/squizlabs/PHP_CodeSniffer",
    634                 "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
    635             },
    636             "time": "2023-02-22T23:07:41+00:00"
     640                "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
     641                "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy",
     642                "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
     643                "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki"
     644            },
     645            "funding": [
     646                {
     647                    "url": "https://github.com/PHPCSStandards",
     648                    "type": "github"
     649                },
     650                {
     651                    "url": "https://github.com/jrfnl",
     652                    "type": "github"
     653                },
     654                {
     655                    "url": "https://opencollective.com/php_codesniffer",
     656                    "type": "open_collective"
     657                }
     658            ],
     659            "time": "2024-01-11T20:47:48+00:00"
    637660        }
    638661    ],
  • acf-rrule-field/trunk/include/render.php

    r3022067 r3035577  
    205205                                    <?php
    206206                                    $bysetpos = [
    207                                         '1' => 'First',
    208                                         '2' => 'Second',
    209                                         '3' => 'Third',
    210                                         '4' => 'Fourth',
    211                                         '-1' => 'Last',
     207                                        '1' => __('First', 'acf-rrule-field'),
     208                                        '2' => __('Second', 'acf-rrule-field'),
     209                                        '3' => __('Third', 'acf-rrule-field'),
     210                                        '4' => __('Fourth', 'acf-rrule-field'),
     211                                        '5' => __('Fifth', 'acf-rrule-field'),
     212                                        '-1' => __('Last', 'acf-rrule-field'),
    212213                                    ];
    213214                                    ?>
  • acf-rrule-field/trunk/lang/acf-rrule-field-fr_FR.po

    r3023435 r3035577  
    22msgstr ""
    33"Project-Id-Version: ACF RRule Field\n"
    4 "POT-Creation-Date: 2024-01-18 11:51+0100\n"
    5 "PO-Revision-Date: 2024-01-18 11:55+0100\n"
     4"POT-Creation-Date: 2024-02-14 11:28+0100\n"
     5"PO-Revision-Date: 2024-02-14 11:28+0100\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    222222msgstr "Jours de la semaine"
    223223
    224 #: include/render.php:256
     224#: include/render.php:207
     225msgid "First"
     226msgstr "Premier"
     227
     228#: include/render.php:208
     229msgid "Second"
     230msgstr "Deuxième"
     231
     232#: include/render.php:209
     233msgid "Third"
     234msgstr "Troisième"
     235
     236#: include/render.php:210
     237msgid "Fourth"
     238msgstr "Quatrième"
     239
     240#: include/render.php:211
     241msgid "Fifth"
     242msgstr "Cinquième"
     243
     244#: include/render.php:212
     245msgid "Last"
     246msgstr "Dernier"
     247
     248#: include/render.php:257
    225249msgid "Month"
    226250msgstr "Mois"
    227251
    228 #: include/render.php:262
     252#: include/render.php:263
    229253msgid "January"
    230254msgstr "Janvier"
    231255
    232 #: include/render.php:263
     256#: include/render.php:264
    233257msgid "February"
    234258msgstr "Février"
    235259
    236 #: include/render.php:264
     260#: include/render.php:265
    237261msgid "March"
    238262msgstr "Mars"
    239263
    240 #: include/render.php:265
     264#: include/render.php:266
    241265msgid "April"
    242266msgstr "Avril"
    243267
    244 #: include/render.php:266
     268#: include/render.php:267
    245269msgid "May"
    246270msgstr "Mai"
    247271
    248 #: include/render.php:267
     272#: include/render.php:268
    249273msgid "June"
    250274msgstr "Juin"
    251275
    252 #: include/render.php:268
     276#: include/render.php:269
    253277msgid "July"
    254278msgstr "Juillet"
    255279
    256 #: include/render.php:269
     280#: include/render.php:270
    257281msgid "August"
    258282msgstr "Août"
    259283
    260 #: include/render.php:270
     284#: include/render.php:271
    261285msgid "September"
    262286msgstr "Septembre"
    263287
    264 #: include/render.php:271
     288#: include/render.php:272
    265289msgid "October"
    266290msgstr "Octobre"
    267291
    268 #: include/render.php:272
     292#: include/render.php:273
    269293msgid "November"
    270294msgstr "Novembre"
    271295
    272 #: include/render.php:273
     296#: include/render.php:274
    273297msgid "December"
    274298msgstr "Décembre"
    275299
    276 #: include/render.php:297
     300#: include/render.php:298
    277301msgid "End date"
    278302msgstr "Date de fin"
    279303
    280 #: include/render.php:307
     304#: include/render.php:308
    281305msgid "At a specific date"
    282306msgstr "À une date précise"
    283307
    284 #: include/render.php:308
     308#: include/render.php:309
    285309msgid "After a number of occurrences"
    286310msgstr "Après un certain nombre d’occurrences"
    287311
    288 #: include/render.php:309
     312#: include/render.php:310
    289313msgid "Never"
    290314msgstr "Jamais"
    291315
    292 #: include/render.php:330
     316#: include/render.php:331
    293317msgid "After"
    294318msgstr "Après"
    295319
    296 #: include/render.php:333
     320#: include/render.php:334
    297321msgid "occurrence(s)"
    298322msgstr "occurrence(s)"
    299323
    300 #: include/render.php:356
     324#: include/render.php:357
    301325msgid "Until"
    302326msgstr "Jusqu'à"
     
    324348#~ msgid "Days of the week"
    325349#~ msgstr "Jours de la semaine"
    326 
    327 #~ msgid "First"
    328 #~ msgstr "Premier"
    329 
    330 #~ msgid "Second"
    331 #~ msgstr "Deuxième"
    332 
    333 #~ msgid "Third"
    334 #~ msgstr "Troisième"
    335 
    336 #~ msgid "Fourth"
    337 #~ msgstr "Quatrième"
    338 
    339 #~ msgid "Last"
    340 #~ msgstr "Dernier"
  • acf-rrule-field/trunk/lang/acf-rrule-field.pot

    r3023435 r3035577  
    33msgstr ""
    44"Project-Id-Version: Advanced Custom Fields: RRule\n"
    5 "POT-Creation-Date: 2024-01-18 12:01+0100\n"
     5"POT-Creation-Date: 2024-02-14 11:28+0100\n"
    66"PO-Revision-Date: 2020-06-15 10:20+0200\n"
    77"Last-Translator: \n"
     
    222222msgstr ""
    223223
    224 #: include/render.php:256
     224#: include/render.php:207
     225msgid "First"
     226msgstr ""
     227
     228#: include/render.php:208
     229msgid "Second"
     230msgstr ""
     231
     232#: include/render.php:209
     233msgid "Third"
     234msgstr ""
     235
     236#: include/render.php:210
     237msgid "Fourth"
     238msgstr ""
     239
     240#: include/render.php:211
     241msgid "Fifth"
     242msgstr ""
     243
     244#: include/render.php:212
     245msgid "Last"
     246msgstr ""
     247
     248#: include/render.php:257
    225249msgid "Month"
    226250msgstr ""
    227251
    228 #: include/render.php:262
     252#: include/render.php:263
    229253msgid "January"
    230254msgstr ""
    231255
    232 #: include/render.php:263
     256#: include/render.php:264
    233257msgid "February"
    234258msgstr ""
    235259
    236 #: include/render.php:264
     260#: include/render.php:265
    237261msgid "March"
    238262msgstr ""
    239263
    240 #: include/render.php:265
     264#: include/render.php:266
    241265msgid "April"
    242266msgstr ""
    243267
    244 #: include/render.php:266
     268#: include/render.php:267
    245269msgid "May"
    246270msgstr ""
    247271
    248 #: include/render.php:267
     272#: include/render.php:268
    249273msgid "June"
    250274msgstr ""
    251275
    252 #: include/render.php:268
     276#: include/render.php:269
    253277msgid "July"
    254278msgstr ""
    255279
    256 #: include/render.php:269
     280#: include/render.php:270
    257281msgid "August"
    258282msgstr ""
    259283
    260 #: include/render.php:270
     284#: include/render.php:271
    261285msgid "September"
    262286msgstr ""
    263287
    264 #: include/render.php:271
     288#: include/render.php:272
    265289msgid "October"
    266290msgstr ""
    267291
    268 #: include/render.php:272
     292#: include/render.php:273
    269293msgid "November"
    270294msgstr ""
    271295
    272 #: include/render.php:273
     296#: include/render.php:274
    273297msgid "December"
    274298msgstr ""
    275299
    276 #: include/render.php:297
     300#: include/render.php:298
    277301msgid "End date"
    278302msgstr ""
    279303
    280 #: include/render.php:307
     304#: include/render.php:308
    281305msgid "At a specific date"
    282306msgstr ""
    283307
    284 #: include/render.php:308
     308#: include/render.php:309
    285309msgid "After a number of occurrences"
    286310msgstr ""
    287311
    288 #: include/render.php:309
     312#: include/render.php:310
    289313msgid "Never"
    290314msgstr ""
    291315
    292 #: include/render.php:330
     316#: include/render.php:331
    293317msgid "After"
    294318msgstr ""
    295319
    296 #: include/render.php:333
     320#: include/render.php:334
    297321msgid "occurrence(s)"
    298322msgstr ""
    299323
    300 #: include/render.php:356
     324#: include/render.php:357
    301325msgid "Until"
    302326msgstr ""
  • acf-rrule-field/trunk/readme.txt

    r3035121 r3035577  
    33Tags: acf, rrule, recurrence, date, calendar
    44Requires at least: 4.7
    5 Tested up to: 6.3
     5Tested up to: 6.4
    66Requires PHP: 7.2
    7 Stable tag: 1.4.2
     7Stable tag: 1.5.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3131
    3232== Changelog ==
     33
     34= 1.5.0 =
     35* Add "Fifth" option to weekdays
     36* Add missing translations
     37* Fix montlhy frequency preselection
    3338
    3439= 1.4.2 =
  • acf-rrule-field/trunk/vendor/autoload.php

    r3021069 r3035577  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInitc35fcbe54628f3a3a961b0147fa06c59::getLoader();
     25return ComposerAutoloaderInitd9457430dc7c2728674532aead9f08e1::getLoader();
  • acf-rrule-field/trunk/vendor/composer/ClassLoader.php

    r3021069 r3035577  
    4343class ClassLoader
    4444{
    45     /** @var ?string */
     45    /** @var \Closure(string):void */
     46    private static $includeFile;
     47
     48    /** @var string|null */
    4649    private $vendorDir;
    4750
    4851    // PSR-4
    4952    /**
    50      * @var array[]
    51      * @psalm-var array<string, array<string, int>>
     53     * @var array<string, array<string, int>>
    5254     */
    5355    private $prefixLengthsPsr4 = array();
    5456    /**
    55      * @var array[]
    56      * @psalm-var array<string, array<int, string>>
     57     * @var array<string, list<string>>
    5758     */
    5859    private $prefixDirsPsr4 = array();
    5960    /**
    60      * @var array[]
    61      * @psalm-var array<string, string>
     61     * @var list<string>
    6262     */
    6363    private $fallbackDirsPsr4 = array();
     
    6565    // PSR-0
    6666    /**
    67      * @var array[]
    68      * @psalm-var array<string, array<string, string[]>>
     67     * List of PSR-0 prefixes
     68     *
     69     * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2')))
     70     *
     71     * @var array<string, array<string, list<string>>>
    6972     */
    7073    private $prefixesPsr0 = array();
    7174    /**
    72      * @var array[]
    73      * @psalm-var array<string, string>
     75     * @var list<string>
    7476     */
    7577    private $fallbackDirsPsr0 = array();
     
    7981
    8082    /**
    81      * @var string[]
    82      * @psalm-var array<string, string>
     83     * @var array<string, string>
    8384     */
    8485    private $classMap = array();
     
    8889
    8990    /**
    90      * @var bool[]
    91      * @psalm-var array<string, bool>
     91     * @var array<string, bool>
    9292     */
    9393    private $missingClasses = array();
    9494
    95     /** @var ?string */
     95    /** @var string|null */
    9696    private $apcuPrefix;
    9797
    9898    /**
    99      * @var self[]
     99     * @var array<string, self>
    100100     */
    101101    private static $registeredLoaders = array();
    102102
    103103    /**
    104      * @param ?string $vendorDir
     104     * @param string|null $vendorDir
    105105     */
    106106    public function __construct($vendorDir = null)
    107107    {
    108108        $this->vendorDir = $vendorDir;
    109     }
    110 
    111     /**
    112      * @return string[]
     109        self::initializeIncludeClosure();
     110    }
     111
     112    /**
     113     * @return array<string, list<string>>
    113114     */
    114115    public function getPrefixes()
     
    122123
    123124    /**
    124      * @return array[]
    125      * @psalm-return array<string, array<int, string>>
     125     * @return array<string, list<string>>
    126126     */
    127127    public function getPrefixesPsr4()
     
    131131
    132132    /**
    133      * @return array[]
    134      * @psalm-return array<string, string>
     133     * @return list<string>
    135134     */
    136135    public function getFallbackDirs()
     
    140139
    141140    /**
    142      * @return array[]
    143      * @psalm-return array<string, string>
     141     * @return list<string>
    144142     */
    145143    public function getFallbackDirsPsr4()
     
    149147
    150148    /**
    151      * @return string[] Array of classname => path
    152      * @psalm-return array<string, string>
     149     * @return array<string, string> Array of classname => path
    153150     */
    154151    public function getClassMap()
     
    158155
    159156    /**
    160      * @param string[] $classMap Class to filename map
    161      * @psalm-param array<string, string> $classMap
     157     * @param array<string, string> $classMap Class to filename map
    162158     *
    163159     * @return void
     
    176172     * appending or prepending to the ones previously set for this prefix.
    177173     *
    178      * @param string          $prefix  The prefix
    179      * @param string[]|string $paths   The PSR-0 root directories
    180      * @param bool            $prepend Whether to prepend the directories
     174     * @param string              $prefix  The prefix
     175     * @param list<string>|string $paths   The PSR-0 root directories
     176     * @param bool                $prepend Whether to prepend the directories
    181177     *
    182178     * @return void
     
    184180    public function add($prefix, $paths, $prepend = false)
    185181    {
     182        $paths = (array) $paths;
    186183        if (!$prefix) {
    187184            if ($prepend) {
    188185                $this->fallbackDirsPsr0 = array_merge(
    189                     (array) $paths,
     186                    $paths,
    190187                    $this->fallbackDirsPsr0
    191188                );
     
    193190                $this->fallbackDirsPsr0 = array_merge(
    194191                    $this->fallbackDirsPsr0,
    195                     (array) $paths
     192                    $paths
    196193                );
    197194            }
     
    202199        $first = $prefix[0];
    203200        if (!isset($this->prefixesPsr0[$first][$prefix])) {
    204             $this->prefixesPsr0[$first][$prefix] = (array) $paths;
     201            $this->prefixesPsr0[$first][$prefix] = $paths;
    205202
    206203            return;
     
    208205        if ($prepend) {
    209206            $this->prefixesPsr0[$first][$prefix] = array_merge(
    210                 (array) $paths,
     207                $paths,
    211208                $this->prefixesPsr0[$first][$prefix]
    212209            );
     
    214211            $this->prefixesPsr0[$first][$prefix] = array_merge(
    215212                $this->prefixesPsr0[$first][$prefix],
    216                 (array) $paths
     213                $paths
    217214            );
    218215        }
     
    223220     * appending or prepending to the ones previously set for this namespace.
    224221     *
    225      * @param string          $prefix  The prefix/namespace, with trailing '\\'
    226      * @param string[]|string $paths   The PSR-4 base directories
    227      * @param bool            $prepend Whether to prepend the directories
     222     * @param string              $prefix  The prefix/namespace, with trailing '\\'
     223     * @param list<string>|string $paths   The PSR-4 base directories
     224     * @param bool                $prepend Whether to prepend the directories
    228225     *
    229226     * @throws \InvalidArgumentException
     
    233230    public function addPsr4($prefix, $paths, $prepend = false)
    234231    {
     232        $paths = (array) $paths;
    235233        if (!$prefix) {
    236234            // Register directories for the root namespace.
    237235            if ($prepend) {
    238236                $this->fallbackDirsPsr4 = array_merge(
    239                     (array) $paths,
     237                    $paths,
    240238                    $this->fallbackDirsPsr4
    241239                );
     
    243241                $this->fallbackDirsPsr4 = array_merge(
    244242                    $this->fallbackDirsPsr4,
    245                     (array) $paths
     243                    $paths
    246244                );
    247245            }
     
    253251            }
    254252            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
    255             $this->prefixDirsPsr4[$prefix] = (array) $paths;
     253            $this->prefixDirsPsr4[$prefix] = $paths;
    256254        } elseif ($prepend) {
    257255            // Prepend directories for an already registered namespace.
    258256            $this->prefixDirsPsr4[$prefix] = array_merge(
    259                 (array) $paths,
     257                $paths,
    260258                $this->prefixDirsPsr4[$prefix]
    261259            );
     
    264262            $this->prefixDirsPsr4[$prefix] = array_merge(
    265263                $this->prefixDirsPsr4[$prefix],
    266                 (array) $paths
     264                $paths
    267265            );
    268266        }
     
    273271     * replacing any others previously set for this prefix.
    274272     *
    275      * @param string          $prefix The prefix
    276      * @param string[]|string $paths  The PSR-0 base directories
     273     * @param string              $prefix The prefix
     274     * @param list<string>|string $paths  The PSR-0 base directories
    277275     *
    278276     * @return void
     
    291289     * replacing any others previously set for this namespace.
    292290     *
    293      * @param string          $prefix The prefix/namespace, with trailing '\\'
    294      * @param string[]|string $paths  The PSR-4 base directories
     291     * @param string              $prefix The prefix/namespace, with trailing '\\'
     292     * @param list<string>|string $paths  The PSR-4 base directories
    295293     *
    296294     * @throws \InvalidArgumentException
     
    426424    {
    427425        if ($file = $this->findFile($class)) {
    428             includeFile($file);
     426            $includeFile = self::$includeFile;
     427            $includeFile($file);
    429428
    430429            return true;
     
    477476
    478477    /**
    479      * Returns the currently registered loaders indexed by their corresponding vendor directories.
    480      *
    481      * @return self[]
     478     * Returns the currently registered loaders keyed by their corresponding vendor directories.
     479     *
     480     * @return array<string, self>
    482481     */
    483482    public static function getRegisteredLoaders()
     
    556555        return false;
    557556    }
     557
     558    /**
     559     * @return void
     560     */
     561    private static function initializeIncludeClosure()
     562    {
     563        if (self::$includeFile !== null) {
     564            return;
     565        }
     566
     567        /**
     568         * Scope isolated include.
     569         *
     570         * Prevents access to $this/self from included files.
     571         *
     572         * @param  string $file
     573         * @return void
     574         */
     575        self::$includeFile = \Closure::bind(static function($file) {
     576            include $file;
     577        }, null, null);
     578    }
    558579}
    559 
    560 /**
    561  * Scope isolated include.
    562  *
    563  * Prevents access to $this/self from included files.
    564  *
    565  * @param  string $file
    566  * @return void
    567  * @private
    568  */
    569 function includeFile($file)
    570 {
    571     include $file;
    572 }
  • acf-rrule-field/trunk/vendor/composer/InstalledVersions.php

    r3021069 r3035577  
    9999        foreach (self::getInstalled() as $installed) {
    100100            if (isset($installed['versions'][$packageName])) {
    101                 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
     101                return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
    102102            }
    103103        }
     
    120120    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    121121    {
    122         $constraint = $parser->parseConstraints($constraint);
     122        $constraint = $parser->parseConstraints((string) $constraint);
    123123        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    124124
     
    329329                    $installed[] = self::$installedByVendor[$vendorDir];
    330330                } elseif (is_file($vendorDir.'/composer/installed.php')) {
    331                     $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
     331                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     332                    $required = require $vendorDir.'/composer/installed.php';
     333                    $installed[] = self::$installedByVendor[$vendorDir] = $required;
    332334                    if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    333335                        self::$installed = $installed[count($installed) - 1];
     
    341343            // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
    342344            if (substr(__DIR__, -8, 1) !== 'C') {
    343                 self::$installed = require __DIR__ . '/installed.php';
     345                /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     346                $required = require __DIR__ . '/installed.php';
     347                self::$installed = $required;
    344348            } else {
    345349                self::$installed = array();
    346350            }
    347351        }
    348         $installed[] = self::$installed;
     352
     353        if (self::$installed !== array()) {
     354            $installed[] = self::$installed;
     355        }
    349356
    350357        return $installed;
  • acf-rrule-field/trunk/vendor/composer/autoload_real.php

    r3021069 r3035577  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitc35fcbe54628f3a3a961b0147fa06c59
     5class ComposerAutoloaderInitd9457430dc7c2728674532aead9f08e1
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInitc35fcbe54628f3a3a961b0147fa06c59', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInitd9457430dc7c2728674532aead9f08e1', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInitc35fcbe54628f3a3a961b0147fa06c59', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitd9457430dc7c2728674532aead9f08e1', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInitc35fcbe54628f3a3a961b0147fa06c59::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInitd9457430dc7c2728674532aead9f08e1::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • acf-rrule-field/trunk/vendor/composer/autoload_static.php

    r3021069 r3035577  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitc35fcbe54628f3a3a961b0147fa06c59
     7class ComposerStaticInitd9457430dc7c2728674532aead9f08e1
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    4949    {
    5050        return \Closure::bind(function () use ($loader) {
    51             $loader->prefixLengthsPsr4 = ComposerStaticInitc35fcbe54628f3a3a961b0147fa06c59::$prefixLengthsPsr4;
    52             $loader->prefixDirsPsr4 = ComposerStaticInitc35fcbe54628f3a3a961b0147fa06c59::$prefixDirsPsr4;
    53             $loader->classMap = ComposerStaticInitc35fcbe54628f3a3a961b0147fa06c59::$classMap;
     51            $loader->prefixLengthsPsr4 = ComposerStaticInitd9457430dc7c2728674532aead9f08e1::$prefixLengthsPsr4;
     52            $loader->prefixDirsPsr4 = ComposerStaticInitd9457430dc7c2728674532aead9f08e1::$prefixDirsPsr4;
     53            $loader->classMap = ComposerStaticInitd9457430dc7c2728674532aead9f08e1::$classMap;
    5454
    5555        }, null, ClassLoader::class);
  • acf-rrule-field/trunk/vendor/composer/installed.json

    r2990646 r3035577  
    224224        {
    225225            "name": "doctrine/deprecations",
    226             "version": "1.1.2",
    227             "version_normalized": "1.1.2.0",
     226            "version": "1.1.3",
     227            "version_normalized": "1.1.3.0",
    228228            "source": {
    229229                "type": "git",
    230230                "url": "https://github.com/doctrine/deprecations.git",
    231                 "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931"
     231                "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab"
    232232            },
    233233            "dist": {
    234234                "type": "zip",
    235                 "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931",
    236                 "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931",
     235                "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab",
     236                "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab",
    237237                "shasum": ""
    238238            },
     
    252252                "psr/log": "Allows logging deprecations via PSR-3 logger implementation"
    253253            },
    254             "time": "2023-09-27T20:04:15+00:00",
     254            "time": "2024-01-30T19:34:25+00:00",
    255255            "type": "library",
    256256            "installation-source": "dist",
     
    268268            "support": {
    269269                "issues": "https://github.com/doctrine/deprecations/issues",
    270                 "source": "https://github.com/doctrine/deprecations/tree/1.1.2"
     270                "source": "https://github.com/doctrine/deprecations/tree/1.1.3"
    271271            },
    272272            "install-path": "../doctrine/deprecations"
  • acf-rrule-field/trunk/vendor/composer/installed.php

    r3021069 r3035577  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '8c965d85f5c60647dcba6b2bee165e6aec5e220e',
     6        'reference' => '1b8665cca165c76963a312d6e9e600dfa016eceb',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    3030        ),
    3131        'doctrine/deprecations' => array(
    32             'pretty_version' => '1.1.2',
    33             'version' => '1.1.2.0',
    34             'reference' => '4f2d4f2836e7ec4e7a8625e75c6aa916004db931',
     32            'pretty_version' => '1.1.3',
     33            'version' => '1.1.3.0',
     34            'reference' => 'dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab',
    3535            'type' => 'library',
    3636            'install_path' => __DIR__ . '/../doctrine/deprecations',
     
    4141            'pretty_version' => 'dev-master',
    4242            'version' => 'dev-master',
    43             'reference' => '8c965d85f5c60647dcba6b2bee165e6aec5e220e',
     43            'reference' => '1b8665cca165c76963a312d6e9e600dfa016eceb',
    4444            'type' => 'wordpress-plugin',
    4545            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.