Plugin Directory

Changeset 2965132


Ignore:
Timestamp:
09/11/2023 07:42:56 AM (2 years ago)
Author:
parasralhan
Message:

fixed issues for PHP > 8.0

Location:
bonzer-custom-fields
Files:
44 edited

Legend:

Unmodified
Added
Removed
  • bonzer-custom-fields/tags/1.0/composer.json

    r1859531 r2965132  
    77  "require": {
    88    "php": ">=5.4.0",
    9     "bonzer/wordpress-admin-inputs": "v0.0.1"
     9    "bonzer/wordpress-admin-inputs": "v0.0.2"
    1010  },
    1111  "files": ["bootstrap.php"],
  • bonzer-custom-fields/tags/1.0/vendor/autoload.php

    r1859531 r2965132  
    33// autoload.php @generated by Composer
    44
    5 require_once __DIR__ . '/composer' . '/autoload_real.php';
     5if (PHP_VERSION_ID < 50600) {
     6    if (!headers_sent()) {
     7        header('HTTP/1.1 500 Internal Server Error');
     8    }
     9    $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
     10    if (!ini_get('display_errors')) {
     11        if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
     12            fwrite(STDERR, $err);
     13        } elseif (!headers_sent()) {
     14            echo $err;
     15        }
     16    }
     17    trigger_error(
     18        $err,
     19        E_USER_ERROR
     20    );
     21}
     22
     23require_once __DIR__ . '/composer/autoload_real.php';
    624
    725return ComposerAutoloaderInitdd972da31f35a37479169a6432fe0d91::getLoader();
  • bonzer-custom-fields/tags/1.0/vendor/bin/lessc

    r1859531 r2965132  
    1 #!/usr/bin/env sh
     1#!/usr/bin/env php
     2<?php
    23
    3 dir=$(d=${0%[/\\]*}; cd "$d"; cd "../oyejorge/less.php/bin" && pwd)
     4/**
     5 * Proxy PHP file generated by Composer
     6 *
     7 * This file includes the referenced bin path (../wikimedia/less.php/bin/lessc)
     8 * using a stream wrapper to prevent the shebang from being output on PHP<8
     9 *
     10 * @generated
     11 */
    412
    5 # See if we are running in Cygwin by checking for cygpath program
    6 if command -v 'cygpath' >/dev/null 2>&1; then
    7     # Cygwin paths start with /cygdrive/ which will break windows PHP,
    8     # so we need to translate the dir path to windows format. However
    9     # we could be using cygwin PHP which does not require this, so we
    10     # test if the path to PHP starts with /cygdrive/ rather than /usr/bin
    11     if [[ $(which php) == /cygdrive/* ]]; then
    12         dir=$(cygpath -m "$dir");
    13     fi
    14 fi
     13namespace Composer;
    1514
    16 dir=$(echo $dir | sed 's/ /\ /g')
    17 "${dir}/lessc" "$@"
     15$GLOBALS['_composer_bin_dir'] = __DIR__;
     16$GLOBALS['_composer_autoload_path'] = __DIR__ . '/..'.'/autoload.php';
     17
     18if (PHP_VERSION_ID < 80000) {
     19    if (!class_exists('Composer\BinProxyWrapper')) {
     20        /**
     21         * @internal
     22         */
     23        final class BinProxyWrapper
     24        {
     25            private $handle;
     26            private $position;
     27            private $realpath;
     28
     29            public function stream_open($path, $mode, $options, &$opened_path)
     30            {
     31                // get rid of phpvfscomposer:// prefix for __FILE__ & __DIR__ resolution
     32                $opened_path = substr($path, 17);
     33                $this->realpath = realpath($opened_path) ?: $opened_path;
     34                $opened_path = $this->realpath;
     35                $this->handle = fopen($this->realpath, $mode);
     36                $this->position = 0;
     37
     38                return (bool) $this->handle;
     39            }
     40
     41            public function stream_read($count)
     42            {
     43                $data = fread($this->handle, $count);
     44
     45                if ($this->position === 0) {
     46                    $data = preg_replace('{^#!.*\r?\n}', '', $data);
     47                }
     48
     49                $this->position += strlen($data);
     50
     51                return $data;
     52            }
     53
     54            public function stream_cast($castAs)
     55            {
     56                return $this->handle;
     57            }
     58
     59            public function stream_close()
     60            {
     61                fclose($this->handle);
     62            }
     63
     64            public function stream_lock($operation)
     65            {
     66                return $operation ? flock($this->handle, $operation) : true;
     67            }
     68
     69            public function stream_seek($offset, $whence)
     70            {
     71                if (0 === fseek($this->handle, $offset, $whence)) {
     72                    $this->position = ftell($this->handle);
     73                    return true;
     74                }
     75
     76                return false;
     77            }
     78
     79            public function stream_tell()
     80            {
     81                return $this->position;
     82            }
     83
     84            public function stream_eof()
     85            {
     86                return feof($this->handle);
     87            }
     88
     89            public function stream_stat()
     90            {
     91                return array();
     92            }
     93
     94            public function stream_set_option($option, $arg1, $arg2)
     95            {
     96                return true;
     97            }
     98
     99            public function url_stat($path, $flags)
     100            {
     101                $path = substr($path, 17);
     102                if (file_exists($path)) {
     103                    return stat($path);
     104                }
     105
     106                return false;
     107            }
     108        }
     109    }
     110
     111    if (
     112        (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
     113        || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
     114    ) {
     115        return include("phpvfscomposer://" . __DIR__ . '/..'.'/wikimedia/less.php/bin/lessc');
     116    }
     117}
     118
     119return include __DIR__ . '/..'.'/wikimedia/less.php/bin/lessc';
  • bonzer-custom-fields/tags/1.0/vendor/bin/lessc.bat

    r1859531 r2965132  
    11@ECHO OFF
    22setlocal DISABLEDELAYEDEXPANSION
    3 SET BIN_TARGET=%~dp0/../oyejorge/less.php/bin/lessc
     3SET BIN_TARGET=%~dp0/lessc
     4SET COMPOSER_RUNTIME_BIN_DIR=%~dp0
    45php "%BIN_TARGET%" %*
  • bonzer-custom-fields/tags/1.0/vendor/bonzer/inputs/composer.json

    r1859531 r2965132  
    11{
    2     "name": "bonzer/inputs",
    3     "description": "A form inputs library",
    4     "type": "library",
    5     "license": "MIT",
    6     "authors": [
    7         {
    8             "name": "Paras Ralhan",
    9             "email": "[email protected]"
    10         }
    11     ],
    12     "minimum-stability": "dev",
    13     "prefer-stable" : true,
    14     "require": {
    15         "php": ">=5.4.0",
    16         "oyejorge/less.php": "v1.7.0.14",
    17         "bonzer/exceptions": "v0.0.1",
    18         "bonzer/ioc-container": "v0.0.1",
    19         "bonzer/events": "v0.0.1"
     2  "name": "bonzer/inputs",
     3  "description": "A form inputs library",
     4  "type": "library",
     5  "license": "MIT",
     6  "authors": [
     7    {
     8      "name": "Paras Ralhan",
     9      "email": "[email protected]"
     10    }
     11  ],
     12  "minimum-stability": "dev",
     13  "prefer-stable" : true,
     14  "require": {
     15    "php": ">=5.4.0",
     16    "wikimedia/less.php": "v1.7.0.14",
     17    "bonzer/exceptions": "v0.0.1",
     18    "bonzer/ioc-container": "v0.0.2",
     19    "bonzer/events": "v0.0.1"
    2020    },
    2121    "autoload": {
    22         "files": ["src/bootstrap.php"],
    23         "psr-4": {
    24             "Bonzer\\Inputs\\": "src/"
    25         }       
     22      "files": ["src/bootstrap.php"],
     23      "psr-4": {
     24        "Bonzer\\Inputs\\": "src/"
     25      }       
    2626    }
    27 }
     27  }
  • bonzer-custom-fields/tags/1.0/vendor/bonzer/inputs/src/assets/js/main.js

    r2961032 r2965132  
    332332                if (!$ul.hasClass( 'has-values' )) {
    333333                  $ul.addClass( 'has-values' );
    334                 }
    335                 ;
     334                };
    336335                setTimeout( function () {
    337336                  $input.val( '' );
     
    368367                    return $( li ).data( 'value' );
    369368                  } ).toArray();
    370                   $item.parents( '.bonzer-inputs.input-wrapper' ).find( '.input.all-values' ).val( this_obj.items[id].join( '|||' ) ).change();
     369                  $item.parents( '.bonzer-inputs.input-wrapper' ).find( '.input.all-values' ).val( this_obj.items[id].join( '|' ) ).change();
    371370                  this_obj._reindex_items( $item.parents( '.bonzer-inputs.input-wrapper' ) );
    372371                }
    373372              } );
    374             },
    375             _append_item: function ( $wrapper, value ) {
    376               var $items_holder = $wrapper.find( '.values-entered' ),
    377                       item = new Item( value, this.items.length ),
    378                       $item = item.html();
    379               $wrapper.find( '.input.all-values' ).val( this.items.join( '|||' ) );
    380               $items_holder.append( $item );
    381373            },
    382374            _reindex_items: function ( $wrapper ) {
  • bonzer-custom-fields/tags/1.0/vendor/bonzer/ioc-container/src/Container.php

    r1859531 r2965132  
    302302   * */
    303303  protected function _dependencies( $parameters ) {
     304
    304305    $dependencies = [ ];
     306
    305307    foreach ( $parameters as $parameter ) {
    306       $dependency = $parameter->getClass();
    307       if ( is_null( $dependency ) ) {
     308
     309      if ( method_exists($parameter, 'getType') ) {
     310
     311        $dependency = $parameter->getType();
     312        $built_in = $dependency->isBuiltin();
     313        $class_name = $dependency->getName();
     314
     315      } else {
     316
     317        $dependency = $parameter->getClass();
     318        $built_in = is_null( $dependency );
     319
     320        if ( !$built_in ) {
     321          $class_name = $dependency->name;
     322        }
     323
     324      }     
     325
     326      if ( $built_in ) {
    308327        $dependencies[] = $this->_resolve_non_class( $parameter );
    309328      } else {
    310         $dependencies[] = $this->resolve( $dependency->name );
    311       }
    312     }
     329        $dependencies[] = $this->resolve( $class_name );
     330      }
     331
     332    }
     333   
    313334    return $dependencies;
     335   
    314336  }
    315337
  • bonzer-custom-fields/tags/1.0/vendor/bonzer/wordpress-admin-inputs/composer.json

    r1859531 r2965132  
    1414  "require": {
    1515    "php": ">=5.4.0",
    16     "bonzer/inputs": "v0.0.1"
     16    "bonzer/inputs": "v0.0.2"
    1717  },
    1818  "autoload": {
  • bonzer-custom-fields/tags/1.0/vendor/bonzer/wordpress-admin-inputs/src/assets/css/styles.css

    r2961032 r2965132  
    120120  box-shadow: 0 0 0px 2px #fff, 0 0 2px 4px #ddd;
    121121}
     122.input-wrapper.bonzer-inputs.editor-input-wrapper label {
     123  -o-box-shadow: none;
     124  -ms-box-shadow: none;
     125  -moz-box-shadow: none;
     126  -webkit-box-shadow: none;
     127  box-shadow: none;
     128  background: #f4f4f4;
     129  color: #333333;
     130  width: 100%;
     131  border: 1px solid #dddddd;
     132}
    122133.input-wrapper.bonzer-inputs.editor-input-wrapper button {
    123134  -ms-border-radius: 2px !important;
     
    127138  border-radius: 2px !important;
    128139  width: auto;
    129   position: relative;
    130   height: auto;
    131140}
    132141.input-wrapper.bonzer-inputs.editor-input-wrapper input,
     
    149158  -moz-box-sizing: content-box;
    150159  box-sizing: content-box;
    151   width: 100%;
    152160}
    153161.input-wrapper.bonzer-inputs.editor-input-wrapper .wp-editor-wrap * {
  • bonzer-custom-fields/tags/1.0/vendor/bonzer/wordpress-admin-inputs/src/assets/less/styles.less

    r2961032 r2965132  
    9292  }
    9393  &.editor-input-wrapper{
     94    label{
     95      .box-shadow(none);
     96      background: @light-gray-color;
     97      color: @dark-color;
     98      width: 100%;
     99      border: 1px solid @light-border;
     100    }
    94101    button{
    95102      .roundedcorners(2px) !important;
    96103      width: auto;
    97       position: relative;
    98       height: auto;
    99104    }
    100105    input, textarea{
     
    116121    .wp-editor-wrap{
    117122      .box-sizing(content-box);
    118       width: 100%;
    119123      *{
    120124        .box-sizing(content-box);
  • bonzer-custom-fields/tags/1.0/vendor/bonzer/wordpress-admin-inputs/src/fields/Editor.php

    r2961032 r2965132  
    2929    ?>
    3030    <div class="bonzer-inputs input-wrapper editor-input-wrapper" data-showif='<?php echo $this->_conditional_data(); ?>'>
    31       <label for="<?php echo $this->_id; ?>">
    32         <?php echo $this->_label; ?>
    33         <?php echo (isset_not_empty( $this->_desc )) ? "<p class='desc'>{$this->_desc}</p>" : ''; ?>
    34       </label>
    35      
    36       <div>
    37         <?php
    38        
    39         wp_editor( $this->_value, $this->_id, array_merge([
    40           'tinymce' => TRUE,
    41           'textarea_name' => $this->_name,
    42           'textarea_rows' => 10,
    43         ], $this->_editor_config) );     
    44         ?>
    45       </div>
     31      <label for="<?php echo $this->_id; ?>"><?php echo $this->_label; ?></label>
     32      <?php
     33      echo (isset_not_empty( $this->_desc )) ? "<p class='desc'>{$this->_desc}</p>" : '';
     34      wp_editor( $this->_value, $this->_id, array_merge([
     35        'tinymce' => TRUE,
     36        'textarea_name' => $this->_name,
     37        'textarea_rows' => 10,
     38      ], $this->_editor_config) );     
     39      ?>
    4640    </div>
    4741    <?php
  • bonzer-custom-fields/tags/1.0/vendor/bonzer/wordpress-admin-inputs/src/fields/Multi_Upload.php

    r2961032 r2965132  
    2626      }
    2727      ?>
    28      
    29       <label for="<?php echo $this->_id; ?>">
    30         <?php echo $this->_label; ?>
    31         <?php echo (isset_not_empty( $this->_desc )) ? "<p class='desc'>{$this->_desc}</p>" : ''; ?>
    32       </label>
    33 
    34       <div>
    35         <input type="text" class="upload input" id="<?php echo $this->_id; ?>" name="<?php echo $this->_name; ?>" value="<?php echo $value; ?>" placeholder="<?php echo $this->_placeholder; ?>" readonly <?php echo $this->_additional_attrs; ?>>
    36         <button title="<?php echo __('Add Images', 'wordpress-admin-inputs');?>" class="upload button upload-multiple-images" type="button" data-title="Choose" data-update="Insert"><i class="fa fa-plus-circle"></i> <span class="text">Add</span> </button>
    37         <div class="images-wrapper">
    38           <?php
    39           if ( isset_not_empty( $this->_value ) ) {
    40             $all_images = array_unique( explode( ',', $this->_value ) );
    41             if ( is_array( $all_images ) && count( $all_images ) > 0 ) {
    42               $index = 0;
    43               foreach ( $all_images as $id ) {
    44                 $src = wp_get_attachment_image_src( $id );
    45                 ?>
    46                 <div class="image-wrapper" data-id="<?php echo $id; ?>">
    47                   <img src="<?php echo $src[ 0 ] ?>" class="img-responsive img-circle">
    48                   <i class="fa fa-times remove-img" data-image="<?php echo $id ?>" id="image-<?php echo $id; ?>"></i>
    49                   <i class="fa fa-arrows move-img" data-image="<?php echo $id ?>" id="image-<?php echo $id; ?>"></i>
    50                 </div>
    51                 <?php
    52                 $index++;
    53               }
     28      <label for="<?php echo $this->_id; ?>"><?php echo $this->_label; ?></label>
     29      <input type="text" class="upload input" id="<?php echo $this->_id; ?>" name="<?php echo $this->_name; ?>" value="<?php echo $value; ?>" placeholder="<?php echo $this->_placeholder; ?>" readonly <?php echo $this->_additional_attrs; ?>>
     30      <button title="<?php echo __('Add Images', 'wordpress-admin-inputs');?>" class="upload button upload-multiple-images" type="button" data-title="Choose" data-update="Insert"><i class="fa fa-plus-circle"></i> <span class="text">Add</span> </button>
     31      <?php echo (isset_not_empty( $this->_desc )) ? "<p class='desc'>{$this->_desc}</p>" : ''; ?>
     32      <div class="images-wrapper">
     33        <?php
     34        if ( isset_not_empty( $this->_value ) ) {
     35          $all_images = array_unique( explode( ',', $this->_value ) );
     36          if ( is_array( $all_images ) && count( $all_images ) > 0 ) {
     37            $index = 0;
     38            foreach ( $all_images as $id ) {
     39              $src = wp_get_attachment_image_src( $id );
     40              ?>
     41              <div class="image-wrapper" data-id="<?php echo $id; ?>">
     42                <img src="<?php echo $src[ 0 ] ?>" class="img-responsive img-circle">
     43                <i class="fa fa-times remove-img" data-image="<?php echo $id ?>" id="image-<?php echo $id; ?>"></i>
     44                <i class="fa fa-arrows move-img" data-image="<?php echo $id ?>" id="image-<?php echo $id; ?>"></i>
     45              </div>
     46              <?php
     47              $index++;
    5448            }
    5549          }
    56           ?>
    57           <div class="clear"></div>
    58         </div>
    59       </div> 
     50        }
     51        ?>
     52        <div class="clear"></div>
     53      </div>   
    6054      <div class="clear"></div>   
    6155    </div>
  • bonzer-custom-fields/tags/1.0/vendor/bonzer/wordpress-admin-inputs/src/fields/Upload.php

    r2961032 r2965132  
    2121    ?>
    2222    <div class="bonzer-inputs input-wrapper upload-input-wapper" data-showif='<?php echo $this->_conditional_data(); ?>'>
     23      <label for="<?php echo $this->_id; ?>"><?php echo $this->_label; ?></label>
     24      <input type="text" class="upload input" id="<?php echo $this->_id; ?>" name="<?php echo $this->_name; ?>" value="<?php echo $this->_value; ?>" placeholder="<?php echo $this->_placeholder; ?>" readonly <?php echo $this->_additional_attrs; ?>>
     25      <button title="<?php echo __('Upload', 'wordpress-admin-inputs')?>" class="upload button upload_image_button" type="button" data-title="Choose" data-update="Insert"><i class="fa fa-upload"></i> <span class="text">Upload</span></button>
    2326     
    24       <label for="<?php echo $this->_id; ?>">
    25         <?php echo $this->_label; ?>
    26         <?php echo (isset_not_empty( $this->_desc )) ? "<p class='desc'>{$this->_desc}</p>" : ''; ?>
    27       </label>
    28 
    29       <div>
    30         <input type="text" class="upload input" id="<?php echo $this->_id; ?>" name="<?php echo $this->_name; ?>" value="<?php echo $this->_value; ?>" placeholder="<?php echo $this->_placeholder; ?>" readonly <?php echo $this->_additional_attrs; ?>>
    31         <button title="<?php echo __('Upload', 'wordpress-admin-inputs')?>" class="upload button upload_image_button" type="button" data-title="Choose" data-update="Insert"><i class="fa fa-upload"></i> <span class="text">Upload</span></button>
    32        
    33         <!-- Images Wrapper -->
    34         <div class="images-wrapper">
    35           <?php if ( isset_not_empty( $this->_value ) ) { ?>
    36             <div class="image-wrapper">
    37               <img src="<?php echo home_url() . $this->_value ?>" class="img-responsive img-circle">
    38               <i class="fa fa-times remove-img" data-image="<?php echo $this->_value; ?>" id="image-1"></i>
    39             </div>       
    40           <?php } ?>
    41         </div>
     27      <?php
     28      // description
     29      echo (isset_not_empty( $this->_desc )) ? "<p class='desc'>{$this->_desc}</p>" : '';
     30      ?>
     31      <!-- Images Wrapper -->
     32      <div class="images-wrapper">
     33        <?php if ( isset_not_empty( $this->_value ) ) { ?>
     34          <div class="image-wrapper">
     35            <img src="<?php echo home_url() . $this->_value ?>" class="img-responsive img-circle">
     36            <i class="fa fa-times remove-img" data-image="<?php echo $this->_value; ?>" id="image-1"></i>
     37          </div>       
     38        <?php } ?>
     39        <div class="clear"></div>
    4240      </div>
    43 
     41      <div class="clear"></div>
    4442    </div>
    4543    <?php
  • bonzer-custom-fields/tags/1.0/vendor/composer/ClassLoader.php

    r1859531 r2965132  
    3838 * @author Fabien Potencier <[email protected]>
    3939 * @author Jordi Boggiano <[email protected]>
    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
    4444{
     45    /** @var \Closure(string):void */
     46    private static $includeFile;
     47
     48    /** @var string|null */
     49    private $vendorDir;
     50
    4551    // PSR-4
     52    /**
     53     * @var array<string, array<string, int>>
     54     */
    4655    private $prefixLengthsPsr4 = array();
     56    /**
     57     * @var array<string, list<string>>
     58     */
    4759    private $prefixDirsPsr4 = array();
     60    /**
     61     * @var list<string>
     62     */
    4863    private $fallbackDirsPsr4 = array();
    4964
    5065    // PSR-0
     66    /**
     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>>>
     72     */
    5173    private $prefixesPsr0 = array();
     74    /**
     75     * @var list<string>
     76     */
    5277    private $fallbackDirsPsr0 = array();
    5378
     79    /** @var bool */
    5480    private $useIncludePath = false;
     81
     82    /**
     83     * @var array<string, string>
     84     */
    5585    private $classMap = array();
     86
     87    /** @var bool */
    5688    private $classMapAuthoritative = false;
     89
     90    /**
     91     * @var array<string, bool>
     92     */
    5793    private $missingClasses = array();
    5894
     95    /** @var string|null */
     96    private $apcuPrefix;
     97
     98    /**
     99     * @var array<string, self>
     100     */
     101    private static $registeredLoaders = array();
     102
     103    /**
     104     * @param string|null $vendorDir
     105     */
     106    public function __construct($vendorDir = null)
     107    {
     108        $this->vendorDir = $vendorDir;
     109        self::initializeIncludeClosure();
     110    }
     111
     112    /**
     113     * @return array<string, list<string>>
     114     */
    59115    public function getPrefixes()
    60116    {
    61117        if (!empty($this->prefixesPsr0)) {
    62             return call_user_func_array('array_merge', $this->prefixesPsr0);
     118            return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
    63119        }
    64120
     
    66122    }
    67123
     124    /**
     125     * @return array<string, list<string>>
     126     */
    68127    public function getPrefixesPsr4()
    69128    {
     
    71130    }
    72131
     132    /**
     133     * @return list<string>
     134     */
    73135    public function getFallbackDirs()
    74136    {
     
    76138    }
    77139
     140    /**
     141     * @return list<string>
     142     */
    78143    public function getFallbackDirsPsr4()
    79144    {
     
    81146    }
    82147
     148    /**
     149     * @return array<string, string> Array of classname => path
     150     */
    83151    public function getClassMap()
    84152    {
     
    87155
    88156    /**
    89      * @param array $classMap Class to filename map
     157     * @param array<string, string> $classMap Class to filename map
     158     *
     159     * @return void
    90160     */
    91161    public function addClassMap(array $classMap)
     
    102172     * appending or prepending to the ones previously set for this prefix.
    103173     *
    104      * @param string       $prefix  The prefix
    105      * @param array|string $paths   The PSR-0 root directories
    106      * @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
     177     *
     178     * @return void
    107179     */
    108180    public function add($prefix, $paths, $prepend = false)
    109181    {
     182        $paths = (array) $paths;
    110183        if (!$prefix) {
    111184            if ($prepend) {
    112185                $this->fallbackDirsPsr0 = array_merge(
    113                     (array) $paths,
     186                    $paths,
    114187                    $this->fallbackDirsPsr0
    115188                );
     
    117190                $this->fallbackDirsPsr0 = array_merge(
    118191                    $this->fallbackDirsPsr0,
    119                     (array) $paths
     192                    $paths
    120193                );
    121194            }
     
    126199        $first = $prefix[0];
    127200        if (!isset($this->prefixesPsr0[$first][$prefix])) {
    128             $this->prefixesPsr0[$first][$prefix] = (array) $paths;
     201            $this->prefixesPsr0[$first][$prefix] = $paths;
    129202
    130203            return;
     
    132205        if ($prepend) {
    133206            $this->prefixesPsr0[$first][$prefix] = array_merge(
    134                 (array) $paths,
     207                $paths,
    135208                $this->prefixesPsr0[$first][$prefix]
    136209            );
     
    138211            $this->prefixesPsr0[$first][$prefix] = array_merge(
    139212                $this->prefixesPsr0[$first][$prefix],
    140                 (array) $paths
     213                $paths
    141214            );
    142215        }
     
    147220     * appending or prepending to the ones previously set for this namespace.
    148221     *
    149      * @param string       $prefix  The prefix/namespace, with trailing '\\'
    150      * @param array|string $paths   The PSR-4 base directories
    151      * @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
    152225     *
    153226     * @throws \InvalidArgumentException
     227     *
     228     * @return void
    154229     */
    155230    public function addPsr4($prefix, $paths, $prepend = false)
    156231    {
     232        $paths = (array) $paths;
    157233        if (!$prefix) {
    158234            // Register directories for the root namespace.
    159235            if ($prepend) {
    160236                $this->fallbackDirsPsr4 = array_merge(
    161                     (array) $paths,
     237                    $paths,
    162238                    $this->fallbackDirsPsr4
    163239                );
     
    165241                $this->fallbackDirsPsr4 = array_merge(
    166242                    $this->fallbackDirsPsr4,
    167                     (array) $paths
     243                    $paths
    168244                );
    169245            }
     
    175251            }
    176252            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
    177             $this->prefixDirsPsr4[$prefix] = (array) $paths;
     253            $this->prefixDirsPsr4[$prefix] = $paths;
    178254        } elseif ($prepend) {
    179255            // Prepend directories for an already registered namespace.
    180256            $this->prefixDirsPsr4[$prefix] = array_merge(
    181                 (array) $paths,
     257                $paths,
    182258                $this->prefixDirsPsr4[$prefix]
    183259            );
     
    186262            $this->prefixDirsPsr4[$prefix] = array_merge(
    187263                $this->prefixDirsPsr4[$prefix],
    188                 (array) $paths
     264                $paths
    189265            );
    190266        }
     
    195271     * replacing any others previously set for this prefix.
    196272     *
    197      * @param string       $prefix The prefix
    198      * @param array|string $paths  The PSR-0 base directories
     273     * @param string              $prefix The prefix
     274     * @param list<string>|string $paths  The PSR-0 base directories
     275     *
     276     * @return void
    199277     */
    200278    public function set($prefix, $paths)
     
    211289     * replacing any others previously set for this namespace.
    212290     *
    213      * @param string       $prefix The prefix/namespace, with trailing '\\'
    214      * @param array|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
    215293     *
    216294     * @throws \InvalidArgumentException
     295     *
     296     * @return void
    217297     */
    218298    public function setPsr4($prefix, $paths)
     
    234314     *
    235315     * @param bool $useIncludePath
     316     *
     317     * @return void
    236318     */
    237319    public function setUseIncludePath($useIncludePath)
     
    256338     *
    257339     * @param bool $classMapAuthoritative
     340     *
     341     * @return void
    258342     */
    259343    public function setClassMapAuthoritative($classMapAuthoritative)
     
    273357
    274358    /**
     359     * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
     360     *
     361     * @param string|null $apcuPrefix
     362     *
     363     * @return void
     364     */
     365    public function setApcuPrefix($apcuPrefix)
     366    {
     367        $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
     368    }
     369
     370    /**
     371     * The APCu prefix in use, or null if APCu caching is not enabled.
     372     *
     373     * @return string|null
     374     */
     375    public function getApcuPrefix()
     376    {
     377        return $this->apcuPrefix;
     378    }
     379
     380    /**
    275381     * Registers this instance as an autoloader.
    276382     *
    277383     * @param bool $prepend Whether to prepend the autoloader or not
     384     *
     385     * @return void
    278386     */
    279387    public function register($prepend = false)
    280388    {
    281389        spl_autoload_register(array($this, 'loadClass'), true, $prepend);
     390
     391        if (null === $this->vendorDir) {
     392            return;
     393        }
     394
     395        if ($prepend) {
     396            self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
     397        } else {
     398            unset(self::$registeredLoaders[$this->vendorDir]);
     399            self::$registeredLoaders[$this->vendorDir] = $this;
     400        }
    282401    }
    283402
    284403    /**
    285404     * Unregisters this instance as an autoloader.
     405     *
     406     * @return void
    286407     */
    287408    public function unregister()
    288409    {
    289410        spl_autoload_unregister(array($this, 'loadClass'));
     411
     412        if (null !== $this->vendorDir) {
     413            unset(self::$registeredLoaders[$this->vendorDir]);
     414        }
    290415    }
    291416
     
    294419     *
    295420     * @param  string    $class The name of the class
    296      * @return bool|null True if loaded, null otherwise
     421     * @return true|null True if loaded, null otherwise
    297422     */
    298423    public function loadClass($class)
    299424    {
    300425        if ($file = $this->findFile($class)) {
    301             includeFile($file);
     426            $includeFile = self::$includeFile;
     427            $includeFile($file);
    302428
    303429            return true;
    304430        }
     431
     432        return null;
    305433    }
    306434
     
    314442    public function findFile($class)
    315443    {
    316         // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731
    317         if ('\\' == $class[0]) {
    318             $class = substr($class, 1);
    319         }
    320 
    321444        // class map lookup
    322445        if (isset($this->classMap[$class])) {
     
    326449            return false;
    327450        }
     451        if (null !== $this->apcuPrefix) {
     452            $file = apcu_fetch($this->apcuPrefix.$class, $hit);
     453            if ($hit) {
     454                return $file;
     455            }
     456        }
    328457
    329458        $file = $this->findFileWithExtension($class, '.php');
     
    334463        }
    335464
     465        if (null !== $this->apcuPrefix) {
     466            apcu_add($this->apcuPrefix.$class, $file);
     467        }
     468
    336469        if (false === $file) {
    337470            // Remember that this class does not exist.
     
    342475    }
    343476
     477    /**
     478     * Returns the currently registered loaders keyed by their corresponding vendor directories.
     479     *
     480     * @return array<string, self>
     481     */
     482    public static function getRegisteredLoaders()
     483    {
     484        return self::$registeredLoaders;
     485    }
     486
     487    /**
     488     * @param  string       $class
     489     * @param  string       $ext
     490     * @return string|false
     491     */
    344492    private function findFileWithExtension($class, $ext)
    345493    {
     
    349497        $first = $class[0];
    350498        if (isset($this->prefixLengthsPsr4[$first])) {
    351             foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
    352                 if (0 === strpos($class, $prefix)) {
    353                     foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
    354                         if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
     499            $subPath = $class;
     500            while (false !== $lastPos = strrpos($subPath, '\\')) {
     501                $subPath = substr($subPath, 0, $lastPos);
     502                $search = $subPath . '\\';
     503                if (isset($this->prefixDirsPsr4[$search])) {
     504                    $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
     505                    foreach ($this->prefixDirsPsr4[$search] as $dir) {
     506                        if (file_exists($file = $dir . $pathEnd)) {
    355507                            return $file;
    356508                        }
     
    403555        return false;
    404556    }
     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    }
    405579}
    406 
    407 /**
    408  * Scope isolated include.
    409  *
    410  * Prevents access to $this/self from included files.
    411  */
    412 function includeFile($file)
    413 {
    414     include $file;
    415 }
  • bonzer-custom-fields/tags/1.0/vendor/composer/LICENSE

    r1859531 r2965132  
    11
    2 Copyright (c) 2016 Nils Adermann, Jordi Boggiano
     2Copyright (c) Nils Adermann, Jordi Boggiano
    33
    44Permission is hereby granted, free of charge, to any person obtaining a copy
  • bonzer-custom-fields/tags/1.0/vendor/composer/autoload_classmap.php

    r1859531 r2965132  
    33// autoload_classmap.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
    88return array(
    9     'lessc' => $vendorDir . '/oyejorge/less.php/lessc.inc.php',
     9    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
     10    'lessc' => $vendorDir . '/wikimedia/less.php/lessc.inc.php',
    1011);
  • bonzer-custom-fields/tags/1.0/vendor/composer/autoload_files.php

    r1859531 r2965132  
    33// autoload_files.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
  • bonzer-custom-fields/tags/1.0/vendor/composer/autoload_namespaces.php

    r1859531 r2965132  
    33// autoload_namespaces.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
    88return array(
    9     'Less' => array($vendorDir . '/oyejorge/less.php/lib'),
     9    'Less' => array($vendorDir . '/wikimedia/less.php/lib'),
    1010);
  • bonzer-custom-fields/tags/1.0/vendor/composer/autoload_psr4.php

    r1859531 r2965132  
    33// autoload_psr4.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
  • bonzer-custom-fields/tags/1.0/vendor/composer/autoload_real.php

    r1859531 r2965132  
    1414    }
    1515
     16    /**
     17     * @return \Composer\Autoload\ClassLoader
     18     */
    1619    public static function getLoader()
    1720    {
     
    2023        }
    2124
     25        require __DIR__ . '/platform_check.php';
     26
    2227        spl_autoload_register(array('ComposerAutoloaderInitdd972da31f35a37479169a6432fe0d91', 'loadClassLoader'), true, true);
    23         self::$loader = $loader = new \Composer\Autoload\ClassLoader();
     28        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    2429        spl_autoload_unregister(array('ComposerAutoloaderInitdd972da31f35a37479169a6432fe0d91', 'loadClassLoader'));
    2530
    26         $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION');
    27         if ($useStaticLoader) {
    28             require_once __DIR__ . '/autoload_static.php';
    29 
    30             call_user_func(\Composer\Autoload\ComposerStaticInitdd972da31f35a37479169a6432fe0d91::getInitializer($loader));
    31         } else {
    32             $map = require __DIR__ . '/autoload_namespaces.php';
    33             foreach ($map as $namespace => $path) {
    34                 $loader->set($namespace, $path);
    35             }
    36 
    37             $map = require __DIR__ . '/autoload_psr4.php';
    38             foreach ($map as $namespace => $path) {
    39                 $loader->setPsr4($namespace, $path);
    40             }
    41 
    42             $classMap = require __DIR__ . '/autoload_classmap.php';
    43             if ($classMap) {
    44                 $loader->addClassMap($classMap);
    45             }
    46         }
     31        require __DIR__ . '/autoload_static.php';
     32        call_user_func(\Composer\Autoload\ComposerStaticInitdd972da31f35a37479169a6432fe0d91::getInitializer($loader));
    4733
    4834        $loader->register(true);
    4935
    50         if ($useStaticLoader) {
    51             $includeFiles = Composer\Autoload\ComposerStaticInitdd972da31f35a37479169a6432fe0d91::$files;
    52         } else {
    53             $includeFiles = require __DIR__ . '/autoload_files.php';
    54         }
    55         foreach ($includeFiles as $fileIdentifier => $file) {
    56             composerRequiredd972da31f35a37479169a6432fe0d91($fileIdentifier, $file);
     36        $filesToLoad = \Composer\Autoload\ComposerStaticInitdd972da31f35a37479169a6432fe0d91::$files;
     37        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
     38            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
     39                $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
     40
     41                require $file;
     42            }
     43        }, null, null);
     44        foreach ($filesToLoad as $fileIdentifier => $file) {
     45            $requireFile($fileIdentifier, $file);
    5746        }
    5847
     
    6049    }
    6150}
    62 
    63 function composerRequiredd972da31f35a37479169a6432fe0d91($fileIdentifier, $file)
    64 {
    65     if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
    66         require $file;
    67 
    68         $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
    69     }
    70 }
  • bonzer-custom-fields/tags/1.0/vendor/composer/autoload_static.php

    r1859531 r2965132  
    5656            'Less' =>
    5757            array (
    58                 0 => __DIR__ . '/..' . '/oyejorge/less.php/lib',
     58                0 => __DIR__ . '/..' . '/wikimedia/less.php/lib',
    5959            ),
    6060        ),
     
    6262
    6363    public static $classMap = array (
    64         'lessc' => __DIR__ . '/..' . '/oyejorge/less.php/lessc.inc.php',
     64        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
     65        'lessc' => __DIR__ . '/..' . '/wikimedia/less.php/lessc.inc.php',
    6566    );
    6667
  • bonzer-custom-fields/tags/1.0/vendor/composer/installed.json

    r1859531 r2965132  
    1 [
    2     {
    3         "name": "oyejorge/less.php",
    4         "version": "v1.7.0.14",
    5         "version_normalized": "1.7.0.14",
    6         "source": {
    7             "type": "git",
    8             "url": "https://github.com/oyejorge/less.php.git",
    9             "reference": "42925c5a01a07d67ca7e82dfc8fb31814d557bc9"
    10         },
    11         "dist": {
    12             "type": "zip",
    13             "url": "https://api.github.com/repos/oyejorge/less.php/zipball/42925c5a01a07d67ca7e82dfc8fb31814d557bc9",
    14             "reference": "42925c5a01a07d67ca7e82dfc8fb31814d557bc9",
    15             "shasum": ""
    16         },
    17         "require": {
    18             "php": ">=5.3"
    19         },
    20         "require-dev": {
    21             "phpunit/phpunit": "~4.8.24"
    22         },
    23         "time": "2017-03-28 22:19:25",
    24         "bin": [
    25             "bin/lessc"
    26         ],
    27         "type": "library",
    28         "installation-source": "dist",
    29         "autoload": {
    30             "psr-0": {
    31                 "Less": "lib/"
    32             },
    33             "classmap": [
    34                 "lessc.inc.php"
    35             ]
    36         },
    37         "notification-url": "https://packagist.org/downloads/",
    38         "license": [
    39             "Apache-2.0"
    40         ],
    41         "authors": [
    42             {
    43                 "name": "Matt Agar",
    44                 "homepage": "https://github.com/agar"
    45             },
    46             {
    47                 "name": "Martin Jantošovič",
    48                 "homepage": "https://github.com/Mordred"
    49             },
    50             {
    51                 "name": "Josh Schmidt",
    52                 "homepage": "https://github.com/oyejorge"
    53             }
    54         ],
    55         "description": "PHP port of the Javascript version of LESS http://lesscss.org (Originally maintained by Josh Schmidt)",
    56         "homepage": "http://lessphp.gpeasy.com",
    57         "keywords": [
    58             "css",
    59             "less",
    60             "less.js",
    61             "lesscss",
    62             "php",
    63             "stylesheet"
    64         ]
    65     },
    66     {
    67         "name": "bonzer/exceptions",
    68         "version": "v0.0.1",
    69         "version_normalized": "0.0.1.0",
    70         "source": {
    71             "type": "git",
    72             "url": "https://github.com/parasralhan/exceptions.git",
    73             "reference": "bb715d705b1beea229d458cae34421db299f7243"
    74         },
    75         "dist": {
    76             "type": "zip",
    77             "url": "https://api.github.com/repos/parasralhan/exceptions/zipball/bb715d705b1beea229d458cae34421db299f7243",
    78             "reference": "bb715d705b1beea229d458cae34421db299f7243",
    79             "shasum": ""
    80         },
    81         "require": {
    82             "php": ">=5.4.0"
    83         },
    84         "time": "2018-04-14 05:55:02",
    85         "type": "library",
    86         "installation-source": "dist",
    87         "autoload": {
    88             "psr-4": {
    89                 "Bonzer\\Exceptions\\": "src/"
    90             }
    91         },
    92         "notification-url": "https://packagist.org/downloads/",
    93         "license": [
    94             "MIT"
    95         ],
    96         "authors": [
    97             {
    98                 "name": "Paras Ralhan",
    99                 "email": "[email protected]"
    100             }
    101         ],
    102         "description": "Simple PHP Exception Utilities"
    103     },
    104     {
    105         "name": "bonzer/events",
    106         "version": "v0.0.1",
    107         "version_normalized": "0.0.1.0",
    108         "source": {
    109             "type": "git",
    110             "url": "https://github.com/parasralhan/events.git",
    111             "reference": "3ff70e40a0fa5854c63c166a666bb9d345687c86"
    112         },
    113         "dist": {
    114             "type": "zip",
    115             "url": "https://api.github.com/repos/parasralhan/events/zipball/3ff70e40a0fa5854c63c166a666bb9d345687c86",
    116             "reference": "3ff70e40a0fa5854c63c166a666bb9d345687c86",
    117             "shasum": ""
    118         },
    119         "require": {
    120             "bonzer/exceptions": "v0.0.1",
    121             "php": ">=5.4.0"
    122         },
    123         "time": "2018-04-14 06:31:07",
    124         "type": "library",
    125         "installation-source": "dist",
    126         "autoload": {
    127             "psr-4": {
    128                 "Bonzer\\Events\\": "src/"
    129             }
    130         },
    131         "notification-url": "https://packagist.org/downloads/",
    132         "license": [
    133             "MIT"
    134         ],
    135         "authors": [
    136             {
    137                 "name": "Paras Ralhan",
    138                 "email": "[email protected]"
    139             }
    140         ],
    141         "description": "Responsible for implementing Event System in your application"
    142     },
    143     {
    144         "name": "bonzer/ioc-container",
    145         "version": "v0.0.1",
    146         "version_normalized": "0.0.1.0",
    147         "source": {
    148             "type": "git",
    149             "url": "https://github.com/parasralhan/ioc-container.git",
    150             "reference": "c1cc8bc52473fce06555e9c199f25d7102098cdf"
    151         },
    152         "dist": {
    153             "type": "zip",
    154             "url": "https://api.github.com/repos/parasralhan/ioc-container/zipball/c1cc8bc52473fce06555e9c199f25d7102098cdf",
    155             "reference": "c1cc8bc52473fce06555e9c199f25d7102098cdf",
    156             "shasum": ""
    157         },
    158         "require": {
    159             "bonzer/exceptions": "v0.0.1",
    160             "php": ">=5.4.0"
    161         },
    162         "time": "2018-04-14 06:40:09",
    163         "type": "library",
    164         "installation-source": "dist",
    165         "autoload": {
    166             "psr-4": {
    167                 "Bonzer\\IOC_Container\\": "src/"
    168             }
    169         },
    170         "notification-url": "https://packagist.org/downloads/",
    171         "license": [
    172             "MIT"
    173         ],
    174         "authors": [
    175             {
    176                 "name": "Paras Ralhan",
    177                 "email": "[email protected]"
    178             }
    179         ],
    180         "description": "Inversion of Control Container - facilitating Interface Oriented Design"
    181     },
    182     {
    183         "name": "bonzer/inputs",
    184         "version": "v0.0.1",
    185         "version_normalized": "0.0.1.0",
    186         "source": {
    187             "type": "git",
    188             "url": "https://github.com/parasralhan/form-fields.git",
    189             "reference": "cd8eaf495d2fb3dd4e99b5edc21cc352f2ea75ea"
    190         },
    191         "dist": {
    192             "type": "zip",
    193             "url": "https://api.github.com/repos/parasralhan/form-fields/zipball/cd8eaf495d2fb3dd4e99b5edc21cc352f2ea75ea",
    194             "reference": "cd8eaf495d2fb3dd4e99b5edc21cc352f2ea75ea",
    195             "shasum": ""
    196         },
    197         "require": {
    198             "bonzer/events": "v0.0.1",
    199             "bonzer/exceptions": "v0.0.1",
    200             "bonzer/ioc-container": "v0.0.1",
    201             "oyejorge/less.php": "v1.7.0.14",
    202             "php": ">=5.4.0"
    203         },
    204         "time": "2018-04-14 06:45:23",
    205         "type": "library",
    206         "installation-source": "dist",
    207         "autoload": {
    208             "files": [
    209                 "src/bootstrap.php"
    210             ],
    211             "psr-4": {
    212                 "Bonzer\\Inputs\\": "src/"
    213             }
    214         },
    215         "notification-url": "https://packagist.org/downloads/",
    216         "license": [
    217             "MIT"
    218         ],
    219         "authors": [
    220             {
    221                 "name": "Paras Ralhan",
    222                 "email": "[email protected]"
    223             }
    224         ],
    225         "description": "A form inputs library"
    226     },
    227     {
    228         "name": "bonzer/wordpress-admin-inputs",
    229         "version": "v0.0.1",
    230         "version_normalized": "0.0.1.0",
    231         "source": {
    232             "type": "git",
    233             "url": "https://github.com/parasralhan/wordpress-admin-inputs.git",
    234             "reference": "5e67e148456c1bdf4acdda83450c5d3d9f80e437"
    235         },
    236         "dist": {
    237             "type": "zip",
    238             "url": "https://api.github.com/repos/parasralhan/wordpress-admin-inputs/zipball/5e67e148456c1bdf4acdda83450c5d3d9f80e437",
    239             "reference": "5e67e148456c1bdf4acdda83450c5d3d9f80e437",
    240             "shasum": ""
    241         },
    242         "require": {
    243             "bonzer/inputs": "v0.0.1",
    244             "php": ">=5.4.0"
    245         },
    246         "time": "2018-04-14 07:09:18",
    247         "type": "library",
    248         "installation-source": "dist",
    249         "autoload": {
    250             "files": [
    251                 "src/bootstrap.php"
    252             ],
    253             "psr-4": {
    254                 "Bonzer\\Inputs_WP\\": "src/"
    255             }
    256         },
    257         "notification-url": "https://packagist.org/downloads/",
    258         "license": [
    259             "MIT"
    260         ],
    261         "authors": [
    262             {
    263                 "name": "Paras Ralhan",
    264                 "email": "[email protected]"
    265             }
    266         ],
    267         "description": "Form fields for your Wordpress admin panel"
    268     }
    269 ]
     1{
     2    "packages": [
     3        {
     4            "name": "bonzer/events",
     5            "version": "v0.0.1",
     6            "version_normalized": "0.0.1.0",
     7            "source": {
     8                "type": "git",
     9                "url": "https://github.com/parasralhan/events.git",
     10                "reference": "3ff70e40a0fa5854c63c166a666bb9d345687c86"
     11            },
     12            "dist": {
     13                "type": "zip",
     14                "url": "https://api.github.com/repos/parasralhan/events/zipball/3ff70e40a0fa5854c63c166a666bb9d345687c86",
     15                "reference": "3ff70e40a0fa5854c63c166a666bb9d345687c86",
     16                "shasum": ""
     17            },
     18            "require": {
     19                "bonzer/exceptions": "v0.0.1",
     20                "php": ">=5.4.0"
     21            },
     22            "time": "2018-04-14T06:31:07+00:00",
     23            "type": "library",
     24            "installation-source": "dist",
     25            "autoload": {
     26                "psr-4": {
     27                    "Bonzer\\Events\\": "src/"
     28                }
     29            },
     30            "notification-url": "https://packagist.org/downloads/",
     31            "license": [
     32                "MIT"
     33            ],
     34            "authors": [
     35                {
     36                    "name": "Paras Ralhan",
     37                    "email": "[email protected]"
     38                }
     39            ],
     40            "description": "Responsible for implementing Event System in your application",
     41            "install-path": "../bonzer/events"
     42        },
     43        {
     44            "name": "bonzer/exceptions",
     45            "version": "v0.0.1",
     46            "version_normalized": "0.0.1.0",
     47            "source": {
     48                "type": "git",
     49                "url": "https://github.com/parasralhan/exceptions.git",
     50                "reference": "bb715d705b1beea229d458cae34421db299f7243"
     51            },
     52            "dist": {
     53                "type": "zip",
     54                "url": "https://api.github.com/repos/parasralhan/exceptions/zipball/bb715d705b1beea229d458cae34421db299f7243",
     55                "reference": "bb715d705b1beea229d458cae34421db299f7243",
     56                "shasum": ""
     57            },
     58            "require": {
     59                "php": ">=5.4.0"
     60            },
     61            "time": "2018-04-14T05:55:02+00:00",
     62            "type": "library",
     63            "installation-source": "dist",
     64            "autoload": {
     65                "psr-4": {
     66                    "Bonzer\\Exceptions\\": "src/"
     67                }
     68            },
     69            "notification-url": "https://packagist.org/downloads/",
     70            "license": [
     71                "MIT"
     72            ],
     73            "authors": [
     74                {
     75                    "name": "Paras Ralhan",
     76                    "email": "[email protected]"
     77                }
     78            ],
     79            "description": "Simple PHP Exception Utilities",
     80            "install-path": "../bonzer/exceptions"
     81        },
     82        {
     83            "name": "bonzer/inputs",
     84            "version": "v0.0.2",
     85            "version_normalized": "0.0.2.0",
     86            "source": {
     87                "type": "git",
     88                "url": "https://github.com/parasralhan/form-fields.git",
     89                "reference": "cd7f9938bee4111c93c3b7ae6132129a118647fe"
     90            },
     91            "dist": {
     92                "type": "zip",
     93                "url": "https://api.github.com/repos/parasralhan/form-fields/zipball/cd7f9938bee4111c93c3b7ae6132129a118647fe",
     94                "reference": "cd7f9938bee4111c93c3b7ae6132129a118647fe",
     95                "shasum": ""
     96            },
     97            "require": {
     98                "bonzer/events": "v0.0.1",
     99                "bonzer/exceptions": "v0.0.1",
     100                "bonzer/ioc-container": "v0.0.2",
     101                "php": ">=5.4.0",
     102                "wikimedia/less.php": "v1.7.0.14"
     103            },
     104            "time": "2023-09-11T07:12:13+00:00",
     105            "type": "library",
     106            "installation-source": "dist",
     107            "autoload": {
     108                "files": [
     109                    "src/bootstrap.php"
     110                ],
     111                "psr-4": {
     112                    "Bonzer\\Inputs\\": "src/"
     113                }
     114            },
     115            "notification-url": "https://packagist.org/downloads/",
     116            "license": [
     117                "MIT"
     118            ],
     119            "authors": [
     120                {
     121                    "name": "Paras Ralhan",
     122                    "email": "[email protected]"
     123                }
     124            ],
     125            "description": "A form inputs library",
     126            "support": {
     127                "issues": "https://github.com/parasralhan/form-fields/issues",
     128                "source": "https://github.com/parasralhan/form-fields/tree/v0.0.2"
     129            },
     130            "install-path": "../bonzer/inputs"
     131        },
     132        {
     133            "name": "bonzer/ioc-container",
     134            "version": "v0.0.2",
     135            "version_normalized": "0.0.2.0",
     136            "source": {
     137                "type": "git",
     138                "url": "https://github.com/parasralhan/ioc-container.git",
     139                "reference": "7817dfc9195b6a0a038a4aa56358cc8f2fa969aa"
     140            },
     141            "dist": {
     142                "type": "zip",
     143                "url": "https://api.github.com/repos/parasralhan/ioc-container/zipball/7817dfc9195b6a0a038a4aa56358cc8f2fa969aa",
     144                "reference": "7817dfc9195b6a0a038a4aa56358cc8f2fa969aa",
     145                "shasum": ""
     146            },
     147            "require": {
     148                "bonzer/exceptions": "v0.0.1",
     149                "php": ">=5.4.0"
     150            },
     151            "time": "2023-09-10T16:09:21+00:00",
     152            "type": "library",
     153            "installation-source": "dist",
     154            "autoload": {
     155                "psr-4": {
     156                    "Bonzer\\IOC_Container\\": "src/"
     157                }
     158            },
     159            "notification-url": "https://packagist.org/downloads/",
     160            "license": [
     161                "MIT"
     162            ],
     163            "authors": [
     164                {
     165                    "name": "Paras Ralhan",
     166                    "email": "[email protected]"
     167                }
     168            ],
     169            "description": "Inversion of Control Container - facilitating Interface Oriented Design",
     170            "support": {
     171                "issues": "https://github.com/parasralhan/ioc-container/issues",
     172                "source": "https://github.com/parasralhan/ioc-container/tree/v0.0.2"
     173            },
     174            "install-path": "../bonzer/ioc-container"
     175        },
     176        {
     177            "name": "bonzer/wordpress-admin-inputs",
     178            "version": "v0.0.2",
     179            "version_normalized": "0.0.2.0",
     180            "source": {
     181                "type": "git",
     182                "url": "https://github.com/parasralhan/wordpress-admin-inputs.git",
     183                "reference": "d9ae1d5d0ec8f0a2d017245da156ae2f2023cbb7"
     184            },
     185            "dist": {
     186                "type": "zip",
     187                "url": "https://api.github.com/repos/parasralhan/wordpress-admin-inputs/zipball/d9ae1d5d0ec8f0a2d017245da156ae2f2023cbb7",
     188                "reference": "d9ae1d5d0ec8f0a2d017245da156ae2f2023cbb7",
     189                "shasum": ""
     190            },
     191            "require": {
     192                "bonzer/inputs": "v0.0.2",
     193                "php": ">=5.4.0"
     194            },
     195            "time": "2023-09-11T06:49:34+00:00",
     196            "type": "library",
     197            "installation-source": "dist",
     198            "autoload": {
     199                "files": [
     200                    "src/bootstrap.php"
     201                ],
     202                "psr-4": {
     203                    "Bonzer\\Inputs_WP\\": "src/"
     204                }
     205            },
     206            "notification-url": "https://packagist.org/downloads/",
     207            "license": [
     208                "MIT"
     209            ],
     210            "authors": [
     211                {
     212                    "name": "Paras Ralhan",
     213                    "email": "[email protected]"
     214                }
     215            ],
     216            "description": "Form fields for your Wordpress admin panel",
     217            "support": {
     218                "issues": "https://github.com/parasralhan/wordpress-admin-inputs/issues",
     219                "source": "https://github.com/parasralhan/wordpress-admin-inputs/tree/v0.0.2"
     220            },
     221            "install-path": "../bonzer/wordpress-admin-inputs"
     222        },
     223        {
     224            "name": "wikimedia/less.php",
     225            "version": "v1.7.0.14",
     226            "version_normalized": "1.7.0.14",
     227            "source": {
     228                "type": "git",
     229                "url": "https://github.com/wikimedia/less.php.git",
     230                "reference": "42925c5a01a07d67ca7e82dfc8fb31814d557bc9"
     231            },
     232            "dist": {
     233                "type": "zip",
     234                "url": "https://api.github.com/repos/wikimedia/less.php/zipball/42925c5a01a07d67ca7e82dfc8fb31814d557bc9",
     235                "reference": "42925c5a01a07d67ca7e82dfc8fb31814d557bc9",
     236                "shasum": ""
     237            },
     238            "require": {
     239                "php": ">=5.3"
     240            },
     241            "require-dev": {
     242                "phpunit/phpunit": "~4.8.24"
     243            },
     244            "time": "2017-03-28T22:19:25+00:00",
     245            "bin": [
     246                "bin/lessc"
     247            ],
     248            "type": "library",
     249            "installation-source": "dist",
     250            "autoload": {
     251                "psr-0": {
     252                    "Less": "lib/"
     253                },
     254                "classmap": [
     255                    "lessc.inc.php"
     256                ]
     257            },
     258            "notification-url": "https://packagist.org/downloads/",
     259            "license": [
     260                "Apache-2.0"
     261            ],
     262            "authors": [
     263                {
     264                    "name": "Matt Agar",
     265                    "homepage": "https://github.com/agar"
     266                },
     267                {
     268                    "name": "Martin Jantošovič",
     269                    "homepage": "https://github.com/Mordred"
     270                },
     271                {
     272                    "name": "Josh Schmidt",
     273                    "homepage": "https://github.com/oyejorge"
     274                }
     275            ],
     276            "description": "PHP port of the Javascript version of LESS http://lesscss.org (Originally maintained by Josh Schmidt)",
     277            "homepage": "http://lessphp.gpeasy.com",
     278            "keywords": [
     279                "css",
     280                "less",
     281                "less.js",
     282                "lesscss",
     283                "php",
     284                "stylesheet"
     285            ],
     286            "support": {
     287                "source": "https://github.com/wikimedia/less.php/tree/v1.7.0.14"
     288            },
     289            "install-path": "../wikimedia/less.php"
     290        }
     291    ],
     292    "dev": true,
     293    "dev-package-names": []
     294}
  • bonzer-custom-fields/trunk/composer.json

    r1859531 r2965132  
    77  "require": {
    88    "php": ">=5.4.0",
    9     "bonzer/wordpress-admin-inputs": "v0.0.1"
     9    "bonzer/wordpress-admin-inputs": "v0.0.2"
    1010  },
    1111  "files": ["bootstrap.php"],
  • bonzer-custom-fields/trunk/vendor/autoload.php

    r1859531 r2965132  
    33// autoload.php @generated by Composer
    44
    5 require_once __DIR__ . '/composer' . '/autoload_real.php';
     5if (PHP_VERSION_ID < 50600) {
     6    if (!headers_sent()) {
     7        header('HTTP/1.1 500 Internal Server Error');
     8    }
     9    $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
     10    if (!ini_get('display_errors')) {
     11        if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
     12            fwrite(STDERR, $err);
     13        } elseif (!headers_sent()) {
     14            echo $err;
     15        }
     16    }
     17    trigger_error(
     18        $err,
     19        E_USER_ERROR
     20    );
     21}
     22
     23require_once __DIR__ . '/composer/autoload_real.php';
    624
    725return ComposerAutoloaderInitdd972da31f35a37479169a6432fe0d91::getLoader();
  • bonzer-custom-fields/trunk/vendor/bin/lessc

    r1859531 r2965132  
    1 #!/usr/bin/env sh
     1#!/usr/bin/env php
     2<?php
    23
    3 dir=$(d=${0%[/\\]*}; cd "$d"; cd "../oyejorge/less.php/bin" && pwd)
     4/**
     5 * Proxy PHP file generated by Composer
     6 *
     7 * This file includes the referenced bin path (../wikimedia/less.php/bin/lessc)
     8 * using a stream wrapper to prevent the shebang from being output on PHP<8
     9 *
     10 * @generated
     11 */
    412
    5 # See if we are running in Cygwin by checking for cygpath program
    6 if command -v 'cygpath' >/dev/null 2>&1; then
    7     # Cygwin paths start with /cygdrive/ which will break windows PHP,
    8     # so we need to translate the dir path to windows format. However
    9     # we could be using cygwin PHP which does not require this, so we
    10     # test if the path to PHP starts with /cygdrive/ rather than /usr/bin
    11     if [[ $(which php) == /cygdrive/* ]]; then
    12         dir=$(cygpath -m "$dir");
    13     fi
    14 fi
     13namespace Composer;
    1514
    16 dir=$(echo $dir | sed 's/ /\ /g')
    17 "${dir}/lessc" "$@"
     15$GLOBALS['_composer_bin_dir'] = __DIR__;
     16$GLOBALS['_composer_autoload_path'] = __DIR__ . '/..'.'/autoload.php';
     17
     18if (PHP_VERSION_ID < 80000) {
     19    if (!class_exists('Composer\BinProxyWrapper')) {
     20        /**
     21         * @internal
     22         */
     23        final class BinProxyWrapper
     24        {
     25            private $handle;
     26            private $position;
     27            private $realpath;
     28
     29            public function stream_open($path, $mode, $options, &$opened_path)
     30            {
     31                // get rid of phpvfscomposer:// prefix for __FILE__ & __DIR__ resolution
     32                $opened_path = substr($path, 17);
     33                $this->realpath = realpath($opened_path) ?: $opened_path;
     34                $opened_path = $this->realpath;
     35                $this->handle = fopen($this->realpath, $mode);
     36                $this->position = 0;
     37
     38                return (bool) $this->handle;
     39            }
     40
     41            public function stream_read($count)
     42            {
     43                $data = fread($this->handle, $count);
     44
     45                if ($this->position === 0) {
     46                    $data = preg_replace('{^#!.*\r?\n}', '', $data);
     47                }
     48
     49                $this->position += strlen($data);
     50
     51                return $data;
     52            }
     53
     54            public function stream_cast($castAs)
     55            {
     56                return $this->handle;
     57            }
     58
     59            public function stream_close()
     60            {
     61                fclose($this->handle);
     62            }
     63
     64            public function stream_lock($operation)
     65            {
     66                return $operation ? flock($this->handle, $operation) : true;
     67            }
     68
     69            public function stream_seek($offset, $whence)
     70            {
     71                if (0 === fseek($this->handle, $offset, $whence)) {
     72                    $this->position = ftell($this->handle);
     73                    return true;
     74                }
     75
     76                return false;
     77            }
     78
     79            public function stream_tell()
     80            {
     81                return $this->position;
     82            }
     83
     84            public function stream_eof()
     85            {
     86                return feof($this->handle);
     87            }
     88
     89            public function stream_stat()
     90            {
     91                return array();
     92            }
     93
     94            public function stream_set_option($option, $arg1, $arg2)
     95            {
     96                return true;
     97            }
     98
     99            public function url_stat($path, $flags)
     100            {
     101                $path = substr($path, 17);
     102                if (file_exists($path)) {
     103                    return stat($path);
     104                }
     105
     106                return false;
     107            }
     108        }
     109    }
     110
     111    if (
     112        (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
     113        || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
     114    ) {
     115        return include("phpvfscomposer://" . __DIR__ . '/..'.'/wikimedia/less.php/bin/lessc');
     116    }
     117}
     118
     119return include __DIR__ . '/..'.'/wikimedia/less.php/bin/lessc';
  • bonzer-custom-fields/trunk/vendor/bin/lessc.bat

    r1859531 r2965132  
    11@ECHO OFF
    22setlocal DISABLEDELAYEDEXPANSION
    3 SET BIN_TARGET=%~dp0/../oyejorge/less.php/bin/lessc
     3SET BIN_TARGET=%~dp0/lessc
     4SET COMPOSER_RUNTIME_BIN_DIR=%~dp0
    45php "%BIN_TARGET%" %*
  • bonzer-custom-fields/trunk/vendor/bonzer/inputs/composer.json

    r1859531 r2965132  
    11{
    2     "name": "bonzer/inputs",
    3     "description": "A form inputs library",
    4     "type": "library",
    5     "license": "MIT",
    6     "authors": [
    7         {
    8             "name": "Paras Ralhan",
    9             "email": "[email protected]"
    10         }
    11     ],
    12     "minimum-stability": "dev",
    13     "prefer-stable" : true,
    14     "require": {
    15         "php": ">=5.4.0",
    16         "oyejorge/less.php": "v1.7.0.14",
    17         "bonzer/exceptions": "v0.0.1",
    18         "bonzer/ioc-container": "v0.0.1",
    19         "bonzer/events": "v0.0.1"
     2  "name": "bonzer/inputs",
     3  "description": "A form inputs library",
     4  "type": "library",
     5  "license": "MIT",
     6  "authors": [
     7    {
     8      "name": "Paras Ralhan",
     9      "email": "[email protected]"
     10    }
     11  ],
     12  "minimum-stability": "dev",
     13  "prefer-stable" : true,
     14  "require": {
     15    "php": ">=5.4.0",
     16    "wikimedia/less.php": "v1.7.0.14",
     17    "bonzer/exceptions": "v0.0.1",
     18    "bonzer/ioc-container": "v0.0.2",
     19    "bonzer/events": "v0.0.1"
    2020    },
    2121    "autoload": {
    22         "files": ["src/bootstrap.php"],
    23         "psr-4": {
    24             "Bonzer\\Inputs\\": "src/"
    25         }       
     22      "files": ["src/bootstrap.php"],
     23      "psr-4": {
     24        "Bonzer\\Inputs\\": "src/"
     25      }       
    2626    }
    27 }
     27  }
  • bonzer-custom-fields/trunk/vendor/bonzer/inputs/src/assets/js/main.js

    r2961032 r2965132  
    332332                if (!$ul.hasClass( 'has-values' )) {
    333333                  $ul.addClass( 'has-values' );
    334                 }
    335                 ;
     334                };
    336335                setTimeout( function () {
    337336                  $input.val( '' );
     
    368367                    return $( li ).data( 'value' );
    369368                  } ).toArray();
    370                   $item.parents( '.bonzer-inputs.input-wrapper' ).find( '.input.all-values' ).val( this_obj.items[id].join( '|||' ) ).change();
     369                  $item.parents( '.bonzer-inputs.input-wrapper' ).find( '.input.all-values' ).val( this_obj.items[id].join( '|' ) ).change();
    371370                  this_obj._reindex_items( $item.parents( '.bonzer-inputs.input-wrapper' ) );
    372371                }
    373372              } );
    374             },
    375             _append_item: function ( $wrapper, value ) {
    376               var $items_holder = $wrapper.find( '.values-entered' ),
    377                       item = new Item( value, this.items.length ),
    378                       $item = item.html();
    379               $wrapper.find( '.input.all-values' ).val( this.items.join( '|||' ) );
    380               $items_holder.append( $item );
    381373            },
    382374            _reindex_items: function ( $wrapper ) {
  • bonzer-custom-fields/trunk/vendor/bonzer/ioc-container/src/Container.php

    r1859531 r2965132  
    302302   * */
    303303  protected function _dependencies( $parameters ) {
     304
    304305    $dependencies = [ ];
     306
    305307    foreach ( $parameters as $parameter ) {
    306       $dependency = $parameter->getClass();
    307       if ( is_null( $dependency ) ) {
     308
     309      if ( method_exists($parameter, 'getType') ) {
     310
     311        $dependency = $parameter->getType();
     312        $built_in = $dependency->isBuiltin();
     313        $class_name = $dependency->getName();
     314
     315      } else {
     316
     317        $dependency = $parameter->getClass();
     318        $built_in = is_null( $dependency );
     319
     320        if ( !$built_in ) {
     321          $class_name = $dependency->name;
     322        }
     323
     324      }     
     325
     326      if ( $built_in ) {
    308327        $dependencies[] = $this->_resolve_non_class( $parameter );
    309328      } else {
    310         $dependencies[] = $this->resolve( $dependency->name );
    311       }
    312     }
     329        $dependencies[] = $this->resolve( $class_name );
     330      }
     331
     332    }
     333   
    313334    return $dependencies;
     335   
    314336  }
    315337
  • bonzer-custom-fields/trunk/vendor/bonzer/wordpress-admin-inputs/composer.json

    r1859531 r2965132  
    1414  "require": {
    1515    "php": ">=5.4.0",
    16     "bonzer/inputs": "v0.0.1"
     16    "bonzer/inputs": "v0.0.2"
    1717  },
    1818  "autoload": {
  • bonzer-custom-fields/trunk/vendor/bonzer/wordpress-admin-inputs/src/assets/css/styles.css

    r2961032 r2965132  
    120120  box-shadow: 0 0 0px 2px #fff, 0 0 2px 4px #ddd;
    121121}
     122.input-wrapper.bonzer-inputs.editor-input-wrapper label {
     123  -o-box-shadow: none;
     124  -ms-box-shadow: none;
     125  -moz-box-shadow: none;
     126  -webkit-box-shadow: none;
     127  box-shadow: none;
     128  background: #f4f4f4;
     129  color: #333333;
     130  width: 100%;
     131  border: 1px solid #dddddd;
     132}
    122133.input-wrapper.bonzer-inputs.editor-input-wrapper button {
    123134  -ms-border-radius: 2px !important;
     
    127138  border-radius: 2px !important;
    128139  width: auto;
    129   position: relative;
    130   height: auto;
    131140}
    132141.input-wrapper.bonzer-inputs.editor-input-wrapper input,
     
    149158  -moz-box-sizing: content-box;
    150159  box-sizing: content-box;
    151   width: 100%;
    152160}
    153161.input-wrapper.bonzer-inputs.editor-input-wrapper .wp-editor-wrap * {
  • bonzer-custom-fields/trunk/vendor/bonzer/wordpress-admin-inputs/src/assets/less/styles.less

    r2961032 r2965132  
    9292  }
    9393  &.editor-input-wrapper{
     94    label{
     95      .box-shadow(none);
     96      background: @light-gray-color;
     97      color: @dark-color;
     98      width: 100%;
     99      border: 1px solid @light-border;
     100    }
    94101    button{
    95102      .roundedcorners(2px) !important;
    96103      width: auto;
    97       position: relative;
    98       height: auto;
    99104    }
    100105    input, textarea{
     
    116121    .wp-editor-wrap{
    117122      .box-sizing(content-box);
    118       width: 100%;
    119123      *{
    120124        .box-sizing(content-box);
  • bonzer-custom-fields/trunk/vendor/bonzer/wordpress-admin-inputs/src/fields/Editor.php

    r2961032 r2965132  
    2929    ?>
    3030    <div class="bonzer-inputs input-wrapper editor-input-wrapper" data-showif='<?php echo $this->_conditional_data(); ?>'>
    31       <label for="<?php echo $this->_id; ?>">
    32         <?php echo $this->_label; ?>
    33         <?php echo (isset_not_empty( $this->_desc )) ? "<p class='desc'>{$this->_desc}</p>" : ''; ?>
    34       </label>
    35      
    36       <div>
    37         <?php
    38        
    39         wp_editor( $this->_value, $this->_id, array_merge([
    40           'tinymce' => TRUE,
    41           'textarea_name' => $this->_name,
    42           'textarea_rows' => 10,
    43         ], $this->_editor_config) );     
    44         ?>
    45       </div>
     31      <label for="<?php echo $this->_id; ?>"><?php echo $this->_label; ?></label>
     32      <?php
     33      echo (isset_not_empty( $this->_desc )) ? "<p class='desc'>{$this->_desc}</p>" : '';
     34      wp_editor( $this->_value, $this->_id, array_merge([
     35        'tinymce' => TRUE,
     36        'textarea_name' => $this->_name,
     37        'textarea_rows' => 10,
     38      ], $this->_editor_config) );     
     39      ?>
    4640    </div>
    4741    <?php
  • bonzer-custom-fields/trunk/vendor/bonzer/wordpress-admin-inputs/src/fields/Multi_Upload.php

    r2961032 r2965132  
    2626      }
    2727      ?>
    28      
    29       <label for="<?php echo $this->_id; ?>">
    30         <?php echo $this->_label; ?>
    31         <?php echo (isset_not_empty( $this->_desc )) ? "<p class='desc'>{$this->_desc}</p>" : ''; ?>
    32       </label>
    33 
    34       <div>
    35         <input type="text" class="upload input" id="<?php echo $this->_id; ?>" name="<?php echo $this->_name; ?>" value="<?php echo $value; ?>" placeholder="<?php echo $this->_placeholder; ?>" readonly <?php echo $this->_additional_attrs; ?>>
    36         <button title="<?php echo __('Add Images', 'wordpress-admin-inputs');?>" class="upload button upload-multiple-images" type="button" data-title="Choose" data-update="Insert"><i class="fa fa-plus-circle"></i> <span class="text">Add</span> </button>
    37         <div class="images-wrapper">
    38           <?php
    39           if ( isset_not_empty( $this->_value ) ) {
    40             $all_images = array_unique( explode( ',', $this->_value ) );
    41             if ( is_array( $all_images ) && count( $all_images ) > 0 ) {
    42               $index = 0;
    43               foreach ( $all_images as $id ) {
    44                 $src = wp_get_attachment_image_src( $id );
    45                 ?>
    46                 <div class="image-wrapper" data-id="<?php echo $id; ?>">
    47                   <img src="<?php echo $src[ 0 ] ?>" class="img-responsive img-circle">
    48                   <i class="fa fa-times remove-img" data-image="<?php echo $id ?>" id="image-<?php echo $id; ?>"></i>
    49                   <i class="fa fa-arrows move-img" data-image="<?php echo $id ?>" id="image-<?php echo $id; ?>"></i>
    50                 </div>
    51                 <?php
    52                 $index++;
    53               }
     28      <label for="<?php echo $this->_id; ?>"><?php echo $this->_label; ?></label>
     29      <input type="text" class="upload input" id="<?php echo $this->_id; ?>" name="<?php echo $this->_name; ?>" value="<?php echo $value; ?>" placeholder="<?php echo $this->_placeholder; ?>" readonly <?php echo $this->_additional_attrs; ?>>
     30      <button title="<?php echo __('Add Images', 'wordpress-admin-inputs');?>" class="upload button upload-multiple-images" type="button" data-title="Choose" data-update="Insert"><i class="fa fa-plus-circle"></i> <span class="text">Add</span> </button>
     31      <?php echo (isset_not_empty( $this->_desc )) ? "<p class='desc'>{$this->_desc}</p>" : ''; ?>
     32      <div class="images-wrapper">
     33        <?php
     34        if ( isset_not_empty( $this->_value ) ) {
     35          $all_images = array_unique( explode( ',', $this->_value ) );
     36          if ( is_array( $all_images ) && count( $all_images ) > 0 ) {
     37            $index = 0;
     38            foreach ( $all_images as $id ) {
     39              $src = wp_get_attachment_image_src( $id );
     40              ?>
     41              <div class="image-wrapper" data-id="<?php echo $id; ?>">
     42                <img src="<?php echo $src[ 0 ] ?>" class="img-responsive img-circle">
     43                <i class="fa fa-times remove-img" data-image="<?php echo $id ?>" id="image-<?php echo $id; ?>"></i>
     44                <i class="fa fa-arrows move-img" data-image="<?php echo $id ?>" id="image-<?php echo $id; ?>"></i>
     45              </div>
     46              <?php
     47              $index++;
    5448            }
    5549          }
    56           ?>
    57           <div class="clear"></div>
    58         </div>
    59       </div> 
     50        }
     51        ?>
     52        <div class="clear"></div>
     53      </div>   
    6054      <div class="clear"></div>   
    6155    </div>
  • bonzer-custom-fields/trunk/vendor/bonzer/wordpress-admin-inputs/src/fields/Upload.php

    r2961032 r2965132  
    2121    ?>
    2222    <div class="bonzer-inputs input-wrapper upload-input-wapper" data-showif='<?php echo $this->_conditional_data(); ?>'>
     23      <label for="<?php echo $this->_id; ?>"><?php echo $this->_label; ?></label>
     24      <input type="text" class="upload input" id="<?php echo $this->_id; ?>" name="<?php echo $this->_name; ?>" value="<?php echo $this->_value; ?>" placeholder="<?php echo $this->_placeholder; ?>" readonly <?php echo $this->_additional_attrs; ?>>
     25      <button title="<?php echo __('Upload', 'wordpress-admin-inputs')?>" class="upload button upload_image_button" type="button" data-title="Choose" data-update="Insert"><i class="fa fa-upload"></i> <span class="text">Upload</span></button>
    2326     
    24       <label for="<?php echo $this->_id; ?>">
    25         <?php echo $this->_label; ?>
    26         <?php echo (isset_not_empty( $this->_desc )) ? "<p class='desc'>{$this->_desc}</p>" : ''; ?>
    27       </label>
    28 
    29       <div>
    30         <input type="text" class="upload input" id="<?php echo $this->_id; ?>" name="<?php echo $this->_name; ?>" value="<?php echo $this->_value; ?>" placeholder="<?php echo $this->_placeholder; ?>" readonly <?php echo $this->_additional_attrs; ?>>
    31         <button title="<?php echo __('Upload', 'wordpress-admin-inputs')?>" class="upload button upload_image_button" type="button" data-title="Choose" data-update="Insert"><i class="fa fa-upload"></i> <span class="text">Upload</span></button>
    32        
    33         <!-- Images Wrapper -->
    34         <div class="images-wrapper">
    35           <?php if ( isset_not_empty( $this->_value ) ) { ?>
    36             <div class="image-wrapper">
    37               <img src="<?php echo home_url() . $this->_value ?>" class="img-responsive img-circle">
    38               <i class="fa fa-times remove-img" data-image="<?php echo $this->_value; ?>" id="image-1"></i>
    39             </div>       
    40           <?php } ?>
    41         </div>
     27      <?php
     28      // description
     29      echo (isset_not_empty( $this->_desc )) ? "<p class='desc'>{$this->_desc}</p>" : '';
     30      ?>
     31      <!-- Images Wrapper -->
     32      <div class="images-wrapper">
     33        <?php if ( isset_not_empty( $this->_value ) ) { ?>
     34          <div class="image-wrapper">
     35            <img src="<?php echo home_url() . $this->_value ?>" class="img-responsive img-circle">
     36            <i class="fa fa-times remove-img" data-image="<?php echo $this->_value; ?>" id="image-1"></i>
     37          </div>       
     38        <?php } ?>
     39        <div class="clear"></div>
    4240      </div>
    43 
     41      <div class="clear"></div>
    4442    </div>
    4543    <?php
  • bonzer-custom-fields/trunk/vendor/composer/ClassLoader.php

    r1859531 r2965132  
    3838 * @author Fabien Potencier <[email protected]>
    3939 * @author Jordi Boggiano <[email protected]>
    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
    4444{
     45    /** @var \Closure(string):void */
     46    private static $includeFile;
     47
     48    /** @var string|null */
     49    private $vendorDir;
     50
    4551    // PSR-4
     52    /**
     53     * @var array<string, array<string, int>>
     54     */
    4655    private $prefixLengthsPsr4 = array();
     56    /**
     57     * @var array<string, list<string>>
     58     */
    4759    private $prefixDirsPsr4 = array();
     60    /**
     61     * @var list<string>
     62     */
    4863    private $fallbackDirsPsr4 = array();
    4964
    5065    // PSR-0
     66    /**
     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>>>
     72     */
    5173    private $prefixesPsr0 = array();
     74    /**
     75     * @var list<string>
     76     */
    5277    private $fallbackDirsPsr0 = array();
    5378
     79    /** @var bool */
    5480    private $useIncludePath = false;
     81
     82    /**
     83     * @var array<string, string>
     84     */
    5585    private $classMap = array();
     86
     87    /** @var bool */
    5688    private $classMapAuthoritative = false;
     89
     90    /**
     91     * @var array<string, bool>
     92     */
    5793    private $missingClasses = array();
    5894
     95    /** @var string|null */
     96    private $apcuPrefix;
     97
     98    /**
     99     * @var array<string, self>
     100     */
     101    private static $registeredLoaders = array();
     102
     103    /**
     104     * @param string|null $vendorDir
     105     */
     106    public function __construct($vendorDir = null)
     107    {
     108        $this->vendorDir = $vendorDir;
     109        self::initializeIncludeClosure();
     110    }
     111
     112    /**
     113     * @return array<string, list<string>>
     114     */
    59115    public function getPrefixes()
    60116    {
    61117        if (!empty($this->prefixesPsr0)) {
    62             return call_user_func_array('array_merge', $this->prefixesPsr0);
     118            return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
    63119        }
    64120
     
    66122    }
    67123
     124    /**
     125     * @return array<string, list<string>>
     126     */
    68127    public function getPrefixesPsr4()
    69128    {
     
    71130    }
    72131
     132    /**
     133     * @return list<string>
     134     */
    73135    public function getFallbackDirs()
    74136    {
     
    76138    }
    77139
     140    /**
     141     * @return list<string>
     142     */
    78143    public function getFallbackDirsPsr4()
    79144    {
     
    81146    }
    82147
     148    /**
     149     * @return array<string, string> Array of classname => path
     150     */
    83151    public function getClassMap()
    84152    {
     
    87155
    88156    /**
    89      * @param array $classMap Class to filename map
     157     * @param array<string, string> $classMap Class to filename map
     158     *
     159     * @return void
    90160     */
    91161    public function addClassMap(array $classMap)
     
    102172     * appending or prepending to the ones previously set for this prefix.
    103173     *
    104      * @param string       $prefix  The prefix
    105      * @param array|string $paths   The PSR-0 root directories
    106      * @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
     177     *
     178     * @return void
    107179     */
    108180    public function add($prefix, $paths, $prepend = false)
    109181    {
     182        $paths = (array) $paths;
    110183        if (!$prefix) {
    111184            if ($prepend) {
    112185                $this->fallbackDirsPsr0 = array_merge(
    113                     (array) $paths,
     186                    $paths,
    114187                    $this->fallbackDirsPsr0
    115188                );
     
    117190                $this->fallbackDirsPsr0 = array_merge(
    118191                    $this->fallbackDirsPsr0,
    119                     (array) $paths
     192                    $paths
    120193                );
    121194            }
     
    126199        $first = $prefix[0];
    127200        if (!isset($this->prefixesPsr0[$first][$prefix])) {
    128             $this->prefixesPsr0[$first][$prefix] = (array) $paths;
     201            $this->prefixesPsr0[$first][$prefix] = $paths;
    129202
    130203            return;
     
    132205        if ($prepend) {
    133206            $this->prefixesPsr0[$first][$prefix] = array_merge(
    134                 (array) $paths,
     207                $paths,
    135208                $this->prefixesPsr0[$first][$prefix]
    136209            );
     
    138211            $this->prefixesPsr0[$first][$prefix] = array_merge(
    139212                $this->prefixesPsr0[$first][$prefix],
    140                 (array) $paths
     213                $paths
    141214            );
    142215        }
     
    147220     * appending or prepending to the ones previously set for this namespace.
    148221     *
    149      * @param string       $prefix  The prefix/namespace, with trailing '\\'
    150      * @param array|string $paths   The PSR-4 base directories
    151      * @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
    152225     *
    153226     * @throws \InvalidArgumentException
     227     *
     228     * @return void
    154229     */
    155230    public function addPsr4($prefix, $paths, $prepend = false)
    156231    {
     232        $paths = (array) $paths;
    157233        if (!$prefix) {
    158234            // Register directories for the root namespace.
    159235            if ($prepend) {
    160236                $this->fallbackDirsPsr4 = array_merge(
    161                     (array) $paths,
     237                    $paths,
    162238                    $this->fallbackDirsPsr4
    163239                );
     
    165241                $this->fallbackDirsPsr4 = array_merge(
    166242                    $this->fallbackDirsPsr4,
    167                     (array) $paths
     243                    $paths
    168244                );
    169245            }
     
    175251            }
    176252            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
    177             $this->prefixDirsPsr4[$prefix] = (array) $paths;
     253            $this->prefixDirsPsr4[$prefix] = $paths;
    178254        } elseif ($prepend) {
    179255            // Prepend directories for an already registered namespace.
    180256            $this->prefixDirsPsr4[$prefix] = array_merge(
    181                 (array) $paths,
     257                $paths,
    182258                $this->prefixDirsPsr4[$prefix]
    183259            );
     
    186262            $this->prefixDirsPsr4[$prefix] = array_merge(
    187263                $this->prefixDirsPsr4[$prefix],
    188                 (array) $paths
     264                $paths
    189265            );
    190266        }
     
    195271     * replacing any others previously set for this prefix.
    196272     *
    197      * @param string       $prefix The prefix
    198      * @param array|string $paths  The PSR-0 base directories
     273     * @param string              $prefix The prefix
     274     * @param list<string>|string $paths  The PSR-0 base directories
     275     *
     276     * @return void
    199277     */
    200278    public function set($prefix, $paths)
     
    211289     * replacing any others previously set for this namespace.
    212290     *
    213      * @param string       $prefix The prefix/namespace, with trailing '\\'
    214      * @param array|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
    215293     *
    216294     * @throws \InvalidArgumentException
     295     *
     296     * @return void
    217297     */
    218298    public function setPsr4($prefix, $paths)
     
    234314     *
    235315     * @param bool $useIncludePath
     316     *
     317     * @return void
    236318     */
    237319    public function setUseIncludePath($useIncludePath)
     
    256338     *
    257339     * @param bool $classMapAuthoritative
     340     *
     341     * @return void
    258342     */
    259343    public function setClassMapAuthoritative($classMapAuthoritative)
     
    273357
    274358    /**
     359     * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
     360     *
     361     * @param string|null $apcuPrefix
     362     *
     363     * @return void
     364     */
     365    public function setApcuPrefix($apcuPrefix)
     366    {
     367        $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
     368    }
     369
     370    /**
     371     * The APCu prefix in use, or null if APCu caching is not enabled.
     372     *
     373     * @return string|null
     374     */
     375    public function getApcuPrefix()
     376    {
     377        return $this->apcuPrefix;
     378    }
     379
     380    /**
    275381     * Registers this instance as an autoloader.
    276382     *
    277383     * @param bool $prepend Whether to prepend the autoloader or not
     384     *
     385     * @return void
    278386     */
    279387    public function register($prepend = false)
    280388    {
    281389        spl_autoload_register(array($this, 'loadClass'), true, $prepend);
     390
     391        if (null === $this->vendorDir) {
     392            return;
     393        }
     394
     395        if ($prepend) {
     396            self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
     397        } else {
     398            unset(self::$registeredLoaders[$this->vendorDir]);
     399            self::$registeredLoaders[$this->vendorDir] = $this;
     400        }
    282401    }
    283402
    284403    /**
    285404     * Unregisters this instance as an autoloader.
     405     *
     406     * @return void
    286407     */
    287408    public function unregister()
    288409    {
    289410        spl_autoload_unregister(array($this, 'loadClass'));
     411
     412        if (null !== $this->vendorDir) {
     413            unset(self::$registeredLoaders[$this->vendorDir]);
     414        }
    290415    }
    291416
     
    294419     *
    295420     * @param  string    $class The name of the class
    296      * @return bool|null True if loaded, null otherwise
     421     * @return true|null True if loaded, null otherwise
    297422     */
    298423    public function loadClass($class)
    299424    {
    300425        if ($file = $this->findFile($class)) {
    301             includeFile($file);
     426            $includeFile = self::$includeFile;
     427            $includeFile($file);
    302428
    303429            return true;
    304430        }
     431
     432        return null;
    305433    }
    306434
     
    314442    public function findFile($class)
    315443    {
    316         // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731
    317         if ('\\' == $class[0]) {
    318             $class = substr($class, 1);
    319         }
    320 
    321444        // class map lookup
    322445        if (isset($this->classMap[$class])) {
     
    326449            return false;
    327450        }
     451        if (null !== $this->apcuPrefix) {
     452            $file = apcu_fetch($this->apcuPrefix.$class, $hit);
     453            if ($hit) {
     454                return $file;
     455            }
     456        }
    328457
    329458        $file = $this->findFileWithExtension($class, '.php');
     
    334463        }
    335464
     465        if (null !== $this->apcuPrefix) {
     466            apcu_add($this->apcuPrefix.$class, $file);
     467        }
     468
    336469        if (false === $file) {
    337470            // Remember that this class does not exist.
     
    342475    }
    343476
     477    /**
     478     * Returns the currently registered loaders keyed by their corresponding vendor directories.
     479     *
     480     * @return array<string, self>
     481     */
     482    public static function getRegisteredLoaders()
     483    {
     484        return self::$registeredLoaders;
     485    }
     486
     487    /**
     488     * @param  string       $class
     489     * @param  string       $ext
     490     * @return string|false
     491     */
    344492    private function findFileWithExtension($class, $ext)
    345493    {
     
    349497        $first = $class[0];
    350498        if (isset($this->prefixLengthsPsr4[$first])) {
    351             foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
    352                 if (0 === strpos($class, $prefix)) {
    353                     foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
    354                         if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
     499            $subPath = $class;
     500            while (false !== $lastPos = strrpos($subPath, '\\')) {
     501                $subPath = substr($subPath, 0, $lastPos);
     502                $search = $subPath . '\\';
     503                if (isset($this->prefixDirsPsr4[$search])) {
     504                    $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
     505                    foreach ($this->prefixDirsPsr4[$search] as $dir) {
     506                        if (file_exists($file = $dir . $pathEnd)) {
    355507                            return $file;
    356508                        }
     
    403555        return false;
    404556    }
     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    }
    405579}
    406 
    407 /**
    408  * Scope isolated include.
    409  *
    410  * Prevents access to $this/self from included files.
    411  */
    412 function includeFile($file)
    413 {
    414     include $file;
    415 }
  • bonzer-custom-fields/trunk/vendor/composer/LICENSE

    r1859531 r2965132  
    11
    2 Copyright (c) 2016 Nils Adermann, Jordi Boggiano
     2Copyright (c) Nils Adermann, Jordi Boggiano
    33
    44Permission is hereby granted, free of charge, to any person obtaining a copy
  • bonzer-custom-fields/trunk/vendor/composer/autoload_classmap.php

    r1859531 r2965132  
    33// autoload_classmap.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
    88return array(
    9     'lessc' => $vendorDir . '/oyejorge/less.php/lessc.inc.php',
     9    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
     10    'lessc' => $vendorDir . '/wikimedia/less.php/lessc.inc.php',
    1011);
  • bonzer-custom-fields/trunk/vendor/composer/autoload_files.php

    r1859531 r2965132  
    33// autoload_files.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
  • bonzer-custom-fields/trunk/vendor/composer/autoload_namespaces.php

    r1859531 r2965132  
    33// autoload_namespaces.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
    88return array(
    9     'Less' => array($vendorDir . '/oyejorge/less.php/lib'),
     9    'Less' => array($vendorDir . '/wikimedia/less.php/lib'),
    1010);
  • bonzer-custom-fields/trunk/vendor/composer/autoload_psr4.php

    r1859531 r2965132  
    33// autoload_psr4.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
  • bonzer-custom-fields/trunk/vendor/composer/autoload_real.php

    r1859531 r2965132  
    1414    }
    1515
     16    /**
     17     * @return \Composer\Autoload\ClassLoader
     18     */
    1619    public static function getLoader()
    1720    {
     
    2023        }
    2124
     25        require __DIR__ . '/platform_check.php';
     26
    2227        spl_autoload_register(array('ComposerAutoloaderInitdd972da31f35a37479169a6432fe0d91', 'loadClassLoader'), true, true);
    23         self::$loader = $loader = new \Composer\Autoload\ClassLoader();
     28        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    2429        spl_autoload_unregister(array('ComposerAutoloaderInitdd972da31f35a37479169a6432fe0d91', 'loadClassLoader'));
    2530
    26         $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION');
    27         if ($useStaticLoader) {
    28             require_once __DIR__ . '/autoload_static.php';
    29 
    30             call_user_func(\Composer\Autoload\ComposerStaticInitdd972da31f35a37479169a6432fe0d91::getInitializer($loader));
    31         } else {
    32             $map = require __DIR__ . '/autoload_namespaces.php';
    33             foreach ($map as $namespace => $path) {
    34                 $loader->set($namespace, $path);
    35             }
    36 
    37             $map = require __DIR__ . '/autoload_psr4.php';
    38             foreach ($map as $namespace => $path) {
    39                 $loader->setPsr4($namespace, $path);
    40             }
    41 
    42             $classMap = require __DIR__ . '/autoload_classmap.php';
    43             if ($classMap) {
    44                 $loader->addClassMap($classMap);
    45             }
    46         }
     31        require __DIR__ . '/autoload_static.php';
     32        call_user_func(\Composer\Autoload\ComposerStaticInitdd972da31f35a37479169a6432fe0d91::getInitializer($loader));
    4733
    4834        $loader->register(true);
    4935
    50         if ($useStaticLoader) {
    51             $includeFiles = Composer\Autoload\ComposerStaticInitdd972da31f35a37479169a6432fe0d91::$files;
    52         } else {
    53             $includeFiles = require __DIR__ . '/autoload_files.php';
    54         }
    55         foreach ($includeFiles as $fileIdentifier => $file) {
    56             composerRequiredd972da31f35a37479169a6432fe0d91($fileIdentifier, $file);
     36        $filesToLoad = \Composer\Autoload\ComposerStaticInitdd972da31f35a37479169a6432fe0d91::$files;
     37        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
     38            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
     39                $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
     40
     41                require $file;
     42            }
     43        }, null, null);
     44        foreach ($filesToLoad as $fileIdentifier => $file) {
     45            $requireFile($fileIdentifier, $file);
    5746        }
    5847
     
    6049    }
    6150}
    62 
    63 function composerRequiredd972da31f35a37479169a6432fe0d91($fileIdentifier, $file)
    64 {
    65     if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
    66         require $file;
    67 
    68         $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
    69     }
    70 }
  • bonzer-custom-fields/trunk/vendor/composer/autoload_static.php

    r1859531 r2965132  
    5656            'Less' =>
    5757            array (
    58                 0 => __DIR__ . '/..' . '/oyejorge/less.php/lib',
     58                0 => __DIR__ . '/..' . '/wikimedia/less.php/lib',
    5959            ),
    6060        ),
     
    6262
    6363    public static $classMap = array (
    64         'lessc' => __DIR__ . '/..' . '/oyejorge/less.php/lessc.inc.php',
     64        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
     65        'lessc' => __DIR__ . '/..' . '/wikimedia/less.php/lessc.inc.php',
    6566    );
    6667
  • bonzer-custom-fields/trunk/vendor/composer/installed.json

    r1859531 r2965132  
    1 [
    2     {
    3         "name": "oyejorge/less.php",
    4         "version": "v1.7.0.14",
    5         "version_normalized": "1.7.0.14",
    6         "source": {
    7             "type": "git",
    8             "url": "https://github.com/oyejorge/less.php.git",
    9             "reference": "42925c5a01a07d67ca7e82dfc8fb31814d557bc9"
    10         },
    11         "dist": {
    12             "type": "zip",
    13             "url": "https://api.github.com/repos/oyejorge/less.php/zipball/42925c5a01a07d67ca7e82dfc8fb31814d557bc9",
    14             "reference": "42925c5a01a07d67ca7e82dfc8fb31814d557bc9",
    15             "shasum": ""
    16         },
    17         "require": {
    18             "php": ">=5.3"
    19         },
    20         "require-dev": {
    21             "phpunit/phpunit": "~4.8.24"
    22         },
    23         "time": "2017-03-28 22:19:25",
    24         "bin": [
    25             "bin/lessc"
    26         ],
    27         "type": "library",
    28         "installation-source": "dist",
    29         "autoload": {
    30             "psr-0": {
    31                 "Less": "lib/"
    32             },
    33             "classmap": [
    34                 "lessc.inc.php"
    35             ]
    36         },
    37         "notification-url": "https://packagist.org/downloads/",
    38         "license": [
    39             "Apache-2.0"
    40         ],
    41         "authors": [
    42             {
    43                 "name": "Matt Agar",
    44                 "homepage": "https://github.com/agar"
    45             },
    46             {
    47                 "name": "Martin Jantošovič",
    48                 "homepage": "https://github.com/Mordred"
    49             },
    50             {
    51                 "name": "Josh Schmidt",
    52                 "homepage": "https://github.com/oyejorge"
    53             }
    54         ],
    55         "description": "PHP port of the Javascript version of LESS http://lesscss.org (Originally maintained by Josh Schmidt)",
    56         "homepage": "http://lessphp.gpeasy.com",
    57         "keywords": [
    58             "css",
    59             "less",
    60             "less.js",
    61             "lesscss",
    62             "php",
    63             "stylesheet"
    64         ]
    65     },
    66     {
    67         "name": "bonzer/exceptions",
    68         "version": "v0.0.1",
    69         "version_normalized": "0.0.1.0",
    70         "source": {
    71             "type": "git",
    72             "url": "https://github.com/parasralhan/exceptions.git",
    73             "reference": "bb715d705b1beea229d458cae34421db299f7243"
    74         },
    75         "dist": {
    76             "type": "zip",
    77             "url": "https://api.github.com/repos/parasralhan/exceptions/zipball/bb715d705b1beea229d458cae34421db299f7243",
    78             "reference": "bb715d705b1beea229d458cae34421db299f7243",
    79             "shasum": ""
    80         },
    81         "require": {
    82             "php": ">=5.4.0"
    83         },
    84         "time": "2018-04-14 05:55:02",
    85         "type": "library",
    86         "installation-source": "dist",
    87         "autoload": {
    88             "psr-4": {
    89                 "Bonzer\\Exceptions\\": "src/"
    90             }
    91         },
    92         "notification-url": "https://packagist.org/downloads/",
    93         "license": [
    94             "MIT"
    95         ],
    96         "authors": [
    97             {
    98                 "name": "Paras Ralhan",
    99                 "email": "[email protected]"
    100             }
    101         ],
    102         "description": "Simple PHP Exception Utilities"
    103     },
    104     {
    105         "name": "bonzer/events",
    106         "version": "v0.0.1",
    107         "version_normalized": "0.0.1.0",
    108         "source": {
    109             "type": "git",
    110             "url": "https://github.com/parasralhan/events.git",
    111             "reference": "3ff70e40a0fa5854c63c166a666bb9d345687c86"
    112         },
    113         "dist": {
    114             "type": "zip",
    115             "url": "https://api.github.com/repos/parasralhan/events/zipball/3ff70e40a0fa5854c63c166a666bb9d345687c86",
    116             "reference": "3ff70e40a0fa5854c63c166a666bb9d345687c86",
    117             "shasum": ""
    118         },
    119         "require": {
    120             "bonzer/exceptions": "v0.0.1",
    121             "php": ">=5.4.0"
    122         },
    123         "time": "2018-04-14 06:31:07",
    124         "type": "library",
    125         "installation-source": "dist",
    126         "autoload": {
    127             "psr-4": {
    128                 "Bonzer\\Events\\": "src/"
    129             }
    130         },
    131         "notification-url": "https://packagist.org/downloads/",
    132         "license": [
    133             "MIT"
    134         ],
    135         "authors": [
    136             {
    137                 "name": "Paras Ralhan",
    138                 "email": "[email protected]"
    139             }
    140         ],
    141         "description": "Responsible for implementing Event System in your application"
    142     },
    143     {
    144         "name": "bonzer/ioc-container",
    145         "version": "v0.0.1",
    146         "version_normalized": "0.0.1.0",
    147         "source": {
    148             "type": "git",
    149             "url": "https://github.com/parasralhan/ioc-container.git",
    150             "reference": "c1cc8bc52473fce06555e9c199f25d7102098cdf"
    151         },
    152         "dist": {
    153             "type": "zip",
    154             "url": "https://api.github.com/repos/parasralhan/ioc-container/zipball/c1cc8bc52473fce06555e9c199f25d7102098cdf",
    155             "reference": "c1cc8bc52473fce06555e9c199f25d7102098cdf",
    156             "shasum": ""
    157         },
    158         "require": {
    159             "bonzer/exceptions": "v0.0.1",
    160             "php": ">=5.4.0"
    161         },
    162         "time": "2018-04-14 06:40:09",
    163         "type": "library",
    164         "installation-source": "dist",
    165         "autoload": {
    166             "psr-4": {
    167                 "Bonzer\\IOC_Container\\": "src/"
    168             }
    169         },
    170         "notification-url": "https://packagist.org/downloads/",
    171         "license": [
    172             "MIT"
    173         ],
    174         "authors": [
    175             {
    176                 "name": "Paras Ralhan",
    177                 "email": "[email protected]"
    178             }
    179         ],
    180         "description": "Inversion of Control Container - facilitating Interface Oriented Design"
    181     },
    182     {
    183         "name": "bonzer/inputs",
    184         "version": "v0.0.1",
    185         "version_normalized": "0.0.1.0",
    186         "source": {
    187             "type": "git",
    188             "url": "https://github.com/parasralhan/form-fields.git",
    189             "reference": "cd8eaf495d2fb3dd4e99b5edc21cc352f2ea75ea"
    190         },
    191         "dist": {
    192             "type": "zip",
    193             "url": "https://api.github.com/repos/parasralhan/form-fields/zipball/cd8eaf495d2fb3dd4e99b5edc21cc352f2ea75ea",
    194             "reference": "cd8eaf495d2fb3dd4e99b5edc21cc352f2ea75ea",
    195             "shasum": ""
    196         },
    197         "require": {
    198             "bonzer/events": "v0.0.1",
    199             "bonzer/exceptions": "v0.0.1",
    200             "bonzer/ioc-container": "v0.0.1",
    201             "oyejorge/less.php": "v1.7.0.14",
    202             "php": ">=5.4.0"
    203         },
    204         "time": "2018-04-14 06:45:23",
    205         "type": "library",
    206         "installation-source": "dist",
    207         "autoload": {
    208             "files": [
    209                 "src/bootstrap.php"
    210             ],
    211             "psr-4": {
    212                 "Bonzer\\Inputs\\": "src/"
    213             }
    214         },
    215         "notification-url": "https://packagist.org/downloads/",
    216         "license": [
    217             "MIT"
    218         ],
    219         "authors": [
    220             {
    221                 "name": "Paras Ralhan",
    222                 "email": "[email protected]"
    223             }
    224         ],
    225         "description": "A form inputs library"
    226     },
    227     {
    228         "name": "bonzer/wordpress-admin-inputs",
    229         "version": "v0.0.1",
    230         "version_normalized": "0.0.1.0",
    231         "source": {
    232             "type": "git",
    233             "url": "https://github.com/parasralhan/wordpress-admin-inputs.git",
    234             "reference": "5e67e148456c1bdf4acdda83450c5d3d9f80e437"
    235         },
    236         "dist": {
    237             "type": "zip",
    238             "url": "https://api.github.com/repos/parasralhan/wordpress-admin-inputs/zipball/5e67e148456c1bdf4acdda83450c5d3d9f80e437",
    239             "reference": "5e67e148456c1bdf4acdda83450c5d3d9f80e437",
    240             "shasum": ""
    241         },
    242         "require": {
    243             "bonzer/inputs": "v0.0.1",
    244             "php": ">=5.4.0"
    245         },
    246         "time": "2018-04-14 07:09:18",
    247         "type": "library",
    248         "installation-source": "dist",
    249         "autoload": {
    250             "files": [
    251                 "src/bootstrap.php"
    252             ],
    253             "psr-4": {
    254                 "Bonzer\\Inputs_WP\\": "src/"
    255             }
    256         },
    257         "notification-url": "https://packagist.org/downloads/",
    258         "license": [
    259             "MIT"
    260         ],
    261         "authors": [
    262             {
    263                 "name": "Paras Ralhan",
    264                 "email": "[email protected]"
    265             }
    266         ],
    267         "description": "Form fields for your Wordpress admin panel"
    268     }
    269 ]
     1{
     2    "packages": [
     3        {
     4            "name": "bonzer/events",
     5            "version": "v0.0.1",
     6            "version_normalized": "0.0.1.0",
     7            "source": {
     8                "type": "git",
     9                "url": "https://github.com/parasralhan/events.git",
     10                "reference": "3ff70e40a0fa5854c63c166a666bb9d345687c86"
     11            },
     12            "dist": {
     13                "type": "zip",
     14                "url": "https://api.github.com/repos/parasralhan/events/zipball/3ff70e40a0fa5854c63c166a666bb9d345687c86",
     15                "reference": "3ff70e40a0fa5854c63c166a666bb9d345687c86",
     16                "shasum": ""
     17            },
     18            "require": {
     19                "bonzer/exceptions": "v0.0.1",
     20                "php": ">=5.4.0"
     21            },
     22            "time": "2018-04-14T06:31:07+00:00",
     23            "type": "library",
     24            "installation-source": "dist",
     25            "autoload": {
     26                "psr-4": {
     27                    "Bonzer\\Events\\": "src/"
     28                }
     29            },
     30            "notification-url": "https://packagist.org/downloads/",
     31            "license": [
     32                "MIT"
     33            ],
     34            "authors": [
     35                {
     36                    "name": "Paras Ralhan",
     37                    "email": "[email protected]"
     38                }
     39            ],
     40            "description": "Responsible for implementing Event System in your application",
     41            "install-path": "../bonzer/events"
     42        },
     43        {
     44            "name": "bonzer/exceptions",
     45            "version": "v0.0.1",
     46            "version_normalized": "0.0.1.0",
     47            "source": {
     48                "type": "git",
     49                "url": "https://github.com/parasralhan/exceptions.git",
     50                "reference": "bb715d705b1beea229d458cae34421db299f7243"
     51            },
     52            "dist": {
     53                "type": "zip",
     54                "url": "https://api.github.com/repos/parasralhan/exceptions/zipball/bb715d705b1beea229d458cae34421db299f7243",
     55                "reference": "bb715d705b1beea229d458cae34421db299f7243",
     56                "shasum": ""
     57            },
     58            "require": {
     59                "php": ">=5.4.0"
     60            },
     61            "time": "2018-04-14T05:55:02+00:00",
     62            "type": "library",
     63            "installation-source": "dist",
     64            "autoload": {
     65                "psr-4": {
     66                    "Bonzer\\Exceptions\\": "src/"
     67                }
     68            },
     69            "notification-url": "https://packagist.org/downloads/",
     70            "license": [
     71                "MIT"
     72            ],
     73            "authors": [
     74                {
     75                    "name": "Paras Ralhan",
     76                    "email": "[email protected]"
     77                }
     78            ],
     79            "description": "Simple PHP Exception Utilities",
     80            "install-path": "../bonzer/exceptions"
     81        },
     82        {
     83            "name": "bonzer/inputs",
     84            "version": "v0.0.2",
     85            "version_normalized": "0.0.2.0",
     86            "source": {
     87                "type": "git",
     88                "url": "https://github.com/parasralhan/form-fields.git",
     89                "reference": "cd7f9938bee4111c93c3b7ae6132129a118647fe"
     90            },
     91            "dist": {
     92                "type": "zip",
     93                "url": "https://api.github.com/repos/parasralhan/form-fields/zipball/cd7f9938bee4111c93c3b7ae6132129a118647fe",
     94                "reference": "cd7f9938bee4111c93c3b7ae6132129a118647fe",
     95                "shasum": ""
     96            },
     97            "require": {
     98                "bonzer/events": "v0.0.1",
     99                "bonzer/exceptions": "v0.0.1",
     100                "bonzer/ioc-container": "v0.0.2",
     101                "php": ">=5.4.0",
     102                "wikimedia/less.php": "v1.7.0.14"
     103            },
     104            "time": "2023-09-11T07:12:13+00:00",
     105            "type": "library",
     106            "installation-source": "dist",
     107            "autoload": {
     108                "files": [
     109                    "src/bootstrap.php"
     110                ],
     111                "psr-4": {
     112                    "Bonzer\\Inputs\\": "src/"
     113                }
     114            },
     115            "notification-url": "https://packagist.org/downloads/",
     116            "license": [
     117                "MIT"
     118            ],
     119            "authors": [
     120                {
     121                    "name": "Paras Ralhan",
     122                    "email": "[email protected]"
     123                }
     124            ],
     125            "description": "A form inputs library",
     126            "support": {
     127                "issues": "https://github.com/parasralhan/form-fields/issues",
     128                "source": "https://github.com/parasralhan/form-fields/tree/v0.0.2"
     129            },
     130            "install-path": "../bonzer/inputs"
     131        },
     132        {
     133            "name": "bonzer/ioc-container",
     134            "version": "v0.0.2",
     135            "version_normalized": "0.0.2.0",
     136            "source": {
     137                "type": "git",
     138                "url": "https://github.com/parasralhan/ioc-container.git",
     139                "reference": "7817dfc9195b6a0a038a4aa56358cc8f2fa969aa"
     140            },
     141            "dist": {
     142                "type": "zip",
     143                "url": "https://api.github.com/repos/parasralhan/ioc-container/zipball/7817dfc9195b6a0a038a4aa56358cc8f2fa969aa",
     144                "reference": "7817dfc9195b6a0a038a4aa56358cc8f2fa969aa",
     145                "shasum": ""
     146            },
     147            "require": {
     148                "bonzer/exceptions": "v0.0.1",
     149                "php": ">=5.4.0"
     150            },
     151            "time": "2023-09-10T16:09:21+00:00",
     152            "type": "library",
     153            "installation-source": "dist",
     154            "autoload": {
     155                "psr-4": {
     156                    "Bonzer\\IOC_Container\\": "src/"
     157                }
     158            },
     159            "notification-url": "https://packagist.org/downloads/",
     160            "license": [
     161                "MIT"
     162            ],
     163            "authors": [
     164                {
     165                    "name": "Paras Ralhan",
     166                    "email": "[email protected]"
     167                }
     168            ],
     169            "description": "Inversion of Control Container - facilitating Interface Oriented Design",
     170            "support": {
     171                "issues": "https://github.com/parasralhan/ioc-container/issues",
     172                "source": "https://github.com/parasralhan/ioc-container/tree/v0.0.2"
     173            },
     174            "install-path": "../bonzer/ioc-container"
     175        },
     176        {
     177            "name": "bonzer/wordpress-admin-inputs",
     178            "version": "v0.0.2",
     179            "version_normalized": "0.0.2.0",
     180            "source": {
     181                "type": "git",
     182                "url": "https://github.com/parasralhan/wordpress-admin-inputs.git",
     183                "reference": "d9ae1d5d0ec8f0a2d017245da156ae2f2023cbb7"
     184            },
     185            "dist": {
     186                "type": "zip",
     187                "url": "https://api.github.com/repos/parasralhan/wordpress-admin-inputs/zipball/d9ae1d5d0ec8f0a2d017245da156ae2f2023cbb7",
     188                "reference": "d9ae1d5d0ec8f0a2d017245da156ae2f2023cbb7",
     189                "shasum": ""
     190            },
     191            "require": {
     192                "bonzer/inputs": "v0.0.2",
     193                "php": ">=5.4.0"
     194            },
     195            "time": "2023-09-11T06:49:34+00:00",
     196            "type": "library",
     197            "installation-source": "dist",
     198            "autoload": {
     199                "files": [
     200                    "src/bootstrap.php"
     201                ],
     202                "psr-4": {
     203                    "Bonzer\\Inputs_WP\\": "src/"
     204                }
     205            },
     206            "notification-url": "https://packagist.org/downloads/",
     207            "license": [
     208                "MIT"
     209            ],
     210            "authors": [
     211                {
     212                    "name": "Paras Ralhan",
     213                    "email": "[email protected]"
     214                }
     215            ],
     216            "description": "Form fields for your Wordpress admin panel",
     217            "support": {
     218                "issues": "https://github.com/parasralhan/wordpress-admin-inputs/issues",
     219                "source": "https://github.com/parasralhan/wordpress-admin-inputs/tree/v0.0.2"
     220            },
     221            "install-path": "../bonzer/wordpress-admin-inputs"
     222        },
     223        {
     224            "name": "wikimedia/less.php",
     225            "version": "v1.7.0.14",
     226            "version_normalized": "1.7.0.14",
     227            "source": {
     228                "type": "git",
     229                "url": "https://github.com/wikimedia/less.php.git",
     230                "reference": "42925c5a01a07d67ca7e82dfc8fb31814d557bc9"
     231            },
     232            "dist": {
     233                "type": "zip",
     234                "url": "https://api.github.com/repos/wikimedia/less.php/zipball/42925c5a01a07d67ca7e82dfc8fb31814d557bc9",
     235                "reference": "42925c5a01a07d67ca7e82dfc8fb31814d557bc9",
     236                "shasum": ""
     237            },
     238            "require": {
     239                "php": ">=5.3"
     240            },
     241            "require-dev": {
     242                "phpunit/phpunit": "~4.8.24"
     243            },
     244            "time": "2017-03-28T22:19:25+00:00",
     245            "bin": [
     246                "bin/lessc"
     247            ],
     248            "type": "library",
     249            "installation-source": "dist",
     250            "autoload": {
     251                "psr-0": {
     252                    "Less": "lib/"
     253                },
     254                "classmap": [
     255                    "lessc.inc.php"
     256                ]
     257            },
     258            "notification-url": "https://packagist.org/downloads/",
     259            "license": [
     260                "Apache-2.0"
     261            ],
     262            "authors": [
     263                {
     264                    "name": "Matt Agar",
     265                    "homepage": "https://github.com/agar"
     266                },
     267                {
     268                    "name": "Martin Jantošovič",
     269                    "homepage": "https://github.com/Mordred"
     270                },
     271                {
     272                    "name": "Josh Schmidt",
     273                    "homepage": "https://github.com/oyejorge"
     274                }
     275            ],
     276            "description": "PHP port of the Javascript version of LESS http://lesscss.org (Originally maintained by Josh Schmidt)",
     277            "homepage": "http://lessphp.gpeasy.com",
     278            "keywords": [
     279                "css",
     280                "less",
     281                "less.js",
     282                "lesscss",
     283                "php",
     284                "stylesheet"
     285            ],
     286            "support": {
     287                "source": "https://github.com/wikimedia/less.php/tree/v1.7.0.14"
     288            },
     289            "install-path": "../wikimedia/less.php"
     290        }
     291    ],
     292    "dev": true,
     293    "dev-package-names": []
     294}
Note: See TracChangeset for help on using the changeset viewer.