@@ -6,7 +6,7 @@ |
||
| 6 | 6 | { |
| 7 | 7 | public $shortcodes; |
| 8 | 8 | |
| 9 | - public function __construct($input) |
|
| 9 | + public function __construct( $input ) |
|
| 10 | 10 | { |
| 11 | 11 | $this->shortcodes = $input; |
| 12 | 12 | } |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return [ |
| 4 | - ':star-empty' => glsr()->url('assets/images/star-empty.svg'), |
|
| 5 | - ':star-error' => glsr()->url('assets/images/star-error.svg'), |
|
| 6 | - ':star-full' => glsr()->url('assets/images/star-full.svg'), |
|
| 7 | - ':star-half' => glsr()->url('assets/images/star-half.svg'), |
|
| 4 | + ':star-empty' => glsr()->url( 'assets/images/star-empty.svg' ), |
|
| 5 | + ':star-error' => glsr()->url( 'assets/images/star-error.svg' ), |
|
| 6 | + ':star-full' => glsr()->url( 'assets/images/star-full.svg' ), |
|
| 7 | + ':star-half' => glsr()->url( 'assets/images/star-half.svg' ), |
|
| 8 | 8 | ]; |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <tr class="glsr-field {{ class }}"> |
| 4 | 4 | <th scope="row">{{ label }}</th> |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <button type="submit" class="glsr-button btn btn-primary"> |
| 4 | 4 | <span class="glsr-button-loading"></span> |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <div class="glsr-field form-group {{ class }}"> |
| 4 | 4 | {{ label }} |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <p class="glsr-field {{ class }}"> |
| 4 | 4 | {{ label }} |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <p class="glsr-field {{ class }}"> |
| 4 | 4 | {{ label }} |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <table class="form-table"> |
| 4 | 4 | <tbody> |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <table class="form-table"> |
| 4 | 4 | <tbody> |