Plugin Directory

Changeset 2475049


Ignore:
Timestamp:
02/15/2021 05:40:31 PM (5 years ago)
Author:
wpformation
Message:
  • Fix fatal error with vendor wp-dismissible-notices-handler and wp-review-me
Location:
wpdash-notes
Files:
73 added
20 edited

Legend:

Unmodified
Added
Removed
  • wpdash-notes/trunk/classes/plugin.php

    r2423458 r2475049  
    108108        <div id="wpf-post-it-<?php echo $post_id; ?>" class="postbox">
    109109            <div class="postbox-header"><<?php echo $title_tag; ?> class="hndle
    110                 ui-sortable-handle"><?php _e( 'New note', 'wpdash-notes' ); ?> <?php _e( '( Addressed to myself )', 'wpdash-notes' ); ?>
     110                ui-sortable-handle"><?php _e( 'New note', 'wpdash-notes' ); ?> <?php _e( '(Addressed to myself)', 'wpdash-notes' ); ?>
    111111            </<?php echo $title_tag; ?>>
    112112        </div>
     
    250250                    if ( get_current_user_id() == $post->post_author || current_user_can( 'manage_options' ) ) {
    251251                        if ( ! empty( $myuser ) ) {
    252                             $title .= ' ' . __( '( Addressed to myself )', 'wpdash-notes' );
     252                            $title .= ' ' . __( '(Addressed to myself)', 'wpdash-notes' );
    253253                        } elseif ( $all_users === 'on' ) {
    254                             $title .= ' ' . __( '( Addressed to all )', 'wpdash-notes' );
     254                            $title .= ' ' . __( '(Addressed to all)', 'wpdash-notes' );
    255255                        } elseif ( ! empty( $dsn_target ) && is_array( $dsn_target ) ) {
    256                             $title .= ' ' . '(' . __( 'Addressed to roles', 'wpdash-notes' ) . ' ' . implode( ', ', $dsn_target ) . ' )';
     256                            $title .= ' ' . '(' . __( 'Addressed to roles', 'wpdash-notes' ) . ' ' . implode( ', ', $dsn_target ) . ')';
    257257                        } elseif ( ! empty( $dsn_target_user ) && is_array( $dsn_target_user ) ) {
    258258                            $info = array();
     
    267267                            }
    268268                            if ( count( $info ) > 1 ) {
    269                                 $title .= ' ( ' . __( 'Addressed to users', 'wpdash-notes' ) . ' ' . implode( ', ', $info ) . ' ) ';
     269                                $title .= ' (' . __( 'Addressed to users', 'wpdash-notes' ) . ' ' . implode( ', ', $info ) . ')';
    270270                            } else {
    271                                 $title .= ' ( ' . __( 'Addressed to user', 'wpdash-notes' ) . ' ' . implode( ', ', $info ) . ' ) ';
     271                                $title .= ' (' . __( 'Addressed to user', 'wpdash-notes' ) . ' ' . implode( ', ', $info ) . ')';
    272272                            }
    273273                        }
  • wpdash-notes/trunk/composer.json

    r2422139 r2475049  
    2727  "require":{
    2828    "php":">=5.6.0",
    29     "NicolasKulka/wp-review-me":"2.5"
     29    "nicolaskulka/wp-review-me":"2.6"
    3030  }
    3131}
  • wpdash-notes/trunk/composer.lock

    r2422139 r2475049  
    55        "This file is @generated automatically"
    66    ],
    7     "content-hash": "61c641cd8ad64418e8258c650f3a007a",
     7    "content-hash": "bc206e5577c13a92c2c04ea3d9fc04f1",
    88    "packages": [
    99        {
    10             "name": "NicolasKulka/wp-dismissible-notices-handler",
    11             "version": "2.0",
     10            "name": "nicolaskulka/wp-dismissible-notices-handler",
     11            "version": "2.2",
    1212            "source": {
    1313                "type": "git",
    1414                "url": "https://github.com/NicolasKulka/WP-Dismissible-Notices-Handler.git",
    15                 "reference": "4c3ffe7d98b13379476ebbec7e88650d37ce2dcf"
     15                "reference": "7257ae7f245aedbd3cba6e0f5a7d8bdd49210f4a"
    1616            },
    1717            "dist": {
    1818                "type": "zip",
    19                 "url": "https://api.github.com/repos/NicolasKulka/WP-Dismissible-Notices-Handler/zipball/4c3ffe7d98b13379476ebbec7e88650d37ce2dcf",
    20                 "reference": "4c3ffe7d98b13379476ebbec7e88650d37ce2dcf",
     19                "url": "https://api.github.com/repos/NicolasKulka/WP-Dismissible-Notices-Handler/zipball/7257ae7f245aedbd3cba6e0f5a7d8bdd49210f4a",
     20                "reference": "7257ae7f245aedbd3cba6e0f5a7d8bdd49210f4a",
    2121                "shasum": ""
    2222            },
     
    2727            "autoload": {
    2828                "files": [
    29                     "handler.php"
     29                    "handler.php",
     30                    "includes/helper-functions.php"
    3031                ]
    3132            },
     
    3536            "authors": [
    3637                {
    37                     "name": "Julien Liabeuf",
    38                     "email": "julien@liabeuf.fr",
    39                     "homepage": "https://julienliabeuf.com",
     38                    "name": "Nicolas KULKA",
    4039                    "role": "Lead Developer"
    4140                }
    4241            ],
    4342            "description": "A simple library to handle Ajax-dismissible admin notices for WordPress",
    44             "homepage": "https://github.com/julien731/WP-Dismissible-Notices-Handler",
     43            "homepage": "https://github.com/nicolaskulka/WP-Dismissible-Notices-Handler",
    4544            "support": {
    46                 "source": "https://github.com/NicolasKulka/WP-Dismissible-Notices-Handler/tree/2.0"
     45                "source": "https://github.com/NicolasKulka/WP-Dismissible-Notices-Handler/tree/2.2"
    4746            },
    48             "time": "2018-07-17T12:19:22+00:00"
     47            "time": "2021-02-15T08:45:53+00:00"
    4948        },
    5049        {
    51             "name": "NicolasKulka/wp-review-me",
    52             "version": "2.5",
     50            "name": "nicolaskulka/wp-review-me",
     51            "version": "2.6",
    5352            "source": {
    5453                "type": "git",
    5554                "url": "https://github.com/NicolasKulka/WP-Review-Me.git",
    56                 "reference": "9ad656a84c4878b6dd4d9c2964e262f76b0c3c88"
     55                "reference": "a9737a9a4e54c90715c0ca151042e3f4404fafde"
    5756            },
    5857            "dist": {
    5958                "type": "zip",
    60                 "url": "https://api.github.com/repos/NicolasKulka/WP-Review-Me/zipball/9ad656a84c4878b6dd4d9c2964e262f76b0c3c88",
    61                 "reference": "9ad656a84c4878b6dd4d9c2964e262f76b0c3c88",
     59                "url": "https://api.github.com/repos/NicolasKulka/WP-Review-Me/zipball/a9737a9a4e54c90715c0ca151042e3f4404fafde",
     60                "reference": "a9737a9a4e54c90715c0ca151042e3f4404fafde",
    6261                "shasum": ""
    6362            },
    6463            "require": {
    65                 "nicolaskulka/wp-dismissible-notices-handler": "2.0",
     64                "nicolaskulka/wp-dismissible-notices-handler": "2.*",
    6665                "php": ">=5.5.0"
    6766            },
     
    8685            "homepage": "https://github.com/julien731/WP-Review-Me",
    8786            "support": {
    88                 "source": "https://github.com/NicolasKulka/WP-Review-Me/tree/master"
     87                "source": "https://github.com/NicolasKulka/WP-Review-Me/tree/2.6"
    8988            },
    90             "time": "2018-07-17T12:31:36+00:00"
     89            "time": "2021-02-15T11:24:26+00:00"
    9190        }
    9291    ],
     
    101100    },
    102101    "platform-dev": [],
    103     "plugin-api-version": "1.1.0"
     102    "plugin-api-version": "2.0.0"
    104103}
  • wpdash-notes/trunk/languages/wpdash-notes-fr_FR.po

    r2423458 r2475049  
    22msgstr ""
    33"Project-Id-Version: WPDash Notes\n"
    4 "POT-Creation-Date: 2020-11-20 16:20+0100\n"
    5 "PO-Revision-Date: 2020-11-20 16:29+0100\n"
     4"POT-Creation-Date: 2020-12-30 21:50+0100\n"
     5"PO-Revision-Date: 2020-12-30 21:51+0100\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    2323"X-Poedit-SearchPathExcluded-1: vendor\n"
    2424
    25 #: classes/plugin.php:30 classes/plugin.php:87 classes/plugin.php:100
     25#: classes/plugin.php:39 classes/plugin.php:97 classes/plugin.php:110
    2626msgid "New note"
    2727msgstr "Nouvelle note"
    2828
    29 #: classes/plugin.php:31 classes/plugin.php:105
     29#: classes/plugin.php:40 classes/plugin.php:115
    3030msgid "Content of my note to modify"
    3131msgstr "Contenu de ma note à modifier"
    3232
    33 #: classes/plugin.php:45 classes/plugin.php:380 classes/plugin.php:407
     33#: classes/plugin.php:55 classes/plugin.php:390 classes/plugin.php:417
    3434msgid "Notes"
    3535msgstr ""
    3636
    37 #: classes/plugin.php:100 classes/plugin.php:242
    38 msgid "( Addressed to myself )"
    39 msgstr "( Adressé à moi même )"
    40 
    41 #: classes/plugin.php:112 classes/plugin.php:324
     37#: classes/plugin.php:110 classes/plugin.php:252
     38msgid "(Addressed to myself)"
     39msgstr "(Adressé à moi même)"
     40
     41#: classes/plugin.php:122 classes/plugin.php:334
    4242msgid "Edit"
    4343msgstr ""
    4444
    4545#. translators: Accessibility text.
    46 #: classes/plugin.php:114 classes/plugin.php:326 classes/plugin.php:338
     46#: classes/plugin.php:124 classes/plugin.php:336 classes/plugin.php:348
    4747msgid "(opens in a new tab)"
    4848msgstr ""
    4949
    50 #: classes/plugin.php:124 classes/plugin.php:348
     50#: classes/plugin.php:134 classes/plugin.php:358
    5151msgid "Delete"
    5252msgstr ""
    5353
    54 #: classes/plugin.php:155
     54#: classes/plugin.php:165
    5555msgid "Add note"
    5656msgstr "Ajouter une note"
    5757
    58 #: classes/plugin.php:205 classes/plugin.php:292
     58#: classes/plugin.php:215 classes/plugin.php:302
    5959msgid "Comments :"
    6060msgstr "Commentaires :"
    6161
    62 #: classes/plugin.php:205 classes/plugin.php:292
     62#: classes/plugin.php:215 classes/plugin.php:302
    6363msgid "Comment :"
    6464msgstr "Commentaire :"
    6565
    66 #: classes/plugin.php:244
    67 msgid "( Addressed to all )"
    68 msgstr "( Adressé à tous )"
    69 
    70 #: classes/plugin.php:246
     66#: classes/plugin.php:254
     67msgid "(Addressed to all)"
     68msgstr "(Adressé à tous)"
     69
     70#: classes/plugin.php:256
    7171msgid "Addressed to roles"
    7272msgstr "Adressé aux roles"
    7373
    74 #: classes/plugin.php:259
     74#: classes/plugin.php:269
    7575msgid "Addressed to users"
    7676msgstr "Adressé aux utilisateurs"
    7777
    78 #: classes/plugin.php:261
     78#: classes/plugin.php:271
    7979msgid "Addressed to user"
    8080msgstr "Adressé à l’utilisateur"
    8181
    82 #: classes/plugin.php:300
     82#: classes/plugin.php:310
    8383msgid "Add Comment"
    8484msgstr ""
    8585
    86 #: classes/plugin.php:307
     86#: classes/plugin.php:317
    8787msgid "Submit"
    8888msgstr ""
    8989
    90 #: classes/plugin.php:310
     90#: classes/plugin.php:320
    9191msgid "Cancel"
    9292msgstr ""
    9393
    94 #: classes/plugin.php:336
     94#: classes/plugin.php:346
    9595msgid "Add"
    9696msgstr ""
    9797
    98 #: classes/plugin.php:378
     98#: classes/plugin.php:388
    9999msgctxt "Post Type General Name"
    100100msgid "Notes"
    101101msgstr ""
    102102
    103 #: classes/plugin.php:379
     103#: classes/plugin.php:389
    104104msgctxt "Post Type Singular Name"
    105105msgid "Note"
    106106msgstr ""
    107107
    108 #: classes/plugin.php:381
     108#: classes/plugin.php:391
    109109msgid "Note"
    110110msgstr ""
    111111
    112 #: classes/plugin.php:382
     112#: classes/plugin.php:392
    113113msgid "Note Archives"
    114114msgstr ""
    115115
    116 #: classes/plugin.php:383
     116#: classes/plugin.php:393
    117117msgid "Note Attributes"
    118118msgstr ""
    119119
    120 #: classes/plugin.php:384
     120#: classes/plugin.php:394
    121121msgid "Parent Note:"
    122122msgstr ""
    123123
    124 #: classes/plugin.php:385
     124#: classes/plugin.php:395
    125125msgid "All Notes"
    126126msgstr "Toutes les notes"
    127127
    128 #: classes/plugin.php:386
     128#: classes/plugin.php:396
    129129msgid "Add New Note"
    130130msgstr "Ajouter une nouvelle note"
    131131
    132 #: classes/plugin.php:387
     132#: classes/plugin.php:397
    133133msgid "Add New"
    134134msgstr "Ajouter"
    135135
    136 #: classes/plugin.php:388
     136#: classes/plugin.php:398
    137137msgid "New Note"
    138138msgstr "Nouvelle note"
    139139
    140 #: classes/plugin.php:389
     140#: classes/plugin.php:399
    141141msgid "Edit Note"
    142142msgstr "Modifier la note"
    143143
    144 #: classes/plugin.php:390
     144#: classes/plugin.php:400
    145145msgid "Update Note"
    146146msgstr "Mettre à jour la note"
    147147
    148 #: classes/plugin.php:391 classes/plugin.php:392
     148#: classes/plugin.php:401 classes/plugin.php:402
    149149msgid "View Note"
    150150msgstr "Voir la note"
    151151
    152 #: classes/plugin.php:393
     152#: classes/plugin.php:403
    153153msgid "Search Note"
    154154msgstr ""
    155155
    156 #: classes/plugin.php:394
     156#: classes/plugin.php:404
    157157msgid "Not found"
    158158msgstr ""
    159159
    160 #: classes/plugin.php:395
     160#: classes/plugin.php:405
    161161msgid "Not found in Trash"
    162162msgstr ""
    163163
    164 #: classes/plugin.php:396
     164#: classes/plugin.php:406
    165165msgid "Featured Image"
    166166msgstr ""
    167167
    168 #: classes/plugin.php:397
     168#: classes/plugin.php:407
    169169msgid "Set featured image"
    170170msgstr ""
    171171
    172 #: classes/plugin.php:398
     172#: classes/plugin.php:408
    173173msgid "Remove featured image"
    174174msgstr ""
    175175
    176 #: classes/plugin.php:399
     176#: classes/plugin.php:409
    177177msgid "Use as featured image"
    178178msgstr ""
    179179
    180 #: classes/plugin.php:400
     180#: classes/plugin.php:410
    181181msgid "Insert into Note"
    182182msgstr ""
    183183
    184 #: classes/plugin.php:401
     184#: classes/plugin.php:411
    185185msgid "Uploaded to this Note"
    186186msgstr ""
    187187
    188 #: classes/plugin.php:402
     188#: classes/plugin.php:412
    189189msgid "Note list"
    190190msgstr ""
    191191
    192 #: classes/plugin.php:403
     192#: classes/plugin.php:413
    193193msgid "Note list navigation"
    194194msgstr ""
    195195
    196 #: classes/plugin.php:404
     196#: classes/plugin.php:414
    197197msgid "Filter Note list"
    198198msgstr ""
    199199
    200 #: classes/plugin.php:408
     200#: classes/plugin.php:418
    201201msgid "Post Type Description"
    202202msgstr ""
    203203
    204 #: classes/plugin.php:432
     204#: classes/plugin.php:442
    205205msgid "Note Options"
    206206msgstr "Options"
    207207
    208 #: classes/plugin.php:464
     208#: classes/plugin.php:474
    209209msgid "Choose a color for your note."
    210210msgstr "Choisissez une couleur pour votre note."
    211211
    212 #: classes/plugin.php:470
     212#: classes/plugin.php:480
    213213msgid "Choose a color for text your note."
    214214msgstr "Choisissez une couleur de texte pour votre note."
    215215
    216 #: classes/plugin.php:476
     216#: classes/plugin.php:486
    217217msgid "Show :"
    218218msgstr "Visibilité :"
    219219
    220 #: classes/plugin.php:480
     220#: classes/plugin.php:490
    221221msgid "For just me"
    222222msgstr "Pour moi même"
    223223
    224 #: classes/plugin.php:485
     224#: classes/plugin.php:495
    225225msgid "For all users"
    226226msgstr "Pour tous les utilisateurs"
    227227
    228 #: classes/plugin.php:489
     228#: classes/plugin.php:499
    229229msgid "By role"
    230230msgstr "Par rôle"
    231231
    232 #: classes/plugin.php:508
     232#: classes/plugin.php:518
    233233msgid "By user"
    234234msgstr "Par utilisateur"
    235235
    236 #: classes/plugin.php:534
     236#: classes/plugin.php:544
    237237msgid "Send alert by mail"
    238238msgstr "Envoyer une alerte par email"
    239239
    240 #: classes/plugin.php:595 classes/plugin.php:619 classes/plugin.php:649
     240#: classes/plugin.php:605 classes/plugin.php:629 classes/plugin.php:659
    241241msgid "A new note for you"
    242242msgstr "Une nouvelle note à votre attention"
    243243
    244 #: classes/plugin.php:598 classes/plugin.php:622 classes/plugin.php:652
     244#: classes/plugin.php:608 classes/plugin.php:632 classes/plugin.php:662
    245245msgid "A new note which concerns you has been published by"
    246246msgstr "Une nouvelle note qui vous concerne a été publié par"
    247247
    248 #: classes/plugin.php:599 classes/plugin.php:623 classes/plugin.php:653
     248#: classes/plugin.php:609 classes/plugin.php:633 classes/plugin.php:663
    249249msgid "Log in to your WordPress Dashboard to read it."
    250250msgstr "Connectez vous à votre Dashboard WordPress pour le lire."
  • wpdash-notes/trunk/readme.txt

    r2430760 r2475049  
    44Requires at least: 4.2
    55Tested up to: 5.6
    6 Stable tag: 1.2
     6Stable tag: 1.2.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7272== Changelog ==
    7373
     74= 1.2.1 =
     75* Fix fatal error with vendor wp-dismissible-notices-handler and wp-review-me
     76
    7477= 1.2 =
    7578* Tested up to 5.6
  • wpdash-notes/trunk/vendor/NicolasKulka/wp-dismissible-notices-handler/composer.json

    r2422139 r2475049  
    11{
    2   "name": "NicolasKulka/wp-dismissible-notices-handler",
     2  "name": "nicolaskulka/wp-dismissible-notices-handler",
    33  "description": "A simple library to handle Ajax-dismissible admin notices for WordPress",
    4   "homepage": "https://github.com/julien731/WP-Dismissible-Notices-Handler",
     4  "homepage": "https://github.com/nicolaskulka/WP-Dismissible-Notices-Handler",
    55  "license": "GNU GPL",
    66  "authors": [
    77    {
    8       "name": "Julien Liabeuf",
    9       "email": "julien@liabeuf.fr",
    10       "homepage": "https://julienliabeuf.com",
     8      "name": "Nicolas KULKA",
    119      "role": "Lead Developer"
    1210    }
     
    1614  },
    1715  "autoload": {
    18     "files": ["handler.php"]
     16    "files": ["handler.php", "includes/helper-functions.php"]
    1917  }
    2018}
  • wpdash-notes/trunk/vendor/NicolasKulka/wp-dismissible-notices-handler/handler.php

    r2422139 r2475049  
    1414 * @package   Dismissible Notices Handler
    1515 * @author    Julien Liabeuf <julien@liabeuf.fr>
    16  * @version   1.1
     16 * @version   1.2.0
    1717 * @license   GPL-2.0+
    1818 * @link      https://julienliabeuf.com
     
    2020 */
    2121
    22 // If this file is called directly, abort.
    23 if ( ! defined( 'WPINC' ) ) {
    24     die;
    25 }
    26 
    2722if ( ! class_exists( 'Dismissible_Notices_Handler' ) ) {
    2823
     
    4136         * @var string
    4237         */
    43         public $version = '1.1';
     38        public $version = '1.2.1';
    4439
    4540        /**
     
    5752         * @var string
    5853         */
    59         public $wordpress_version_required = '4.2';
     54        public $wordpress_version_required = '4.7';
    6055
    6156        /**
     
    10499            // Make sure PHP is compatible
    105100            if ( ! self::$instance->is_php_compatible() ) {
    106                 /*self::$instance->spit_error(
     101                self::$instance->spit_error(
    107102                    sprintf(
     103                        /* translators: %s: required php version */
    108104                        esc_html__( 'The library can not be used because your version of PHP is too old. You need version %s at least.', 'wp-dismissible-notices-handler' ),
    109105                        self::$instance->php_version_required
    110106                    )
    111                 );*/
     107                );
    112108
    113109                return;
    114110            }
    115 
    116             self::$instance->includes();
    117111
    118112            add_action( 'admin_notices', array( self::$instance, 'display' ) );
     
    152146            return true;
    153147
    154         }
    155 
    156         /**
    157          * Include all our files
    158          *
    159          * @since 1.0
    160          * @return void
    161          */
    162         private function includes() {
    163             require( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'includes/helper-functions.php' );
    164148        }
    165149
     
    617601    }
    618602
    619     /**
    620      * The main function responsible for returning the unique Dismissible Notices Handler instance
    621      *
    622      * Use this function like you would a global variable, except without needing
    623      * to declare the global.
    624      *
    625      * @since 1.0
    626      * @return object Dismissible_Notices_Handler
    627      */
    628     function DNH() {
    629         return Dismissible_Notices_Handler::instance();
    630     }
    631 
    632     /**
    633      * Get the library running
    634      */
    635     DNH();
    636 
    637603}
  • wpdash-notes/trunk/vendor/NicolasKulka/wp-dismissible-notices-handler/includes/helper-functions.php

    r2422139 r2475049  
    1818 */
    1919
    20 // If this file is called directly, abort.
    21 if ( ! defined( 'WPINC' ) ) {
    22     die;
     20/**
     21 * The main function responsible for returning the unique Dismissible Notices Handler instance
     22 *
     23 * Use this function like you would a global variable, except without needing
     24 * to declare the global.
     25 *
     26 * @since 1.0
     27 * @return object Dismissible_Notices_Handler
     28 */
     29
     30if ( function_exists( 'DNH' ) ) {
     31    return;
     32}
     33
     34function DNH() {
     35    return Dismissible_Notices_Handler::instance();
    2336}
    2437
     
    4154    }
    4255
     56    /**
     57     * Get the library running
     58     */
     59    DNH();
     60
    4361    return DNH()->register_notice( $id, $type, $content, $args );
    4462
     
    5977        return false;
    6078    }
     79
     80    /**
     81     * Get the library running
     82     */
     83    DNH();
    6184
    6285    return DNH()->restore_notice( $id );
     
    79102    }
    80103
     104    /**
     105     * Get the library running
     106     */
     107    DNH();
     108
    81109    return DNH()->is_dismissed( $id );
    82110
  • wpdash-notes/trunk/vendor/NicolasKulka/wp-review-me/composer.json

    r2422139 r2475049  
    11{
    2   "name": "NicolasKulka/wp-review-me",
     2  "name": "nicolaskulka/wp-review-me",
    33  "description": "A lightweight library to help you get more reviews for your WordPress theme/plugin",
    44  "homepage": "https://github.com/julien731/WP-Review-Me",
     
    2020  "require": {
    2121    "php": ">=5.5.0",
    22     "NicolasKulka/wp-dismissible-notices-handler": "2.0"
     22    "nicolaskulka/wp-dismissible-notices-handler": "2.*"
    2323  },
    2424  "autoload": {
  • wpdash-notes/trunk/vendor/NicolasKulka/wp-review-me/composer.lock

    r2422139 r2475049  
    22    "_readme": [
    33        "This file locks the dependencies of your project to a known state",
    4         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
     4        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
    55        "This file is @generated automatically"
    66    ],
    7     "hash": "0d1622f036a475e98f58e5527abcf7e0",
    8     "content-hash": "5db72a2a7c0fc85ea28316b1b3a30f5d",
     7    "content-hash": "ac2eee6cd5bf817c5950e2b3f54f2cee",
    98    "packages": [
    109        {
    11             "name": "julien731/wp-dismissible-notices-handler",
    12             "version": "1.0.0",
     10            "name": "nicolaskulka/wp-dismissible-notices-handler",
     11            "version": "2.2",
    1312            "source": {
    1413                "type": "git",
    15                 "url": "https://github.com/julien731/WP-Dismissible-Notices-Handler.git",
    16                 "reference": "85ce1debbdfd4543e5b835dfe6670b9de99ddf6b"
     14                "url": "https://github.com/NicolasKulka/WP-Dismissible-Notices-Handler.git",
     15                "reference": "7257ae7f245aedbd3cba6e0f5a7d8bdd49210f4a"
    1716            },
    1817            "dist": {
    1918                "type": "zip",
    20                 "url": "https://api.github.com/repos/julien731/WP-Dismissible-Notices-Handler/zipball/85ce1debbdfd4543e5b835dfe6670b9de99ddf6b",
    21                 "reference": "85ce1debbdfd4543e5b835dfe6670b9de99ddf6b",
     19                "url": "https://api.github.com/repos/NicolasKulka/WP-Dismissible-Notices-Handler/zipball/7257ae7f245aedbd3cba6e0f5a7d8bdd49210f4a",
     20                "reference": "7257ae7f245aedbd3cba6e0f5a7d8bdd49210f4a",
    2221                "shasum": ""
    2322            },
     
    2827            "autoload": {
    2928                "files": [
    30                     "handler.php"
     29                    "handler.php",
     30                    "includes/helper-functions.php"
    3131                ]
    3232            },
    33             "notification-url": "https://packagist.org/downloads/",
    3433            "license": [
    3534                "GNU GPL"
     
    3736            "authors": [
    3837                {
    39                     "name": "Julien Liabeuf",
    40                     "email": "julien@liabeuf.fr",
    41                     "homepage": "https://julienliabeuf.com",
     38                    "name": "Nicolas KULKA",
    4239                    "role": "Lead Developer"
    4340                }
    4441            ],
    4542            "description": "A simple library to handle Ajax-dismissible admin notices for WordPress",
    46             "homepage": "https://github.com/julien731/WP-Dismissible-Notices-Handler",
    47             "time": "2016-04-03 05:12:27"
     43            "homepage": "https://github.com/nicolaskulka/WP-Dismissible-Notices-Handler",
     44            "support": {
     45                "source": "https://github.com/NicolasKulka/WP-Dismissible-Notices-Handler/tree/2.2"
     46            },
     47            "time": "2021-02-15T08:45:53+00:00"
    4848        }
    4949    ],
     
    5757        "php": ">=5.5.0"
    5858    },
    59     "platform-dev": []
     59    "platform-dev": [],
     60    "plugin-api-version": "2.0.0"
    6061}
  • wpdash-notes/trunk/vendor/NicolasKulka/wp-review-me/review.php

    r2422139 r2475049  
    239239        public function is_time() {
    240240
    241             $installed = (int) get_option( $this->key, false );
    242 
    243             if ( false === $installed ) {
     241            $installed = (int) get_option( $this->key, 0 );
     242
     243            if ( 0 === $installed ) {
    244244                $this->setup_date();
    245245                $installed = time();
  • wpdash-notes/trunk/vendor/autoload.php

    r2422139 r2475049  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInited139488b8cafb5082e66319f530b5f2::getLoader();
     7return ComposerAutoloaderInit73e89665d509c753d79c064200b0c593::getLoader();
  • wpdash-notes/trunk/vendor/composer/ClassLoader.php

    r2422139 r2475049  
    3838 * @author Fabien Potencier <fabien@symfony.com>
    3939 * @author Jordi Boggiano <j.boggiano@seld.be>
    40  * @see    http://www.php-fig.org/psr/psr-0/
    41  * @see    http://www.php-fig.org/psr/psr-4/
     40 * @see    https://www.php-fig.org/psr/psr-0/
     41 * @see    https://www.php-fig.org/psr/psr-4/
    4242 */
    4343class ClassLoader
  • wpdash-notes/trunk/vendor/composer/autoload_classmap.php

    r2422139 r2475049  
    77
    88return array(
     9    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
    910);
  • wpdash-notes/trunk/vendor/composer/autoload_files.php

    r2422139 r2475049  
    77
    88return array(
    9     '75114bb77681cceeacec8e9fdc25fe5f' => $vendorDir . '/NicolasKulka/wp-dismissible-notices-handler/handler.php',
    10     '642f204a71b38c9724089b10b2126d4f' => $vendorDir . '/NicolasKulka/wp-review-me/review.php',
     9    '75114bb77681cceeacec8e9fdc25fe5f' => $vendorDir . '/nicolaskulka/wp-dismissible-notices-handler/handler.php',
     10    '02e78d03a068280c2da71f3d013fe5e3' => $vendorDir . '/nicolaskulka/wp-dismissible-notices-handler/includes/helper-functions.php',
     11    '642f204a71b38c9724089b10b2126d4f' => $vendorDir . '/nicolaskulka/wp-review-me/review.php',
    1112);
  • wpdash-notes/trunk/vendor/composer/autoload_real.php

    r2422139 r2475049  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInited139488b8cafb5082e66319f530b5f2
     5class ComposerAutoloaderInit73e89665d509c753d79c064200b0c593
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInited139488b8cafb5082e66319f530b5f2', 'loadClassLoader'), true, true);
     25        require __DIR__ . '/platform_check.php';
     26
     27        spl_autoload_register(array('ComposerAutoloaderInit73e89665d509c753d79c064200b0c593', 'loadClassLoader'), true, true);
    2628        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInited139488b8cafb5082e66319f530b5f2', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit73e89665d509c753d79c064200b0c593', 'loadClassLoader'));
    2830
    2931        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
    3032        if ($useStaticLoader) {
    31             require_once __DIR__ . '/autoload_static.php';
     33            require __DIR__ . '/autoload_static.php';
    3234
    33             call_user_func(\Composer\Autoload\ComposerStaticInited139488b8cafb5082e66319f530b5f2::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInit73e89665d509c753d79c064200b0c593::getInitializer($loader));
    3436        } else {
    3537            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5254
    5355        if ($useStaticLoader) {
    54             $includeFiles = Composer\Autoload\ComposerStaticInited139488b8cafb5082e66319f530b5f2::$files;
     56            $includeFiles = Composer\Autoload\ComposerStaticInit73e89665d509c753d79c064200b0c593::$files;
    5557        } else {
    5658            $includeFiles = require __DIR__ . '/autoload_files.php';
    5759        }
    5860        foreach ($includeFiles as $fileIdentifier => $file) {
    59             composerRequireed139488b8cafb5082e66319f530b5f2($fileIdentifier, $file);
     61            composerRequire73e89665d509c753d79c064200b0c593($fileIdentifier, $file);
    6062        }
    6163
     
    6466}
    6567
    66 function composerRequireed139488b8cafb5082e66319f530b5f2($fileIdentifier, $file)
     68function composerRequire73e89665d509c753d79c064200b0c593($fileIdentifier, $file)
    6769{
    6870    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • wpdash-notes/trunk/vendor/composer/autoload_static.php

    r2422139 r2475049  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInited139488b8cafb5082e66319f530b5f2
     7class ComposerStaticInit73e89665d509c753d79c064200b0c593
    88{
    99    public static $files = array (
    10         '75114bb77681cceeacec8e9fdc25fe5f' => __DIR__ . '/..' . '/NicolasKulka/wp-dismissible-notices-handler/handler.php',
    11         '642f204a71b38c9724089b10b2126d4f' => __DIR__ . '/..' . '/NicolasKulka/wp-review-me/review.php',
     10        '75114bb77681cceeacec8e9fdc25fe5f' => __DIR__ . '/..' . '/nicolaskulka/wp-dismissible-notices-handler/handler.php',
     11        '02e78d03a068280c2da71f3d013fe5e3' => __DIR__ . '/..' . '/nicolaskulka/wp-dismissible-notices-handler/includes/helper-functions.php',
     12        '642f204a71b38c9724089b10b2126d4f' => __DIR__ . '/..' . '/nicolaskulka/wp-review-me/review.php',
     13    );
     14
     15    public static $classMap = array (
     16        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
    1217    );
    1318
     
    1520    {
    1621        return \Closure::bind(function () use ($loader) {
     22            $loader->classMap = ComposerStaticInit73e89665d509c753d79c064200b0c593::$classMap;
    1723
    1824        }, null, ClassLoader::class);
  • wpdash-notes/trunk/vendor/composer/installed.json

    r2422139 r2475049  
    1 [
    2     {
    3         "name": "NicolasKulka/wp-dismissible-notices-handler",
    4         "version": "2.0",
    5         "version_normalized": "2.0.0.0",
    6         "source": {
    7             "type": "git",
    8             "url": "https://github.com/NicolasKulka/WP-Dismissible-Notices-Handler.git",
    9             "reference": "4c3ffe7d98b13379476ebbec7e88650d37ce2dcf"
     1{
     2    "packages": [
     3        {
     4            "name": "nicolaskulka/wp-dismissible-notices-handler",
     5            "version": "2.2",
     6            "version_normalized": "2.2.0.0",
     7            "source": {
     8                "type": "git",
     9                "url": "https://github.com/NicolasKulka/WP-Dismissible-Notices-Handler.git",
     10                "reference": "7257ae7f245aedbd3cba6e0f5a7d8bdd49210f4a"
     11            },
     12            "dist": {
     13                "type": "zip",
     14                "url": "https://api.github.com/repos/NicolasKulka/WP-Dismissible-Notices-Handler/zipball/7257ae7f245aedbd3cba6e0f5a7d8bdd49210f4a",
     15                "reference": "7257ae7f245aedbd3cba6e0f5a7d8bdd49210f4a",
     16                "shasum": ""
     17            },
     18            "require": {
     19                "php": ">=5.5.0"
     20            },
     21            "time": "2021-02-15T08:45:53+00:00",
     22            "type": "library",
     23            "installation-source": "dist",
     24            "autoload": {
     25                "files": [
     26                    "handler.php",
     27                    "includes/helper-functions.php"
     28                ]
     29            },
     30            "license": [
     31                "GNU GPL"
     32            ],
     33            "authors": [
     34                {
     35                    "name": "Nicolas KULKA",
     36                    "role": "Lead Developer"
     37                }
     38            ],
     39            "description": "A simple library to handle Ajax-dismissible admin notices for WordPress",
     40            "homepage": "https://github.com/nicolaskulka/WP-Dismissible-Notices-Handler",
     41            "support": {
     42                "source": "https://github.com/NicolasKulka/WP-Dismissible-Notices-Handler/tree/2.2"
     43            },
     44            "install-path": "../nicolaskulka/wp-dismissible-notices-handler"
    1045        },
    11         "dist": {
    12             "type": "zip",
    13             "url": "https://api.github.com/repos/NicolasKulka/WP-Dismissible-Notices-Handler/zipball/4c3ffe7d98b13379476ebbec7e88650d37ce2dcf",
    14             "reference": "4c3ffe7d98b13379476ebbec7e88650d37ce2dcf",
    15             "shasum": ""
    16         },
    17         "require": {
    18             "php": ">=5.5.0"
    19         },
    20         "time": "2018-07-17T12:19:22+00:00",
    21         "type": "library",
    22         "installation-source": "dist",
    23         "autoload": {
    24             "files": [
    25                 "handler.php"
    26             ]
    27         },
    28         "license": [
    29             "GNU GPL"
    30         ],
    31         "authors": [
    32             {
    33                 "name": "Julien Liabeuf",
    34                 "email": "julien@liabeuf.fr",
    35                 "homepage": "https://julienliabeuf.com",
    36                 "role": "Lead Developer"
    37             }
    38         ],
    39         "description": "A simple library to handle Ajax-dismissible admin notices for WordPress",
    40         "homepage": "https://github.com/julien731/WP-Dismissible-Notices-Handler",
    41         "support": {
    42             "source": "https://github.com/NicolasKulka/WP-Dismissible-Notices-Handler/tree/2.0"
     46        {
     47            "name": "nicolaskulka/wp-review-me",
     48            "version": "2.6",
     49            "version_normalized": "2.6.0.0",
     50            "source": {
     51                "type": "git",
     52                "url": "https://github.com/NicolasKulka/WP-Review-Me.git",
     53                "reference": "a9737a9a4e54c90715c0ca151042e3f4404fafde"
     54            },
     55            "dist": {
     56                "type": "zip",
     57                "url": "https://api.github.com/repos/NicolasKulka/WP-Review-Me/zipball/a9737a9a4e54c90715c0ca151042e3f4404fafde",
     58                "reference": "a9737a9a4e54c90715c0ca151042e3f4404fafde",
     59                "shasum": ""
     60            },
     61            "require": {
     62                "nicolaskulka/wp-dismissible-notices-handler": "2.*",
     63                "php": ">=5.5.0"
     64            },
     65            "time": "2021-02-15T11:24:26+00:00",
     66            "type": "library",
     67            "installation-source": "dist",
     68            "autoload": {
     69                "files": [
     70                    "review.php"
     71                ]
     72            },
     73            "license": [
     74                "GNU GPL"
     75            ],
     76            "authors": [
     77                {
     78                    "name": "Julien Liabeuf",
     79                    "email": "julien@liabeuf.fr",
     80                    "homepage": "https://julienliabeuf.com",
     81                    "role": "Lead Developer"
     82                }
     83            ],
     84            "description": "A lightweight library to help you get more reviews for your WordPress theme/plugin",
     85            "homepage": "https://github.com/julien731/WP-Review-Me",
     86            "support": {
     87                "source": "https://github.com/NicolasKulka/WP-Review-Me/tree/2.6"
     88            },
     89            "install-path": "../nicolaskulka/wp-review-me"
    4390        }
    44     },
    45     {
    46         "name": "NicolasKulka/wp-review-me",
    47         "version": "2.5",
    48         "version_normalized": "2.5.0.0",
    49         "source": {
    50             "type": "git",
    51             "url": "https://github.com/NicolasKulka/WP-Review-Me.git",
    52             "reference": "9ad656a84c4878b6dd4d9c2964e262f76b0c3c88"
    53         },
    54         "dist": {
    55             "type": "zip",
    56             "url": "https://api.github.com/repos/NicolasKulka/WP-Review-Me/zipball/9ad656a84c4878b6dd4d9c2964e262f76b0c3c88",
    57             "reference": "9ad656a84c4878b6dd4d9c2964e262f76b0c3c88",
    58             "shasum": ""
    59         },
    60         "require": {
    61             "nicolaskulka/wp-dismissible-notices-handler": "2.0",
    62             "php": ">=5.5.0"
    63         },
    64         "time": "2018-07-17T12:31:36+00:00",
    65         "type": "library",
    66         "installation-source": "dist",
    67         "autoload": {
    68             "files": [
    69                 "review.php"
    70             ]
    71         },
    72         "license": [
    73             "GNU GPL"
    74         ],
    75         "authors": [
    76             {
    77                 "name": "Julien Liabeuf",
    78                 "email": "julien@liabeuf.fr",
    79                 "homepage": "https://julienliabeuf.com",
    80                 "role": "Lead Developer"
    81             }
    82         ],
    83         "description": "A lightweight library to help you get more reviews for your WordPress theme/plugin",
    84         "homepage": "https://github.com/julien731/WP-Review-Me",
    85         "support": {
    86             "source": "https://github.com/NicolasKulka/WP-Review-Me/tree/master"
    87         }
    88     }
    89 ]
     91    ],
     92    "dev": true,
     93    "dev-package-names": []
     94}
  • wpdash-notes/trunk/wpdash-notes.php

    r2430760 r2475049  
    33Plugin Name: WPDash Notes
    44Description: WPDash Notes est un plugin qui vous permet de créer des notes sur votre tableau de bord WordPress et sur ceux des autres utilisateurs.
    5 Version: 1.2
     5Version: 1.2.1
    66Author: WPFormation, NicolasKulka, WPServeur
    77Author URI: https://wpformation.com/
     
    1818
    1919// Plugin constants
    20 define( 'WPDASH_NOTES_VERSION', '1.2' );
     20define( 'WPDASH_NOTES_VERSION', '1.2.1' );
    2121define( 'WPDASH_NOTES_FOLDER', 'wpdash-notes' );
    2222define( 'WPDASH_NOTES_BASENAME', plugin_basename( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.