Plugin Directory

Changeset 2442619


Ignore:
Timestamp:
12/18/2020 10:57:37 PM (5 years ago)
Author:
rmanaf
Message:

2.4.6

Location:
code-injection/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code-injection/trunk/code-injection.php

    r2387571 r2442619  
    55 * Plugin URI: https://github.com/Rmanaf/wp-code-injection
    66 * Description: This plugin allows you to inject code snippets into the pages.
    7  * Version: 2.4.5
     7 * Version: 2.4.6
    88 * Author: Rmanaf
    99 * Author URI: https://profiles.wordpress.org/rmanaf/
     
    3434        private static $role_version = '1.0.0';
    3535
    36         private static $version = '2.4.5';
     36        private static $version = '2.4.6';
    3737
    3838        function __construct()
  • code-injection/trunk/includes/code-type.php

    r2387571 r2442619  
    114114            $year = intval( $start->format("Y") );
    115115
    116             $month = intval( $start->format("j") );
    117 
    118             $length = cal_days_in_month(CAL_GREGORIAN, $month, $year);
    119 
    120             $bcDataHolder = array_fill(0, $length-1 , [
     116            $month = intval( $start->format("m") );
     117
     118            $length = intval(date('t', mktime(0, 0, 0, $month, 1, $year)));
     119
     120            $bcDataHolder = array_fill(0, $length , [
    121121                "value" => 0
    122122            ]);
  • code-injection/trunk/languages/code-injection.pot

    r2387571 r2442619  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Code Injection 2.4.5\n"
     5"Project-Id-Version: Code Injection 2.4.6\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/code-injection\n"
    77"Last-Translator: \n"
  • code-injection/trunk/readme.txt

    r2387571 r2442619  
    33Tags: code, snippets, injection
    44Requires at least: 4.5.0
    5 Tested up to: 5.4.2
    6 Stable tag: 2.4.5
     5Tested up to: 5.6.0
     6Stable tag: 2.4.6
    77License: MIT License
    88License URI: https://github.com/Rmanaf/wp-code-injection/blob/master/LICENSE
Note: See TracChangeset for help on using the changeset viewer.