Version Description
- June 6th 2018 =
Features/Enhancements
- Code Quality: Address some i18n code standard violations, #4982 (@GaryJones)
- Code Quality: All @since and @deprecated tags updated to use three digits everywhere, #4995 (@GaryJones)
- Added: Tooltip for the Hierarchical option for taxonomies, #4949 (@pglewis)
Bug Fixes
- Fixed: jQuery.fn.size() is deprecated #3898 (@GaryJones)
- Fixed: CLI: Fix missing negation on valid & exists checks #4989 (@GaryJones)
- Fixed: Check for localized 'help' before adding tooltip #4614 (@davidatwhieltrue, @GaryJones)
- Fixed: Autocomplete/List View broken with "Other WP Objects", #4504 (@pglewis, @sc0ttkclark)
- Fixed: HTML entities in a field's description are converted when the Pod is loaded again, #4495 (@pglewis)
- Fixed: Relationship fields related to the _pods_pod or _pods_field post type would not return the correct value, #4979 (@sc0ttkclark)
- Fixed: Code Editor for Pods Template double-escapes HTML when Visual Editor is OFF in WordPress, #3462 (@pglewis)
- Fixed: Pods breaks Theme Editor for PHP files, hangs loopback test #4595, #4931 (@jamesgol, @pglewis)
- Fixed: Time field cannot save midnight #3488, #4937 (@pglewis)
- Fixed: Resolve file uploads directory check logic for file exports #4970 (@elia-senatore-cippest, @sc0ttkclark)
- Fixed: Media modal issues in post edits, #4945, #4967 (@pglewis)
- Fixed: Fatal error if not logged in and accessing wp-admin, #4828 (@therealgilles)
- Fixed: Pick fields with predefined/custom lists using numeric keys not loading values #4892, #4753 (@pglewis)
- Fixed: Non-required color-picker field did not allow saving empty value #4919 (@JoryHogeveen)
- Fixed: CodeMirror fields in Taxonomy and User edit forms #4913 (@pglewis)
Download this release
Release Info
Developer | pglewis |
Plugin | Pods – Custom Content Types and Fields |
Version | 2.7.4 |
Comparing to | |
See all releases |
Code changes from version 2.7.3 to 2.7.4
- classes/Pods.php +45 -45
- classes/PodsAPI.php +66 -64
- classes/PodsAdmin.php +10 -10
- classes/PodsArray.php +11 -11
- classes/PodsComponent.php +4 -4
- classes/PodsComponents.php +14 -14
- classes/PodsData.php +29 -29
- classes/PodsField.php +29 -29
- classes/PodsForm.php +47 -47
- classes/PodsI18n.php +10 -10
- classes/PodsInit.php +6 -15
- classes/PodsMeta.php +2 -2
- classes/PodsMigrate.php +2 -2
- classes/PodsRESTHandlers.php +1 -1
- classes/PodsUI.php +5 -5
- classes/PodsView.php +5 -5
- classes/cli/Pods_CLI_Command.php +10 -10
- classes/fields/color.php +1 -1
- classes/fields/currency.php +2 -2
- classes/fields/datetime.php +11 -11
- classes/fields/file.php +6 -6
- classes/fields/link.php +1 -1
- classes/fields/number.php +2 -2
- classes/fields/oembed.php +9 -9
- classes/fields/pick.php +67 -35
- classes/fields/time.php +48 -4
- classes/fields/website.php +2 -2
- components/Advanced-Relationships.php +6 -6
- components/Helpers.php +12 -12
- components/I18n/I18n-polylang.php +2 -3
- components/I18n/I18n-wpml.php +2 -3
- components/I18n/I18n.php +22 -22
- components/Migrate-CPTUI/Migrate-CPTUI.php +4 -4
- components/Migrate-Packages/Migrate-Packages.php +2 -2
- components/Pages.php +11 -11
- components/Roles/Roles.php +2 -2
- components/Templates/Templates.php +11 -11
- components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Settings.php +1 -1
- components/Templates/includes/element-view_template.php +17 -5
- components/Templates/includes/functions-view_template.php +7 -7
- deprecated/classes/Pods.php +17 -17
- deprecated/classes/PodsAPI.php +1 -1
- deprecated/deprecated.php +20 -20
- docs/issue_template.md +20 -15
- docs/pull_request_template.md +26 -0
- includes/classes.php +14 -14
- includes/data.php +14 -14
- includes/general.php +40 -37
- includes/media.php +4 -4
- init.php +2 -2
- phpcs-report-full.txt +6633 -0
classes/Pods.php
CHANGED
@@ -257,7 +257,7 @@ class Pods implements Iterator {
|
|
257 |
*
|
258 |
* @var string
|
259 |
*
|
260 |
-
* @deprecated 2.0
|
261 |
*/
|
262 |
public $datatype;
|
263 |
|
@@ -266,7 +266,7 @@ class Pods implements Iterator {
|
|
266 |
*
|
267 |
* @var int
|
268 |
*
|
269 |
-
* @deprecated 2.0
|
270 |
*/
|
271 |
public $datatype_id;
|
272 |
|
@@ -391,7 +391,7 @@ class Pods implements Iterator {
|
|
391 |
*
|
392 |
* @return bool
|
393 |
*
|
394 |
-
* @since 2.0
|
395 |
*/
|
396 |
public function valid() {
|
397 |
|
@@ -502,7 +502,7 @@ class Pods implements Iterator {
|
|
502 |
*
|
503 |
* @return bool
|
504 |
*
|
505 |
-
* @since 2.0
|
506 |
*/
|
507 |
public function exists() {
|
508 |
|
@@ -521,7 +521,7 @@ class Pods implements Iterator {
|
|
521 |
*
|
522 |
* @return array|bool An array of all rows returned from a find() call, or false if no items returned
|
523 |
*
|
524 |
-
* @since 2.0
|
525 |
* @link https://pods.io/docs/data/
|
526 |
*/
|
527 |
public function data() {
|
@@ -587,7 +587,7 @@ class Pods implements Iterator {
|
|
587 |
*
|
588 |
* @return bool|mixed
|
589 |
*
|
590 |
-
* @since 2.0
|
591 |
*/
|
592 |
public function fields( $field = null, $option = null ) {
|
593 |
|
@@ -647,7 +647,7 @@ class Pods implements Iterator {
|
|
647 |
*
|
648 |
* @return array|false
|
649 |
*
|
650 |
-
* @since 2.0
|
651 |
*/
|
652 |
public function row() {
|
653 |
|
@@ -670,7 +670,7 @@ class Pods implements Iterator {
|
|
670 |
*
|
671 |
* @return string|null|false The output from the field, null if the field doesn't exist, false if no value returned
|
672 |
* for tableless fields
|
673 |
-
* @since 2.0
|
674 |
* @link https://pods.io/docs/display/
|
675 |
*/
|
676 |
public function display( $name, $single = null ) {
|
@@ -730,7 +730,7 @@ class Pods implements Iterator {
|
|
730 |
*
|
731 |
* @return string|null|false The output from the field, null if the field doesn't exist, false if no value returned
|
732 |
* for tableless fields
|
733 |
-
* @since 2.0
|
734 |
* @link https://pods.io/docs/display/
|
735 |
*/
|
736 |
public function raw( $name, $single = null ) {
|
@@ -771,7 +771,7 @@ class Pods implements Iterator {
|
|
771 |
*
|
772 |
* @return mixed|null Value returned depends on the field type, null if the field doesn't exist, false if no value
|
773 |
* returned for tableless fields.
|
774 |
-
* @since 2.0
|
775 |
* @link https://pods.io/docs/field/
|
776 |
*/
|
777 |
public function field( $name, $single = null, $raw = false ) {
|
@@ -1518,7 +1518,7 @@ class Pods implements Iterator {
|
|
1518 |
|
1519 |
$item_data = array();
|
1520 |
|
1521 |
-
if ( ! $related_obj ) {
|
1522 |
if ( ! is_object( $this->alt_data ) ) {
|
1523 |
$this->alt_data = pods_data( null, 0, true, true );
|
1524 |
}
|
@@ -2145,7 +2145,7 @@ class Pods implements Iterator {
|
|
2145 |
* Return the item ID
|
2146 |
*
|
2147 |
* @return int
|
2148 |
-
* @since 2.0
|
2149 |
*/
|
2150 |
public function id() {
|
2151 |
|
@@ -2164,7 +2164,7 @@ class Pods implements Iterator {
|
|
2164 |
* @param array|object|null $params_override Override the find() parameters.
|
2165 |
*
|
2166 |
* @return int
|
2167 |
-
* @since 2.0
|
2168 |
*/
|
2169 |
public function prev_id( $id = null, $params_override = null ) {
|
2170 |
|
@@ -2253,7 +2253,7 @@ class Pods implements Iterator {
|
|
2253 |
* @param array|object|null $params_override Override the find() parameters.
|
2254 |
*
|
2255 |
* @return int
|
2256 |
-
* @since 2.0
|
2257 |
*/
|
2258 |
public function next_id( $id = null, $params_override = null ) {
|
2259 |
|
@@ -2321,7 +2321,7 @@ class Pods implements Iterator {
|
|
2321 |
* @param array|object|null $params_override Override the find() parameters.
|
2322 |
*
|
2323 |
* @return int
|
2324 |
-
* @since 2.3
|
2325 |
*/
|
2326 |
public function first_id( $params_override = null ) {
|
2327 |
|
@@ -2366,7 +2366,7 @@ class Pods implements Iterator {
|
|
2366 |
* @param array|object|null $params_override Override the find() parameters.
|
2367 |
*
|
2368 |
* @return int
|
2369 |
-
* @since 2.3
|
2370 |
*/
|
2371 |
public function last_id( $params_override = null ) {
|
2372 |
|
@@ -2436,7 +2436,7 @@ class Pods implements Iterator {
|
|
2436 |
* Return the item name
|
2437 |
*
|
2438 |
* @return string
|
2439 |
-
* @since 2.0
|
2440 |
*/
|
2441 |
public function index() {
|
2442 |
|
@@ -2452,7 +2452,7 @@ class Pods implements Iterator {
|
|
2452 |
* @param string $sql (deprecated) For advanced use, a custom SQL query to run.
|
2453 |
*
|
2454 |
* @return \Pods The pod object
|
2455 |
-
* @since 2.0
|
2456 |
* @link https://pods.io/docs/find/
|
2457 |
*/
|
2458 |
public function find( $params = null, $limit = 15, $where = null, $sql = null ) {
|
@@ -2698,7 +2698,7 @@ class Pods implements Iterator {
|
|
2698 |
*
|
2699 |
* @return array An array of fields from the row
|
2700 |
*
|
2701 |
-
* @since 2.0
|
2702 |
* @link https://pods.io/docs/fetch/
|
2703 |
*/
|
2704 |
public function fetch( $id = null, $explicit_set = true ) {
|
@@ -2731,7 +2731,7 @@ class Pods implements Iterator {
|
|
2731 |
*
|
2732 |
* @return \Pods The pod object
|
2733 |
*
|
2734 |
-
* @since 2.0
|
2735 |
* @link https://pods.io/docs/reset/
|
2736 |
*/
|
2737 |
public function reset( $row = null ) {
|
@@ -2759,7 +2759,7 @@ class Pods implements Iterator {
|
|
2759 |
* @see PodsData::total
|
2760 |
*
|
2761 |
* @return int Number of rows returned by find(), based on the 'limit' parameter set
|
2762 |
-
* @since 2.0
|
2763 |
* @link https://pods.io/docs/total/
|
2764 |
*/
|
2765 |
public function total() {
|
@@ -2781,7 +2781,7 @@ class Pods implements Iterator {
|
|
2781 |
* @see PodsData::total_found
|
2782 |
*
|
2783 |
* @return int Number of rows returned by find(), regardless of the 'limit' parameter
|
2784 |
-
* @since 2.0
|
2785 |
* @link https://pods.io/docs/total-found/
|
2786 |
*/
|
2787 |
public function total_found() {
|
@@ -2855,7 +2855,7 @@ class Pods implements Iterator {
|
|
2855 |
* @param int|string $nth The $nth to match on the PodsData::row_number.
|
2856 |
*
|
2857 |
* @return bool Whether $nth matches
|
2858 |
-
* @since 2.3
|
2859 |
*/
|
2860 |
public function nth( $nth = null ) {
|
2861 |
|
@@ -2870,7 +2870,7 @@ class Pods implements Iterator {
|
|
2870 |
* @see PodsData::position
|
2871 |
*
|
2872 |
* @return int Current row number (+1)
|
2873 |
-
* @since 2.3
|
2874 |
*/
|
2875 |
public function position() {
|
2876 |
|
@@ -2892,7 +2892,7 @@ class Pods implements Iterator {
|
|
2892 |
*
|
2893 |
* @return int The item ID
|
2894 |
*
|
2895 |
-
* @since 2.0
|
2896 |
* @link https://pods.io/docs/add/
|
2897 |
*/
|
2898 |
public function add( $data = null, $value = null ) {
|
@@ -2928,7 +2928,7 @@ class Pods implements Iterator {
|
|
2928 |
*
|
2929 |
* @return int The item ID
|
2930 |
*
|
2931 |
-
* @since 2.3
|
2932 |
*/
|
2933 |
public function add_to( $field, $value, $id = null ) {
|
2934 |
|
@@ -3185,7 +3185,7 @@ class Pods implements Iterator {
|
|
3185 |
*
|
3186 |
* @return int The item ID
|
3187 |
*
|
3188 |
-
* @since 2.0
|
3189 |
* @link https://pods.io/docs/save/
|
3190 |
*/
|
3191 |
public function save( $data = null, $value = null, $id = null, $params = null ) {
|
@@ -3262,7 +3262,7 @@ class Pods implements Iterator {
|
|
3262 |
*
|
3263 |
* @return bool Whether the item was successfully deleted
|
3264 |
*
|
3265 |
-
* @since 2.0
|
3266 |
* @link https://pods.io/docs/delete/
|
3267 |
*/
|
3268 |
public function delete( $id = null ) {
|
@@ -3317,7 +3317,7 @@ class Pods implements Iterator {
|
|
3317 |
*
|
3318 |
* @return int|bool ID of the new pod item
|
3319 |
*
|
3320 |
-
* @since 2.0
|
3321 |
* @link https://pods.io/docs/duplicate/
|
3322 |
*/
|
3323 |
public function duplicate( $id = null ) {
|
@@ -3351,7 +3351,7 @@ class Pods implements Iterator {
|
|
3351 |
*
|
3352 |
* @return array IDs of imported items
|
3353 |
*
|
3354 |
-
* @since 2.3
|
3355 |
*/
|
3356 |
public function import( $import_data, $numeric_mode = false, $format = null ) {
|
3357 |
|
@@ -3369,7 +3369,7 @@ class Pods implements Iterator {
|
|
3369 |
*
|
3370 |
* @return array|bool Data array of the exported pod item
|
3371 |
*
|
3372 |
-
* @since 2.0
|
3373 |
* @link https://pods.io/docs/export/
|
3374 |
*/
|
3375 |
public function export( $fields = null, $id = null, $format = null ) {
|
@@ -3422,7 +3422,7 @@ class Pods implements Iterator {
|
|
3422 |
*
|
3423 |
* @return array Data arrays of all exported pod items
|
3424 |
*
|
3425 |
-
* @since 2.3
|
3426 |
*/
|
3427 |
public function export_data( $params = null ) {
|
3428 |
|
@@ -3449,7 +3449,7 @@ class Pods implements Iterator {
|
|
3449 |
* @param array|object $params Associative array of parameters.
|
3450 |
*
|
3451 |
* @return string Pagination HTML
|
3452 |
-
* @since 2.0
|
3453 |
* @link https://pods.io/docs/pagination/
|
3454 |
*/
|
3455 |
public function pagination( $params = null ) {
|
@@ -3528,7 +3528,7 @@ class Pods implements Iterator {
|
|
3528 |
*
|
3529 |
* @return string Filters HTML
|
3530 |
*
|
3531 |
-
* @since 2.0
|
3532 |
* @link https://pods.io/docs/filters/
|
3533 |
*/
|
3534 |
public function filters( $params = null ) {
|
@@ -3654,7 +3654,7 @@ class Pods implements Iterator {
|
|
3654 |
* @param string $name Field name.
|
3655 |
*
|
3656 |
* @return mixed Anything returned by the helper
|
3657 |
-
* @since 2.0
|
3658 |
*/
|
3659 |
public function helper( $helper, $value = null, $name = null ) {
|
3660 |
|
@@ -3697,7 +3697,7 @@ class Pods implements Iterator {
|
|
3697 |
* @param array $disallowed List of callbacks not allowed.
|
3698 |
* @param array $params Parameters used by Pods::helper() method.
|
3699 |
*
|
3700 |
-
* @since 2.7
|
3701 |
*/
|
3702 |
$disallowed = apply_filters( 'pods_helper_disallowed_callbacks', $disallowed, $params );
|
3703 |
|
@@ -3707,7 +3707,7 @@ class Pods implements Iterator {
|
|
3707 |
* @param array $allowed List of callbacks explicitly allowed.
|
3708 |
* @param array $params Parameters used by Pods::helper() method.
|
3709 |
*
|
3710 |
-
* @since 2.7
|
3711 |
*/
|
3712 |
$allowed = apply_filters( 'pods_helper_allowed_callbacks', $allowed, $params );
|
3713 |
|
@@ -3747,7 +3747,7 @@ class Pods implements Iterator {
|
|
3747 |
*
|
3748 |
* @return mixed Template output
|
3749 |
*
|
3750 |
-
* @since 2.0
|
3751 |
* @link https://pods.io/docs/template/
|
3752 |
*/
|
3753 |
public function template( $template_name, $code = null, $deprecated = false ) {
|
@@ -3877,7 +3877,7 @@ class Pods implements Iterator {
|
|
3877 |
* @param string $thank_you (optional) Thank you URL to send to upon success.
|
3878 |
*
|
3879 |
* @return bool|mixed
|
3880 |
-
* @since 2.0
|
3881 |
* @link https://pods.io/docs/form/
|
3882 |
*/
|
3883 |
public function form( $params = null, $label = null, $thank_you = null ) {
|
@@ -4003,7 +4003,7 @@ class Pods implements Iterator {
|
|
4003 |
*
|
4004 |
* @param string $message Success message.
|
4005 |
*
|
4006 |
-
* @since 2.7
|
4007 |
*/
|
4008 |
$message = apply_filters( 'pods_pod_form_success_message', $message );
|
4009 |
|
@@ -4106,7 +4106,7 @@ class Pods implements Iterator {
|
|
4106 |
*
|
4107 |
* @return string Code with Magic Tags evaluated
|
4108 |
*
|
4109 |
-
* @since 2.0
|
4110 |
*/
|
4111 |
public function do_magic_tags( $code ) {
|
4112 |
|
@@ -4118,7 +4118,7 @@ class Pods implements Iterator {
|
|
4118 |
* @param string $code The content to evaluate.
|
4119 |
* @param Pods $pods The Pods Object.
|
4120 |
*
|
4121 |
-
* @since 2.7
|
4122 |
*/
|
4123 |
$pre = apply_filters( 'pods_pre_do_magic_tags', null, $code, $this );
|
4124 |
if ( null !== $pre ) {
|
@@ -4470,7 +4470,7 @@ class Pods implements Iterator {
|
|
4470 |
*
|
4471 |
* @return mixed Value filtered
|
4472 |
*
|
4473 |
-
* @since 2.0
|
4474 |
*/
|
4475 |
private function do_hook( $name ) {
|
4476 |
|
@@ -4493,7 +4493,7 @@ class Pods implements Iterator {
|
|
4493 |
*
|
4494 |
* @return mixed
|
4495 |
*
|
4496 |
-
* @since 2.0
|
4497 |
*/
|
4498 |
public function __get( $name ) {
|
4499 |
|
@@ -4535,7 +4535,7 @@ class Pods implements Iterator {
|
|
4535 |
*
|
4536 |
* @return mixed|null
|
4537 |
*
|
4538 |
-
* @since 2.0
|
4539 |
*/
|
4540 |
public function __call( $name, $args ) {
|
4541 |
|
257 |
*
|
258 |
* @var string
|
259 |
*
|
260 |
+
* @deprecated 2.0.0
|
261 |
*/
|
262 |
public $datatype;
|
263 |
|
266 |
*
|
267 |
* @var int
|
268 |
*
|
269 |
+
* @deprecated 2.0.0
|
270 |
*/
|
271 |
public $datatype_id;
|
272 |
|
391 |
*
|
392 |
* @return bool
|
393 |
*
|
394 |
+
* @since 2.0.0
|
395 |
*/
|
396 |
public function valid() {
|
397 |
|
502 |
*
|
503 |
* @return bool
|
504 |
*
|
505 |
+
* @since 2.0.0
|
506 |
*/
|
507 |
public function exists() {
|
508 |
|
521 |
*
|
522 |
* @return array|bool An array of all rows returned from a find() call, or false if no items returned
|
523 |
*
|
524 |
+
* @since 2.0.0
|
525 |
* @link https://pods.io/docs/data/
|
526 |
*/
|
527 |
public function data() {
|
587 |
*
|
588 |
* @return bool|mixed
|
589 |
*
|
590 |
+
* @since 2.0.0
|
591 |
*/
|
592 |
public function fields( $field = null, $option = null ) {
|
593 |
|
647 |
*
|
648 |
* @return array|false
|
649 |
*
|
650 |
+
* @since 2.0.0
|
651 |
*/
|
652 |
public function row() {
|
653 |
|
670 |
*
|
671 |
* @return string|null|false The output from the field, null if the field doesn't exist, false if no value returned
|
672 |
* for tableless fields
|
673 |
+
* @since 2.0.0
|
674 |
* @link https://pods.io/docs/display/
|
675 |
*/
|
676 |
public function display( $name, $single = null ) {
|
730 |
*
|
731 |
* @return string|null|false The output from the field, null if the field doesn't exist, false if no value returned
|
732 |
* for tableless fields
|
733 |
+
* @since 2.0.0
|
734 |
* @link https://pods.io/docs/display/
|
735 |
*/
|
736 |
public function raw( $name, $single = null ) {
|
771 |
*
|
772 |
* @return mixed|null Value returned depends on the field type, null if the field doesn't exist, false if no value
|
773 |
* returned for tableless fields.
|
774 |
+
* @since 2.0.0
|
775 |
* @link https://pods.io/docs/field/
|
776 |
*/
|
777 |
public function field( $name, $single = null, $raw = false ) {
|
1518 |
|
1519 |
$item_data = array();
|
1520 |
|
1521 |
+
if ( ! $related_obj || ! $related_obj->valid() ) {
|
1522 |
if ( ! is_object( $this->alt_data ) ) {
|
1523 |
$this->alt_data = pods_data( null, 0, true, true );
|
1524 |
}
|
2145 |
* Return the item ID
|
2146 |
*
|
2147 |
* @return int
|
2148 |
+
* @since 2.0.0
|
2149 |
*/
|
2150 |
public function id() {
|
2151 |
|
2164 |
* @param array|object|null $params_override Override the find() parameters.
|
2165 |
*
|
2166 |
* @return int
|
2167 |
+
* @since 2.0.0
|
2168 |
*/
|
2169 |
public function prev_id( $id = null, $params_override = null ) {
|
2170 |
|
2253 |
* @param array|object|null $params_override Override the find() parameters.
|
2254 |
*
|
2255 |
* @return int
|
2256 |
+
* @since 2.0.0
|
2257 |
*/
|
2258 |
public function next_id( $id = null, $params_override = null ) {
|
2259 |
|
2321 |
* @param array|object|null $params_override Override the find() parameters.
|
2322 |
*
|
2323 |
* @return int
|
2324 |
+
* @since 2.3.0
|
2325 |
*/
|
2326 |
public function first_id( $params_override = null ) {
|
2327 |
|
2366 |
* @param array|object|null $params_override Override the find() parameters.
|
2367 |
*
|
2368 |
* @return int
|
2369 |
+
* @since 2.3.0
|
2370 |
*/
|
2371 |
public function last_id( $params_override = null ) {
|
2372 |
|
2436 |
* Return the item name
|
2437 |
*
|
2438 |
* @return string
|
2439 |
+
* @since 2.0.0
|
2440 |
*/
|
2441 |
public function index() {
|
2442 |
|
2452 |
* @param string $sql (deprecated) For advanced use, a custom SQL query to run.
|
2453 |
*
|
2454 |
* @return \Pods The pod object
|
2455 |
+
* @since 2.0.0
|
2456 |
* @link https://pods.io/docs/find/
|
2457 |
*/
|
2458 |
public function find( $params = null, $limit = 15, $where = null, $sql = null ) {
|
2698 |
*
|
2699 |
* @return array An array of fields from the row
|
2700 |
*
|
2701 |
+
* @since 2.0.0
|
2702 |
* @link https://pods.io/docs/fetch/
|
2703 |
*/
|
2704 |
public function fetch( $id = null, $explicit_set = true ) {
|
2731 |
*
|
2732 |
* @return \Pods The pod object
|
2733 |
*
|
2734 |
+
* @since 2.0.0
|
2735 |
* @link https://pods.io/docs/reset/
|
2736 |
*/
|
2737 |
public function reset( $row = null ) {
|
2759 |
* @see PodsData::total
|
2760 |
*
|
2761 |
* @return int Number of rows returned by find(), based on the 'limit' parameter set
|
2762 |
+
* @since 2.0.0
|
2763 |
* @link https://pods.io/docs/total/
|
2764 |
*/
|
2765 |
public function total() {
|
2781 |
* @see PodsData::total_found
|
2782 |
*
|
2783 |
* @return int Number of rows returned by find(), regardless of the 'limit' parameter
|
2784 |
+
* @since 2.0.0
|
2785 |
* @link https://pods.io/docs/total-found/
|
2786 |
*/
|
2787 |
public function total_found() {
|
2855 |
* @param int|string $nth The $nth to match on the PodsData::row_number.
|
2856 |
*
|
2857 |
* @return bool Whether $nth matches
|
2858 |
+
* @since 2.3.0
|
2859 |
*/
|
2860 |
public function nth( $nth = null ) {
|
2861 |
|
2870 |
* @see PodsData::position
|
2871 |
*
|
2872 |
* @return int Current row number (+1)
|
2873 |
+
* @since 2.3.0
|
2874 |
*/
|
2875 |
public function position() {
|
2876 |
|
2892 |
*
|
2893 |
* @return int The item ID
|
2894 |
*
|
2895 |
+
* @since 2.0.0
|
2896 |
* @link https://pods.io/docs/add/
|
2897 |
*/
|
2898 |
public function add( $data = null, $value = null ) {
|
2928 |
*
|
2929 |
* @return int The item ID
|
2930 |
*
|
2931 |
+
* @since 2.3.0
|
2932 |
*/
|
2933 |
public function add_to( $field, $value, $id = null ) {
|
2934 |
|
3185 |
*
|
3186 |
* @return int The item ID
|
3187 |
*
|
3188 |
+
* @since 2.0.0
|
3189 |
* @link https://pods.io/docs/save/
|
3190 |
*/
|
3191 |
public function save( $data = null, $value = null, $id = null, $params = null ) {
|
3262 |
*
|
3263 |
* @return bool Whether the item was successfully deleted
|
3264 |
*
|
3265 |
+
* @since 2.0.0
|
3266 |
* @link https://pods.io/docs/delete/
|
3267 |
*/
|
3268 |
public function delete( $id = null ) {
|
3317 |
*
|
3318 |
* @return int|bool ID of the new pod item
|
3319 |
*
|
3320 |
+
* @since 2.0.0
|
3321 |
* @link https://pods.io/docs/duplicate/
|
3322 |
*/
|
3323 |
public function duplicate( $id = null ) {
|
3351 |
*
|
3352 |
* @return array IDs of imported items
|
3353 |
*
|
3354 |
+
* @since 2.3.0
|
3355 |
*/
|
3356 |
public function import( $import_data, $numeric_mode = false, $format = null ) {
|
3357 |
|
3369 |
*
|
3370 |
* @return array|bool Data array of the exported pod item
|
3371 |
*
|
3372 |
+
* @since 2.0.0
|
3373 |
* @link https://pods.io/docs/export/
|
3374 |
*/
|
3375 |
public function export( $fields = null, $id = null, $format = null ) {
|
3422 |
*
|
3423 |
* @return array Data arrays of all exported pod items
|
3424 |
*
|
3425 |
+
* @since 2.3.0
|
3426 |
*/
|
3427 |
public function export_data( $params = null ) {
|
3428 |
|
3449 |
* @param array|object $params Associative array of parameters.
|
3450 |
*
|
3451 |
* @return string Pagination HTML
|
3452 |
+
* @since 2.0.0
|
3453 |
* @link https://pods.io/docs/pagination/
|
3454 |
*/
|
3455 |
public function pagination( $params = null ) {
|
3528 |
*
|
3529 |
* @return string Filters HTML
|
3530 |
*
|
3531 |
+
* @since 2.0.0
|
3532 |
* @link https://pods.io/docs/filters/
|
3533 |
*/
|
3534 |
public function filters( $params = null ) {
|
3654 |
* @param string $name Field name.
|
3655 |
*
|
3656 |
* @return mixed Anything returned by the helper
|
3657 |
+
* @since 2.0.0
|
3658 |
*/
|
3659 |
public function helper( $helper, $value = null, $name = null ) {
|
3660 |
|
3697 |
* @param array $disallowed List of callbacks not allowed.
|
3698 |
* @param array $params Parameters used by Pods::helper() method.
|
3699 |
*
|
3700 |
+
* @since 2.7.0
|
3701 |
*/
|
3702 |
$disallowed = apply_filters( 'pods_helper_disallowed_callbacks', $disallowed, $params );
|
3703 |
|
3707 |
* @param array $allowed List of callbacks explicitly allowed.
|
3708 |
* @param array $params Parameters used by Pods::helper() method.
|
3709 |
*
|
3710 |
+
* @since 2.7.0
|
3711 |
*/
|
3712 |
$allowed = apply_filters( 'pods_helper_allowed_callbacks', $allowed, $params );
|
3713 |
|
3747 |
*
|
3748 |
* @return mixed Template output
|
3749 |
*
|
3750 |
+
* @since 2.0.0
|
3751 |
* @link https://pods.io/docs/template/
|
3752 |
*/
|
3753 |
public function template( $template_name, $code = null, $deprecated = false ) {
|
3877 |
* @param string $thank_you (optional) Thank you URL to send to upon success.
|
3878 |
*
|
3879 |
* @return bool|mixed
|
3880 |
+
* @since 2.0.0
|
3881 |
* @link https://pods.io/docs/form/
|
3882 |
*/
|
3883 |
public function form( $params = null, $label = null, $thank_you = null ) {
|
4003 |
*
|
4004 |
* @param string $message Success message.
|
4005 |
*
|
4006 |
+
* @since 2.7.0
|
4007 |
*/
|
4008 |
$message = apply_filters( 'pods_pod_form_success_message', $message );
|
4009 |
|
4106 |
*
|
4107 |
* @return string Code with Magic Tags evaluated
|
4108 |
*
|
4109 |
+
* @since 2.0.0
|
4110 |
*/
|
4111 |
public function do_magic_tags( $code ) {
|
4112 |
|
4118 |
* @param string $code The content to evaluate.
|
4119 |
* @param Pods $pods The Pods Object.
|
4120 |
*
|
4121 |
+
* @since 2.7.0
|
4122 |
*/
|
4123 |
$pre = apply_filters( 'pods_pre_do_magic_tags', null, $code, $this );
|
4124 |
if ( null !== $pre ) {
|
4470 |
*
|
4471 |
* @return mixed Value filtered
|
4472 |
*
|
4473 |
+
* @since 2.0.0
|
4474 |
*/
|
4475 |
private function do_hook( $name ) {
|
4476 |
|
4493 |
*
|
4494 |
* @return mixed
|
4495 |
*
|
4496 |
+
* @since 2.0.0
|
4497 |
*/
|
4498 |
public function __get( $name ) {
|
4499 |
|
4535 |
*
|
4536 |
* @return mixed|null
|
4537 |
*
|
4538 |
+
* @since 2.0.0
|
4539 |
*/
|
4540 |
public function __call( $name, $args ) {
|
4541 |
|
classes/PodsAPI.php
CHANGED
@@ -42,7 +42,7 @@ class PodsAPI {
|
|
42 |
|
43 |
/**
|
44 |
* @var
|
45 |
-
* @deprecated 2.0
|
46 |
*/
|
47 |
public $format = null;
|
48 |
|
@@ -53,20 +53,20 @@ class PodsAPI {
|
|
53 |
|
54 |
/**
|
55 |
* @var array
|
56 |
-
* @since 2.5
|
57 |
*/
|
58 |
private $fields_cache = array();
|
59 |
|
60 |
/**
|
61 |
* @var array
|
62 |
-
* @since 2.5
|
63 |
*
|
64 |
*/
|
65 |
private static $table_info_cache = array();
|
66 |
|
67 |
/**
|
68 |
* @var array
|
69 |
-
* @since 2.5
|
70 |
*
|
71 |
*/
|
72 |
private static $related_item_cache = array();
|
@@ -143,7 +143,7 @@ class PodsAPI {
|
|
143 |
*
|
144 |
* @return bool|mixed
|
145 |
*
|
146 |
-
* @since 2.0
|
147 |
*/
|
148 |
public function save_wp_object( $object_type, $data, $meta = array(), $strict = false, $sanitized = false, $fields = array() ) {
|
149 |
|
@@ -183,7 +183,7 @@ class PodsAPI {
|
|
183 |
*
|
184 |
* @return bool|mixed
|
185 |
*
|
186 |
-
* @since 2.0
|
187 |
*/
|
188 |
public function delete_wp_object( $object_type, $id, $force_delete = true ) {
|
189 |
|
@@ -222,7 +222,7 @@ class PodsAPI {
|
|
222 |
*
|
223 |
* @return mixed|void
|
224 |
*
|
225 |
-
* @since 2.0
|
226 |
*/
|
227 |
public function save_post( $post_data, $post_meta = null, $strict = false, $sanitized = false, $fields = array() ) {
|
228 |
|
@@ -283,7 +283,7 @@ class PodsAPI {
|
|
283 |
*
|
284 |
* @return int Id of the post with the meta
|
285 |
*
|
286 |
-
* @since 2.0
|
287 |
*/
|
288 |
public function save_post_meta( $id, $post_meta = null, $strict = false, $fields = array() ) {
|
289 |
|
@@ -372,7 +372,7 @@ class PodsAPI {
|
|
372 |
*
|
373 |
* @return int Returns user id on success
|
374 |
*
|
375 |
-
* @since 2.0
|
376 |
*/
|
377 |
public function save_user( $user_data, $user_meta = null, $strict = false, $sanitized = false, $fields = array() ) {
|
378 |
|
@@ -440,7 +440,7 @@ class PodsAPI {
|
|
440 |
*
|
441 |
* @return int User ID
|
442 |
*
|
443 |
-
* @since 2.0
|
444 |
*
|
445 |
*/
|
446 |
public function save_user_meta( $id, $user_meta = null, $strict = false, $fields = array() ) {
|
@@ -522,7 +522,7 @@ class PodsAPI {
|
|
522 |
*
|
523 |
* @return int Comment ID
|
524 |
*
|
525 |
-
* @since 2.0
|
526 |
*/
|
527 |
public function save_comment( $comment_data, $comment_meta = null, $strict = false, $sanitized = false, $fields = array() ) {
|
528 |
|
@@ -584,7 +584,7 @@ class PodsAPI {
|
|
584 |
*
|
585 |
* @return int Comment ID
|
586 |
*
|
587 |
-
* @since 2.0
|
588 |
*/
|
589 |
public function save_comment_meta( $id, $comment_meta = null, $strict = false, $fields = array() ) {
|
590 |
|
@@ -665,7 +665,7 @@ class PodsAPI {
|
|
665 |
*
|
666 |
* @return int Term ID
|
667 |
*
|
668 |
-
* @since 2.0
|
669 |
*/
|
670 |
public function save_term( $term_data, $term_meta, $strict = false, $sanitized = false, $fields = array() ) {
|
671 |
|
@@ -740,7 +740,7 @@ class PodsAPI {
|
|
740 |
*
|
741 |
* @return int Id of the term with the meta
|
742 |
*
|
743 |
-
* @since 2.0
|
744 |
*/
|
745 |
public function save_term_meta( $id, $term_meta = null, $strict = false, $fields = array() ) {
|
746 |
|
@@ -831,7 +831,7 @@ class PodsAPI {
|
|
831 |
*
|
832 |
* @return bool
|
833 |
*
|
834 |
-
* @since 2.3
|
835 |
*/
|
836 |
public function save_setting( $setting, $option_data, $sanitized = false ) {
|
837 |
|
@@ -873,7 +873,7 @@ class PodsAPI {
|
|
873 |
*
|
874 |
* @return bool
|
875 |
*
|
876 |
-
* @since 2.0
|
877 |
*/
|
878 |
public function rename_wp_object_type( $object_type, $old_name, $new_name ) {
|
879 |
|
@@ -920,7 +920,7 @@ class PodsAPI {
|
|
920 |
*
|
921 |
* @return array Array of fields
|
922 |
*
|
923 |
-
* @since 2.0
|
924 |
*/
|
925 |
public function get_wp_object_fields( $object = 'post_type', $pod = null, $refresh = false ) {
|
926 |
|
@@ -1466,7 +1466,7 @@ class PodsAPI {
|
|
1466 |
* @param array $params An associative array of parameters
|
1467 |
*
|
1468 |
* @return bool|int Pod ID
|
1469 |
-
* @since 2.0
|
1470 |
*/
|
1471 |
public function add_pod( $params ) {
|
1472 |
|
@@ -1722,7 +1722,7 @@ class PodsAPI {
|
|
1722 |
}
|
1723 |
|
1724 |
if ( $old_name !== $params->name && false !== $this->pod_exists( array( 'name' => $params->name ) ) ) {
|
1725 |
-
return pods_error( sprintf( __( 'Pod %s already exists, you cannot rename %s to that', 'pods' ), $params->name, $old_name ), $this );
|
1726 |
}
|
1727 |
|
1728 |
if ( $old_name !== $params->name && in_array( $pod['type'], array(
|
@@ -1919,13 +1919,13 @@ class PodsAPI {
|
|
1919 |
$check = get_post_type_object( $params->name );
|
1920 |
|
1921 |
if ( ! empty( $check ) ) {
|
1922 |
-
return pods_error( sprintf( __( 'Post Type %s already exists, you cannot rename %s to that', 'pods' ), $params->name, $old_name ), $this );
|
1923 |
}
|
1924 |
} elseif ( 'taxonomy' === $pod['type'] ) {
|
1925 |
$check = get_taxonomy( $params->name );
|
1926 |
|
1927 |
if ( ! empty( $check ) ) {
|
1928 |
-
return pods_error( sprintf( __( 'Taxonomy %s already exists, you cannot rename %s to that', 'pods' ), $params->name, $old_name ), $this );
|
1929 |
}
|
1930 |
}
|
1931 |
}
|
@@ -2492,7 +2492,7 @@ class PodsAPI {
|
|
2492 |
}
|
2493 |
|
2494 |
if ( $old_name !== $field['name'] && false !== $this->field_exists( $params ) ) {
|
2495 |
-
return pods_error( sprintf( __( 'Field %s already exists, you cannot rename %s to that', 'pods' ), $field['name'], $old_name ), $this );
|
2496 |
}
|
2497 |
|
2498 |
if ( ( $id_required || ! empty( $params->id ) ) && ( empty( $old_id ) || $old_id != $params->id ) ) {
|
@@ -3011,7 +3011,7 @@ class PodsAPI {
|
|
3011 |
* will sanitize them if false.
|
3012 |
*
|
3013 |
* @return int The Object ID
|
3014 |
-
* @since 2.0
|
3015 |
*/
|
3016 |
public function save_object( $params, $sanitized = false ) {
|
3017 |
|
@@ -3240,7 +3240,7 @@ class PodsAPI {
|
|
3240 |
$error_mode = $params->error_mode;
|
3241 |
}
|
3242 |
|
3243 |
-
// @deprecated 2.0
|
3244 |
if ( isset( $params->datatype ) ) {
|
3245 |
pods_deprecated( '$params->pod instead of $params->datatype', '2.0' );
|
3246 |
|
@@ -3267,7 +3267,7 @@ class PodsAPI {
|
|
3267 |
}
|
3268 |
}
|
3269 |
|
3270 |
-
// @deprecated 2.0
|
3271 |
if ( isset( $params->tbl_row_id ) ) {
|
3272 |
pods_deprecated( '$params->id instead of $params->tbl_row_id', '2.0' );
|
3273 |
|
@@ -3276,7 +3276,7 @@ class PodsAPI {
|
|
3276 |
unset( $params->tbl_row_id );
|
3277 |
}
|
3278 |
|
3279 |
-
// @deprecated 2.0
|
3280 |
if ( isset( $params->columns ) ) {
|
3281 |
pods_deprecated( '$params->data instead of $params->columns', '2.0' );
|
3282 |
|
@@ -3513,9 +3513,9 @@ class PodsAPI {
|
|
3513 |
}
|
3514 |
}
|
3515 |
|
3516 |
-
$columns =& $fields; // @deprecated 2.0
|
3517 |
-
$active_columns =& $fields_active; // @deprecated 2.0
|
3518 |
-
$params->tbl_row_id =& $params->id; // @deprecated 2.0
|
3519 |
|
3520 |
$pre_save_helpers = $post_save_helpers = array();
|
3521 |
|
@@ -4154,7 +4154,7 @@ class PodsAPI {
|
|
4154 |
* @param array $data An associative array of pod ids and field names + values (arrays of field data)
|
4155 |
*
|
4156 |
* @return int The item ID
|
4157 |
-
* @since 2.0
|
4158 |
*/
|
4159 |
public function save_pod_items( $params, $data ) {
|
4160 |
|
@@ -4177,7 +4177,9 @@ class PodsAPI {
|
|
4177 |
}
|
4178 |
|
4179 |
/**
|
4180 |
-
*Handle tracking changed fields or get them
|
|
|
|
|
4181 |
*
|
4182 |
* @param string $pod
|
4183 |
* @param int $id
|
@@ -4258,7 +4260,7 @@ class PodsAPI {
|
|
4258 |
*
|
4259 |
* @return array Array of fields and values that have changed
|
4260 |
*
|
4261 |
-
* @deprecated Use PodsAPI::handle_changed_fields
|
4262 |
*/
|
4263 |
public function get_changed_fields( $pieces ) {
|
4264 |
|
@@ -4421,7 +4423,7 @@ class PodsAPI {
|
|
4421 |
* @param bool $strict (optional) Makes sure a pod exists, if it doesn't throws an error
|
4422 |
*
|
4423 |
* @return int New Pod ID
|
4424 |
-
* @since 2.3
|
4425 |
*/
|
4426 |
public function duplicate_pod( $params, $strict = false ) {
|
4427 |
|
@@ -4736,7 +4738,7 @@ class PodsAPI {
|
|
4736 |
*
|
4737 |
* @return array Data array
|
4738 |
*
|
4739 |
-
* @since 2.3
|
4740 |
*/
|
4741 |
private function export_pod_item_level( $pod, $params ) {
|
4742 |
|
@@ -4923,7 +4925,7 @@ class PodsAPI {
|
|
4923 |
|
4924 |
$params = (object) pods_sanitize( $params );
|
4925 |
|
4926 |
-
// @deprecated 2.0
|
4927 |
if ( isset( $params->datatype ) ) {
|
4928 |
pods_deprecated( __( '$params->pod instead of $params->datatype', 'pods' ), '2.0' );
|
4929 |
|
@@ -5325,7 +5327,7 @@ class PodsAPI {
|
|
5325 |
* @uses wp_delete_post
|
5326 |
*
|
5327 |
* @return bool
|
5328 |
-
* @since 2.0
|
5329 |
*/
|
5330 |
public function delete_object( $params ) {
|
5331 |
|
@@ -5435,7 +5437,7 @@ class PodsAPI {
|
|
5435 |
|
5436 |
$params = (object) pods_sanitize( $params );
|
5437 |
|
5438 |
-
// @deprecated 2.0
|
5439 |
if ( isset( $params->datatype_id ) || isset( $params->datatype ) || isset( $params->tbl_row_id ) ) {
|
5440 |
if ( isset( $params->tbl_row_id ) ) {
|
5441 |
pods_deprecated( __( '$params->id instead of $params->tbl_row_id', 'pods' ), '2.0' );
|
@@ -5581,7 +5583,7 @@ class PodsAPI {
|
|
5581 |
*
|
5582 |
* @return bool
|
5583 |
*
|
5584 |
-
* @since 2.3
|
5585 |
*/
|
5586 |
public function delete_object_from_relationships( $id, $object, $name = null ) {
|
5587 |
|
@@ -5690,7 +5692,7 @@ class PodsAPI {
|
|
5690 |
*
|
5691 |
* @return void
|
5692 |
*
|
5693 |
-
* @since 2.3
|
5694 |
*/
|
5695 |
public function delete_relationships( $related_id, $id, $related_pod, $related_field ) {
|
5696 |
|
@@ -6220,7 +6222,7 @@ class PodsAPI {
|
|
6220 |
*
|
6221 |
* @uses PodsAPI::load_pod
|
6222 |
*
|
6223 |
-
* @since 2.0
|
6224 |
*/
|
6225 |
public function load_pods( $params = null ) {
|
6226 |
|
@@ -7010,7 +7012,7 @@ class PodsAPI {
|
|
7010 |
* @param bool $strict
|
7011 |
*
|
7012 |
* @return array|bool
|
7013 |
-
* @since 2.0
|
7014 |
*/
|
7015 |
public function load_object( $params, $strict = false ) {
|
7016 |
|
@@ -7081,7 +7083,7 @@ class PodsAPI {
|
|
7081 |
* @param array|object $params An associative array of parameters
|
7082 |
*
|
7083 |
* @return array
|
7084 |
-
* @since 2.0
|
7085 |
*/
|
7086 |
public function load_objects( $params ) {
|
7087 |
|
@@ -7228,7 +7230,7 @@ class PodsAPI {
|
|
7228 |
*
|
7229 |
* @return array
|
7230 |
*
|
7231 |
-
* @since 2.0
|
7232 |
*/
|
7233 |
public function load_templates( $params = null ) {
|
7234 |
|
@@ -7286,7 +7288,7 @@ class PodsAPI {
|
|
7286 |
*
|
7287 |
* @return array
|
7288 |
*
|
7289 |
-
* @since 2.0
|
7290 |
*/
|
7291 |
public function load_pages( $params = null ) {
|
7292 |
|
@@ -7340,7 +7342,7 @@ class PodsAPI {
|
|
7340 |
*
|
7341 |
* @return array
|
7342 |
*
|
7343 |
-
* @since 2.0
|
7344 |
*/
|
7345 |
public function load_helpers( $params = null ) {
|
7346 |
|
@@ -7366,7 +7368,7 @@ class PodsAPI {
|
|
7366 |
*
|
7367 |
* @uses pods()
|
7368 |
*
|
7369 |
-
* @since 2.0
|
7370 |
*/
|
7371 |
public function load_pod_item( $params ) {
|
7372 |
|
@@ -7473,7 +7475,7 @@ class PodsAPI {
|
|
7473 |
*
|
7474 |
* @return string The field type
|
7475 |
*
|
7476 |
-
* @since 2.0
|
7477 |
*/
|
7478 |
public static function detect_pod_field_from_sql_data_type( $sql_field ) {
|
7479 |
|
@@ -7509,8 +7511,8 @@ class PodsAPI {
|
|
7509 |
*
|
7510 |
* @uses PodsForm::field_loader
|
7511 |
*
|
7512 |
-
* @since 2.0
|
7513 |
-
* @deprecated
|
7514 |
*/
|
7515 |
public function get_field_types() {
|
7516 |
|
@@ -7525,7 +7527,7 @@ class PodsAPI {
|
|
7525 |
*
|
7526 |
* @return array|bool|mixed|null
|
7527 |
*
|
7528 |
-
* @since 2.0
|
7529 |
*/
|
7530 |
private function get_field_definition( $type, $options = null ) {
|
7531 |
|
@@ -7550,7 +7552,7 @@ class PodsAPI {
|
|
7550 |
*
|
7551 |
* @uses PodsForm::validate
|
7552 |
*
|
7553 |
-
* @since 2.0
|
7554 |
*/
|
7555 |
public function handle_field_validation( &$value, $field, $object_fields, $fields, $pod, $params ) {
|
7556 |
|
@@ -7646,7 +7648,7 @@ class PodsAPI {
|
|
7646 |
*
|
7647 |
* @return int[]
|
7648 |
*
|
7649 |
-
* @since 2.0
|
7650 |
*
|
7651 |
* @uses pods_query()
|
7652 |
*/
|
@@ -7854,7 +7856,7 @@ class PodsAPI {
|
|
7854 |
*
|
7855 |
* @return array|bool
|
7856 |
*
|
7857 |
-
* @since 2.3
|
7858 |
*
|
7859 |
* @uses pods_query()
|
7860 |
*/
|
@@ -8018,7 +8020,7 @@ class PodsAPI {
|
|
8018 |
*
|
8019 |
* @return array
|
8020 |
*
|
8021 |
-
* @since 2.5
|
8022 |
*/
|
8023 |
public function get_table_info_load( $object_type, $object, $name = null, $pod = null ) {
|
8024 |
|
@@ -8142,7 +8144,7 @@ class PodsAPI {
|
|
8142 |
*
|
8143 |
* @return array|bool
|
8144 |
*
|
8145 |
-
* @since 2.0
|
8146 |
*/
|
8147 |
public function get_table_info( $object_type, $object, $name = null, $pod = null, $field = null ) {
|
8148 |
|
@@ -8655,7 +8657,7 @@ class PodsAPI {
|
|
8655 |
* @return array|bool
|
8656 |
*
|
8657 |
* @since 1.9.0
|
8658 |
-
* @deprecated 2.0
|
8659 |
*/
|
8660 |
public function export_package( $params ) {
|
8661 |
|
@@ -8674,7 +8676,7 @@ class PodsAPI {
|
|
8674 |
* @return bool
|
8675 |
*
|
8676 |
* @since 1.9.8
|
8677 |
-
* @deprecated 2.0
|
8678 |
*/
|
8679 |
public function replace_package( $data = false ) {
|
8680 |
|
@@ -8690,7 +8692,7 @@ class PodsAPI {
|
|
8690 |
* @return bool
|
8691 |
*
|
8692 |
* @since 1.9.0
|
8693 |
-
* @deprecated 2.0
|
8694 |
*/
|
8695 |
public function import_package( $data = false, $replace = false ) {
|
8696 |
|
@@ -8710,7 +8712,7 @@ class PodsAPI {
|
|
8710 |
* @return array|bool
|
8711 |
*
|
8712 |
* @since 1.9.0
|
8713 |
-
* @deprecated 2.0
|
8714 |
*/
|
8715 |
public function validate_package( $data = false, $output = false ) {
|
8716 |
|
@@ -8976,7 +8978,7 @@ class PodsAPI {
|
|
8976 |
*
|
8977 |
* @return void
|
8978 |
*
|
8979 |
-
* @since 2.0
|
8980 |
*/
|
8981 |
public function cache_flush_pods( $pod = null ) {
|
8982 |
|
@@ -9027,7 +9029,7 @@ class PodsAPI {
|
|
9027 |
*
|
9028 |
* @return mixed
|
9029 |
*
|
9030 |
-
* @since 2.0
|
9031 |
*/
|
9032 |
public function process_form( $params, $obj = null, $fields = null, $thank_you = null ) {
|
9033 |
|
@@ -9116,7 +9118,7 @@ class PodsAPI {
|
|
9116 |
/**
|
9117 |
* Handle filters / actions for the class
|
9118 |
*
|
9119 |
-
* @since 2.0
|
9120 |
*/
|
9121 |
private function do_hook() {
|
9122 |
|
@@ -9132,7 +9134,7 @@ class PodsAPI {
|
|
9132 |
/**
|
9133 |
* Handle variables that have been deprecated
|
9134 |
*
|
9135 |
-
* @since 2.0
|
9136 |
*/
|
9137 |
public function __get( $name ) {
|
9138 |
|
@@ -9159,7 +9161,7 @@ class PodsAPI {
|
|
9159 |
/**
|
9160 |
* Handle methods that have been deprecated
|
9161 |
*
|
9162 |
-
* @since 2.0
|
9163 |
*/
|
9164 |
public function __call( $name, $args ) {
|
9165 |
|
42 |
|
43 |
/**
|
44 |
* @var
|
45 |
+
* @deprecated 2.0.0
|
46 |
*/
|
47 |
public $format = null;
|
48 |
|
53 |
|
54 |
/**
|
55 |
* @var array
|
56 |
+
* @since 2.5.0
|
57 |
*/
|
58 |
private $fields_cache = array();
|
59 |
|
60 |
/**
|
61 |
* @var array
|
62 |
+
* @since 2.5.0
|
63 |
*
|
64 |
*/
|
65 |
private static $table_info_cache = array();
|
66 |
|
67 |
/**
|
68 |
* @var array
|
69 |
+
* @since 2.5.0
|
70 |
*
|
71 |
*/
|
72 |
private static $related_item_cache = array();
|
143 |
*
|
144 |
* @return bool|mixed
|
145 |
*
|
146 |
+
* @since 2.0.0
|
147 |
*/
|
148 |
public function save_wp_object( $object_type, $data, $meta = array(), $strict = false, $sanitized = false, $fields = array() ) {
|
149 |
|
183 |
*
|
184 |
* @return bool|mixed
|
185 |
*
|
186 |
+
* @since 2.0.0
|
187 |
*/
|
188 |
public function delete_wp_object( $object_type, $id, $force_delete = true ) {
|
189 |
|
222 |
*
|
223 |
* @return mixed|void
|
224 |
*
|
225 |
+
* @since 2.0.0
|
226 |
*/
|
227 |
public function save_post( $post_data, $post_meta = null, $strict = false, $sanitized = false, $fields = array() ) {
|
228 |
|
283 |
*
|
284 |
* @return int Id of the post with the meta
|
285 |
*
|
286 |
+
* @since 2.0.0
|
287 |
*/
|
288 |
public function save_post_meta( $id, $post_meta = null, $strict = false, $fields = array() ) {
|
289 |
|
372 |
*
|
373 |
* @return int Returns user id on success
|
374 |
*
|
375 |
+
* @since 2.0.0
|
376 |
*/
|
377 |
public function save_user( $user_data, $user_meta = null, $strict = false, $sanitized = false, $fields = array() ) {
|
378 |
|
440 |
*
|
441 |
* @return int User ID
|
442 |
*
|
443 |
+
* @since 2.0.0
|
444 |
*
|
445 |
*/
|
446 |
public function save_user_meta( $id, $user_meta = null, $strict = false, $fields = array() ) {
|
522 |
*
|
523 |
* @return int Comment ID
|
524 |
*
|
525 |
+
* @since 2.0.0
|
526 |
*/
|
527 |
public function save_comment( $comment_data, $comment_meta = null, $strict = false, $sanitized = false, $fields = array() ) {
|
528 |
|
584 |
*
|
585 |
* @return int Comment ID
|
586 |
*
|
587 |
+
* @since 2.0.0
|
588 |
*/
|
589 |
public function save_comment_meta( $id, $comment_meta = null, $strict = false, $fields = array() ) {
|
590 |
|
665 |
*
|
666 |
* @return int Term ID
|
667 |
*
|
668 |
+
* @since 2.0.0
|
669 |
*/
|
670 |
public function save_term( $term_data, $term_meta, $strict = false, $sanitized = false, $fields = array() ) {
|
671 |
|
740 |
*
|
741 |
* @return int Id of the term with the meta
|
742 |
*
|
743 |
+
* @since 2.0.0
|
744 |
*/
|
745 |
public function save_term_meta( $id, $term_meta = null, $strict = false, $fields = array() ) {
|
746 |
|
831 |
*
|
832 |
* @return bool
|
833 |
*
|
834 |
+
* @since 2.3.0
|
835 |
*/
|
836 |
public function save_setting( $setting, $option_data, $sanitized = false ) {
|
837 |
|
873 |
*
|
874 |
* @return bool
|
875 |
*
|
876 |
+
* @since 2.0.0
|
877 |
*/
|
878 |
public function rename_wp_object_type( $object_type, $old_name, $new_name ) {
|
879 |
|
920 |
*
|
921 |
* @return array Array of fields
|
922 |
*
|
923 |
+
* @since 2.0.0
|
924 |
*/
|
925 |
public function get_wp_object_fields( $object = 'post_type', $pod = null, $refresh = false ) {
|
926 |
|
1466 |
* @param array $params An associative array of parameters
|
1467 |
*
|
1468 |
* @return bool|int Pod ID
|
1469 |
+
* @since 2.0.0
|
1470 |
*/
|
1471 |
public function add_pod( $params ) {
|
1472 |
|
1722 |
}
|
1723 |
|
1724 |
if ( $old_name !== $params->name && false !== $this->pod_exists( array( 'name' => $params->name ) ) ) {
|
1725 |
+
return pods_error( sprintf( __( 'Pod %1$s already exists, you cannot rename %2$s to that', 'pods' ), $params->name, $old_name ), $this );
|
1726 |
}
|
1727 |
|
1728 |
if ( $old_name !== $params->name && in_array( $pod['type'], array(
|
1919 |
$check = get_post_type_object( $params->name );
|
1920 |
|
1921 |
if ( ! empty( $check ) ) {
|
1922 |
+
return pods_error( sprintf( __( 'Post Type %1$s already exists, you cannot rename %2$s to that', 'pods' ), $params->name, $old_name ), $this );
|
1923 |
}
|
1924 |
} elseif ( 'taxonomy' === $pod['type'] ) {
|
1925 |
$check = get_taxonomy( $params->name );
|
1926 |
|
1927 |
if ( ! empty( $check ) ) {
|
1928 |
+
return pods_error( sprintf( __( 'Taxonomy %1$s already exists, you cannot rename %2$s to that', 'pods' ), $params->name, $old_name ), $this );
|
1929 |
}
|
1930 |
}
|
1931 |
}
|
2492 |
}
|
2493 |
|
2494 |
if ( $old_name !== $field['name'] && false !== $this->field_exists( $params ) ) {
|
2495 |
+
return pods_error( sprintf( __( 'Field %1$s already exists, you cannot rename %2$s to that', 'pods' ), $field['name'], $old_name ), $this );
|
2496 |
}
|
2497 |
|
2498 |
if ( ( $id_required || ! empty( $params->id ) ) && ( empty( $old_id ) || $old_id != $params->id ) ) {
|
3011 |
* will sanitize them if false.
|
3012 |
*
|
3013 |
* @return int The Object ID
|
3014 |
+
* @since 2.0.0
|
3015 |
*/
|
3016 |
public function save_object( $params, $sanitized = false ) {
|
3017 |
|
3240 |
$error_mode = $params->error_mode;
|
3241 |
}
|
3242 |
|
3243 |
+
// @deprecated 2.0.0
|
3244 |
if ( isset( $params->datatype ) ) {
|
3245 |
pods_deprecated( '$params->pod instead of $params->datatype', '2.0' );
|
3246 |
|
3267 |
}
|
3268 |
}
|
3269 |
|
3270 |
+
// @deprecated 2.0.0
|
3271 |
if ( isset( $params->tbl_row_id ) ) {
|
3272 |
pods_deprecated( '$params->id instead of $params->tbl_row_id', '2.0' );
|
3273 |
|
3276 |
unset( $params->tbl_row_id );
|
3277 |
}
|
3278 |
|
3279 |
+
// @deprecated 2.0.0
|
3280 |
if ( isset( $params->columns ) ) {
|
3281 |
pods_deprecated( '$params->data instead of $params->columns', '2.0' );
|
3282 |
|
3513 |
}
|
3514 |
}
|
3515 |
|
3516 |
+
$columns =& $fields; // @deprecated 2.0.0
|
3517 |
+
$active_columns =& $fields_active; // @deprecated 2.0.0
|
3518 |
+
$params->tbl_row_id =& $params->id; // @deprecated 2.0.0
|
3519 |
|
3520 |
$pre_save_helpers = $post_save_helpers = array();
|
3521 |
|
4154 |
* @param array $data An associative array of pod ids and field names + values (arrays of field data)
|
4155 |
*
|
4156 |
* @return int The item ID
|
4157 |
+
* @since 2.0.0
|
4158 |
*/
|
4159 |
public function save_pod_items( $params, $data ) {
|
4160 |
|
4177 |
}
|
4178 |
|
4179 |
/**
|
4180 |
+
* Handle tracking changed fields or get them.
|
4181 |
+
*
|
4182 |
+
* @since 2.7.0
|
4183 |
*
|
4184 |
* @param string $pod
|
4185 |
* @param int $id
|
4260 |
*
|
4261 |
* @return array Array of fields and values that have changed
|
4262 |
*
|
4263 |
+
* @deprecated 2.7.0 Use PodsAPI::handle_changed_fields
|
4264 |
*/
|
4265 |
public function get_changed_fields( $pieces ) {
|
4266 |
|
4423 |
* @param bool $strict (optional) Makes sure a pod exists, if it doesn't throws an error
|
4424 |
*
|
4425 |
* @return int New Pod ID
|
4426 |
+
* @since 2.3.0
|
4427 |
*/
|
4428 |
public function duplicate_pod( $params, $strict = false ) {
|
4429 |
|
4738 |
*
|
4739 |
* @return array Data array
|
4740 |
*
|
4741 |
+
* @since 2.3.0
|
4742 |
*/
|
4743 |
private function export_pod_item_level( $pod, $params ) {
|
4744 |
|
4925 |
|
4926 |
$params = (object) pods_sanitize( $params );
|
4927 |
|
4928 |
+
// @deprecated 2.0.0
|
4929 |
if ( isset( $params->datatype ) ) {
|
4930 |
pods_deprecated( __( '$params->pod instead of $params->datatype', 'pods' ), '2.0' );
|
4931 |
|
5327 |
* @uses wp_delete_post
|
5328 |
*
|
5329 |
* @return bool
|
5330 |
+
* @since 2.0.0
|
5331 |
*/
|
5332 |
public function delete_object( $params ) {
|
5333 |
|
5437 |
|
5438 |
$params = (object) pods_sanitize( $params );
|
5439 |
|
5440 |
+
// @deprecated 2.0.0
|
5441 |
if ( isset( $params->datatype_id ) || isset( $params->datatype ) || isset( $params->tbl_row_id ) ) {
|
5442 |
if ( isset( $params->tbl_row_id ) ) {
|
5443 |
pods_deprecated( __( '$params->id instead of $params->tbl_row_id', 'pods' ), '2.0' );
|
5583 |
*
|
5584 |
* @return bool
|
5585 |
*
|
5586 |
+
* @since 2.3.0
|
5587 |
*/
|
5588 |
public function delete_object_from_relationships( $id, $object, $name = null ) {
|
5589 |
|
5692 |
*
|
5693 |
* @return void
|
5694 |
*
|
5695 |
+
* @since 2.3.0
|
5696 |
*/
|
5697 |
public function delete_relationships( $related_id, $id, $related_pod, $related_field ) {
|
5698 |
|
6222 |
*
|
6223 |
* @uses PodsAPI::load_pod
|
6224 |
*
|
6225 |
+
* @since 2.0.0
|
6226 |
*/
|
6227 |
public function load_pods( $params = null ) {
|
6228 |
|
7012 |
* @param bool $strict
|
7013 |
*
|
7014 |
* @return array|bool
|
7015 |
+
* @since 2.0.0
|
7016 |
*/
|
7017 |
public function load_object( $params, $strict = false ) {
|
7018 |
|
7083 |
* @param array|object $params An associative array of parameters
|
7084 |
*
|
7085 |
* @return array
|
7086 |
+
* @since 2.0.0
|
7087 |
*/
|
7088 |
public function load_objects( $params ) {
|
7089 |
|
7230 |
*
|
7231 |
* @return array
|
7232 |
*
|
7233 |
+
* @since 2.0.0
|
7234 |
*/
|
7235 |
public function load_templates( $params = null ) {
|
7236 |
|
7288 |
*
|
7289 |
* @return array
|
7290 |
*
|
7291 |
+
* @since 2.0.0
|
7292 |
*/
|
7293 |
public function load_pages( $params = null ) {
|
7294 |
|
7342 |
*
|
7343 |
* @return array
|
7344 |
*
|
7345 |
+
* @since 2.0.0
|
7346 |
*/
|
7347 |
public function load_helpers( $params = null ) {
|
7348 |
|
7368 |
*
|
7369 |
* @uses pods()
|
7370 |
*
|
7371 |
+
* @since 2.0.0
|
7372 |
*/
|
7373 |
public function load_pod_item( $params ) {
|
7374 |
|
7475 |
*
|
7476 |
* @return string The field type
|
7477 |
*
|
7478 |
+
* @since 2.0.0
|
7479 |
*/
|
7480 |
public static function detect_pod_field_from_sql_data_type( $sql_field ) {
|
7481 |
|
7511 |
*
|
7512 |
* @uses PodsForm::field_loader
|
7513 |
*
|
7514 |
+
* @since 2.0.0
|
7515 |
+
* @deprecated 2.3.0
|
7516 |
*/
|
7517 |
public function get_field_types() {
|
7518 |
|
7527 |
*
|
7528 |
* @return array|bool|mixed|null
|
7529 |
*
|
7530 |
+
* @since 2.0.0
|
7531 |
*/
|
7532 |
private function get_field_definition( $type, $options = null ) {
|
7533 |
|
7552 |
*
|
7553 |
* @uses PodsForm::validate
|
7554 |
*
|
7555 |
+
* @since 2.0.0
|
7556 |
*/
|
7557 |
public function handle_field_validation( &$value, $field, $object_fields, $fields, $pod, $params ) {
|
7558 |
|
7648 |
*
|
7649 |
* @return int[]
|
7650 |
*
|
7651 |
+
* @since 2.0.0
|
7652 |
*
|
7653 |
* @uses pods_query()
|
7654 |
*/
|
7856 |
*
|
7857 |
* @return array|bool
|
7858 |
*
|
7859 |
+
* @since 2.3.0
|
7860 |
*
|
7861 |
* @uses pods_query()
|
7862 |
*/
|
8020 |
*
|
8021 |
* @return array
|
8022 |
*
|
8023 |
+
* @since 2.5.0
|
8024 |
*/
|
8025 |
public function get_table_info_load( $object_type, $object, $name = null, $pod = null ) {
|
8026 |
|
8144 |
*
|
8145 |
* @return array|bool
|
8146 |
*
|
8147 |
+
* @since 2.0.0
|
8148 |
*/
|
8149 |
public function get_table_info( $object_type, $object, $name = null, $pod = null, $field = null ) {
|
8150 |
|
8657 |
* @return array|bool
|
8658 |
*
|
8659 |
* @since 1.9.0
|
8660 |
+
* @deprecated 2.0.0
|
8661 |
*/
|
8662 |
public function export_package( $params ) {
|
8663 |
|
8676 |
* @return bool
|
8677 |
*
|
8678 |
* @since 1.9.8
|
8679 |
+
* @deprecated 2.0.0
|
8680 |
*/
|
8681 |
public function replace_package( $data = false ) {
|
8682 |
|
8692 |
* @return bool
|
8693 |
*
|
8694 |
* @since 1.9.0
|
8695 |
+
* @deprecated 2.0.0
|
8696 |
*/
|
8697 |
public function import_package( $data = false, $replace = false ) {
|
8698 |
|
8712 |
* @return array|bool
|
8713 |
*
|
8714 |
* @since 1.9.0
|
8715 |
+
* @deprecated 2.0.0
|
8716 |
*/
|
8717 |
public function validate_package( $data = false, $output = false ) {
|
8718 |
|
8978 |
*
|
8979 |
* @return void
|
8980 |
*
|
8981 |
+
* @since 2.0.0
|
8982 |
*/
|
8983 |
public function cache_flush_pods( $pod = null ) {
|
8984 |
|
9029 |
*
|
9030 |
* @return mixed
|
9031 |
*
|
9032 |
+
* @since 2.0.0
|
9033 |
*/
|
9034 |
public function process_form( $params, $obj = null, $fields = null, $thank_you = null ) {
|
9035 |
|
9118 |
/**
|
9119 |
* Handle filters / actions for the class
|
9120 |
*
|
9121 |
+
* @since 2.0.0
|
9122 |
*/
|
9123 |
private function do_hook() {
|
9124 |
|
9134 |
/**
|
9135 |
* Handle variables that have been deprecated
|
9136 |
*
|
9137 |
+
* @since 2.0.0
|
9138 |
*/
|
9139 |
public function __get( $name ) {
|
9140 |
|
9161 |
/**
|
9162 |
* Handle methods that have been deprecated
|
9163 |
*
|
9164 |
+
* @since 2.0.0
|
9165 |
*/
|
9166 |
public function __call( $name, $args ) {
|
9167 |
|
classes/PodsAdmin.php
CHANGED
@@ -32,7 +32,7 @@ class PodsAdmin {
|
|
32 |
* @return \PodsAdmin
|
33 |
*
|
34 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
35 |
-
* @since
|
36 |
*/
|
37 |
public function __construct() {
|
38 |
|
@@ -64,7 +64,7 @@ class PodsAdmin {
|
|
64 |
/**
|
65 |
* Init the admin area
|
66 |
*
|
67 |
-
* @since 2.0
|
68 |
*/
|
69 |
public function admin_init() {
|
70 |
|
@@ -107,7 +107,7 @@ class PodsAdmin {
|
|
107 |
/**
|
108 |
* Attach requirements to admin header
|
109 |
*
|
110 |
-
* @since 2.0
|
111 |
*/
|
112 |
public function admin_head() {
|
113 |
|
@@ -181,7 +181,7 @@ class PodsAdmin {
|
|
181 |
/**
|
182 |
* Build the admin menus
|
183 |
*
|
184 |
-
* @since 2.0
|
185 |
*/
|
186 |
public function admin_menu() {
|
187 |
|
@@ -1890,7 +1890,7 @@ class PodsAdmin {
|
|
1890 |
),
|
1891 |
'hierarchical' => array(
|
1892 |
'label' => __( 'Hierarchical', 'pods' ),
|
1893 |
-
'help' => __( '
|
1894 |
'type' => 'boolean',
|
1895 |
'default' => true,
|
1896 |
'dependency' => true,
|
@@ -2308,7 +2308,7 @@ class PodsAdmin {
|
|
2308 |
/**
|
2309 |
* Modify Additional Field Options tab
|
2310 |
*
|
2311 |
-
* @since 2.7
|
2312 |
*
|
2313 |
* @param array $options Additional field type options,
|
2314 |
* @param string $type Field type,
|
@@ -3282,7 +3282,7 @@ class PodsAdmin {
|
|
3282 |
*
|
3283 |
* @return array
|
3284 |
*
|
3285 |
-
* @since 2.7
|
3286 |
*/
|
3287 |
public function configuration( $pod = null, $full_field_info = false ) {
|
3288 |
|
@@ -3426,8 +3426,8 @@ class PodsAdmin {
|
|
3426 |
if ( ! function_exists( 'register_rest_field' ) ) {
|
3427 |
$options['rest-api'] = array(
|
3428 |
'no_dependencies' => array(
|
3429 |
-
'label' =>
|
3430 |
-
'help' =>
|
3431 |
'type' => 'html',
|
3432 |
),
|
3433 |
);
|
@@ -3469,7 +3469,7 @@ class PodsAdmin {
|
|
3469 |
$options['rest-api'] = array(
|
3470 |
'not_restable' => array(
|
3471 |
'label' => __( 'Pods REST API support covers post type, taxonomy and user Pods.', 'pods' ),
|
3472 |
-
'help' =>
|
3473 |
'type' => 'html',
|
3474 |
),
|
3475 |
);
|
32 |
* @return \PodsAdmin
|
33 |
*
|
34 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
35 |
+
* @since 2.0.0
|
36 |
*/
|
37 |
public function __construct() {
|
38 |
|
64 |
/**
|
65 |
* Init the admin area
|
66 |
*
|
67 |
+
* @since 2.0.0
|
68 |
*/
|
69 |
public function admin_init() {
|
70 |
|
107 |
/**
|
108 |
* Attach requirements to admin header
|
109 |
*
|
110 |
+
* @since 2.0.0
|
111 |
*/
|
112 |
public function admin_head() {
|
113 |
|
181 |
/**
|
182 |
* Build the admin menus
|
183 |
*
|
184 |
+
* @since 2.0.0
|
185 |
*/
|
186 |
public function admin_menu() {
|
187 |
|
1890 |
),
|
1891 |
'hierarchical' => array(
|
1892 |
'label' => __( 'Hierarchical', 'pods' ),
|
1893 |
+
'help' => __( 'Hierarchical taxonomies will have a list with checkboxes to select an existing category in the taxonomy admin box on the post edit page (like default post categories). Non-hierarchical taxonomies will just have an empty text field to type-in taxonomy terms to associate with the post (like default post tags).', 'pods' ),
|
1894 |
'type' => 'boolean',
|
1895 |
'default' => true,
|
1896 |
'dependency' => true,
|
2308 |
/**
|
2309 |
* Modify Additional Field Options tab
|
2310 |
*
|
2311 |
+
* @since 2.7.0
|
2312 |
*
|
2313 |
* @param array $options Additional field type options,
|
2314 |
* @param string $type Field type,
|
3282 |
*
|
3283 |
* @return array
|
3284 |
*
|
3285 |
+
* @since 2.7.0
|
3286 |
*/
|
3287 |
public function configuration( $pod = null, $full_field_info = false ) {
|
3288 |
|
3426 |
if ( ! function_exists( 'register_rest_field' ) ) {
|
3427 |
$options['rest-api'] = array(
|
3428 |
'no_dependencies' => array(
|
3429 |
+
'label' => sprintf( __( 'Pods REST API support requires WordPress 4.3.1 or later and the %s or later.', 'pods' ), '<a href="https://pods.io/docs/build/extending-core-wordpress-rest-api-routes-with-pods/" target="_blank">WordPress REST API 2.0-beta9</a>' ),
|
3430 |
+
'help' => sprintf( __( 'See %s for more information.', 'pods' ), '<a href="https://pods.io/docs/build/extending-core-wordpress-rest-api-routes-with-pods/" target="_blank">https://pods.io/docs/build/extending-core-wordpress-rest-api-routes-with-pods/</a>' ),
|
3431 |
'type' => 'html',
|
3432 |
),
|
3433 |
);
|
3469 |
$options['rest-api'] = array(
|
3470 |
'not_restable' => array(
|
3471 |
'label' => __( 'Pods REST API support covers post type, taxonomy and user Pods.', 'pods' ),
|
3472 |
+
'help' => sprintf( __( 'See %s for more information.', 'pods' ), '<a href="https://pods.io/docs/build/extending-core-wordpress-rest-api-routes-with-pods/" target="_blank">https://pods.io/docs/build/extending-core-wordpress-rest-api-routes-with-pods/"</a>' ),
|
3473 |
'type' => 'html',
|
3474 |
),
|
3475 |
);
|
classes/PodsArray.php
CHANGED
@@ -19,7 +19,7 @@ class PodsArray implements ArrayAccess {
|
|
19 |
* @return \PodsArray
|
20 |
*
|
21 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
22 |
-
* @since
|
23 |
*/
|
24 |
public function __construct( $container ) {
|
25 |
|
@@ -35,7 +35,7 @@ class PodsArray implements ArrayAccess {
|
|
35 |
* @param mixed $value Value to be set.
|
36 |
*
|
37 |
* @return mixed
|
38 |
-
* @since 2.0
|
39 |
*/
|
40 |
public function offsetSet( $offset, $value ) {
|
41 |
|
@@ -54,7 +54,7 @@ class PodsArray implements ArrayAccess {
|
|
54 |
* @param mixed $offset Used to get value of Array or Variable on Object.
|
55 |
*
|
56 |
* @return mixed|null
|
57 |
-
* @since 2.0
|
58 |
*/
|
59 |
public function offsetGet( $offset ) {
|
60 |
|
@@ -75,7 +75,7 @@ class PodsArray implements ArrayAccess {
|
|
75 |
* @param mixed $offset Used to get value of Array or Variable on Object.
|
76 |
*
|
77 |
* @return bool
|
78 |
-
* @since 2.0
|
79 |
*/
|
80 |
public function offsetExists( $offset ) {
|
81 |
|
@@ -91,7 +91,7 @@ class PodsArray implements ArrayAccess {
|
|
91 |
*
|
92 |
* @param mixed $offset Used to unset index of Array or Variable on Object.
|
93 |
*
|
94 |
-
* @since 2.0
|
95 |
*/
|
96 |
public function offsetUnset( $offset ) {
|
97 |
|
@@ -112,7 +112,7 @@ class PodsArray implements ArrayAccess {
|
|
112 |
* @param mixed|null $extra Used in advanced types of variables.
|
113 |
*
|
114 |
* @return array|bool|int|mixed|null|number|object
|
115 |
-
* @since 2.0
|
116 |
*/
|
117 |
public function validate( $offset, $default = null, $type = null, $extra = null ) {
|
118 |
|
@@ -189,7 +189,7 @@ class PodsArray implements ArrayAccess {
|
|
189 |
*
|
190 |
* @return array Array version of the object
|
191 |
*
|
192 |
-
* @since 2.0
|
193 |
*/
|
194 |
public function dump() {
|
195 |
|
@@ -207,7 +207,7 @@ class PodsArray implements ArrayAccess {
|
|
207 |
* @param mixed $value Property value.
|
208 |
*
|
209 |
* @return mixed
|
210 |
-
* @since 2.0
|
211 |
*/
|
212 |
public function __set( $offset, $value ) {
|
213 |
|
@@ -220,7 +220,7 @@ class PodsArray implements ArrayAccess {
|
|
220 |
* @param mixed $offset Property name.
|
221 |
*
|
222 |
* @return mixed|null
|
223 |
-
* @since 2.0
|
224 |
*/
|
225 |
public function __get( $offset ) {
|
226 |
|
@@ -233,7 +233,7 @@ class PodsArray implements ArrayAccess {
|
|
233 |
* @param mixed $offset Property name.
|
234 |
*
|
235 |
* @return bool
|
236 |
-
* @since 2.0
|
237 |
*/
|
238 |
public function __isset( $offset ) {
|
239 |
|
@@ -245,7 +245,7 @@ class PodsArray implements ArrayAccess {
|
|
245 |
*
|
246 |
* @param mixed $offset Property name.
|
247 |
*
|
248 |
-
* @since 2.0
|
249 |
*/
|
250 |
public function __unset( $offset ) {
|
251 |
|
19 |
* @return \PodsArray
|
20 |
*
|
21 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
22 |
+
* @since 2.0.0
|
23 |
*/
|
24 |
public function __construct( $container ) {
|
25 |
|
35 |
* @param mixed $value Value to be set.
|
36 |
*
|
37 |
* @return mixed
|
38 |
+
* @since 2.0.0
|
39 |
*/
|
40 |
public function offsetSet( $offset, $value ) {
|
41 |
|
54 |
* @param mixed $offset Used to get value of Array or Variable on Object.
|
55 |
*
|
56 |
* @return mixed|null
|
57 |
+
* @since 2.0.0
|
58 |
*/
|
59 |
public function offsetGet( $offset ) {
|
60 |
|
75 |
* @param mixed $offset Used to get value of Array or Variable on Object.
|
76 |
*
|
77 |
* @return bool
|
78 |
+
* @since 2.0.0
|
79 |
*/
|
80 |
public function offsetExists( $offset ) {
|
81 |
|
91 |
*
|
92 |
* @param mixed $offset Used to unset index of Array or Variable on Object.
|
93 |
*
|
94 |
+
* @since 2.0.0
|
95 |
*/
|
96 |
public function offsetUnset( $offset ) {
|
97 |
|
112 |
* @param mixed|null $extra Used in advanced types of variables.
|
113 |
*
|
114 |
* @return array|bool|int|mixed|null|number|object
|
115 |
+
* @since 2.0.0
|
116 |
*/
|
117 |
public function validate( $offset, $default = null, $type = null, $extra = null ) {
|
118 |
|
189 |
*
|
190 |
* @return array Array version of the object
|
191 |
*
|
192 |
+
* @since 2.0.0
|
193 |
*/
|
194 |
public function dump() {
|
195 |
|
207 |
* @param mixed $value Property value.
|
208 |
*
|
209 |
* @return mixed
|
210 |
+
* @since 2.0.0
|
211 |
*/
|
212 |
public function __set( $offset, $value ) {
|
213 |
|
220 |
* @param mixed $offset Property name.
|
221 |
*
|
222 |
* @return mixed|null
|
223 |
+
* @since 2.0.0
|
224 |
*/
|
225 |
public function __get( $offset ) {
|
226 |
|
233 |
* @param mixed $offset Property name.
|
234 |
*
|
235 |
* @return bool
|
236 |
+
* @since 2.0.0
|
237 |
*/
|
238 |
public function __isset( $offset ) {
|
239 |
|
245 |
*
|
246 |
* @param mixed $offset Property name.
|
247 |
*
|
248 |
+
* @since 2.0.0
|
249 |
*/
|
250 |
public function __unset( $offset ) {
|
251 |
|
classes/PodsComponent.php
CHANGED
@@ -10,7 +10,7 @@ class PodsComponent {
|
|
10 |
/**
|
11 |
* Setup initial component class.
|
12 |
*
|
13 |
-
* @since 2.0
|
14 |
*/
|
15 |
public function __construct() {
|
16 |
|
@@ -33,7 +33,7 @@ class PodsComponent {
|
|
33 |
*
|
34 |
* @return array $options
|
35 |
*
|
36 |
-
* @since 2.0
|
37 |
* public function options () {
|
38 |
* $options = array(
|
39 |
* 'option_name' => array(
|
@@ -82,7 +82,7 @@ class PodsComponent {
|
|
82 |
*
|
83 |
* @param array $options Component options.
|
84 |
*
|
85 |
-
* @since 2.0
|
86 |
*/
|
87 |
public function handler( $options ) {
|
88 |
// run code based on $options set
|
@@ -93,7 +93,7 @@ class PodsComponent {
|
|
93 |
*
|
94 |
* @param array $options Component options.
|
95 |
*
|
96 |
-
* @since 2.0
|
97 |
* public function admin ( $options ) {
|
98 |
* // run code based on $options set
|
99 |
* }
|
10 |
/**
|
11 |
* Setup initial component class.
|
12 |
*
|
13 |
+
* @since 2.0.0
|
14 |
*/
|
15 |
public function __construct() {
|
16 |
|
33 |
*
|
34 |
* @return array $options
|
35 |
*
|
36 |
+
* @since 2.0.0
|
37 |
* public function options () {
|
38 |
* $options = array(
|
39 |
* 'option_name' => array(
|
82 |
*
|
83 |
* @param array $options Component options.
|
84 |
*
|
85 |
+
* @since 2.0.0
|
86 |
*/
|
87 |
public function handler( $options ) {
|
88 |
// run code based on $options set
|
93 |
*
|
94 |
* @param array $options Component options.
|
95 |
*
|
96 |
+
* @since 2.0.0
|
97 |
* public function admin ( $options ) {
|
98 |
* // run code based on $options set
|
99 |
* }
|
classes/PodsComponents.php
CHANGED
@@ -18,7 +18,7 @@ class PodsComponents {
|
|
18 |
* @var string
|
19 |
*
|
20 |
* @private
|
21 |
-
* @since 2.0
|
22 |
*/
|
23 |
private $components_dir = null;
|
24 |
|
@@ -27,7 +27,7 @@ class PodsComponents {
|
|
27 |
*
|
28 |
* @var array
|
29 |
*
|
30 |
-
* @since 2.0
|
31 |
*/
|
32 |
public $components = array();
|
33 |
|
@@ -36,7 +36,7 @@ class PodsComponents {
|
|
36 |
*
|
37 |
* @var array
|
38 |
*
|
39 |
-
* @since 2.0
|
40 |
*/
|
41 |
public $settings = array();
|
42 |
|
@@ -59,7 +59,7 @@ class PodsComponents {
|
|
59 |
/**
|
60 |
* Setup actions and get options
|
61 |
*
|
62 |
-
* @since 2.0
|
63 |
*/
|
64 |
public function __construct() {
|
65 |
|
@@ -96,7 +96,7 @@ class PodsComponents {
|
|
96 |
*
|
97 |
* @param string $parent The parent slug.
|
98 |
*
|
99 |
-
* @since 2.0
|
100 |
*
|
101 |
* @uses add_submenu_page
|
102 |
*/
|
@@ -245,7 +245,7 @@ class PodsComponents {
|
|
245 |
/**
|
246 |
* Load activated components and init component
|
247 |
*
|
248 |
-
* @since 2.0
|
249 |
*/
|
250 |
public function load() {
|
251 |
|
@@ -325,7 +325,7 @@ class PodsComponents {
|
|
325 |
/**
|
326 |
* Get list of components available
|
327 |
*
|
328 |
-
* @since 2.0
|
329 |
*/
|
330 |
public function get_components() {
|
331 |
|
@@ -516,7 +516,7 @@ class PodsComponents {
|
|
516 |
* @param string $component Component name.
|
517 |
* @param array $options Component options.
|
518 |
*
|
519 |
-
* @since 2.0
|
520 |
*/
|
521 |
public function options( $component, $options ) {
|
522 |
|
@@ -534,7 +534,7 @@ class PodsComponents {
|
|
534 |
/**
|
535 |
* Call component specific admin functions
|
536 |
*
|
537 |
-
* @since 2.0
|
538 |
*/
|
539 |
public function admin_handler() {
|
540 |
|
@@ -581,7 +581,7 @@ class PodsComponents {
|
|
581 |
*
|
582 |
* @return bool
|
583 |
*
|
584 |
-
* @since 2.7
|
585 |
*/
|
586 |
public function is_component_active( $component ) {
|
587 |
|
@@ -602,7 +602,7 @@ class PodsComponents {
|
|
602 |
*
|
603 |
* @return boolean Whether the component was activated.
|
604 |
*
|
605 |
-
* @since 2.7
|
606 |
*/
|
607 |
public function activate_component( $component ) {
|
608 |
|
@@ -634,7 +634,7 @@ class PodsComponents {
|
|
634 |
*
|
635 |
* @param string $component The component name to deactivate.
|
636 |
*
|
637 |
-
* @since 2.7
|
638 |
*/
|
639 |
public function deactivate_component( $component ) {
|
640 |
|
@@ -656,7 +656,7 @@ class PodsComponents {
|
|
656 |
*
|
657 |
* @return bool
|
658 |
*
|
659 |
-
* @since 2.0
|
660 |
*/
|
661 |
public function toggle( $component, $toggle_mode = false ) {
|
662 |
|
@@ -721,7 +721,7 @@ class PodsComponents {
|
|
721 |
/**
|
722 |
* Handle admin ajax
|
723 |
*
|
724 |
-
* @since 2.0
|
725 |
*/
|
726 |
public function admin_ajax() {
|
727 |
|
18 |
* @var string
|
19 |
*
|
20 |
* @private
|
21 |
+
* @since 2.0.0
|
22 |
*/
|
23 |
private $components_dir = null;
|
24 |
|
27 |
*
|
28 |
* @var array
|
29 |
*
|
30 |
+
* @since 2.0.0
|
31 |
*/
|
32 |
public $components = array();
|
33 |
|
36 |
*
|
37 |
* @var array
|
38 |
*
|
39 |
+
* @since 2.0.0
|
40 |
*/
|
41 |
public $settings = array();
|
42 |
|
59 |
/**
|
60 |
* Setup actions and get options
|
61 |
*
|
62 |
+
* @since 2.0.0
|
63 |
*/
|
64 |
public function __construct() {
|
65 |
|
96 |
*
|
97 |
* @param string $parent The parent slug.
|
98 |
*
|
99 |
+
* @since 2.0.0
|
100 |
*
|
101 |
* @uses add_submenu_page
|
102 |
*/
|
245 |
/**
|
246 |
* Load activated components and init component
|
247 |
*
|
248 |
+
* @since 2.0.0
|
249 |
*/
|
250 |
public function load() {
|
251 |
|
325 |
/**
|
326 |
* Get list of components available
|
327 |
*
|
328 |
+
* @since 2.0.0
|
329 |
*/
|
330 |
public function get_components() {
|
331 |
|
516 |
* @param string $component Component name.
|
517 |
* @param array $options Component options.
|
518 |
*
|
519 |
+
* @since 2.0.0
|
520 |
*/
|
521 |
public function options( $component, $options ) {
|
522 |
|
534 |
/**
|
535 |
* Call component specific admin functions
|
536 |
*
|
537 |
+
* @since 2.0.0
|
538 |
*/
|
539 |
public function admin_handler() {
|
540 |
|
581 |
*
|
582 |
* @return bool
|
583 |
*
|
584 |
+
* @since 2.7.0
|
585 |
*/
|
586 |
public function is_component_active( $component ) {
|
587 |
|
602 |
*
|
603 |
* @return boolean Whether the component was activated.
|
604 |
*
|
605 |
+
* @since 2.7.0
|
606 |
*/
|
607 |
public function activate_component( $component ) {
|
608 |
|
634 |
*
|
635 |
* @param string $component The component name to deactivate.
|
636 |
*
|
637 |
+
* @since 2.7.0
|
638 |
*/
|
639 |
public function deactivate_component( $component ) {
|
640 |
|
656 |
*
|
657 |
* @return bool
|
658 |
*
|
659 |
+
* @since 2.0.0
|
660 |
*/
|
661 |
public function toggle( $component, $toggle_mode = false ) {
|
662 |
|
721 |
/**
|
722 |
* Handle admin ajax
|
723 |
*
|
724 |
+
* @since 2.0.0
|
725 |
*/
|
726 |
public function admin_ajax() {
|
727 |
|
classes/PodsData.php
CHANGED
@@ -267,7 +267,7 @@ class PodsData {
|
|
267 |
* @return \PodsData
|
268 |
*
|
269 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
270 |
-
* @since
|
271 |
*/
|
272 |
public function __construct( $pod = null, $id = 0, $strict = true ) {
|
273 |
|
@@ -447,7 +447,7 @@ class PodsData {
|
|
447 |
*
|
448 |
* @uses wpdb::insert
|
449 |
*
|
450 |
-
* @since 2.0
|
451 |
*/
|
452 |
public function insert( $table, $data, $format = null ) {
|
453 |
|
@@ -503,7 +503,7 @@ class PodsData {
|
|
503 |
*
|
504 |
* @uses wpdb::prepare
|
505 |
*
|
506 |
-
* @since 2.0
|
507 |
*/
|
508 |
public static function insert_on_duplicate( $table, $data, $formats = array() ) {
|
509 |
|
@@ -547,7 +547,7 @@ class PodsData {
|
|
547 |
* @param array $where_format (optional) An array of formats to be mapped to each of the values in $where.
|
548 |
*
|
549 |
* @return bool
|
550 |
-
* @since 2.0
|
551 |
*/
|
552 |
public function update( $table, $data, $where, $format = null, $where_format = null ) {
|
553 |
|
@@ -624,7 +624,7 @@ class PodsData {
|
|
624 |
* @uses PodsData::query
|
625 |
* @uses PodsData::prepare
|
626 |
*
|
627 |
-
* @since 2.0
|
628 |
*/
|
629 |
public function delete( $table, $where, $where_format = null ) {
|
630 |
|
@@ -672,7 +672,7 @@ class PodsData {
|
|
672 |
* @param array $params
|
673 |
*
|
674 |
* @return array|bool|mixed
|
675 |
-
* @since 2.0
|
676 |
*/
|
677 |
public function select( $params ) {
|
678 |
|
@@ -809,7 +809,7 @@ class PodsData {
|
|
809 |
* @param array $params
|
810 |
*
|
811 |
* @return bool|mixed|string
|
812 |
-
* @since 2.0
|
813 |
*/
|
814 |
public function build( $params ) {
|
815 |
|
@@ -1661,7 +1661,7 @@ class PodsData {
|
|
1661 |
* Fetch the total row count returned
|
1662 |
*
|
1663 |
* @return int Number of rows returned by select()
|
1664 |
-
* @since 2.0
|
1665 |
*/
|
1666 |
public function total() {
|
1667 |
|
@@ -1672,7 +1672,7 @@ class PodsData {
|
|
1672 |
* Fetch the total row count total
|
1673 |
*
|
1674 |
* @return int Number of rows found by select()
|
1675 |
-
* @since 2.0
|
1676 |
*/
|
1677 |
public function total_found() {
|
1678 |
|
@@ -1702,7 +1702,7 @@ class PodsData {
|
|
1702 |
* @param int|string $nth The $nth to match on the PodsData::row_number.
|
1703 |
*
|
1704 |
* @return bool Whether $nth matches
|
1705 |
-
* @since 2.3
|
1706 |
*/
|
1707 |
public function nth( $nth ) {
|
1708 |
|
@@ -1750,7 +1750,7 @@ class PodsData {
|
|
1750 |
* Fetch the current position in the loop (starting at 1)
|
1751 |
*
|
1752 |
* @return int Current row number (+1)
|
1753 |
-
* @since 2.3
|
1754 |
*/
|
1755 |
public function position() {
|
1756 |
|
@@ -1768,7 +1768,7 @@ class PodsData {
|
|
1768 |
*
|
1769 |
* @uses PodsData::query
|
1770 |
*
|
1771 |
-
* @since 2.0
|
1772 |
*/
|
1773 |
public static function table_create( $table, $fields, $if_not_exists = false ) {
|
1774 |
|
@@ -1806,7 +1806,7 @@ class PodsData {
|
|
1806 |
*
|
1807 |
* @uses PodsData::query
|
1808 |
*
|
1809 |
-
* @since 2.0
|
1810 |
*/
|
1811 |
public static function table_alter( $table, $changes ) {
|
1812 |
|
@@ -1829,7 +1829,7 @@ class PodsData {
|
|
1829 |
*
|
1830 |
* @uses PodsData::query
|
1831 |
*
|
1832 |
-
* @since 2.0
|
1833 |
*/
|
1834 |
public static function table_truncate( $table ) {
|
1835 |
|
@@ -1854,7 +1854,7 @@ class PodsData {
|
|
1854 |
*
|
1855 |
* @uses PodsData::query
|
1856 |
*
|
1857 |
-
* @since 2.0
|
1858 |
*/
|
1859 |
public static function table_drop( $table ) {
|
1860 |
|
@@ -1880,7 +1880,7 @@ class PodsData {
|
|
1880 |
*
|
1881 |
* @uses PodsData::update
|
1882 |
*
|
1883 |
-
* @since 2.0
|
1884 |
*/
|
1885 |
public function reorder( $table, $weight_field, $id_field, $ids ) {
|
1886 |
|
@@ -1919,7 +1919,7 @@ class PodsData {
|
|
1919 |
*
|
1920 |
* @return mixed
|
1921 |
*
|
1922 |
-
* @since 2.0
|
1923 |
*/
|
1924 |
public function fetch( $row = null, $explicit_set = true ) {
|
1925 |
|
@@ -2218,7 +2218,7 @@ class PodsData {
|
|
2218 |
*
|
2219 |
* @return mixed
|
2220 |
*
|
2221 |
-
* @since 2.0
|
2222 |
*/
|
2223 |
public function reset( $row = null ) {
|
2224 |
|
@@ -2251,7 +2251,7 @@ class PodsData {
|
|
2251 |
*
|
2252 |
* @return array|bool|mixed|null|void Result of the query
|
2253 |
*
|
2254 |
-
* @since 2.0
|
2255 |
*/
|
2256 |
public static function query( $sql, $error = 'Database Error', $results_error = null, $no_results_error = null ) {
|
2257 |
|
@@ -2355,7 +2355,7 @@ class PodsData {
|
|
2355 |
*
|
2356 |
* @return array
|
2357 |
*
|
2358 |
-
* @since 2.0
|
2359 |
*/
|
2360 |
public static function get_tables( $wp_core = true, $pods_tables = true ) {
|
2361 |
|
@@ -2400,7 +2400,7 @@ class PodsData {
|
|
2400 |
*
|
2401 |
* @return array
|
2402 |
*
|
2403 |
-
* @since 2.0
|
2404 |
*/
|
2405 |
public static function get_table_columns( $table ) {
|
2406 |
|
@@ -2434,7 +2434,7 @@ class PodsData {
|
|
2434 |
*
|
2435 |
* @return array
|
2436 |
*
|
2437 |
-
* @since 2.0
|
2438 |
*/
|
2439 |
public static function get_column_data( $column_name, $table ) {
|
2440 |
|
@@ -2459,7 +2459,7 @@ class PodsData {
|
|
2459 |
*
|
2460 |
* @return bool|null|string
|
2461 |
*
|
2462 |
-
* @since 2.0
|
2463 |
*/
|
2464 |
public static function prepare( $sql, $data ) {
|
2465 |
|
@@ -2482,7 +2482,7 @@ class PodsData {
|
|
2482 |
* @return string|null Query string for WHERE/HAVING
|
2483 |
*
|
2484 |
* @static
|
2485 |
-
* @since 2.3
|
2486 |
*/
|
2487 |
public static function query_fields( $fields, $pod = null, &$params = null ) {
|
2488 |
|
@@ -2603,7 +2603,7 @@ class PodsData {
|
|
2603 |
*
|
2604 |
* @see PodsData::query_fields
|
2605 |
* @static
|
2606 |
-
* @since 2.3
|
2607 |
*/
|
2608 |
public static function query_field( $field, $q, $pod = null, &$params = null ) {
|
2609 |
|
@@ -2966,7 +2966,7 @@ class PodsData {
|
|
2966 |
*
|
2967 |
* @param object $params (optional) Parameters from build().
|
2968 |
*
|
2969 |
-
* @since 2.0
|
2970 |
*/
|
2971 |
public function traverse_build( $fields = null, $params = null ) {
|
2972 |
|
@@ -3002,7 +3002,7 @@ class PodsData {
|
|
3002 |
*
|
3003 |
* @return array Array of table joins
|
3004 |
*
|
3005 |
-
* @since 2.0
|
3006 |
*/
|
3007 |
public function traverse_recurse( $traverse_recurse ) {
|
3008 |
|
@@ -3475,7 +3475,7 @@ class PodsData {
|
|
3475 |
/**
|
3476 |
* Handle filters / actions for the class
|
3477 |
*
|
3478 |
-
* @since 2.0
|
3479 |
*/
|
3480 |
private static function do_hook() {
|
3481 |
|
@@ -3509,7 +3509,7 @@ class PodsData {
|
|
3509 |
* @param string $sql SQL Query string.
|
3510 |
* @param PodsData $pods_data PodsData object.
|
3511 |
*
|
3512 |
-
* @since 2.7
|
3513 |
*/
|
3514 |
$sql = apply_filters( 'pods_data_get_sql', $sql, $this );
|
3515 |
|
267 |
* @return \PodsData
|
268 |
*
|
269 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
270 |
+
* @since 2.0.0
|
271 |
*/
|
272 |
public function __construct( $pod = null, $id = 0, $strict = true ) {
|
273 |
|
447 |
*
|
448 |
* @uses wpdb::insert
|
449 |
*
|
450 |
+
* @since 2.0.0
|
451 |
*/
|
452 |
public function insert( $table, $data, $format = null ) {
|
453 |
|
503 |
*
|
504 |
* @uses wpdb::prepare
|
505 |
*
|
506 |
+
* @since 2.0.0
|
507 |
*/
|
508 |
public static function insert_on_duplicate( $table, $data, $formats = array() ) {
|
509 |
|
547 |
* @param array $where_format (optional) An array of formats to be mapped to each of the values in $where.
|
548 |
*
|
549 |
* @return bool
|
550 |
+
* @since 2.0.0
|
551 |
*/
|
552 |
public function update( $table, $data, $where, $format = null, $where_format = null ) {
|
553 |
|
624 |
* @uses PodsData::query
|
625 |
* @uses PodsData::prepare
|
626 |
*
|
627 |
+
* @since 2.0.0
|
628 |
*/
|
629 |
public function delete( $table, $where, $where_format = null ) {
|
630 |
|
672 |
* @param array $params
|
673 |
*
|
674 |
* @return array|bool|mixed
|
675 |
+
* @since 2.0.0
|
676 |
*/
|
677 |
public function select( $params ) {
|
678 |
|
809 |
* @param array $params
|
810 |
*
|
811 |
* @return bool|mixed|string
|
812 |
+
* @since 2.0.0
|
813 |
*/
|
814 |
public function build( $params ) {
|
815 |
|
1661 |
* Fetch the total row count returned
|
1662 |
*
|
1663 |
* @return int Number of rows returned by select()
|
1664 |
+
* @since 2.0.0
|
1665 |
*/
|
1666 |
public function total() {
|
1667 |
|
1672 |
* Fetch the total row count total
|
1673 |
*
|
1674 |
* @return int Number of rows found by select()
|
1675 |
+
* @since 2.0.0
|
1676 |
*/
|
1677 |
public function total_found() {
|
1678 |
|
1702 |
* @param int|string $nth The $nth to match on the PodsData::row_number.
|
1703 |
*
|
1704 |
* @return bool Whether $nth matches
|
1705 |
+
* @since 2.3.0
|
1706 |
*/
|
1707 |
public function nth( $nth ) {
|
1708 |
|
1750 |
* Fetch the current position in the loop (starting at 1)
|
1751 |
*
|
1752 |
* @return int Current row number (+1)
|
1753 |
+
* @since 2.3.0
|
1754 |
*/
|
1755 |
public function position() {
|
1756 |
|
1768 |
*
|
1769 |
* @uses PodsData::query
|
1770 |
*
|
1771 |
+
* @since 2.0.0
|
1772 |
*/
|
1773 |
public static function table_create( $table, $fields, $if_not_exists = false ) {
|
1774 |
|
1806 |
*
|
1807 |
* @uses PodsData::query
|
1808 |
*
|
1809 |
+
* @since 2.0.0
|
1810 |
*/
|
1811 |
public static function table_alter( $table, $changes ) {
|
1812 |
|
1829 |
*
|
1830 |
* @uses PodsData::query
|
1831 |
*
|
1832 |
+
* @since 2.0.0
|
1833 |
*/
|
1834 |
public static function table_truncate( $table ) {
|
1835 |
|
1854 |
*
|
1855 |
* @uses PodsData::query
|
1856 |
*
|
1857 |
+
* @since 2.0.0
|
1858 |
*/
|
1859 |
public static function table_drop( $table ) {
|
1860 |
|
1880 |
*
|
1881 |
* @uses PodsData::update
|
1882 |
*
|
1883 |
+
* @since 2.0.0
|
1884 |
*/
|
1885 |
public function reorder( $table, $weight_field, $id_field, $ids ) {
|
1886 |
|
1919 |
*
|
1920 |
* @return mixed
|
1921 |
*
|
1922 |
+
* @since 2.0.0
|
1923 |
*/
|
1924 |
public function fetch( $row = null, $explicit_set = true ) {
|
1925 |
|
2218 |
*
|
2219 |
* @return mixed
|
2220 |
*
|
2221 |
+
* @since 2.0.0
|
2222 |
*/
|
2223 |
public function reset( $row = null ) {
|
2224 |
|
2251 |
*
|
2252 |
* @return array|bool|mixed|null|void Result of the query
|
2253 |
*
|
2254 |
+
* @since 2.0.0
|
2255 |
*/
|
2256 |
public static function query( $sql, $error = 'Database Error', $results_error = null, $no_results_error = null ) {
|
2257 |
|
2355 |
*
|
2356 |
* @return array
|
2357 |
*
|
2358 |
+
* @since 2.0.0
|
2359 |
*/
|
2360 |
public static function get_tables( $wp_core = true, $pods_tables = true ) {
|
2361 |
|
2400 |
*
|
2401 |
* @return array
|
2402 |
*
|
2403 |
+
* @since 2.0.0
|
2404 |
*/
|
2405 |
public static function get_table_columns( $table ) {
|
2406 |
|
2434 |
*
|
2435 |
* @return array
|
2436 |
*
|
2437 |
+
* @since 2.0.0
|
2438 |
*/
|
2439 |
public static function get_column_data( $column_name, $table ) {
|
2440 |
|
2459 |
*
|
2460 |
* @return bool|null|string
|
2461 |
*
|
2462 |
+
* @since 2.0.0
|
2463 |
*/
|
2464 |
public static function prepare( $sql, $data ) {
|
2465 |
|
2482 |
* @return string|null Query string for WHERE/HAVING
|
2483 |
*
|
2484 |
* @static
|
2485 |
+
* @since 2.3.0
|
2486 |
*/
|
2487 |
public static function query_fields( $fields, $pod = null, &$params = null ) {
|
2488 |
|
2603 |
*
|
2604 |
* @see PodsData::query_fields
|
2605 |
* @static
|
2606 |
+
* @since 2.3.0
|
2607 |
*/
|
2608 |
public static function query_field( $field, $q, $pod = null, &$params = null ) {
|
2609 |
|
2966 |
*
|
2967 |
* @param object $params (optional) Parameters from build().
|
2968 |
*
|
2969 |
+
* @since 2.0.0
|
2970 |
*/
|
2971 |
public function traverse_build( $fields = null, $params = null ) {
|
2972 |
|
3002 |
*
|
3003 |
* @return array Array of table joins
|
3004 |
*
|
3005 |
+
* @since 2.0.0
|
3006 |
*/
|
3007 |
public function traverse_recurse( $traverse_recurse ) {
|
3008 |
|
3475 |
/**
|
3476 |
* Handle filters / actions for the class
|
3477 |
*
|
3478 |
+
* @since 2.0.0
|
3479 |
*/
|
3480 |
private static function do_hook() {
|
3481 |
|
3509 |
* @param string $sql SQL Query string.
|
3510 |
* @param PodsData $pods_data PodsData object.
|
3511 |
*
|
3512 |
+
* @since 2.7.0
|
3513 |
*/
|
3514 |
$sql = apply_filters( 'pods_data_get_sql', $sql, $this );
|
3515 |
|
classes/PodsField.php
CHANGED
@@ -11,7 +11,7 @@ class PodsField {
|
|
11 |
* Whether this field is running under 1.x deprecated forms
|
12 |
*
|
13 |
* @var bool
|
14 |
-
* @since 2.0
|
15 |
*/
|
16 |
public static $deprecated = false;
|
17 |
|
@@ -19,7 +19,7 @@ class PodsField {
|
|
19 |
* Field Type Identifier
|
20 |
*
|
21 |
* @var string
|
22 |
-
* @since 2.0
|
23 |
*/
|
24 |
public static $type = 'text';
|
25 |
|
@@ -27,7 +27,7 @@ class PodsField {
|
|
27 |
* Field Type Label
|
28 |
*
|
29 |
* @var string
|
30 |
-
* @since 2.0
|
31 |
*/
|
32 |
public static $label = 'Unknown';
|
33 |
|
@@ -35,7 +35,7 @@ class PodsField {
|
|
35 |
* Field Type Preparation
|
36 |
*
|
37 |
* @var string
|
38 |
-
* @since 2.0
|
39 |
*/
|
40 |
public static $prepare = '%s';
|
41 |
|
@@ -43,7 +43,7 @@ class PodsField {
|
|
43 |
* Pod Types supported on (true for all, false for none, or give array of specific types supported)
|
44 |
*
|
45 |
* @var array|bool
|
46 |
-
* @since 2.1
|
47 |
*/
|
48 |
public static $pod_types = true;
|
49 |
|
@@ -51,14 +51,14 @@ class PodsField {
|
|
51 |
* API caching for fields that need it during validate/save
|
52 |
*
|
53 |
* @var \PodsAPI
|
54 |
-
* @since 2.3
|
55 |
*/
|
56 |
private static $api;
|
57 |
|
58 |
/**
|
59 |
* Initial setup of class object.
|
60 |
*
|
61 |
-
* @since 2.0
|
62 |
*/
|
63 |
public function __construct() {
|
64 |
|
@@ -79,7 +79,7 @@ class PodsField {
|
|
79 |
/**
|
80 |
* Add admin_init actions.
|
81 |
*
|
82 |
-
* @since 2.3
|
83 |
*/
|
84 |
public function admin_init() {
|
85 |
|
@@ -91,7 +91,7 @@ class PodsField {
|
|
91 |
*
|
92 |
* @return array $options
|
93 |
*
|
94 |
-
* @since 2.0
|
95 |
* @see PodsField::ui_options
|
96 |
*/
|
97 |
public function options() {
|
@@ -145,7 +145,7 @@ class PodsField {
|
|
145 |
*
|
146 |
* @return array $options
|
147 |
*
|
148 |
-
* @since 2.0
|
149 |
* @see PodsField::options
|
150 |
*/
|
151 |
public function ui_options() {
|
@@ -161,7 +161,7 @@ class PodsField {
|
|
161 |
*
|
162 |
* @return string|false
|
163 |
*
|
164 |
-
* @since 2.0
|
165 |
*/
|
166 |
public function schema( $options = null ) {
|
167 |
|
@@ -178,7 +178,7 @@ class PodsField {
|
|
178 |
*
|
179 |
* @return string
|
180 |
*
|
181 |
-
* @since 2.0
|
182 |
*/
|
183 |
public function prepare( $options = null ) {
|
184 |
|
@@ -195,7 +195,7 @@ class PodsField {
|
|
195 |
*
|
196 |
* @return bool
|
197 |
*
|
198 |
-
* @since 2.7
|
199 |
*/
|
200 |
public function is_empty( $value ) {
|
201 |
|
@@ -221,7 +221,7 @@ class PodsField {
|
|
221 |
*
|
222 |
* @return bool
|
223 |
*
|
224 |
-
* @since 2.7
|
225 |
*/
|
226 |
public function values_are_empty( $values, $strict = true ) {
|
227 |
|
@@ -260,7 +260,7 @@ class PodsField {
|
|
260 |
*
|
261 |
* @return mixed|null|string
|
262 |
*
|
263 |
-
* @since 2.3
|
264 |
*/
|
265 |
public function value( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
|
266 |
|
@@ -279,7 +279,7 @@ class PodsField {
|
|
279 |
*
|
280 |
* @return mixed|null|string
|
281 |
*
|
282 |
-
* @since 2.0
|
283 |
*/
|
284 |
public function display( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
|
285 |
|
@@ -297,7 +297,7 @@ class PodsField {
|
|
297 |
* @param int|string|null $id Current item ID.
|
298 |
*
|
299 |
* @return string|null
|
300 |
-
* @since 2.0
|
301 |
*/
|
302 |
public function format( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
|
303 |
|
@@ -314,7 +314,7 @@ class PodsField {
|
|
314 |
* @param array|null $pod Pod information.
|
315 |
* @param int|string|null $id Current item ID.
|
316 |
*
|
317 |
-
* @since 2.0
|
318 |
*/
|
319 |
public function input( $name, $value = null, $options = null, $pod = null, $id = null ) {
|
320 |
|
@@ -416,7 +416,7 @@ class PodsField {
|
|
416 |
/**
|
417 |
* Filter Pods DFV field data to further customize functionality.
|
418 |
*
|
419 |
-
* @since 2.7
|
420 |
*
|
421 |
* @param array $data DFV field data
|
422 |
* @param object $args {
|
@@ -559,7 +559,7 @@ class PodsField {
|
|
559 |
*
|
560 |
* @return array Array of possible field data.
|
561 |
*
|
562 |
-
* @since 2.0
|
563 |
*/
|
564 |
public function data( $name, $value = null, $options = null, $pod = null, $id = null, $in_form = true ) {
|
565 |
|
@@ -578,7 +578,7 @@ class PodsField {
|
|
578 |
*
|
579 |
* @return string|false
|
580 |
*
|
581 |
-
* @since 2.0
|
582 |
*/
|
583 |
public function regex( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
|
584 |
|
@@ -599,7 +599,7 @@ class PodsField {
|
|
599 |
*
|
600 |
* @return bool
|
601 |
*
|
602 |
-
* @since 2.0
|
603 |
*/
|
604 |
public function validate( $value, $name = null, $options = null, $fields = null, $pod = null, $id = null, $params = null ) {
|
605 |
|
@@ -620,7 +620,7 @@ class PodsField {
|
|
620 |
*
|
621 |
* @return mixed
|
622 |
*
|
623 |
-
* @since 2.0
|
624 |
*/
|
625 |
public function pre_save( $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) {
|
626 |
|
@@ -641,7 +641,7 @@ class PodsField {
|
|
641 |
*
|
642 |
* @return bool|null Whether the value was saved, returning null means no save needed to occur
|
643 |
*
|
644 |
-
* @since 2.3
|
645 |
*/
|
646 |
public function save( $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) {
|
647 |
|
@@ -660,7 +660,7 @@ class PodsField {
|
|
660 |
* @param array|null $pod Pod information.
|
661 |
* @param array|null $params Additional parameters.
|
662 |
*
|
663 |
-
* @since 2.0
|
664 |
*/
|
665 |
public function post_save( $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) {
|
666 |
|
@@ -675,7 +675,7 @@ class PodsField {
|
|
675 |
* @param array|null $options Field options.
|
676 |
* @param array|null $pod Pod information.
|
677 |
*
|
678 |
-
* @since 2.0
|
679 |
*/
|
680 |
public function pre_delete( $id = null, $name = null, $options = null, $pod = null ) {
|
681 |
|
@@ -690,7 +690,7 @@ class PodsField {
|
|
690 |
* @param array|null $options Field options.
|
691 |
* @param array|null $pod Pod information.
|
692 |
*
|
693 |
-
* @since 2.3
|
694 |
*/
|
695 |
public function delete( $id = null, $name = null, $options = null, $pod = null ) {
|
696 |
|
@@ -705,7 +705,7 @@ class PodsField {
|
|
705 |
* @param array|null $options Field options.
|
706 |
* @param array|null $pod Pod information.
|
707 |
*
|
708 |
-
* @since 2.0
|
709 |
*/
|
710 |
public function post_delete( $id = null, $name = null, $options = null, $pod = null ) {
|
711 |
|
@@ -724,7 +724,7 @@ class PodsField {
|
|
724 |
*
|
725 |
* @return string Value to be shown in the UI
|
726 |
*
|
727 |
-
* @since 2.0
|
728 |
*/
|
729 |
public function ui( $id, $value, $name = null, $options = null, $fields = null, $pod = null ) {
|
730 |
|
11 |
* Whether this field is running under 1.x deprecated forms
|
12 |
*
|
13 |
* @var bool
|
14 |
+
* @since 2.0.0
|
15 |
*/
|
16 |
public static $deprecated = false;
|
17 |
|
19 |
* Field Type Identifier
|
20 |
*
|
21 |
* @var string
|
22 |
+
* @since 2.0.0
|
23 |
*/
|
24 |
public static $type = 'text';
|
25 |
|
27 |
* Field Type Label
|
28 |
*
|
29 |
* @var string
|
30 |
+
* @since 2.0.0
|
31 |
*/
|
32 |
public static $label = 'Unknown';
|
33 |
|
35 |
* Field Type Preparation
|
36 |
*
|
37 |
* @var string
|
38 |
+
* @since 2.0.0
|
39 |
*/
|
40 |
public static $prepare = '%s';
|
41 |
|
43 |
* Pod Types supported on (true for all, false for none, or give array of specific types supported)
|
44 |
*
|
45 |
* @var array|bool
|
46 |
+
* @since 2.1.0
|
47 |
*/
|
48 |
public static $pod_types = true;
|
49 |
|
51 |
* API caching for fields that need it during validate/save
|
52 |
*
|
53 |
* @var \PodsAPI
|
54 |
+
* @since 2.3.0
|
55 |
*/
|
56 |
private static $api;
|
57 |
|
58 |
/**
|
59 |
* Initial setup of class object.
|
60 |
*
|
61 |
+
* @since 2.0.0
|
62 |
*/
|
63 |
public function __construct() {
|
64 |
|
79 |
/**
|
80 |
* Add admin_init actions.
|
81 |
*
|
82 |
+
* @since 2.3.0
|
83 |
*/
|
84 |
public function admin_init() {
|
85 |
|
91 |
*
|
92 |
* @return array $options
|
93 |
*
|
94 |
+
* @since 2.0.0
|
95 |
* @see PodsField::ui_options
|
96 |
*/
|
97 |
public function options() {
|
145 |
*
|
146 |
* @return array $options
|
147 |
*
|
148 |
+
* @since 2.0.0
|
149 |
* @see PodsField::options
|
150 |
*/
|
151 |
public function ui_options() {
|
161 |
*
|
162 |
* @return string|false
|
163 |
*
|
164 |
+
* @since 2.0.0
|
165 |
*/
|
166 |
public function schema( $options = null ) {
|
167 |
|
178 |
*
|
179 |
* @return string
|
180 |
*
|
181 |
+
* @since 2.0.0
|
182 |
*/
|
183 |
public function prepare( $options = null ) {
|
184 |
|
195 |
*
|
196 |
* @return bool
|
197 |
*
|
198 |
+
* @since 2.7.0
|
199 |
*/
|
200 |
public function is_empty( $value ) {
|
201 |
|
221 |
*
|
222 |
* @return bool
|
223 |
*
|
224 |
+
* @since 2.7.0
|
225 |
*/
|
226 |
public function values_are_empty( $values, $strict = true ) {
|
227 |
|
260 |
*
|
261 |
* @return mixed|null|string
|
262 |
*
|
263 |
+
* @since 2.3.0
|
264 |
*/
|
265 |
public function value( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
|
266 |
|
279 |
*
|
280 |
* @return mixed|null|string
|
281 |
*
|
282 |
+
* @since 2.0.0
|
283 |
*/
|
284 |
public function display( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
|
285 |
|
297 |
* @param int|string|null $id Current item ID.
|
298 |
*
|
299 |
* @return string|null
|
300 |
+
* @since 2.0.0
|
301 |
*/
|
302 |
public function format( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
|
303 |
|
314 |
* @param array|null $pod Pod information.
|
315 |
* @param int|string|null $id Current item ID.
|
316 |
*
|
317 |
+
* @since 2.0.0
|
318 |
*/
|
319 |
public function input( $name, $value = null, $options = null, $pod = null, $id = null ) {
|
320 |
|
416 |
/**
|
417 |
* Filter Pods DFV field data to further customize functionality.
|
418 |
*
|
419 |
+
* @since 2.7.0
|
420 |
*
|
421 |
* @param array $data DFV field data
|
422 |
* @param object $args {
|
559 |
*
|
560 |
* @return array Array of possible field data.
|
561 |
*
|
562 |
+
* @since 2.0.0
|
563 |
*/
|
564 |
public function data( $name, $value = null, $options = null, $pod = null, $id = null, $in_form = true ) {
|
565 |
|
578 |
*
|
579 |
* @return string|false
|
580 |
*
|
581 |
+
* @since 2.0.0
|
582 |
*/
|
583 |
public function regex( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
|
584 |
|
599 |
*
|
600 |
* @return bool
|
601 |
*
|
602 |
+
* @since 2.0.0
|
603 |
*/
|
604 |
public function validate( $value, $name = null, $options = null, $fields = null, $pod = null, $id = null, $params = null ) {
|
605 |
|
620 |
*
|
621 |
* @return mixed
|
622 |
*
|
623 |
+
* @since 2.0.0
|
624 |
*/
|
625 |
public function pre_save( $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) {
|
626 |
|
641 |
*
|
642 |
* @return bool|null Whether the value was saved, returning null means no save needed to occur
|
643 |
*
|
644 |
+
* @since 2.3.0
|
645 |
*/
|
646 |
public function save( $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) {
|
647 |
|
660 |
* @param array|null $pod Pod information.
|
661 |
* @param array|null $params Additional parameters.
|
662 |
*
|
663 |
+
* @since 2.0.0
|
664 |
*/
|
665 |
public function post_save( $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) {
|
666 |
|
675 |
* @param array|null $options Field options.
|
676 |
* @param array|null $pod Pod information.
|
677 |
*
|
678 |
+
* @since 2.0.0
|
679 |
*/
|
680 |
public function pre_delete( $id = null, $name = null, $options = null, $pod = null ) {
|
681 |
|
690 |
* @param array|null $options Field options.
|
691 |
* @param array|null $pod Pod information.
|
692 |
*
|
693 |
+
* @since 2.3.0
|
694 |
*/
|
695 |
public function delete( $id = null, $name = null, $options = null, $pod = null ) {
|
696 |
|
705 |
* @param array|null $options Field options.
|
706 |
* @param array|null $pod Pod information.
|
707 |
*
|
708 |
+
* @since 2.0.0
|
709 |
*/
|
710 |
public function post_delete( $id = null, $name = null, $options = null, $pod = null ) {
|
711 |
|
724 |
*
|
725 |
* @return string Value to be shown in the UI
|
726 |
*
|
727 |
+
* @since 2.0.0
|
728 |
*/
|
729 |
public function ui( $id, $value, $name = null, $options = null, $fields = null, $pod = null ) {
|
730 |
|
classes/PodsForm.php
CHANGED
@@ -62,7 +62,7 @@ class PodsForm {
|
|
62 |
* @return \PodsForm
|
63 |
*
|
64 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
65 |
-
* @since
|
66 |
*/
|
67 |
private function __construct() {
|
68 |
|
@@ -72,7 +72,7 @@ class PodsForm {
|
|
72 |
/**
|
73 |
* Prevent clones
|
74 |
*
|
75 |
-
* @since 2.3
|
76 |
*/
|
77 |
private function __clone() {
|
78 |
// Hulk smash
|
@@ -81,7 +81,7 @@ class PodsForm {
|
|
81 |
/**
|
82 |
* Output a field's label
|
83 |
*
|
84 |
-
* @since 2.0
|
85 |
*/
|
86 |
|
87 |
/**
|
@@ -94,7 +94,7 @@ class PodsForm {
|
|
94 |
*
|
95 |
* @return string Label HTML
|
96 |
*
|
97 |
-
* @since 2.0
|
98 |
*/
|
99 |
public static function label( $name, $label, $help = '', $options = null ) {
|
100 |
|
@@ -141,7 +141,7 @@ class PodsForm {
|
|
141 |
*
|
142 |
* @return string Comment HTML
|
143 |
*
|
144 |
-
* @since 2.0
|
145 |
*/
|
146 |
public static function comment( $name, $message = null, $options = null ) {
|
147 |
|
@@ -183,7 +183,7 @@ class PodsForm {
|
|
183 |
*
|
184 |
* @return string Field HTML
|
185 |
*
|
186 |
-
* @since 2.0
|
187 |
*/
|
188 |
public static function field( $name, $value, $type = 'text', $options = null, $pod = null, $id = null ) {
|
189 |
|
@@ -228,7 +228,7 @@ class PodsForm {
|
|
228 |
*
|
229 |
* They will be entirely removed in Pods 3.0.
|
230 |
*
|
231 |
-
* @deprecated 2.7
|
232 |
*/
|
233 |
if ( 0 < strlen( pods_v( 'input_helper', $options ) ) ) {
|
234 |
$helper = pods_api()->load_helper( array( 'name' => $options['input_helper'] ) );
|
@@ -244,7 +244,7 @@ class PodsForm {
|
|
244 |
*
|
245 |
* It will be replaced in Pods 3.0 with better documentation.
|
246 |
*
|
247 |
-
* @deprecated 2.7
|
248 |
*/
|
249 |
if ( true === apply_filters( 'pods_form_ui_field_' . $type . '_override', false, $name, $value, $options, $pod, $id ) ) {
|
250 |
/**
|
@@ -252,7 +252,7 @@ class PodsForm {
|
|
252 |
*
|
253 |
* It will be replaced in Pods 3.0 with better documentation.
|
254 |
*
|
255 |
-
* @deprecated 2.7
|
256 |
*/
|
257 |
do_action( 'pods_form_ui_field_' . $type, $name, $value, $options, $pod, $id );
|
258 |
} elseif ( ! empty( $helper ) && 0 < strlen( pods_v( 'code', $helper ) ) && false === strpos( $helper['code'], '$this->' ) && ( ! defined( 'PODS_DISABLE_EVAL' ) || ! PODS_DISABLE_EVAL ) ) {
|
@@ -261,7 +261,7 @@ class PodsForm {
|
|
261 |
*
|
262 |
* They will be entirely removed in Pods 3.0.
|
263 |
*
|
264 |
-
* @deprecated 2.7
|
265 |
*/
|
266 |
eval( '?>' . $helper['code'] );
|
267 |
} elseif ( method_exists( get_class(), 'field_' . $type ) ) {
|
@@ -275,7 +275,7 @@ class PodsForm {
|
|
275 |
*
|
276 |
* It will be replaced in Pods 3.0 with better documentation.
|
277 |
*
|
278 |
-
* @deprecated 2.7
|
279 |
*/
|
280 |
do_action( 'pods_form_ui_field_' . $type, $name, $value, $options, $pod, $id );
|
281 |
}//end if
|
@@ -295,7 +295,7 @@ class PodsForm {
|
|
295 |
*
|
296 |
* Used for field names and other places where only [a-z0-9_] is accepted
|
297 |
*
|
298 |
-
* @since 2.0
|
299 |
*
|
300 |
* @param $name
|
301 |
* @param null $value
|
@@ -359,7 +359,7 @@ class PodsForm {
|
|
359 |
* string such as 'tabindex="1"', though the array format is typically
|
360 |
* cleaner.
|
361 |
*
|
362 |
-
* @since 2.7
|
363 |
* @return string
|
364 |
*/
|
365 |
public static function submit_button( $text = null, $type = 'primary large', $name = 'submit', $wrap = true, $other_attributes = null ) {
|
@@ -441,7 +441,7 @@ class PodsForm {
|
|
441 |
*
|
442 |
* @return string Row HTML
|
443 |
*
|
444 |
-
* @since 2.0
|
445 |
*/
|
446 |
public static function row( $name, $value, $type = 'text', $options = null, $pod = null, $id = null ) {
|
447 |
|
@@ -459,7 +459,7 @@ class PodsForm {
|
|
459 |
/**
|
460 |
* Output a field's attributes
|
461 |
*
|
462 |
-
* @since 2.0
|
463 |
*
|
464 |
* @param $attributes
|
465 |
* @param null $name
|
@@ -482,7 +482,7 @@ class PodsForm {
|
|
482 |
/**
|
483 |
* Output a field's data (for use with jQuery)
|
484 |
*
|
485 |
-
* @since 2.0
|
486 |
*
|
487 |
* @param $data
|
488 |
* @param null $name
|
@@ -511,7 +511,7 @@ class PodsForm {
|
|
511 |
/**
|
512 |
* Merge attributes and handle classes
|
513 |
*
|
514 |
-
* @since 2.0
|
515 |
*
|
516 |
* @param $attributes
|
517 |
* @param null $name
|
@@ -606,7 +606,7 @@ class PodsForm {
|
|
606 |
*
|
607 |
* @static
|
608 |
*
|
609 |
-
* @since 2.0
|
610 |
*/
|
611 |
public static function options( $type, $options ) {
|
612 |
|
@@ -670,7 +670,7 @@ class PodsForm {
|
|
670 |
* @param null $options
|
671 |
*
|
672 |
* @return array|null
|
673 |
-
* @since 2.0
|
674 |
*/
|
675 |
public static function options_setup( $type = null, $options = null ) {
|
676 |
|
@@ -731,7 +731,7 @@ class PodsForm {
|
|
731 |
*
|
732 |
* @return array|null
|
733 |
*
|
734 |
-
* @since 2.0
|
735 |
*/
|
736 |
public static function ui_options( $type ) {
|
737 |
|
@@ -781,7 +781,7 @@ class PodsForm {
|
|
781 |
* @return array|null
|
782 |
*
|
783 |
* @static
|
784 |
-
* @since 2.0
|
785 |
*/
|
786 |
public static function fields_setup( $fields = null, $core_defaults = null, $single = false ) {
|
787 |
|
@@ -836,7 +836,7 @@ class PodsForm {
|
|
836 |
*
|
837 |
* @return array|null
|
838 |
*
|
839 |
-
* @since 2.0
|
840 |
*/
|
841 |
public static function field_setup( $field = null, $core_defaults = null, $type = null ) {
|
842 |
|
@@ -910,7 +910,7 @@ class PodsForm {
|
|
910 |
*
|
911 |
* @return array
|
912 |
* @static
|
913 |
-
* @since 2.0
|
914 |
*/
|
915 |
public static function dependencies( $options, $prefix = '' ) {
|
916 |
|
@@ -992,7 +992,7 @@ class PodsForm {
|
|
992 |
*
|
993 |
* @return array|mixed|null|object
|
994 |
* @internal param array $fields
|
995 |
-
* @since
|
996 |
*/
|
997 |
public static function value( $type, $value = null, $name = null, $options = null, $pod = null, $id = null, $traverse = null ) {
|
998 |
|
@@ -1042,7 +1042,7 @@ class PodsForm {
|
|
1042 |
*
|
1043 |
* @return array|mixed|null|void
|
1044 |
* @internal param array $fields
|
1045 |
-
* @since
|
1046 |
*/
|
1047 |
public static function display( $type, $value = null, $name = null, $options = null, $pod = null, $id = null, $traverse = null ) {
|
1048 |
|
@@ -1103,7 +1103,7 @@ class PodsForm {
|
|
1103 |
* @param $options
|
1104 |
*
|
1105 |
* @return mixed|void
|
1106 |
-
* @since 2.0
|
1107 |
*/
|
1108 |
public static function regex( $type, $options ) {
|
1109 |
|
@@ -1129,7 +1129,7 @@ class PodsForm {
|
|
1129 |
* @param $options
|
1130 |
*
|
1131 |
* @return mixed|void
|
1132 |
-
* @since 2.0
|
1133 |
*/
|
1134 |
public static function prepare( $type, $options ) {
|
1135 |
|
@@ -1160,7 +1160,7 @@ class PodsForm {
|
|
1160 |
*
|
1161 |
* @static
|
1162 |
*
|
1163 |
-
* @since 2.0
|
1164 |
* @return bool|mixed|void
|
1165 |
*/
|
1166 |
public static function validate( $type, $value, $name = null, $options = null, $fields = null, $pod = null, $id = null, $params = null ) {
|
@@ -1192,7 +1192,7 @@ class PodsForm {
|
|
1192 |
*
|
1193 |
* @static
|
1194 |
*
|
1195 |
-
* @since 2.0
|
1196 |
* @return mixed
|
1197 |
*/
|
1198 |
public static function pre_save( $type, $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) {
|
@@ -1220,7 +1220,7 @@ class PodsForm {
|
|
1220 |
*
|
1221 |
* @static
|
1222 |
*
|
1223 |
-
* @since 2.3
|
1224 |
* @return null
|
1225 |
*/
|
1226 |
public static function save( $type, $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) {
|
@@ -1247,7 +1247,7 @@ class PodsForm {
|
|
1247 |
*
|
1248 |
* @static
|
1249 |
*
|
1250 |
-
* @since 2.3
|
1251 |
* @return null
|
1252 |
*/
|
1253 |
public static function delete( $type, $id = null, $name = null, $options = null, $pod = null ) {
|
@@ -1276,7 +1276,7 @@ class PodsForm {
|
|
1276 |
*
|
1277 |
* @static
|
1278 |
*
|
1279 |
-
* @since 2.0
|
1280 |
* @return bool
|
1281 |
*/
|
1282 |
public static function permission( $type, $name = null, $options = null, $fields = null, $pod = null, $id = null, $params = null ) {
|
@@ -1291,7 +1291,7 @@ class PodsForm {
|
|
1291 |
/**
|
1292 |
* Parse the default the value
|
1293 |
*
|
1294 |
-
* @since 2.0
|
1295 |
*
|
1296 |
* @param $value
|
1297 |
* @param string $type
|
@@ -1336,7 +1336,7 @@ class PodsForm {
|
|
1336 |
/**
|
1337 |
* Clean a value for use in class / id
|
1338 |
*
|
1339 |
-
* @since 2.0
|
1340 |
*
|
1341 |
* @param $input
|
1342 |
* @param bool $noarray
|
@@ -1379,7 +1379,7 @@ class PodsForm {
|
|
1379 |
/**
|
1380 |
* Run admin_init methods for each field type
|
1381 |
*
|
1382 |
-
* @since 2.3
|
1383 |
*/
|
1384 |
public function admin_init() {
|
1385 |
|
@@ -1415,7 +1415,7 @@ class PodsForm {
|
|
1415 |
* @return string
|
1416 |
* @access public
|
1417 |
* @static
|
1418 |
-
* @since
|
1419 |
*/
|
1420 |
public static function field_loader( $field_type, $file = '' ) {
|
1421 |
|
@@ -1487,7 +1487,7 @@ class PodsForm {
|
|
1487 |
*
|
1488 |
* @access public
|
1489 |
* @static
|
1490 |
-
* @since
|
1491 |
*/
|
1492 |
public static function field_method() {
|
1493 |
|
@@ -1517,7 +1517,7 @@ class PodsForm {
|
|
1517 |
*
|
1518 |
* @return array Field Type data
|
1519 |
*
|
1520 |
-
* @since 2.3
|
1521 |
*/
|
1522 |
public static function register_field_type( $type, $file = null ) {
|
1523 |
|
@@ -1544,7 +1544,7 @@ class PodsForm {
|
|
1544 |
*
|
1545 |
* @return array Registered Field Types data
|
1546 |
*
|
1547 |
-
* @since 2.3
|
1548 |
*/
|
1549 |
public static function field_types() {
|
1550 |
|
@@ -1617,7 +1617,7 @@ class PodsForm {
|
|
1617 |
*
|
1618 |
* @return array Tableless field types
|
1619 |
*
|
1620 |
-
* @since 2.3
|
1621 |
*/
|
1622 |
public static function tableless_field_types() {
|
1623 |
|
@@ -1643,7 +1643,7 @@ class PodsForm {
|
|
1643 |
*
|
1644 |
* @return array File field types
|
1645 |
*
|
1646 |
-
* @since 2.3
|
1647 |
*/
|
1648 |
public static function file_field_types() {
|
1649 |
|
@@ -1663,7 +1663,7 @@ class PodsForm {
|
|
1663 |
*
|
1664 |
* @return array Repeatable field types
|
1665 |
*
|
1666 |
-
* @since 2.3
|
1667 |
*/
|
1668 |
public static function repeatable_field_types() {
|
1669 |
|
@@ -1697,7 +1697,7 @@ class PodsForm {
|
|
1697 |
*
|
1698 |
* @return array Number field types
|
1699 |
*
|
1700 |
-
* @since 2.3
|
1701 |
*/
|
1702 |
public static function number_field_types() {
|
1703 |
|
@@ -1717,7 +1717,7 @@ class PodsForm {
|
|
1717 |
*
|
1718 |
* @return array Date field types
|
1719 |
*
|
1720 |
-
* @since 2.3
|
1721 |
*/
|
1722 |
public static function date_field_types() {
|
1723 |
|
@@ -1737,7 +1737,7 @@ class PodsForm {
|
|
1737 |
*
|
1738 |
* @return array Text field types
|
1739 |
*
|
1740 |
-
* @since 2.3
|
1741 |
*/
|
1742 |
public static function text_field_types() {
|
1743 |
|
@@ -1757,7 +1757,7 @@ class PodsForm {
|
|
1757 |
*
|
1758 |
* @return array Text field types
|
1759 |
*
|
1760 |
-
* @since 2.3
|
1761 |
*/
|
1762 |
public static function block_field_types() {
|
1763 |
|
@@ -1785,7 +1785,7 @@ class PodsForm {
|
|
1785 |
*
|
1786 |
* @return array Text field types
|
1787 |
*
|
1788 |
-
* @since 2.3
|
1789 |
*/
|
1790 |
public static function simple_tableless_objects() {
|
1791 |
|
62 |
* @return \PodsForm
|
63 |
*
|
64 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
65 |
+
* @since 2.0.0
|
66 |
*/
|
67 |
private function __construct() {
|
68 |
|
72 |
/**
|
73 |
* Prevent clones
|
74 |
*
|
75 |
+
* @since 2.3.0
|
76 |
*/
|
77 |
private function __clone() {
|
78 |
// Hulk smash
|
81 |
/**
|
82 |
* Output a field's label
|
83 |
*
|
84 |
+
* @since 2.0.0
|
85 |
*/
|
86 |
|
87 |
/**
|
94 |
*
|
95 |
* @return string Label HTML
|
96 |
*
|
97 |
+
* @since 2.0.0
|
98 |
*/
|
99 |
public static function label( $name, $label, $help = '', $options = null ) {
|
100 |
|
141 |
*
|
142 |
* @return string Comment HTML
|
143 |
*
|
144 |
+
* @since 2.0.0
|
145 |
*/
|
146 |
public static function comment( $name, $message = null, $options = null ) {
|
147 |
|
183 |
*
|
184 |
* @return string Field HTML
|
185 |
*
|
186 |
+
* @since 2.0.0
|
187 |
*/
|
188 |
public static function field( $name, $value, $type = 'text', $options = null, $pod = null, $id = null ) {
|
189 |
|
228 |
*
|
229 |
* They will be entirely removed in Pods 3.0.
|
230 |
*
|
231 |
+
* @deprecated 2.7.0
|
232 |
*/
|
233 |
if ( 0 < strlen( pods_v( 'input_helper', $options ) ) ) {
|
234 |
$helper = pods_api()->load_helper( array( 'name' => $options['input_helper'] ) );
|
244 |
*
|
245 |
* It will be replaced in Pods 3.0 with better documentation.
|
246 |
*
|
247 |
+
* @deprecated 2.7.0
|
248 |
*/
|
249 |
if ( true === apply_filters( 'pods_form_ui_field_' . $type . '_override', false, $name, $value, $options, $pod, $id ) ) {
|
250 |
/**
|
252 |
*
|
253 |
* It will be replaced in Pods 3.0 with better documentation.
|
254 |
*
|
255 |
+
* @deprecated 2.7.0
|
256 |
*/
|
257 |
do_action( 'pods_form_ui_field_' . $type, $name, $value, $options, $pod, $id );
|
258 |
} elseif ( ! empty( $helper ) && 0 < strlen( pods_v( 'code', $helper ) ) && false === strpos( $helper['code'], '$this->' ) && ( ! defined( 'PODS_DISABLE_EVAL' ) || ! PODS_DISABLE_EVAL ) ) {
|
261 |
*
|
262 |
* They will be entirely removed in Pods 3.0.
|
263 |
*
|
264 |
+
* @deprecated 2.7.0
|
265 |
*/
|
266 |
eval( '?>' . $helper['code'] );
|
267 |
} elseif ( method_exists( get_class(), 'field_' . $type ) ) {
|
275 |
*
|
276 |
* It will be replaced in Pods 3.0 with better documentation.
|
277 |
*
|
278 |
+
* @deprecated 2.7.0
|
279 |
*/
|
280 |
do_action( 'pods_form_ui_field_' . $type, $name, $value, $options, $pod, $id );
|
281 |
}//end if
|
295 |
*
|
296 |
* Used for field names and other places where only [a-z0-9_] is accepted
|
297 |
*
|
298 |
+
* @since 2.0.0
|
299 |
*
|
300 |
* @param $name
|
301 |
* @param null $value
|
359 |
* string such as 'tabindex="1"', though the array format is typically
|
360 |
* cleaner.
|
361 |
*
|
362 |
+
* @since 2.7.0
|
363 |
* @return string
|
364 |
*/
|
365 |
public static function submit_button( $text = null, $type = 'primary large', $name = 'submit', $wrap = true, $other_attributes = null ) {
|
441 |
*
|
442 |
* @return string Row HTML
|
443 |
*
|
444 |
+
* @since 2.0.0
|
445 |
*/
|
446 |
public static function row( $name, $value, $type = 'text', $options = null, $pod = null, $id = null ) {
|
447 |
|
459 |
/**
|
460 |
* Output a field's attributes
|
461 |
*
|
462 |
+
* @since 2.0.0
|
463 |
*
|
464 |
* @param $attributes
|
465 |
* @param null $name
|
482 |
/**
|
483 |
* Output a field's data (for use with jQuery)
|
484 |
*
|
485 |
+
* @since 2.0.0
|
486 |
*
|
487 |
* @param $data
|
488 |
* @param null $name
|
511 |
/**
|
512 |
* Merge attributes and handle classes
|
513 |
*
|
514 |
+
* @since 2.0.0
|
515 |
*
|
516 |
* @param $attributes
|
517 |
* @param null $name
|
606 |
*
|
607 |
* @static
|
608 |
*
|
609 |
+
* @since 2.0.0
|
610 |
*/
|
611 |
public static function options( $type, $options ) {
|
612 |
|
670 |
* @param null $options
|
671 |
*
|
672 |
* @return array|null
|
673 |
+
* @since 2.0.0
|
674 |
*/
|
675 |
public static function options_setup( $type = null, $options = null ) {
|
676 |
|
731 |
*
|
732 |
* @return array|null
|
733 |
*
|
734 |
+
* @since 2.0.0
|
735 |
*/
|
736 |
public static function ui_options( $type ) {
|
737 |
|
781 |
* @return array|null
|
782 |
*
|
783 |
* @static
|
784 |
+
* @since 2.0.0
|
785 |
*/
|
786 |
public static function fields_setup( $fields = null, $core_defaults = null, $single = false ) {
|
787 |
|
836 |
*
|
837 |
* @return array|null
|
838 |
*
|
839 |
+
* @since 2.0.0
|
840 |
*/
|
841 |
public static function field_setup( $field = null, $core_defaults = null, $type = null ) {
|
842 |
|
910 |
*
|
911 |
* @return array
|
912 |
* @static
|
913 |
+
* @since 2.0.0
|
914 |
*/
|
915 |
public static function dependencies( $options, $prefix = '' ) {
|
916 |
|
992 |
*
|
993 |
* @return array|mixed|null|object
|
994 |
* @internal param array $fields
|
995 |
+
* @since 2.3.0
|
996 |
*/
|
997 |
public static function value( $type, $value = null, $name = null, $options = null, $pod = null, $id = null, $traverse = null ) {
|
998 |
|
1042 |
*
|
1043 |
* @return array|mixed|null|void
|
1044 |
* @internal param array $fields
|
1045 |
+
* @since 2.0.0
|
1046 |
*/
|
1047 |
public static function display( $type, $value = null, $name = null, $options = null, $pod = null, $id = null, $traverse = null ) {
|
1048 |
|
1103 |
* @param $options
|
1104 |
*
|
1105 |
* @return mixed|void
|
1106 |
+
* @since 2.0.0
|
1107 |
*/
|
1108 |
public static function regex( $type, $options ) {
|
1109 |
|
1129 |
* @param $options
|
1130 |
*
|
1131 |
* @return mixed|void
|
1132 |
+
* @since 2.0.0
|
1133 |
*/
|
1134 |
public static function prepare( $type, $options ) {
|
1135 |
|
1160 |
*
|
1161 |
* @static
|
1162 |
*
|
1163 |
+
* @since 2.0.0
|
1164 |
* @return bool|mixed|void
|
1165 |
*/
|
1166 |
public static function validate( $type, $value, $name = null, $options = null, $fields = null, $pod = null, $id = null, $params = null ) {
|
1192 |
*
|
1193 |
* @static
|
1194 |
*
|
1195 |
+
* @since 2.0.0
|
1196 |
* @return mixed
|
1197 |
*/
|
1198 |
public static function pre_save( $type, $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) {
|
1220 |
*
|
1221 |
* @static
|
1222 |
*
|
1223 |
+
* @since 2.3.0
|
1224 |
* @return null
|
1225 |
*/
|
1226 |
public static function save( $type, $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) {
|
1247 |
*
|
1248 |
* @static
|
1249 |
*
|
1250 |
+
* @since 2.3.0
|
1251 |
* @return null
|
1252 |
*/
|
1253 |
public static function delete( $type, $id = null, $name = null, $options = null, $pod = null ) {
|
1276 |
*
|
1277 |
* @static
|
1278 |
*
|
1279 |
+
* @since 2.0.0
|
1280 |
* @return bool
|
1281 |
*/
|
1282 |
public static function permission( $type, $name = null, $options = null, $fields = null, $pod = null, $id = null, $params = null ) {
|
1291 |
/**
|
1292 |
* Parse the default the value
|
1293 |
*
|
1294 |
+
* @since 2.0.0
|
1295 |
*
|
1296 |
* @param $value
|
1297 |
* @param string $type
|
1336 |
/**
|
1337 |
* Clean a value for use in class / id
|
1338 |
*
|
1339 |
+
* @since 2.0.0
|
1340 |
*
|
1341 |
* @param $input
|
1342 |
* @param bool $noarray
|
1379 |
/**
|
1380 |
* Run admin_init methods for each field type
|
1381 |
*
|
1382 |
+
* @since 2.3.0
|
1383 |
*/
|
1384 |
public function admin_init() {
|
1385 |
|
1415 |
* @return string
|
1416 |
* @access public
|
1417 |
* @static
|
1418 |
+
* @since 2.0.0
|
1419 |
*/
|
1420 |
public static function field_loader( $field_type, $file = '' ) {
|
1421 |
|
1487 |
*
|
1488 |
* @access public
|
1489 |
* @static
|
1490 |
+
* @since 2.0.0
|
1491 |
*/
|
1492 |
public static function field_method() {
|
1493 |
|
1517 |
*
|
1518 |
* @return array Field Type data
|
1519 |
*
|
1520 |
+
* @since 2.3.0
|
1521 |
*/
|
1522 |
public static function register_field_type( $type, $file = null ) {
|
1523 |
|
1544 |
*
|
1545 |
* @return array Registered Field Types data
|
1546 |
*
|
1547 |
+
* @since 2.3.0
|
1548 |
*/
|
1549 |
public static function field_types() {
|
1550 |
|
1617 |
*
|
1618 |
* @return array Tableless field types
|
1619 |
*
|
1620 |
+
* @since 2.3.0
|
1621 |
*/
|
1622 |
public static function tableless_field_types() {
|
1623 |
|
1643 |
*
|
1644 |
* @return array File field types
|
1645 |
*
|
1646 |
+
* @since 2.3.0
|
1647 |
*/
|
1648 |
public static function file_field_types() {
|
1649 |
|
1663 |
*
|
1664 |
* @return array Repeatable field types
|
1665 |
*
|
1666 |
+
* @since 2.3.0
|
1667 |
*/
|
1668 |
public static function repeatable_field_types() {
|
1669 |
|
1697 |
*
|
1698 |
* @return array Number field types
|
1699 |
*
|
1700 |
+
* @since 2.3.0
|
1701 |
*/
|
1702 |
public static function number_field_types() {
|
1703 |
|
1717 |
*
|
1718 |
* @return array Date field types
|
1719 |
*
|
1720 |
+
* @since 2.3.0
|
1721 |
*/
|
1722 |
public static function date_field_types() {
|
1723 |
|
1737 |
*
|
1738 |
* @return array Text field types
|
1739 |
*
|
1740 |
+
* @since 2.3.0
|
1741 |
*/
|
1742 |
public static function text_field_types() {
|
1743 |
|
1757 |
*
|
1758 |
* @return array Text field types
|
1759 |
*
|
1760 |
+
* @since 2.3.0
|
1761 |
*/
|
1762 |
public static function block_field_types() {
|
1763 |
|
1785 |
*
|
1786 |
* @return array Text field types
|
1787 |
*
|
1788 |
+
* @since 2.3.0
|
1789 |
*/
|
1790 |
public static function simple_tableless_objects() {
|
1791 |
|
classes/PodsI18n.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package Pods
|
5 |
-
* @since
|
6 |
*/
|
7 |
final class PodsI18n {
|
8 |
|
@@ -29,7 +29,7 @@ final class PodsI18n {
|
|
29 |
/**
|
30 |
* Singleton handling for a basic pods_i18n() request
|
31 |
*
|
32 |
-
* @since 2.7
|
33 |
*/
|
34 |
private function __construct() {
|
35 |
|
@@ -49,7 +49,7 @@ final class PodsI18n {
|
|
49 |
*
|
50 |
* @return \PodsI18n
|
51 |
*
|
52 |
-
* @since 2.7
|
53 |
*/
|
54 |
public static function get_instance() {
|
55 |
|
@@ -62,7 +62,7 @@ final class PodsI18n {
|
|
62 |
}
|
63 |
|
64 |
/**
|
65 |
-
* @since 2.7
|
66 |
*/
|
67 |
public function enqueue_scripts() {
|
68 |
|
@@ -78,7 +78,7 @@ final class PodsI18n {
|
|
78 |
* * Build localizations strings from the defaults and those provided via filter
|
79 |
* * Provide a global JavaScript object with the assembled localization strings via `wp_localize_script`
|
80 |
*
|
81 |
-
* @since 2.7
|
82 |
*/
|
83 |
private static function localize_assets() {
|
84 |
|
@@ -87,7 +87,7 @@ final class PodsI18n {
|
|
87 |
* Setting the key of your string to the original (non translated) value is mandatory
|
88 |
* Note: Existing keys in this class will overwrite the ones of this filter!
|
89 |
*
|
90 |
-
* @since 2.7
|
91 |
* @see default_strings()
|
92 |
*
|
93 |
* @param array
|
@@ -116,7 +116,7 @@ final class PodsI18n {
|
|
116 |
* @param string $string_key
|
117 |
* @param string $translation
|
118 |
*
|
119 |
-
* @since 2.7
|
120 |
*/
|
121 |
private static function register( $string_key, $translation ) {
|
122 |
|
@@ -140,7 +140,7 @@ final class PodsI18n {
|
|
140 |
*
|
141 |
* @return array Key/value pairs with label/translation
|
142 |
*
|
143 |
-
* @since 2.7
|
144 |
*/
|
145 |
private static function default_strings() {
|
146 |
|
@@ -205,7 +205,7 @@ final class PodsI18n {
|
|
205 |
/**
|
206 |
* Get current locale information from Multilingual plugins
|
207 |
*
|
208 |
-
* @since 2.7
|
209 |
*
|
210 |
* @param array $args (optional) {
|
211 |
*
|
@@ -455,7 +455,7 @@ final class PodsI18n {
|
|
455 |
/**
|
456 |
* Add Pods templates to possible i18n enabled post-types (polylang settings).
|
457 |
*
|
458 |
-
* @since
|
459 |
*
|
460 |
* @param array $post_types
|
461 |
* @param bool $is_settings
|
2 |
|
3 |
/**
|
4 |
* @package Pods
|
5 |
+
* @since 2.7.0
|
6 |
*/
|
7 |
final class PodsI18n {
|
8 |
|
29 |
/**
|
30 |
* Singleton handling for a basic pods_i18n() request
|
31 |
*
|
32 |
+
* @since 2.7.0
|
33 |
*/
|
34 |
private function __construct() {
|
35 |
|
49 |
*
|
50 |
* @return \PodsI18n
|
51 |
*
|
52 |
+
* @since 2.7.0
|
53 |
*/
|
54 |
public static function get_instance() {
|
55 |
|
62 |
}
|
63 |
|
64 |
/**
|
65 |
+
* @since 2.7.0
|
66 |
*/
|
67 |
public function enqueue_scripts() {
|
68 |
|
78 |
* * Build localizations strings from the defaults and those provided via filter
|
79 |
* * Provide a global JavaScript object with the assembled localization strings via `wp_localize_script`
|
80 |
*
|
81 |
+
* @since 2.7.0
|
82 |
*/
|
83 |
private static function localize_assets() {
|
84 |
|
87 |
* Setting the key of your string to the original (non translated) value is mandatory
|
88 |
* Note: Existing keys in this class will overwrite the ones of this filter!
|
89 |
*
|
90 |
+
* @since 2.7.0
|
91 |
* @see default_strings()
|
92 |
*
|
93 |
* @param array
|
116 |
* @param string $string_key
|
117 |
* @param string $translation
|
118 |
*
|
119 |
+
* @since 2.7.0
|
120 |
*/
|
121 |
private static function register( $string_key, $translation ) {
|
122 |
|
140 |
*
|
141 |
* @return array Key/value pairs with label/translation
|
142 |
*
|
143 |
+
* @since 2.7.0
|
144 |
*/
|
145 |
private static function default_strings() {
|
146 |
|
205 |
/**
|
206 |
* Get current locale information from Multilingual plugins
|
207 |
*
|
208 |
+
* @since 2.7.0
|
209 |
*
|
210 |
* @param array $args (optional) {
|
211 |
*
|
455 |
/**
|
456 |
* Add Pods templates to possible i18n enabled post-types (polylang settings).
|
457 |
*
|
458 |
+
* @since 2.7.0
|
459 |
*
|
460 |
* @param array $post_types
|
461 |
* @param bool $is_settings
|
classes/PodsInit.php
CHANGED
@@ -343,11 +343,12 @@ class PodsInit {
|
|
343 |
}
|
344 |
|
345 |
// Deal with specifics on admin pages
|
346 |
-
if ( is_admin() ) {
|
347 |
$screen = get_current_screen();
|
348 |
|
349 |
-
// DFV must be enqueued on the media library page for items in grid mode (
|
350 |
-
|
|
|
351 |
wp_enqueue_script( 'pods-dfv' );
|
352 |
}
|
353 |
}
|
@@ -369,7 +370,7 @@ class PodsInit {
|
|
369 |
|
370 |
$register_handlebars = apply_filters( 'pods_script_register_handlebars', true );
|
371 |
|
372 |
-
if ( is_admin() ) {
|
373 |
$screen = get_current_screen();
|
374 |
|
375 |
// Deregister the outdated Pods handlebars script on TEC event screen
|
@@ -947,11 +948,6 @@ class PodsInit {
|
|
947 |
// Max length for taxonomies are 32 characters
|
948 |
$taxonomy = substr( $taxonomy, 0, 32 );
|
949 |
|
950 |
-
// i18n compatibility for plugins that override it
|
951 |
-
if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) {
|
952 |
-
$options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL taxonomy slug', 'pods' );
|
953 |
-
}
|
954 |
-
|
955 |
/**
|
956 |
* Allow filtering of taxonomy options per taxonomy.
|
957 |
*
|
@@ -997,11 +993,6 @@ class PodsInit {
|
|
997 |
// Max length for post types are 20 characters
|
998 |
$post_type = substr( $post_type, 0, 20 );
|
999 |
|
1000 |
-
// i18n compatibility for plugins that override it
|
1001 |
-
if ( is_array( $options['rewrite'] ) && isset( $options['rewrite']['slug'] ) && ! empty( $options['rewrite']['slug'] ) ) {
|
1002 |
-
$options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL slug', 'pods' );
|
1003 |
-
}
|
1004 |
-
|
1005 |
/**
|
1006 |
* Allow filtering of post type options per post type.
|
1007 |
*
|
@@ -1212,7 +1203,7 @@ class PodsInit {
|
|
1212 |
$messages[ $post_type['name'] ][6] = sprintf( __( '%s published.', 'pods' ), $labels['singular_name'] );
|
1213 |
$messages[ $post_type['name'] ][8] = sprintf( __( '%s submitted.', 'pods' ), $labels['singular_name'] );
|
1214 |
$messages[ $post_type['name'] ][9] = sprintf(
|
1215 |
-
__( '%s scheduled for: <strong>%
|
1216 |
// translators: Publish box date format, see http://php.net/date
|
1217 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) )
|
1218 |
);
|
343 |
}
|
344 |
|
345 |
// Deal with specifics on admin pages
|
346 |
+
if ( is_admin() && function_exists( 'get_current_screen' ) ) {
|
347 |
$screen = get_current_screen();
|
348 |
|
349 |
+
// DFV must be enqueued on the media library page for items in grid mode (#4785)
|
350 |
+
// and for posts due to the possibility that post-thumbnails are enabled (#4945)
|
351 |
+
if ( $screen->base && in_array( $screen->base, array( 'upload', 'post' ), true ) ) {
|
352 |
wp_enqueue_script( 'pods-dfv' );
|
353 |
}
|
354 |
}
|
370 |
|
371 |
$register_handlebars = apply_filters( 'pods_script_register_handlebars', true );
|
372 |
|
373 |
+
if ( is_admin() && function_exists( 'get_current_screen' ) ) {
|
374 |
$screen = get_current_screen();
|
375 |
|
376 |
// Deregister the outdated Pods handlebars script on TEC event screen
|
948 |
// Max length for taxonomies are 32 characters
|
949 |
$taxonomy = substr( $taxonomy, 0, 32 );
|
950 |
|
|
|
|
|
|
|
|
|
|
|
951 |
/**
|
952 |
* Allow filtering of taxonomy options per taxonomy.
|
953 |
*
|
993 |
// Max length for post types are 20 characters
|
994 |
$post_type = substr( $post_type, 0, 20 );
|
995 |
|
|
|
|
|
|
|
|
|
|
|
996 |
/**
|
997 |
* Allow filtering of post type options per post type.
|
998 |
*
|
1203 |
$messages[ $post_type['name'] ][6] = sprintf( __( '%s published.', 'pods' ), $labels['singular_name'] );
|
1204 |
$messages[ $post_type['name'] ][8] = sprintf( __( '%s submitted.', 'pods' ), $labels['singular_name'] );
|
1205 |
$messages[ $post_type['name'] ][9] = sprintf(
|
1206 |
+
__( '%1$s scheduled for: <strong>%2$s</strong>.', 'pods' ), $labels['singular_name'],
|
1207 |
// translators: Publish box date format, see http://php.net/date
|
1208 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) )
|
1209 |
);
|
classes/PodsMeta.php
CHANGED
@@ -104,7 +104,7 @@ class PodsMeta {
|
|
104 |
/**
|
105 |
* @return \PodsMeta
|
106 |
*
|
107 |
-
* @since 2.0
|
108 |
*/
|
109 |
public function __construct() {
|
110 |
|
@@ -662,7 +662,7 @@ class PodsMeta {
|
|
662 |
* @param string $priority (optional) The priority within the context where the boxes should show ('high',
|
663 |
* 'core', 'default' or 'low').
|
664 |
*
|
665 |
-
* @since 2.0
|
666 |
*
|
667 |
* @return mixed|void
|
668 |
*/
|
104 |
/**
|
105 |
* @return \PodsMeta
|
106 |
*
|
107 |
+
* @since 2.0.0
|
108 |
*/
|
109 |
public function __construct() {
|
110 |
|
662 |
* @param string $priority (optional) The priority within the context where the boxes should show ('high',
|
663 |
* 'core', 'default' or 'low').
|
664 |
*
|
665 |
+
* @since 2.0.0
|
666 |
*
|
667 |
* @return mixed|void
|
668 |
*/
|
classes/PodsMigrate.php
CHANGED
@@ -65,7 +65,7 @@ class PodsMigrate {
|
|
65 |
* @return \PodsMigrate
|
66 |
*
|
67 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
68 |
-
* @since
|
69 |
*/
|
70 |
public function __construct( $type = null, $delimiter = null, $data = null ) {
|
71 |
|
@@ -795,7 +795,7 @@ class PodsMigrate {
|
|
795 |
} else {
|
796 |
$uploads = wp_upload_dir( current_time( 'mysql' ) );
|
797 |
|
798 |
-
if ( ! $uploads || false
|
799 |
return pods_error( __( 'There was an issue saving the export file in your uploads folder.', 'pods' ), true );
|
800 |
}
|
801 |
|
65 |
* @return \PodsMigrate
|
66 |
*
|
67 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
68 |
+
* @since 2.0.0
|
69 |
*/
|
70 |
public function __construct( $type = null, $delimiter = null, $data = null ) {
|
71 |
|
795 |
} else {
|
796 |
$uploads = wp_upload_dir( current_time( 'mysql' ) );
|
797 |
|
798 |
+
if ( ! $uploads || false !== $uploads['error'] ) {
|
799 |
return pods_error( __( 'There was an issue saving the export file in your uploads folder.', 'pods' ), true );
|
800 |
}
|
801 |
|
classes/PodsRESTHandlers.php
CHANGED
@@ -113,7 +113,7 @@ class PodsRESTHandlers {
|
|
113 |
/**
|
114 |
* What output type to use for a related field REST response.
|
115 |
*
|
116 |
-
* @since 2.7
|
117 |
*
|
118 |
* @param string $output_type The pick response output type.
|
119 |
* @param string $field_name The name of the field
|
113 |
/**
|
114 |
* What output type to use for a related field REST response.
|
115 |
*
|
116 |
+
* @since 2.7.0
|
117 |
*
|
118 |
* @param string $output_type The pick response output type.
|
119 |
* @param string $field_name The name of the field
|
classes/PodsUI.php
CHANGED
@@ -442,7 +442,7 @@ class PodsUI {
|
|
442 |
* @return \PodsUI
|
443 |
*
|
444 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
445 |
-
* @since
|
446 |
*/
|
447 |
public function __construct( $options, $deprecated = false ) {
|
448 |
|
@@ -1463,18 +1463,18 @@ class PodsUI {
|
|
1463 |
|
1464 |
$class = 'updated';
|
1465 |
$hook = 'message';
|
1466 |
-
|
1467 |
if ( $error ) {
|
1468 |
$class = 'error';
|
1469 |
$hook = 'error';
|
1470 |
}
|
1471 |
-
|
1472 |
$msg = $this->do_hook( $hook, $msg );
|
1473 |
-
|
1474 |
if ( empty( $msg ) ) {
|
1475 |
return;
|
1476 |
}
|
1477 |
-
?>
|
1478 |
<div id="message" class="<?php echo esc_attr( $class ); ?> fade">
|
1479 |
<p><?php echo $msg; ?></p>
|
1480 |
</div>
|
442 |
* @return \PodsUI
|
443 |
*
|
444 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
445 |
+
* @since 2.0.0
|
446 |
*/
|
447 |
public function __construct( $options, $deprecated = false ) {
|
448 |
|
1463 |
|
1464 |
$class = 'updated';
|
1465 |
$hook = 'message';
|
1466 |
+
|
1467 |
if ( $error ) {
|
1468 |
$class = 'error';
|
1469 |
$hook = 'error';
|
1470 |
}
|
1471 |
+
|
1472 |
$msg = $this->do_hook( $hook, $msg );
|
1473 |
+
|
1474 |
if ( empty( $msg ) ) {
|
1475 |
return;
|
1476 |
}
|
1477 |
+
?>
|
1478 |
<div id="message" class="<?php echo esc_attr( $class ); ?> fade">
|
1479 |
<p><?php echo $msg; ?></p>
|
1480 |
</div>
|
classes/PodsView.php
CHANGED
@@ -28,7 +28,7 @@ class PodsView {
|
|
28 |
*
|
29 |
* @return bool|mixed|null|string|void
|
30 |
*
|
31 |
-
* @since 2.0
|
32 |
*/
|
33 |
public static function view( $view, $data = null, $expires = false, $cache_mode = 'cache' ) {
|
34 |
|
@@ -160,7 +160,7 @@ class PodsView {
|
|
160 |
*
|
161 |
* @return bool|mixed|null|void
|
162 |
*
|
163 |
-
* @since 2.0
|
164 |
*/
|
165 |
public static function get( $key, $cache_mode = 'cache', $group = '', $callback = null ) {
|
166 |
|
@@ -296,7 +296,7 @@ class PodsView {
|
|
296 |
*
|
297 |
* @return bool|mixed|null|string|void
|
298 |
*
|
299 |
-
* @since 2.0
|
300 |
*/
|
301 |
public static function set( $key, $value, $expires = 0, $cache_mode = null, $group = '' ) {
|
302 |
|
@@ -384,7 +384,7 @@ class PodsView {
|
|
384 |
*
|
385 |
* @return bool
|
386 |
*
|
387 |
-
* @since 2.0
|
388 |
*/
|
389 |
public static function clear( $key = true, $cache_mode = null, $group = '' ) {
|
390 |
|
@@ -606,7 +606,7 @@ class PodsView {
|
|
606 |
*
|
607 |
* @return bool|int
|
608 |
*
|
609 |
-
* @since 2.7
|
610 |
* @static
|
611 |
*/
|
612 |
public static function expires( $expires, $cache_mode = 'cache' ) {
|
28 |
*
|
29 |
* @return bool|mixed|null|string|void
|
30 |
*
|
31 |
+
* @since 2.0.0
|
32 |
*/
|
33 |
public static function view( $view, $data = null, $expires = false, $cache_mode = 'cache' ) {
|
34 |
|
160 |
*
|
161 |
* @return bool|mixed|null|void
|
162 |
*
|
163 |
+
* @since 2.0.0
|
164 |
*/
|
165 |
public static function get( $key, $cache_mode = 'cache', $group = '', $callback = null ) {
|
166 |
|
296 |
*
|
297 |
* @return bool|mixed|null|string|void
|
298 |
*
|
299 |
+
* @since 2.0.0
|
300 |
*/
|
301 |
public static function set( $key, $value, $expires = 0, $cache_mode = null, $group = '' ) {
|
302 |
|
384 |
*
|
385 |
* @return bool
|
386 |
*
|
387 |
+
* @since 2.0.0
|
388 |
*/
|
389 |
public static function clear( $key = true, $cache_mode = null, $group = '' ) {
|
390 |
|
606 |
*
|
607 |
* @return bool|int
|
608 |
*
|
609 |
+
* @since 2.7.0
|
610 |
* @static
|
611 |
*/
|
612 |
public static function expires( $expires, $cache_mode = 'cache' ) {
|
classes/cli/Pods_CLI_Command.php
CHANGED
@@ -31,7 +31,7 @@ class Pods_CLI_Command extends WP_CLI_Command {
|
|
31 |
|
32 |
$pod = pods( $pod_name, null, false );
|
33 |
|
34 |
-
if ( $pod->valid() ) {
|
35 |
WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['pod'] ) );
|
36 |
}
|
37 |
|
@@ -91,11 +91,11 @@ class Pods_CLI_Command extends WP_CLI_Command {
|
|
91 |
|
92 |
$pod = pods( $pod_name, $item, false );
|
93 |
|
94 |
-
if ( $pod->valid() ) {
|
95 |
WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['pod'] ) );
|
96 |
}
|
97 |
|
98 |
-
if ( null !== $item && $pod->exists() ) {
|
99 |
WP_CLI::error( sprintf( __( 'Pod "%1$s" item "%2$s" does not exist.', 'pods' ), $assoc_args['pod'], $assoc_args['item'] ) );
|
100 |
}
|
101 |
|
@@ -142,11 +142,11 @@ class Pods_CLI_Command extends WP_CLI_Command {
|
|
142 |
|
143 |
$pod = pods( $assoc_args['pod'], $assoc_args['item'], false );
|
144 |
|
145 |
-
if ( $pod->valid() ) {
|
146 |
WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['pod'] ) );
|
147 |
}
|
148 |
|
149 |
-
if ( $pod->exists() ) {
|
150 |
WP_CLI::error( sprintf( __( 'Pod "%1$s" item "%2$s" does not exist.', 'pods' ), $assoc_args['pod'], $assoc_args['item'] ) );
|
151 |
}
|
152 |
|
@@ -189,11 +189,11 @@ class Pods_CLI_Command extends WP_CLI_Command {
|
|
189 |
|
190 |
$pod = pods( $assoc_args['pod'], $assoc_args['item'], false );
|
191 |
|
192 |
-
if ( $pod->valid() ) {
|
193 |
WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['pod'] ) );
|
194 |
}
|
195 |
|
196 |
-
if ( $pod->exists() ) {
|
197 |
WP_CLI::error( sprintf( __( 'Pod "%1$s" item "%2$s" does not exist.', 'pods' ), $assoc_args['pod'], $assoc_args['item'] ) );
|
198 |
}
|
199 |
|
@@ -255,11 +255,11 @@ class Pods_CLI_Command extends WP_CLI_Command {
|
|
255 |
|
256 |
$pod = pods( $pod_name, $item, false );
|
257 |
|
258 |
-
if ( $pod->valid() ) {
|
259 |
WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['pod'] ) );
|
260 |
}
|
261 |
|
262 |
-
if ( null !== $item && $pod->exists() ) {
|
263 |
WP_CLI::error( sprintf( __( 'Pod "%1$s" item "%2$s" does not exist.', 'pods' ), $assoc_args['pod'], $assoc_args['item'] ) );
|
264 |
}
|
265 |
|
@@ -332,7 +332,7 @@ class Pods_CLI_Command extends WP_CLI_Command {
|
|
332 |
|
333 |
$pod = pods( $pod_name, null, false );
|
334 |
|
335 |
-
if ( $pod->valid() ) {
|
336 |
WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['pod'] ) );
|
337 |
}
|
338 |
|
31 |
|
32 |
$pod = pods( $pod_name, null, false );
|
33 |
|
34 |
+
if ( ! $pod->valid() ) {
|
35 |
WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['pod'] ) );
|
36 |
}
|
37 |
|
91 |
|
92 |
$pod = pods( $pod_name, $item, false );
|
93 |
|
94 |
+
if ( ! $pod->valid() ) {
|
95 |
WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['pod'] ) );
|
96 |
}
|
97 |
|
98 |
+
if ( null !== $item && ! $pod->exists() ) {
|
99 |
WP_CLI::error( sprintf( __( 'Pod "%1$s" item "%2$s" does not exist.', 'pods' ), $assoc_args['pod'], $assoc_args['item'] ) );
|
100 |
}
|
101 |
|
142 |
|
143 |
$pod = pods( $assoc_args['pod'], $assoc_args['item'], false );
|
144 |
|
145 |
+
if ( ! $pod->valid() ) {
|
146 |
WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['pod'] ) );
|
147 |
}
|
148 |
|
149 |
+
if ( ! $pod->exists() ) {
|
150 |
WP_CLI::error( sprintf( __( 'Pod "%1$s" item "%2$s" does not exist.', 'pods' ), $assoc_args['pod'], $assoc_args['item'] ) );
|
151 |
}
|
152 |
|
189 |
|
190 |
$pod = pods( $assoc_args['pod'], $assoc_args['item'], false );
|
191 |
|
192 |
+
if ( ! $pod->valid() ) {
|
193 |
WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['pod'] ) );
|
194 |
}
|
195 |
|
196 |
+
if ( ! $pod->exists() ) {
|
197 |
WP_CLI::error( sprintf( __( 'Pod "%1$s" item "%2$s" does not exist.', 'pods' ), $assoc_args['pod'], $assoc_args['item'] ) );
|
198 |
}
|
199 |
|
255 |
|
256 |
$pod = pods( $pod_name, $item, false );
|
257 |
|
258 |
+
if ( ! $pod->valid() ) {
|
259 |
WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['pod'] ) );
|
260 |
}
|
261 |
|
262 |
+
if ( null !== $item && ! $pod->exists() ) {
|
263 |
WP_CLI::error( sprintf( __( 'Pod "%1$s" item "%2$s" does not exist.', 'pods' ), $assoc_args['pod'], $assoc_args['item'] ) );
|
264 |
}
|
265 |
|
332 |
|
333 |
$pod = pods( $pod_name, null, false );
|
334 |
|
335 |
+
if ( ! $pod->valid() ) {
|
336 |
WP_CLI::error( sprintf( __( 'Pod "%s" does not exist.', 'pods' ), $assoc_args['pod'] ) );
|
337 |
}
|
338 |
|
classes/fields/color.php
CHANGED
@@ -111,7 +111,7 @@ class PodsField_Color extends PodsField {
|
|
111 |
// @todo Ask for a specific format in error message
|
112 |
$errors[] = __( 'Invalid value provided for this field.', 'pods' );
|
113 |
}
|
114 |
-
} elseif ( ! in_array( strlen( $color ), array( 3, 6 ), true ) ) {
|
115 |
$errors[] = __( 'Invalid Hex Color value provided for this field.', 'pods' );
|
116 |
}
|
117 |
}
|
111 |
// @todo Ask for a specific format in error message
|
112 |
$errors[] = __( 'Invalid value provided for this field.', 'pods' );
|
113 |
}
|
114 |
+
} elseif ( ! empty( $color ) && ! in_array( strlen( $color ), array( 3, 6 ), true ) ) {
|
115 |
$errors[] = __( 'Invalid Hex Color value provided for this field.', 'pods' );
|
116 |
}
|
117 |
}
|
classes/fields/currency.php
CHANGED
@@ -30,7 +30,7 @@ class PodsField_Currency extends PodsField_Number {
|
|
30 |
* Currency Formats
|
31 |
*
|
32 |
* @var array
|
33 |
-
* @since 2.0
|
34 |
*/
|
35 |
public static $currencies = array();
|
36 |
|
@@ -621,7 +621,7 @@ class PodsField_Currency extends PodsField_Number {
|
|
621 |
* Get the max allowed decimals.
|
622 |
* Overwrites the default value of Number field. 2 decimals instead of 0.
|
623 |
*
|
624 |
-
* @since 2.7
|
625 |
*
|
626 |
* @param array $options Field options.
|
627 |
*
|
30 |
* Currency Formats
|
31 |
*
|
32 |
* @var array
|
33 |
+
* @since 2.0.0
|
34 |
*/
|
35 |
public static $currencies = array();
|
36 |
|
621 |
* Get the max allowed decimals.
|
622 |
* Overwrites the default value of Number field. 2 decimals instead of 0.
|
623 |
*
|
624 |
+
* @since 2.7.0
|
625 |
*
|
626 |
* @param array $options Field options.
|
627 |
*
|
classes/fields/datetime.php
CHANGED
@@ -29,7 +29,7 @@ class PodsField_DateTime extends PodsField {
|
|
29 |
* Storage format.
|
30 |
*
|
31 |
* @var string
|
32 |
-
* @since 2.7
|
33 |
*/
|
34 |
public static $storage_format = 'Y-m-d H:i:s';
|
35 |
|
@@ -37,7 +37,7 @@ class PodsField_DateTime extends PodsField {
|
|
37 |
* The default empty value (database)
|
38 |
*
|
39 |
* @var string
|
40 |
-
* @since 2.7
|
41 |
*/
|
42 |
public static $empty_value = '0000-00-00 00:00:00';
|
43 |
|
@@ -385,7 +385,7 @@ class PodsField_DateTime extends PodsField {
|
|
385 |
* @param bool $js Return formatted from jQuery UI format? (only for custom formats).
|
386 |
*
|
387 |
* @return string
|
388 |
-
* @since 2.7
|
389 |
*/
|
390 |
public function format_value_display( $value, $options, $js = false ) {
|
391 |
|
@@ -423,7 +423,7 @@ class PodsField_DateTime extends PodsField {
|
|
423 |
/**
|
424 |
* Build date and/or time format string based on options
|
425 |
*
|
426 |
-
* @since
|
427 |
*
|
428 |
* @param array $options Field options.
|
429 |
* @param bool $js Whether to return format for jQuery UI.
|
@@ -446,7 +446,7 @@ class PodsField_DateTime extends PodsField {
|
|
446 |
/**
|
447 |
* Build date format string based on options
|
448 |
*
|
449 |
-
* @since
|
450 |
*
|
451 |
* @param array $options Field options.
|
452 |
* @param bool $js Whether to return format for jQuery UI.
|
@@ -485,7 +485,7 @@ class PodsField_DateTime extends PodsField {
|
|
485 |
/**
|
486 |
* Build time format string based on options
|
487 |
*
|
488 |
-
* @since
|
489 |
*
|
490 |
* @param array $options Field options.
|
491 |
* @param bool $js Whether to return format for jQuery UI.
|
@@ -536,7 +536,7 @@ class PodsField_DateTime extends PodsField {
|
|
536 |
/**
|
537 |
* Get the date formats.
|
538 |
*
|
539 |
-
* @since
|
540 |
*
|
541 |
* @param bool $js Whether to return format for jQuery UI.
|
542 |
*
|
@@ -576,7 +576,7 @@ class PodsField_DateTime extends PodsField {
|
|
576 |
/**
|
577 |
* Get the time formats.
|
578 |
*
|
579 |
-
* @since
|
580 |
*
|
581 |
* @param bool $js Whether to return format for jQuery UI.
|
582 |
*
|
@@ -612,7 +612,7 @@ class PodsField_DateTime extends PodsField {
|
|
612 |
/**
|
613 |
* Get the time formats.
|
614 |
*
|
615 |
-
* @since
|
616 |
*
|
617 |
* @param bool $js Whether to return format for jQuery UI.
|
618 |
*
|
@@ -742,7 +742,7 @@ class PodsField_DateTime extends PodsField {
|
|
742 |
* @link https://api.jqueryui.com/datepicker/
|
743 |
* @link http://trentrichardson.com/examples/timepicker/
|
744 |
*
|
745 |
-
* @since
|
746 |
*
|
747 |
* @param string $source_format Source format string.
|
748 |
* @param array $args Format arguments.
|
@@ -863,7 +863,7 @@ class PodsField_DateTime extends PodsField {
|
|
863 |
/**
|
864 |
* Enqueue the i18n files for jquery date/timepicker
|
865 |
*
|
866 |
-
* @since
|
867 |
*/
|
868 |
public function enqueue_jquery_ui_i18n() {
|
869 |
|
29 |
* Storage format.
|
30 |
*
|
31 |
* @var string
|
32 |
+
* @since 2.7.0
|
33 |
*/
|
34 |
public static $storage_format = 'Y-m-d H:i:s';
|
35 |
|
37 |
* The default empty value (database)
|
38 |
*
|
39 |
* @var string
|
40 |
+
* @since 2.7.0
|
41 |
*/
|
42 |
public static $empty_value = '0000-00-00 00:00:00';
|
43 |
|
385 |
* @param bool $js Return formatted from jQuery UI format? (only for custom formats).
|
386 |
*
|
387 |
* @return string
|
388 |
+
* @since 2.7.0
|
389 |
*/
|
390 |
public function format_value_display( $value, $options, $js = false ) {
|
391 |
|
423 |
/**
|
424 |
* Build date and/or time format string based on options
|
425 |
*
|
426 |
+
* @since 2.7.0
|
427 |
*
|
428 |
* @param array $options Field options.
|
429 |
* @param bool $js Whether to return format for jQuery UI.
|
446 |
/**
|
447 |
* Build date format string based on options
|
448 |
*
|
449 |
+
* @since 2.7.0
|
450 |
*
|
451 |
* @param array $options Field options.
|
452 |
* @param bool $js Whether to return format for jQuery UI.
|
485 |
/**
|
486 |
* Build time format string based on options
|
487 |
*
|
488 |
+
* @since 2.7.0
|
489 |
*
|
490 |
* @param array $options Field options.
|
491 |
* @param bool $js Whether to return format for jQuery UI.
|
536 |
/**
|
537 |
* Get the date formats.
|
538 |
*
|
539 |
+
* @since 2.7.0
|
540 |
*
|
541 |
* @param bool $js Whether to return format for jQuery UI.
|
542 |
*
|
576 |
/**
|
577 |
* Get the time formats.
|
578 |
*
|
579 |
+
* @since 2.7.0
|
580 |
*
|
581 |
* @param bool $js Whether to return format for jQuery UI.
|
582 |
*
|
612 |
/**
|
613 |
* Get the time formats.
|
614 |
*
|
615 |
+
* @since 2.7.0
|
616 |
*
|
617 |
* @param bool $js Whether to return format for jQuery UI.
|
618 |
*
|
742 |
* @link https://api.jqueryui.com/datepicker/
|
743 |
* @link http://trentrichardson.com/examples/timepicker/
|
744 |
*
|
745 |
+
* @since 2.7.0
|
746 |
*
|
747 |
* @param string $source_format Source format string.
|
748 |
* @param array $args Format arguments.
|
863 |
/**
|
864 |
* Enqueue the i18n files for jquery date/timepicker
|
865 |
*
|
866 |
+
* @since 2.7.0
|
867 |
*/
|
868 |
public function enqueue_jquery_ui_i18n() {
|
869 |
|
classes/fields/file.php
CHANGED
@@ -669,7 +669,7 @@ class PodsField_File extends PodsField {
|
|
669 |
* @param string $image_size Image size.
|
670 |
*
|
671 |
* @return string
|
672 |
-
* @since 2.3
|
673 |
*/
|
674 |
public function images( $id, $value, $name = null, $options = null, $pod = null, $image_size = null ) {
|
675 |
|
@@ -698,7 +698,7 @@ class PodsField_File extends PodsField {
|
|
698 |
*
|
699 |
* @return array
|
700 |
*
|
701 |
-
* @since 2.3
|
702 |
*/
|
703 |
public function data_image_sizes( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
704 |
|
@@ -717,7 +717,7 @@ class PodsField_File extends PodsField {
|
|
717 |
/**
|
718 |
* Create a WP Gallery from the passed values (need to be attachments)
|
719 |
*
|
720 |
-
* @since
|
721 |
*
|
722 |
* @param string|array $value The value(s).
|
723 |
* @param array $options The field options.
|
@@ -789,9 +789,9 @@ class PodsField_File extends PodsField {
|
|
789 |
* @param null|string $link Link URL.
|
790 |
*
|
791 |
* @return string
|
792 |
-
* @since
|
793 |
*
|
794 |
-
* @deprecated 2.7
|
795 |
*/
|
796 |
public function markup( $attributes, $limit = 1, $editable = true, $id = null, $icon = null, $name = null, $linked = false, $link = null ) {
|
797 |
|
@@ -872,7 +872,7 @@ class PodsField_File extends PodsField {
|
|
872 |
/**
|
873 |
* Handle AJAX plupload calls.
|
874 |
*
|
875 |
-
* @since 2.3
|
876 |
*/
|
877 |
public function admin_ajax_upload() {
|
878 |
|
669 |
* @param string $image_size Image size.
|
670 |
*
|
671 |
* @return string
|
672 |
+
* @since 2.3.0
|
673 |
*/
|
674 |
public function images( $id, $value, $name = null, $options = null, $pod = null, $image_size = null ) {
|
675 |
|
698 |
*
|
699 |
* @return array
|
700 |
*
|
701 |
+
* @since 2.3.0
|
702 |
*/
|
703 |
public function data_image_sizes( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
704 |
|
717 |
/**
|
718 |
* Create a WP Gallery from the passed values (need to be attachments)
|
719 |
*
|
720 |
+
* @since 2.7.0
|
721 |
*
|
722 |
* @param string|array $value The value(s).
|
723 |
* @param array $options The field options.
|
789 |
* @param null|string $link Link URL.
|
790 |
*
|
791 |
* @return string
|
792 |
+
* @since 2.0.0
|
793 |
*
|
794 |
+
* @deprecated 2.7.0
|
795 |
*/
|
796 |
public function markup( $attributes, $limit = 1, $editable = true, $id = null, $icon = null, $name = null, $linked = false, $link = null ) {
|
797 |
|
872 |
/**
|
873 |
* Handle AJAX plupload calls.
|
874 |
*
|
875 |
+
* @since 2.3.0
|
876 |
*/
|
877 |
public function admin_ajax_upload() {
|
878 |
|
classes/fields/link.php
CHANGED
@@ -178,7 +178,7 @@ class PodsField_Link extends PodsField_Website {
|
|
178 |
*
|
179 |
* @return mixed|null|string
|
180 |
*
|
181 |
-
* @since 2.7
|
182 |
*/
|
183 |
public function display_list( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
|
184 |
|
178 |
*
|
179 |
* @return mixed|null|string
|
180 |
*
|
181 |
+
* @since 2.7.0
|
182 |
*/
|
183 |
public function display_list( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
|
184 |
|
classes/fields/number.php
CHANGED
@@ -326,7 +326,7 @@ class PodsField_Number extends PodsField {
|
|
326 |
/**
|
327 |
* Get the formatting arguments for numbers.
|
328 |
*
|
329 |
-
* @since 2.7
|
330 |
*
|
331 |
* @param array $options Field options.
|
332 |
*
|
@@ -375,7 +375,7 @@ class PodsField_Number extends PodsField {
|
|
375 |
/**
|
376 |
* Get the max allowed decimals.
|
377 |
*
|
378 |
-
* @since 2.7
|
379 |
*
|
380 |
* @param array $options Field options.
|
381 |
*
|
326 |
/**
|
327 |
* Get the formatting arguments for numbers.
|
328 |
*
|
329 |
+
* @since 2.7.0
|
330 |
*
|
331 |
* @param array $options Field options.
|
332 |
*
|
375 |
/**
|
376 |
* Get the max allowed decimals.
|
377 |
*
|
378 |
+
* @since 2.7.0
|
379 |
*
|
380 |
* @param array $options Field options.
|
381 |
*
|
classes/fields/oembed.php
CHANGED
@@ -29,7 +29,7 @@ class PodsField_OEmbed extends PodsField {
|
|
29 |
* Available oEmbed providers
|
30 |
*
|
31 |
* @var array
|
32 |
-
* @since 2.7
|
33 |
*/
|
34 |
private $providers = array();
|
35 |
|
@@ -37,7 +37,7 @@ class PodsField_OEmbed extends PodsField {
|
|
37 |
* Current embed width
|
38 |
*
|
39 |
* @var int
|
40 |
-
* @since 2.7
|
41 |
*/
|
42 |
private $width = 0;
|
43 |
|
@@ -45,7 +45,7 @@ class PodsField_OEmbed extends PodsField {
|
|
45 |
* Current embed height
|
46 |
*
|
47 |
* @var int
|
48 |
-
* @since 2.7
|
49 |
*/
|
50 |
private $height = 0;
|
51 |
|
@@ -287,7 +287,7 @@ class PodsField_OEmbed extends PodsField {
|
|
287 |
*
|
288 |
* @return string Potentially modified $content.
|
289 |
*
|
290 |
-
* @since 2.7
|
291 |
*/
|
292 |
public function autoembed( $content ) {
|
293 |
|
@@ -314,7 +314,7 @@ class PodsField_OEmbed extends PodsField {
|
|
314 |
*
|
315 |
* @return string The embed shortcode
|
316 |
*
|
317 |
-
* @since 2.7
|
318 |
*/
|
319 |
public function autoembed_callback( $match ) {
|
320 |
|
@@ -336,7 +336,7 @@ class PodsField_OEmbed extends PodsField {
|
|
336 |
* @type string Hostname for this provider
|
337 |
* }
|
338 |
*
|
339 |
-
* @since 2.7
|
340 |
*/
|
341 |
public function get_providers() {
|
342 |
|
@@ -388,7 +388,7 @@ class PodsField_OEmbed extends PodsField {
|
|
388 |
* This function is ripped from WP since Pods has support from 3.8 and in the WP core this function is 4.0+
|
389 |
* We've stripped the autodiscover part from this function to keep it basic
|
390 |
*
|
391 |
-
* @since
|
392 |
* @access public
|
393 |
*
|
394 |
* @see WP_oEmbed::get_provider()
|
@@ -430,7 +430,7 @@ class PodsField_OEmbed extends PodsField {
|
|
430 |
/**
|
431 |
* Validate a value with the enabled oEmbed providers (if required).
|
432 |
*
|
433 |
-
* @since 2.7
|
434 |
*
|
435 |
* @param string $value Field value.
|
436 |
* @param array $options Field options.
|
@@ -477,7 +477,7 @@ class PodsField_OEmbed extends PodsField {
|
|
477 |
/**
|
478 |
* Handle update preview AJAX.
|
479 |
*
|
480 |
-
* @since 2.7
|
481 |
*/
|
482 |
public function admin_ajax_oembed_update_preview() {
|
483 |
|
29 |
* Available oEmbed providers
|
30 |
*
|
31 |
* @var array
|
32 |
+
* @since 2.7.0
|
33 |
*/
|
34 |
private $providers = array();
|
35 |
|
37 |
* Current embed width
|
38 |
*
|
39 |
* @var int
|
40 |
+
* @since 2.7.0
|
41 |
*/
|
42 |
private $width = 0;
|
43 |
|
45 |
* Current embed height
|
46 |
*
|
47 |
* @var int
|
48 |
+
* @since 2.7.0
|
49 |
*/
|
50 |
private $height = 0;
|
51 |
|
287 |
*
|
288 |
* @return string Potentially modified $content.
|
289 |
*
|
290 |
+
* @since 2.7.0
|
291 |
*/
|
292 |
public function autoembed( $content ) {
|
293 |
|
314 |
*
|
315 |
* @return string The embed shortcode
|
316 |
*
|
317 |
+
* @since 2.7.0
|
318 |
*/
|
319 |
public function autoembed_callback( $match ) {
|
320 |
|
336 |
* @type string Hostname for this provider
|
337 |
* }
|
338 |
*
|
339 |
+
* @since 2.7.0
|
340 |
*/
|
341 |
public function get_providers() {
|
342 |
|
388 |
* This function is ripped from WP since Pods has support from 3.8 and in the WP core this function is 4.0+
|
389 |
* We've stripped the autodiscover part from this function to keep it basic
|
390 |
*
|
391 |
+
* @since 2.7.0
|
392 |
* @access public
|
393 |
*
|
394 |
* @see WP_oEmbed::get_provider()
|
430 |
/**
|
431 |
* Validate a value with the enabled oEmbed providers (if required).
|
432 |
*
|
433 |
+
* @since 2.7.0
|
434 |
*
|
435 |
* @param string $value Field value.
|
436 |
* @param array $options Field options.
|
477 |
/**
|
478 |
* Handle update preview AJAX.
|
479 |
*
|
480 |
+
* @since 2.7.0
|
481 |
*/
|
482 |
public function admin_ajax_oembed_update_preview() {
|
483 |
|
classes/fields/pick.php
CHANGED
@@ -29,7 +29,7 @@ class PodsField_Pick extends PodsField {
|
|
29 |
* Available Related Objects.
|
30 |
*
|
31 |
* @var array
|
32 |
-
* @since 2.3
|
33 |
*/
|
34 |
public static $related_objects = array();
|
35 |
|
@@ -37,7 +37,7 @@ class PodsField_Pick extends PodsField {
|
|
37 |
* Custom Related Objects
|
38 |
*
|
39 |
* @var array
|
40 |
-
* @since 2.3
|
41 |
*/
|
42 |
public static $custom_related_objects = array();
|
43 |
|
@@ -45,7 +45,7 @@ class PodsField_Pick extends PodsField {
|
|
45 |
* Data used during validate / save to avoid extra queries.
|
46 |
*
|
47 |
* @var array
|
48 |
-
* @since 2.3
|
49 |
*/
|
50 |
public static $related_data = array();
|
51 |
|
@@ -53,7 +53,7 @@ class PodsField_Pick extends PodsField {
|
|
53 |
* Data used during input method (mainly for autocomplete).
|
54 |
*
|
55 |
* @var array
|
56 |
-
* @since 2.3
|
57 |
*/
|
58 |
public static $field_data = array();
|
59 |
|
@@ -61,7 +61,7 @@ class PodsField_Pick extends PodsField {
|
|
61 |
* Saved array of simple relationship names.
|
62 |
*
|
63 |
* @var array
|
64 |
-
* @since 2.5
|
65 |
*/
|
66 |
private static $names_simple = null;
|
67 |
|
@@ -69,7 +69,7 @@ class PodsField_Pick extends PodsField {
|
|
69 |
* Saved array of relationship names
|
70 |
*
|
71 |
* @var array
|
72 |
-
* @since 2.5
|
73 |
*/
|
74 |
private static $names_related = null;
|
75 |
|
@@ -77,7 +77,7 @@ class PodsField_Pick extends PodsField {
|
|
77 |
* Saved array of bidirectional relationship names
|
78 |
*
|
79 |
* @var array
|
80 |
-
* @since 2.5
|
81 |
*/
|
82 |
private static $names_bidirectional = null;
|
83 |
|
@@ -329,7 +329,7 @@ class PodsField_Pick extends PodsField {
|
|
329 |
* @param array $options Object options.
|
330 |
*
|
331 |
* @return array|boolean Object array or false if unsuccessful
|
332 |
-
* @since 2.3
|
333 |
*/
|
334 |
public function register_related_object( $name, $label, $options = null ) {
|
335 |
|
@@ -360,7 +360,7 @@ class PodsField_Pick extends PodsField {
|
|
360 |
* @param boolean $force Whether to force refresh of related objects.
|
361 |
*
|
362 |
* @return bool True when data has been loaded
|
363 |
-
* @since 2.3
|
364 |
*/
|
365 |
public function setup_related_objects( $force = false ) {
|
366 |
|
@@ -604,7 +604,7 @@ class PodsField_Pick extends PodsField {
|
|
604 |
* @param boolean $force Whether to force refresh of related objects.
|
605 |
*
|
606 |
* @return array Field selection array
|
607 |
-
* @since 2.3
|
608 |
*/
|
609 |
public function related_objects( $force = false ) {
|
610 |
|
@@ -630,7 +630,7 @@ class PodsField_Pick extends PodsField {
|
|
630 |
* Return available simple object names
|
631 |
*
|
632 |
* @return array Simple object names
|
633 |
-
* @since 2.3
|
634 |
*/
|
635 |
public function simple_objects() {
|
636 |
|
@@ -780,12 +780,12 @@ class PodsField_Pick extends PodsField {
|
|
780 |
|
781 |
$ajax = false;
|
782 |
|
783 |
-
if (
|
784 |
$ajax = true;
|
785 |
-
}
|
786 |
|
787 |
-
|
788 |
-
|
|
|
789 |
}
|
790 |
|
791 |
$ajax = apply_filters( 'pods_form_ui_field_pick_ajax', $ajax, $args->name, $args->value, $options, $args->pod, $args->id );
|
@@ -851,7 +851,7 @@ class PodsField_Pick extends PodsField {
|
|
851 |
*
|
852 |
* @param array|null $select2_overrides Override options for Select2/SelectWoo.
|
853 |
*
|
854 |
-
* @since 2.7
|
855 |
*/
|
856 |
$options['select2_overrides'] = apply_filters( 'pods_pick_select2_overrides', null );
|
857 |
|
@@ -931,7 +931,7 @@ class PodsField_Pick extends PodsField {
|
|
931 |
* @param array $config
|
932 |
* @param array $args
|
933 |
*
|
934 |
-
* @since 2.7
|
935 |
*/
|
936 |
$show_on_front = apply_filters( 'pods_ui_dfv_pick_modals_show_on_front', false, $config, $args );
|
937 |
|
@@ -942,7 +942,7 @@ class PodsField_Pick extends PodsField {
|
|
942 |
* @param array $config
|
943 |
* @param array $args
|
944 |
*
|
945 |
-
* @since 2.7
|
946 |
*/
|
947 |
$allow_nested_modals = apply_filters( 'pods_ui_dfv_pick_modals_allow_nested', false, $config, $args );
|
948 |
|
@@ -1032,7 +1032,7 @@ class PodsField_Pick extends PodsField {
|
|
1032 |
* @param array $config
|
1033 |
* @param array $args
|
1034 |
*
|
1035 |
-
* @since 2.7
|
1036 |
*/
|
1037 |
$iframe = apply_filters( 'pods_ui_dfv_pick_modals_iframe', $iframe, $config, $args );
|
1038 |
|
@@ -1299,9 +1299,10 @@ class PodsField_Pick extends PodsField {
|
|
1299 |
$selected = false;
|
1300 |
|
1301 |
if ( is_array( $args->value ) ) {
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
|
|
1305 |
$selected = true;
|
1306 |
}
|
1307 |
} elseif ( (string) $item_id === (string) $args->value ) {
|
@@ -1539,7 +1540,7 @@ class PodsField_Pick extends PodsField {
|
|
1539 |
* @param array|null $options Field options.
|
1540 |
* @param array|null $pod Pod options.
|
1541 |
*
|
1542 |
-
* @since 2.3
|
1543 |
*/
|
1544 |
public function delete( $id = null, $name = null, $options = null, $pod = null ) {
|
1545 |
|
@@ -1767,7 +1768,7 @@ class PodsField_Pick extends PodsField {
|
|
1767 |
*
|
1768 |
* @return string
|
1769 |
*
|
1770 |
-
* @since 2.2
|
1771 |
*/
|
1772 |
public function value_to_label( $name, $value = null, $options = null, $pod = null, $id = null ) {
|
1773 |
|
@@ -2370,8 +2371,10 @@ class PodsField_Pick extends PodsField {
|
|
2370 |
* @param array $options Field options.
|
2371 |
*
|
2372 |
* @return bool
|
|
|
|
|
2373 |
*/
|
2374 |
-
|
2375 |
|
2376 |
$autocomplete = false;
|
2377 |
|
@@ -2388,10 +2391,39 @@ class PodsField_Pick extends PodsField {
|
|
2388 |
return $autocomplete;
|
2389 |
}
|
2390 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2391 |
/**
|
2392 |
* Handle autocomplete AJAX.
|
2393 |
*
|
2394 |
-
* @since 2.3
|
2395 |
*/
|
2396 |
public function admin_ajax_relationship() {
|
2397 |
|
@@ -2525,7 +2557,7 @@ class PodsField_Pick extends PodsField {
|
|
2525 |
*
|
2526 |
* @return array
|
2527 |
*
|
2528 |
-
* @since 2.3
|
2529 |
*/
|
2530 |
public function data_post_stati( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
2531 |
|
@@ -2552,7 +2584,7 @@ class PodsField_Pick extends PodsField {
|
|
2552 |
*
|
2553 |
* @return array
|
2554 |
*
|
2555 |
-
* @since 2.3
|
2556 |
*/
|
2557 |
public function data_roles( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
2558 |
|
@@ -2579,7 +2611,7 @@ class PodsField_Pick extends PodsField {
|
|
2579 |
*
|
2580 |
* @return array
|
2581 |
*
|
2582 |
-
* @since 2.3
|
2583 |
*/
|
2584 |
public function data_capabilities( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
2585 |
|
@@ -2683,7 +2715,7 @@ class PodsField_Pick extends PodsField {
|
|
2683 |
*
|
2684 |
* @return array
|
2685 |
*
|
2686 |
-
* @since 2.3
|
2687 |
*/
|
2688 |
public function data_image_sizes( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
2689 |
|
@@ -2710,7 +2742,7 @@ class PodsField_Pick extends PodsField {
|
|
2710 |
*
|
2711 |
* @return array
|
2712 |
*
|
2713 |
-
* @since 2.3
|
2714 |
*/
|
2715 |
public function data_countries( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
2716 |
|
@@ -2996,7 +3028,7 @@ class PodsField_Pick extends PodsField {
|
|
2996 |
*
|
2997 |
* @return array
|
2998 |
*
|
2999 |
-
* @since 2.3
|
3000 |
*/
|
3001 |
public function data_us_states( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
3002 |
|
@@ -3069,7 +3101,7 @@ class PodsField_Pick extends PodsField {
|
|
3069 |
*
|
3070 |
* @return array
|
3071 |
*
|
3072 |
-
* @since 2.3
|
3073 |
*/
|
3074 |
public function data_ca_provinces( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
3075 |
|
@@ -3104,7 +3136,7 @@ class PodsField_Pick extends PodsField {
|
|
3104 |
*
|
3105 |
* @return array
|
3106 |
*
|
3107 |
-
* @since 2.3
|
3108 |
*/
|
3109 |
public function data_days_of_week( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
3110 |
|
@@ -3128,7 +3160,7 @@ class PodsField_Pick extends PodsField {
|
|
3128 |
*
|
3129 |
* @return array
|
3130 |
*
|
3131 |
-
* @since 2.3
|
3132 |
*/
|
3133 |
public function data_months_of_year( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
3134 |
|
29 |
* Available Related Objects.
|
30 |
*
|
31 |
* @var array
|
32 |
+
* @since 2.3.0
|
33 |
*/
|
34 |
public static $related_objects = array();
|
35 |
|
37 |
* Custom Related Objects
|
38 |
*
|
39 |
* @var array
|
40 |
+
* @since 2.3.0
|
41 |
*/
|
42 |
public static $custom_related_objects = array();
|
43 |
|
45 |
* Data used during validate / save to avoid extra queries.
|
46 |
*
|
47 |
* @var array
|
48 |
+
* @since 2.3.0
|
49 |
*/
|
50 |
public static $related_data = array();
|
51 |
|
53 |
* Data used during input method (mainly for autocomplete).
|
54 |
*
|
55 |
* @var array
|
56 |
+
* @since 2.3.0
|
57 |
*/
|
58 |
public static $field_data = array();
|
59 |
|
61 |
* Saved array of simple relationship names.
|
62 |
*
|
63 |
* @var array
|
64 |
+
* @since 2.5.0
|
65 |
*/
|
66 |
private static $names_simple = null;
|
67 |
|
69 |
* Saved array of relationship names
|
70 |
*
|
71 |
* @var array
|
72 |
+
* @since 2.5.0
|
73 |
*/
|
74 |
private static $names_related = null;
|
75 |
|
77 |
* Saved array of bidirectional relationship names
|
78 |
*
|
79 |
* @var array
|
80 |
+
* @since 2.5.0
|
81 |
*/
|
82 |
private static $names_bidirectional = null;
|
83 |
|
329 |
* @param array $options Object options.
|
330 |
*
|
331 |
* @return array|boolean Object array or false if unsuccessful
|
332 |
+
* @since 2.3.0
|
333 |
*/
|
334 |
public function register_related_object( $name, $label, $options = null ) {
|
335 |
|
360 |
* @param boolean $force Whether to force refresh of related objects.
|
361 |
*
|
362 |
* @return bool True when data has been loaded
|
363 |
+
* @since 2.3.0
|
364 |
*/
|
365 |
public function setup_related_objects( $force = false ) {
|
366 |
|
604 |
* @param boolean $force Whether to force refresh of related objects.
|
605 |
*
|
606 |
* @return array Field selection array
|
607 |
+
* @since 2.3.0
|
608 |
*/
|
609 |
public function related_objects( $force = false ) {
|
610 |
|
630 |
* Return available simple object names
|
631 |
*
|
632 |
* @return array Simple object names
|
633 |
+
* @since 2.3.0
|
634 |
*/
|
635 |
public function simple_objects() {
|
636 |
|
780 |
|
781 |
$ajax = false;
|
782 |
|
783 |
+
if ( $this->can_ajax( $args->type, $options ) ) {
|
784 |
$ajax = true;
|
|
|
785 |
|
786 |
+
if ( ! empty( self::$field_data ) && self::$field_data['id'] === $options['id'] ) {
|
787 |
+
$ajax = (boolean) self::$field_data['autocomplete'];
|
788 |
+
}
|
789 |
}
|
790 |
|
791 |
$ajax = apply_filters( 'pods_form_ui_field_pick_ajax', $ajax, $args->name, $args->value, $options, $args->pod, $args->id );
|
851 |
*
|
852 |
* @param array|null $select2_overrides Override options for Select2/SelectWoo.
|
853 |
*
|
854 |
+
* @since 2.7.0
|
855 |
*/
|
856 |
$options['select2_overrides'] = apply_filters( 'pods_pick_select2_overrides', null );
|
857 |
|
931 |
* @param array $config
|
932 |
* @param array $args
|
933 |
*
|
934 |
+
* @since 2.7.0
|
935 |
*/
|
936 |
$show_on_front = apply_filters( 'pods_ui_dfv_pick_modals_show_on_front', false, $config, $args );
|
937 |
|
942 |
* @param array $config
|
943 |
* @param array $args
|
944 |
*
|
945 |
+
* @since 2.7.0
|
946 |
*/
|
947 |
$allow_nested_modals = apply_filters( 'pods_ui_dfv_pick_modals_allow_nested', false, $config, $args );
|
948 |
|
1032 |
* @param array $config
|
1033 |
* @param array $args
|
1034 |
*
|
1035 |
+
* @since 2.7.0
|
1036 |
*/
|
1037 |
$iframe = apply_filters( 'pods_ui_dfv_pick_modals_iframe', $iframe, $config, $args );
|
1038 |
|
1299 |
$selected = false;
|
1300 |
|
1301 |
if ( is_array( $args->value ) ) {
|
1302 |
+
// Cast values in array as string.
|
1303 |
+
$args->value = array_map( 'strval', $args->value );
|
1304 |
+
|
1305 |
+
if ( in_array( (string) $item_id, $args->value, true ) ) {
|
1306 |
$selected = true;
|
1307 |
}
|
1308 |
} elseif ( (string) $item_id === (string) $args->value ) {
|
1540 |
* @param array|null $options Field options.
|
1541 |
* @param array|null $pod Pod options.
|
1542 |
*
|
1543 |
+
* @since 2.3.0
|
1544 |
*/
|
1545 |
public function delete( $id = null, $name = null, $options = null, $pod = null ) {
|
1546 |
|
1768 |
*
|
1769 |
* @return string
|
1770 |
*
|
1771 |
+
* @since 2.2.0
|
1772 |
*/
|
1773 |
public function value_to_label( $name, $value = null, $options = null, $pod = null, $id = null ) {
|
1774 |
|
2371 |
* @param array $options Field options.
|
2372 |
*
|
2373 |
* @return bool
|
2374 |
+
*
|
2375 |
+
* @since 2.7.0
|
2376 |
*/
|
2377 |
+
private function is_autocomplete( $options ) {
|
2378 |
|
2379 |
$autocomplete = false;
|
2380 |
|
2391 |
return $autocomplete;
|
2392 |
}
|
2393 |
|
2394 |
+
/**
|
2395 |
+
* Check if a field type is a tableless text field type.
|
2396 |
+
*
|
2397 |
+
* @since 2.7.4
|
2398 |
+
*
|
2399 |
+
* @param string $type Field type.
|
2400 |
+
* @param array $options Field options.
|
2401 |
+
* @return bool True if the field type is a tableless text field type, false otherwise.
|
2402 |
+
*/
|
2403 |
+
private function is_simple_tableless( $type, array $options ) {
|
2404 |
+
$field_object = pods_v( $type . '_object', $options );
|
2405 |
+
|
2406 |
+
return in_array( $field_object, PodsForm::simple_tableless_objects(), true );
|
2407 |
+
}
|
2408 |
+
|
2409 |
+
/**
|
2410 |
+
* Check if a field supports AJAX mode
|
2411 |
+
*
|
2412 |
+
* @param string $type Field type.
|
2413 |
+
* @param array $options Field options.
|
2414 |
+
*
|
2415 |
+
* @return bool
|
2416 |
+
* @since 2.7.4
|
2417 |
+
*/
|
2418 |
+
private function can_ajax( $type, $options ) {
|
2419 |
+
return $this->is_autocomplete( $options ) && ! $this->is_simple_tableless( $type, $options );
|
2420 |
+
}
|
2421 |
+
|
2422 |
+
|
2423 |
/**
|
2424 |
* Handle autocomplete AJAX.
|
2425 |
*
|
2426 |
+
* @since 2.3.0
|
2427 |
*/
|
2428 |
public function admin_ajax_relationship() {
|
2429 |
|
2557 |
*
|
2558 |
* @return array
|
2559 |
*
|
2560 |
+
* @since 2.3.0
|
2561 |
*/
|
2562 |
public function data_post_stati( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
2563 |
|
2584 |
*
|
2585 |
* @return array
|
2586 |
*
|
2587 |
+
* @since 2.3.0
|
2588 |
*/
|
2589 |
public function data_roles( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
2590 |
|
2611 |
*
|
2612 |
* @return array
|
2613 |
*
|
2614 |
+
* @since 2.3.0
|
2615 |
*/
|
2616 |
public function data_capabilities( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
2617 |
|
2715 |
*
|
2716 |
* @return array
|
2717 |
*
|
2718 |
+
* @since 2.3.0
|
2719 |
*/
|
2720 |
public function data_image_sizes( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
2721 |
|
2742 |
*
|
2743 |
* @return array
|
2744 |
*
|
2745 |
+
* @since 2.3.0
|
2746 |
*/
|
2747 |
public function data_countries( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
2748 |
|
3028 |
*
|
3029 |
* @return array
|
3030 |
*
|
3031 |
+
* @since 2.3.0
|
3032 |
*/
|
3033 |
public function data_us_states( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
3034 |
|
3101 |
*
|
3102 |
* @return array
|
3103 |
*
|
3104 |
+
* @since 2.3.0
|
3105 |
*/
|
3106 |
public function data_ca_provinces( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
3107 |
|
3136 |
*
|
3137 |
* @return array
|
3138 |
*
|
3139 |
+
* @since 2.3.0
|
3140 |
*/
|
3141 |
public function data_days_of_week( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
3142 |
|
3160 |
*
|
3161 |
* @return array
|
3162 |
*
|
3163 |
+
* @since 2.3.0
|
3164 |
*/
|
3165 |
public function data_months_of_year( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
3166 |
|
classes/fields/time.php
CHANGED
@@ -30,7 +30,7 @@ class PodsField_Time extends PodsField_DateTime {
|
|
30 |
* Storage format.
|
31 |
*
|
32 |
* @var string
|
33 |
-
* @since 2.7
|
34 |
*/
|
35 |
public static $storage_format = 'H:i:s';
|
36 |
|
@@ -38,9 +38,9 @@ class PodsField_Time extends PodsField_DateTime {
|
|
38 |
* The default empty value (database)
|
39 |
*
|
40 |
* @var string
|
41 |
-
* @since 2.7
|
42 |
*/
|
43 |
-
public static $empty_value = '
|
44 |
|
45 |
/**
|
46 |
* {@inheritdoc}
|
@@ -160,6 +160,50 @@ class PodsField_Time extends PodsField_DateTime {
|
|
160 |
return $schema;
|
161 |
}
|
162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
/**
|
164 |
* {@inheritdoc}
|
165 |
*/
|
@@ -175,7 +219,7 @@ class PodsField_Time extends PodsField_DateTime {
|
|
175 |
* @param bool $js Return formatted from jQuery UI format? (only for custom formats).
|
176 |
*
|
177 |
* @return string
|
178 |
-
* @since
|
179 |
*/
|
180 |
public function format_time( $options, $js = false ) {
|
181 |
|
30 |
* Storage format.
|
31 |
*
|
32 |
* @var string
|
33 |
+
* @since 2.7.0
|
34 |
*/
|
35 |
public static $storage_format = 'H:i:s';
|
36 |
|
38 |
* The default empty value (database)
|
39 |
*
|
40 |
* @var string
|
41 |
+
* @since 2.7.0
|
42 |
*/
|
43 |
+
public static $empty_value = '';
|
44 |
|
45 |
/**
|
46 |
* {@inheritdoc}
|
160 |
return $schema;
|
161 |
}
|
162 |
|
163 |
+
/**
|
164 |
+
* Convert value to the correct format for display.
|
165 |
+
*
|
166 |
+
* @param string $value Field value.
|
167 |
+
* @param array $options Field options.
|
168 |
+
* @param bool $js Return formatted from jQuery UI format? (only for custom formats).
|
169 |
+
*
|
170 |
+
* @return string
|
171 |
+
* @since 2.7.0
|
172 |
+
*/
|
173 |
+
public function format_value_display( $value, $options, $js = false ) {
|
174 |
+
|
175 |
+
if ( 'custom' !== pods_v( static::$type . '_type', $options, 'format' ) ) {
|
176 |
+
$js = false;
|
177 |
+
}
|
178 |
+
$format = $this->format_datetime( $options, $js );
|
179 |
+
if ( $js ) {
|
180 |
+
$format = $this->convert_format( $format, array( 'source' => 'jquery_ui' ) );
|
181 |
+
}
|
182 |
+
|
183 |
+
if ( ! empty( $value ) ) {
|
184 |
+
// Try default storage format.
|
185 |
+
$date = $this->createFromFormat( static::$storage_format, (string) $value );
|
186 |
+
|
187 |
+
// Try field format.
|
188 |
+
$date_local = $this->createFromFormat( $format, (string) $value );
|
189 |
+
|
190 |
+
if ( $date instanceof DateTime ) {
|
191 |
+
$value = $date->format( $format );
|
192 |
+
} elseif ( $date_local instanceof DateTime ) {
|
193 |
+
$value = $date_local->format( $format );
|
194 |
+
} else {
|
195 |
+
$value = date_i18n( $format, strtotime( (string) $value ) );
|
196 |
+
}
|
197 |
+
} elseif ( 0 === (int) pods_v( static::$type . '_allow_empty', $options, 1 ) ) {
|
198 |
+
$value = date_i18n( $format );
|
199 |
+
} else {
|
200 |
+
$value = '';
|
201 |
+
}
|
202 |
+
|
203 |
+
return $value;
|
204 |
+
}
|
205 |
+
|
206 |
+
|
207 |
/**
|
208 |
* {@inheritdoc}
|
209 |
*/
|
219 |
* @param bool $js Return formatted from jQuery UI format? (only for custom formats).
|
220 |
*
|
221 |
* @return string
|
222 |
+
* @since 2.7.0
|
223 |
*/
|
224 |
public function format_time( $options, $js = false ) {
|
225 |
|
classes/fields/website.php
CHANGED
@@ -234,7 +234,7 @@ class PodsField_Website extends PodsField {
|
|
234 |
*
|
235 |
* @return string
|
236 |
*
|
237 |
-
* @since 2.7
|
238 |
*/
|
239 |
public function validate_url( $value, $options = null ) {
|
240 |
if ( empty( $value ) ) {
|
@@ -329,7 +329,7 @@ class PodsField_Website extends PodsField {
|
|
329 |
*
|
330 |
* @return string
|
331 |
*
|
332 |
-
* @since 2.7
|
333 |
*/
|
334 |
public function validate_target( $value ) {
|
335 |
if ( ! empty( $value ) && '_blank' === $value ) {
|
234 |
*
|
235 |
* @return string
|
236 |
*
|
237 |
+
* @since 2.7.0
|
238 |
*/
|
239 |
public function validate_url( $value, $options = null ) {
|
240 |
if ( empty( $value ) ) {
|
329 |
*
|
330 |
* @return string
|
331 |
*
|
332 |
+
* @since 2.7.0
|
333 |
*/
|
334 |
public function validate_target( $value ) {
|
335 |
if ( ! empty( $value ) && '_blank' === $value ) {
|
components/Advanced-Relationships.php
CHANGED
@@ -35,7 +35,7 @@ class Pods_Advanced_Relationships extends PodsComponent {
|
|
35 |
/**
|
36 |
* Add Advanced Related Objects
|
37 |
*
|
38 |
-
* @since 2.3
|
39 |
*/
|
40 |
public function add_related_objects() {
|
41 |
|
@@ -103,7 +103,7 @@ class Pods_Advanced_Relationships extends PodsComponent {
|
|
103 |
*
|
104 |
* @return array
|
105 |
*
|
106 |
-
* @since 2.3
|
107 |
*/
|
108 |
public function data_themes( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
109 |
|
@@ -129,7 +129,7 @@ class Pods_Advanced_Relationships extends PodsComponent {
|
|
129 |
*
|
130 |
* @return array
|
131 |
*
|
132 |
-
* @since 2.3
|
133 |
*/
|
134 |
public function data_page_templates( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
135 |
|
@@ -171,7 +171,7 @@ class Pods_Advanced_Relationships extends PodsComponent {
|
|
171 |
*
|
172 |
* @return array
|
173 |
*
|
174 |
-
* @since 2.3
|
175 |
*/
|
176 |
public function data_sidebars( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
177 |
|
@@ -199,7 +199,7 @@ class Pods_Advanced_Relationships extends PodsComponent {
|
|
199 |
*
|
200 |
* @return array
|
201 |
*
|
202 |
-
* @since 2.3
|
203 |
*/
|
204 |
public function data_post_types( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
205 |
|
@@ -231,7 +231,7 @@ class Pods_Advanced_Relationships extends PodsComponent {
|
|
231 |
*
|
232 |
* @return array
|
233 |
*
|
234 |
-
* @since 2.3
|
235 |
*/
|
236 |
public function data_taxonomies( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
237 |
|
35 |
/**
|
36 |
* Add Advanced Related Objects
|
37 |
*
|
38 |
+
* @since 2.3.0
|
39 |
*/
|
40 |
public function add_related_objects() {
|
41 |
|
103 |
*
|
104 |
* @return array
|
105 |
*
|
106 |
+
* @since 2.3.0
|
107 |
*/
|
108 |
public function data_themes( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
109 |
|
129 |
*
|
130 |
* @return array
|
131 |
*
|
132 |
+
* @since 2.3.0
|
133 |
*/
|
134 |
public function data_page_templates( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
135 |
|
171 |
*
|
172 |
* @return array
|
173 |
*
|
174 |
+
* @since 2.3.0
|
175 |
*/
|
176 |
public function data_sidebars( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
177 |
|
199 |
*
|
200 |
* @return array
|
201 |
*
|
202 |
+
* @since 2.3.0
|
203 |
*/
|
204 |
public function data_post_types( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
205 |
|
231 |
*
|
232 |
* @return array
|
233 |
*
|
234 |
+
* @since 2.3.0
|
235 |
*/
|
236 |
public function data_taxonomies( $name = null, $value = null, $options = null, $pod = null, $id = null ) {
|
237 |
|
components/Helpers.php
CHANGED
@@ -29,7 +29,7 @@ class Pods_Helpers extends PodsComponent {
|
|
29 |
*
|
30 |
* @var object
|
31 |
*
|
32 |
-
* @since 2.0
|
33 |
*/
|
34 |
static $obj = null;
|
35 |
|
@@ -38,7 +38,7 @@ class Pods_Helpers extends PodsComponent {
|
|
38 |
*
|
39 |
* @var string
|
40 |
*
|
41 |
-
* @since 2.0
|
42 |
*/
|
43 |
private $object_type = '_pods_helper';
|
44 |
|
@@ -124,7 +124,7 @@ class Pods_Helpers extends PodsComponent {
|
|
124 |
7 => sprintf( __( '%s saved.', 'pods' ), $labels->singular_name ),
|
125 |
8 => sprintf( __( '%1$s submitted. <a target="_blank" href="%2$s">Preview %3$s</a>', 'pods' ), $labels->singular_name, esc_url( add_query_arg( 'preview', 'true', get_permalink( $post_ID ) ) ), $labels->singular_name ),
|
126 |
9 => sprintf(
|
127 |
-
__( '%s scheduled for: <strong>%
|
128 |
// translators: Publish box date format, see http://php.net/date
|
129 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink( $post_ID ) ), $labels->singular_name
|
130 |
),
|
@@ -136,7 +136,7 @@ class Pods_Helpers extends PodsComponent {
|
|
136 |
$messages[ $post_type->name ][6] = sprintf( __( '%s published.', 'pods' ), $labels->singular_name );
|
137 |
$messages[ $post_type->name ][8] = sprintf( __( '%s submitted.', 'pods' ), $labels->singular_name );
|
138 |
$messages[ $post_type->name ][9] = sprintf(
|
139 |
-
__( '%s scheduled for: <strong>%
|
140 |
// translators: Publish box date format, see http://php.net/date
|
141 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) )
|
142 |
);
|
@@ -149,7 +149,7 @@ class Pods_Helpers extends PodsComponent {
|
|
149 |
/**
|
150 |
* Enqueue styles
|
151 |
*
|
152 |
-
* @since 2.0
|
153 |
*/
|
154 |
public function admin_assets() {
|
155 |
|
@@ -212,7 +212,7 @@ class Pods_Helpers extends PodsComponent {
|
|
212 |
/**
|
213 |
* Clear cache on save
|
214 |
*
|
215 |
-
* @since 2.0
|
216 |
*/
|
217 |
public function clear_cache( $data, $pod = null, $id = null, $groups = null, $post = null ) {
|
218 |
|
@@ -239,7 +239,7 @@ class Pods_Helpers extends PodsComponent {
|
|
239 |
/**
|
240 |
* Change post title placeholder text
|
241 |
*
|
242 |
-
* @since 2.0
|
243 |
*/
|
244 |
public function set_title_text( $text, $post ) {
|
245 |
|
@@ -249,7 +249,7 @@ class Pods_Helpers extends PodsComponent {
|
|
249 |
/**
|
250 |
* Edit page form
|
251 |
*
|
252 |
-
* @since 2.0
|
253 |
*/
|
254 |
public function edit_page_form() {
|
255 |
|
@@ -265,7 +265,7 @@ class Pods_Helpers extends PodsComponent {
|
|
265 |
/**
|
266 |
* Add meta boxes to the page
|
267 |
*
|
268 |
-
* @since 2.0
|
269 |
*/
|
270 |
public function add_meta_boxes() {
|
271 |
|
@@ -383,7 +383,7 @@ class Pods_Helpers extends PodsComponent {
|
|
383 |
* @param null $obj
|
384 |
*
|
385 |
* @return mixed Anything returned by the helper
|
386 |
-
* @since 2.0
|
387 |
*/
|
388 |
public static function helper( $params, $obj = null ) {
|
389 |
|
@@ -478,7 +478,7 @@ class Pods_Helpers extends PodsComponent {
|
|
478 |
* @param array $disallowed List of callbacks not allowed.
|
479 |
* @param array $params Parameters used by Pods::helper() method.
|
480 |
*
|
481 |
-
* @since 2.7
|
482 |
*/
|
483 |
$disallowed = apply_filters( 'pods_helper_disallowed_callbacks', $disallowed, get_object_vars( $params ) );
|
484 |
|
@@ -488,7 +488,7 @@ class Pods_Helpers extends PodsComponent {
|
|
488 |
* @param array $allowed List of callbacks explicitly allowed.
|
489 |
* @param array $params Parameters used by Pods::helper() method.
|
490 |
*
|
491 |
-
* @since 2.7
|
492 |
*/
|
493 |
$allowed = apply_filters( 'pods_helper_allowed_callbacks', $allowed, get_object_vars( $params ) );
|
494 |
|
29 |
*
|
30 |
* @var object
|
31 |
*
|
32 |
+
* @since 2.0.0
|
33 |
*/
|
34 |
static $obj = null;
|
35 |
|
38 |
*
|
39 |
* @var string
|
40 |
*
|
41 |
+
* @since 2.0.0
|
42 |
*/
|
43 |
private $object_type = '_pods_helper';
|
44 |
|
124 |
7 => sprintf( __( '%s saved.', 'pods' ), $labels->singular_name ),
|
125 |
8 => sprintf( __( '%1$s submitted. <a target="_blank" href="%2$s">Preview %3$s</a>', 'pods' ), $labels->singular_name, esc_url( add_query_arg( 'preview', 'true', get_permalink( $post_ID ) ) ), $labels->singular_name ),
|
126 |
9 => sprintf(
|
127 |
+
__( '%1$s scheduled for: <strong>%2$s</strong>. <a target="_blank" href="%3$s">Preview %4$s</a>', 'pods' ), $labels->singular_name,
|
128 |
// translators: Publish box date format, see http://php.net/date
|
129 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink( $post_ID ) ), $labels->singular_name
|
130 |
),
|
136 |
$messages[ $post_type->name ][6] = sprintf( __( '%s published.', 'pods' ), $labels->singular_name );
|
137 |
$messages[ $post_type->name ][8] = sprintf( __( '%s submitted.', 'pods' ), $labels->singular_name );
|
138 |
$messages[ $post_type->name ][9] = sprintf(
|
139 |
+
__( '%1$s scheduled for: <strong>%2$s</strong>.', 'pods' ), $labels->singular_name,
|
140 |
// translators: Publish box date format, see http://php.net/date
|
141 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) )
|
142 |
);
|
149 |
/**
|
150 |
* Enqueue styles
|
151 |
*
|
152 |
+
* @since 2.0.0
|
153 |
*/
|
154 |
public function admin_assets() {
|
155 |
|
212 |
/**
|
213 |
* Clear cache on save
|
214 |
*
|
215 |
+
* @since 2.0.0
|
216 |
*/
|
217 |
public function clear_cache( $data, $pod = null, $id = null, $groups = null, $post = null ) {
|
218 |
|
239 |
/**
|
240 |
* Change post title placeholder text
|
241 |
*
|
242 |
+
* @since 2.0.0
|
243 |
*/
|
244 |
public function set_title_text( $text, $post ) {
|
245 |
|
249 |
/**
|
250 |
* Edit page form
|
251 |
*
|
252 |
+
* @since 2.0.0
|
253 |
*/
|
254 |
public function edit_page_form() {
|
255 |
|
265 |
/**
|
266 |
* Add meta boxes to the page
|
267 |
*
|
268 |
+
* @since 2.0.0
|
269 |
*/
|
270 |
public function add_meta_boxes() {
|
271 |
|
383 |
* @param null $obj
|
384 |
*
|
385 |
* @return mixed Anything returned by the helper
|
386 |
+
* @since 2.0.0
|
387 |
*/
|
388 |
public static function helper( $params, $obj = null ) {
|
389 |
|
478 |
* @param array $disallowed List of callbacks not allowed.
|
479 |
* @param array $params Parameters used by Pods::helper() method.
|
480 |
*
|
481 |
+
* @since 2.7.0
|
482 |
*/
|
483 |
$disallowed = apply_filters( 'pods_helper_disallowed_callbacks', $disallowed, get_object_vars( $params ) );
|
484 |
|
488 |
* @param array $allowed List of callbacks explicitly allowed.
|
489 |
* @param array $params Parameters used by Pods::helper() method.
|
490 |
*
|
491 |
+
* @since 2.7.0
|
492 |
*/
|
493 |
$allowed = apply_filters( 'pods_helper_allowed_callbacks', $allowed, get_object_vars( $params ) );
|
494 |
|
components/I18n/I18n-polylang.php
CHANGED
@@ -5,8 +5,7 @@
|
|
5 |
*/
|
6 |
class Pods_I18n_Polylang {
|
7 |
|
8 |
-
public $languages
|
9 |
-
public $textdomain = 'polylang';
|
10 |
|
11 |
/**
|
12 |
* Pods_I18n_Polylang constructor.
|
@@ -54,7 +53,7 @@ class Pods_I18n_Polylang {
|
|
54 |
public function pods_component_i18n_admin_ui_fields( $fields, $data ) {
|
55 |
|
56 |
$fields['manage']['polylang'] = array(
|
57 |
-
'label' => __( 'Polylang',
|
58 |
'type' => 'boolean',
|
59 |
/*
|
60 |
'options' => array(
|
5 |
*/
|
6 |
class Pods_I18n_Polylang {
|
7 |
|
8 |
+
public $languages = array();
|
|
|
9 |
|
10 |
/**
|
11 |
* Pods_I18n_Polylang constructor.
|
53 |
public function pods_component_i18n_admin_ui_fields( $fields, $data ) {
|
54 |
|
55 |
$fields['manage']['polylang'] = array(
|
56 |
+
'label' => __( 'Polylang', 'pods' ),
|
57 |
'type' => 'boolean',
|
58 |
/*
|
59 |
'options' => array(
|
components/I18n/I18n-wpml.php
CHANGED
@@ -5,8 +5,7 @@
|
|
5 |
*/
|
6 |
class Pods_I18n_WPML {
|
7 |
|
8 |
-
public $languages
|
9 |
-
public $textdomain = 'sitepress-multilingual-cms';
|
10 |
|
11 |
/**
|
12 |
* Pods_I18n_WPML constructor.
|
@@ -60,7 +59,7 @@ class Pods_I18n_WPML {
|
|
60 |
public function pods_component_i18n_admin_ui_fields( $fields, $data ) {
|
61 |
|
62 |
$fields['manage']['wpml'] = array(
|
63 |
-
'label' => __( 'WPML',
|
64 |
'type' => 'boolean',
|
65 |
/*
|
66 |
'options' => array(
|
5 |
*/
|
6 |
class Pods_I18n_WPML {
|
7 |
|
8 |
+
public $languages = array();
|
|
|
9 |
|
10 |
/**
|
11 |
* Pods_I18n_WPML constructor.
|
59 |
public function pods_component_i18n_admin_ui_fields( $fields, $data ) {
|
60 |
|
61 |
$fields['manage']['wpml'] = array(
|
62 |
+
'label' => __( 'WPML', 'pods' ),
|
63 |
'type' => 'boolean',
|
64 |
/*
|
65 |
'options' => array(
|
components/I18n/I18n.php
CHANGED
@@ -161,7 +161,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
161 |
/**
|
162 |
* Load assets for this component
|
163 |
*
|
164 |
-
* @since 0.1
|
165 |
*/
|
166 |
public function admin_assets() {
|
167 |
|
@@ -210,7 +210,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
210 |
/**
|
211 |
* Check is a field name is set for translation
|
212 |
*
|
213 |
-
* @since 0.1
|
214 |
*
|
215 |
* @param string $name
|
216 |
*
|
@@ -246,7 +246,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
246 |
/**
|
247 |
* Get a translated option for a field key (if available)
|
248 |
*
|
249 |
-
* @since
|
250 |
*
|
251 |
* @param string $current Current value
|
252 |
* @param string $key The key / opion name to search for
|
@@ -275,7 +275,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
275 |
/**
|
276 |
* Page title for setting pages
|
277 |
*
|
278 |
-
* @since
|
279 |
* @see PodsAdmin.php >> admin_menu()
|
280 |
* @see PodsAdmin.php >> admin_content_settings()
|
281 |
*
|
@@ -292,7 +292,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
292 |
/**
|
293 |
* Menu title for setting pages
|
294 |
*
|
295 |
-
* @since
|
296 |
* @see PodsAdmin.php >> admin_menu()
|
297 |
*
|
298 |
* @param string $menu_label Current menu label
|
@@ -308,7 +308,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
308 |
/**
|
309 |
* Returns the translated label if available
|
310 |
*
|
311 |
-
* @since
|
312 |
* @see PodsForm.php >> 'pods_form_ui_label_text' (filter)
|
313 |
*
|
314 |
* @param string $label The default label
|
@@ -326,7 +326,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
326 |
/**
|
327 |
* Returns the translated description if available
|
328 |
*
|
329 |
-
* @since
|
330 |
* @see PodsForm.php >> 'pods_form_ui_comment_text' (filter)
|
331 |
*
|
332 |
* @param string $message The default description
|
@@ -343,7 +343,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
343 |
/**
|
344 |
* Replaces the default selected text with a translation if available
|
345 |
*
|
346 |
-
* @since
|
347 |
* @see pick.php >> 'pods_field_pick_data' (filter)
|
348 |
*
|
349 |
* @param array $data The default data of the field
|
@@ -370,7 +370,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
370 |
/**
|
371 |
* Replaces the default values with a translation if available
|
372 |
*
|
373 |
-
* @since
|
374 |
* @see PodsForm.php >> 'pods_form_ui_field_' . $type . '_options' (filter)
|
375 |
*
|
376 |
* @param array $options The field options
|
@@ -396,7 +396,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
396 |
/**
|
397 |
* Filter hook function to overwrite the labels and description with translations (if available)
|
398 |
*
|
399 |
-
* @since
|
400 |
* @see PodsInit.php >> setup_content_types()
|
401 |
*
|
402 |
* @param array $options The array of object options
|
@@ -479,7 +479,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
479 |
/**
|
480 |
* Filter hook function to overwrite the labels and description with translations (if available)
|
481 |
*
|
482 |
-
* @since
|
483 |
* @see PodsInit.php >> admin_menu()
|
484 |
*
|
485 |
* @param array $options The array of object options
|
@@ -516,7 +516,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
516 |
/**
|
517 |
* Save component settings
|
518 |
*
|
519 |
-
* @since 0.1
|
520 |
*/
|
521 |
public function admin_save() {
|
522 |
|
@@ -562,7 +562,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
562 |
/**
|
563 |
* Build admin area
|
564 |
*
|
565 |
-
* @since
|
566 |
*
|
567 |
* @param $options
|
568 |
* @param $component
|
@@ -650,7 +650,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
650 |
/**
|
651 |
* Filter the language data
|
652 |
*
|
653 |
-
* @since 0.1
|
654 |
*
|
655 |
* @param array
|
656 |
*/
|
@@ -659,7 +659,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
659 |
/**
|
660 |
* Filter the UI fields
|
661 |
*
|
662 |
-
* @since 0.1
|
663 |
*
|
664 |
* @param array
|
665 |
*/
|
@@ -696,7 +696,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
696 |
*
|
697 |
* @todo Remove if not used in final version
|
698 |
*
|
699 |
-
* @since
|
700 |
*
|
701 |
* @param array $tabs
|
702 |
* @param array $pod
|
@@ -716,7 +716,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
716 |
*
|
717 |
* @todo Remove if not used in final version
|
718 |
*
|
719 |
-
* @since
|
720 |
*
|
721 |
* @param array $options
|
722 |
* @param array $pod
|
@@ -750,7 +750,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
750 |
/**
|
751 |
* Add the i18n metabox.
|
752 |
*
|
753 |
-
* @since 0.1
|
754 |
*/
|
755 |
public function admin_meta_box() {
|
756 |
|
@@ -775,7 +775,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
775 |
*
|
776 |
* @todo Store enabled languages serialized instead of separate inputs
|
777 |
*
|
778 |
-
* @since
|
779 |
*/
|
780 |
public function meta_box() {
|
781 |
|
@@ -821,7 +821,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
821 |
/**
|
822 |
* Adds translation inputs to fields
|
823 |
*
|
824 |
-
* @since
|
825 |
* @see PodsForm.php >> 'pods_form_ui_field_' . $type (filter)
|
826 |
*
|
827 |
* @param string $output The default output of the field
|
@@ -895,7 +895,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
895 |
/**
|
896 |
* Check if a language is get to enabled for an object
|
897 |
*
|
898 |
-
* @since
|
899 |
*
|
900 |
* @param string $locale The locale to validate
|
901 |
* @param array $data Object data
|
@@ -921,7 +921,7 @@ class Pods_Component_I18n extends PodsComponent {
|
|
921 |
/**
|
922 |
* Create a label with the english and native name combined
|
923 |
*
|
924 |
-
* @since
|
925 |
*
|
926 |
* @param array $lang_data
|
927 |
*
|
161 |
/**
|
162 |
* Load assets for this component
|
163 |
*
|
164 |
+
* @since 0.1.0
|
165 |
*/
|
166 |
public function admin_assets() {
|
167 |
|
210 |
/**
|
211 |
* Check is a field name is set for translation
|
212 |
*
|
213 |
+
* @since 0.1.0
|
214 |
*
|
215 |
* @param string $name
|
216 |
*
|
246 |
/**
|
247 |
* Get a translated option for a field key (if available)
|
248 |
*
|
249 |
+
* @since 0.1.0
|
250 |
*
|
251 |
* @param string $current Current value
|
252 |
* @param string $key The key / opion name to search for
|
275 |
/**
|
276 |
* Page title for setting pages
|
277 |
*
|
278 |
+
* @since 0.1.0
|
279 |
* @see PodsAdmin.php >> admin_menu()
|
280 |
* @see PodsAdmin.php >> admin_content_settings()
|
281 |
*
|
292 |
/**
|
293 |
* Menu title for setting pages
|
294 |
*
|
295 |
+
* @since 0.1.0
|
296 |
* @see PodsAdmin.php >> admin_menu()
|
297 |
*
|
298 |
* @param string $menu_label Current menu label
|
308 |
/**
|
309 |
* Returns the translated label if available
|
310 |
*
|
311 |
+
* @since 0.1.0
|
312 |
* @see PodsForm.php >> 'pods_form_ui_label_text' (filter)
|
313 |
*
|
314 |
* @param string $label The default label
|
326 |
/**
|
327 |
* Returns the translated description if available
|
328 |
*
|
329 |
+
* @since 0.1.0
|
330 |
* @see PodsForm.php >> 'pods_form_ui_comment_text' (filter)
|
331 |
*
|
332 |
* @param string $message The default description
|
343 |
/**
|
344 |
* Replaces the default selected text with a translation if available
|
345 |
*
|
346 |
+
* @since 0.1.0
|
347 |
* @see pick.php >> 'pods_field_pick_data' (filter)
|
348 |
*
|
349 |
* @param array $data The default data of the field
|
370 |
/**
|
371 |
* Replaces the default values with a translation if available
|
372 |
*
|
373 |
+
* @since 0.1.0
|
374 |
* @see PodsForm.php >> 'pods_form_ui_field_' . $type . '_options' (filter)
|
375 |
*
|
376 |
* @param array $options The field options
|
396 |
/**
|
397 |
* Filter hook function to overwrite the labels and description with translations (if available)
|
398 |
*
|
399 |
+
* @since 0.1.0
|
400 |
* @see PodsInit.php >> setup_content_types()
|
401 |
*
|
402 |
* @param array $options The array of object options
|
479 |
/**
|
480 |
* Filter hook function to overwrite the labels and description with translations (if available)
|
481 |
*
|
482 |
+
* @since 0.1.0
|
483 |
* @see PodsInit.php >> admin_menu()
|
484 |
*
|
485 |
* @param array $options The array of object options
|
516 |
/**
|
517 |
* Save component settings
|
518 |
*
|
519 |
+
* @since 0.1.0
|
520 |
*/
|
521 |
public function admin_save() {
|
522 |
|
562 |
/**
|
563 |
* Build admin area
|
564 |
*
|
565 |
+
* @since 0.1.0
|
566 |
*
|
567 |
* @param $options
|
568 |
* @param $component
|
650 |
/**
|
651 |
* Filter the language data
|
652 |
*
|
653 |
+
* @since 0.1.0
|
654 |
*
|
655 |
* @param array
|
656 |
*/
|
659 |
/**
|
660 |
* Filter the UI fields
|
661 |
*
|
662 |
+
* @since 0.1.0
|
663 |
*
|
664 |
* @param array
|
665 |
*/
|
696 |
*
|
697 |
* @todo Remove if not used in final version
|
698 |
*
|
699 |
+
* @since 0.1.0
|
700 |
*
|
701 |
* @param array $tabs
|
702 |
* @param array $pod
|
716 |
*
|
717 |
* @todo Remove if not used in final version
|
718 |
*
|
719 |
+
* @since 0.1.0
|
720 |
*
|
721 |
* @param array $options
|
722 |
* @param array $pod
|
750 |
/**
|
751 |
* Add the i18n metabox.
|
752 |
*
|
753 |
+
* @since 0.1.0
|
754 |
*/
|
755 |
public function admin_meta_box() {
|
756 |
|
775 |
*
|
776 |
* @todo Store enabled languages serialized instead of separate inputs
|
777 |
*
|
778 |
+
* @since 0.1.0
|
779 |
*/
|
780 |
public function meta_box() {
|
781 |
|
821 |
/**
|
822 |
* Adds translation inputs to fields
|
823 |
*
|
824 |
+
* @since 0.1.0
|
825 |
* @see PodsForm.php >> 'pods_form_ui_field_' . $type (filter)
|
826 |
*
|
827 |
* @param string $output The default output of the field
|
895 |
/**
|
896 |
* Check if a language is get to enabled for an object
|
897 |
*
|
898 |
+
* @since 0.1.0
|
899 |
*
|
900 |
* @param string $locale The locale to validate
|
901 |
* @param array $data Object data
|
921 |
/**
|
922 |
* Create a label with the english and native name combined
|
923 |
*
|
924 |
+
* @since 0.1.0
|
925 |
*
|
926 |
* @param array $lang_data
|
927 |
*
|
components/Migrate-CPTUI/Migrate-CPTUI.php
CHANGED
@@ -72,7 +72,7 @@ class Pods_Migrate_CPTUI extends PodsComponent {
|
|
72 |
/**
|
73 |
* Enqueue styles
|
74 |
*
|
75 |
-
* @since 2.0
|
76 |
*/
|
77 |
public function admin_assets() {
|
78 |
|
@@ -175,7 +175,7 @@ class Pods_Migrate_CPTUI extends PodsComponent {
|
|
175 |
/**
|
176 |
*
|
177 |
*
|
178 |
-
* @since 2.0
|
179 |
*
|
180 |
* @param $post_type
|
181 |
*
|
@@ -272,7 +272,7 @@ class Pods_Migrate_CPTUI extends PodsComponent {
|
|
272 |
/**
|
273 |
*
|
274 |
*
|
275 |
-
* @since 2.0
|
276 |
*
|
277 |
* @param $taxonomy
|
278 |
*
|
@@ -346,7 +346,7 @@ class Pods_Migrate_CPTUI extends PodsComponent {
|
|
346 |
|
347 |
/**
|
348 |
*
|
349 |
-
* @since 2.0
|
350 |
*/
|
351 |
public function clean() {
|
352 |
|
72 |
/**
|
73 |
* Enqueue styles
|
74 |
*
|
75 |
+
* @since 2.0.0
|
76 |
*/
|
77 |
public function admin_assets() {
|
78 |
|
175 |
/**
|
176 |
*
|
177 |
*
|
178 |
+
* @since 2.0.0
|
179 |
*
|
180 |
* @param $post_type
|
181 |
*
|
272 |
/**
|
273 |
*
|
274 |
*
|
275 |
+
* @since 2.0.0
|
276 |
*
|
277 |
* @param $taxonomy
|
278 |
*
|
346 |
|
347 |
/**
|
348 |
*
|
349 |
+
* @since 2.0.0
|
350 |
*/
|
351 |
public function clean() {
|
352 |
|
components/Migrate-Packages/Migrate-Packages.php
CHANGED
@@ -29,7 +29,7 @@ class Pods_Migrate_Packages extends PodsComponent {
|
|
29 |
/**
|
30 |
* Enqueue styles
|
31 |
*
|
32 |
-
* @since 2.0
|
33 |
*/
|
34 |
public function admin_assets() {
|
35 |
|
@@ -42,7 +42,7 @@ class Pods_Migrate_Packages extends PodsComponent {
|
|
42 |
* @param array $options Component options.
|
43 |
* @param string $component Component name.
|
44 |
*
|
45 |
-
* @since 2.0
|
46 |
*/
|
47 |
public function admin( $options, $component ) {
|
48 |
|
29 |
/**
|
30 |
* Enqueue styles
|
31 |
*
|
32 |
+
* @since 2.0.0
|
33 |
*/
|
34 |
public function admin_assets() {
|
35 |
|
42 |
* @param array $options Component options.
|
43 |
* @param string $component Component name.
|
44 |
*
|
45 |
+
* @since 2.0.0
|
46 |
*/
|
47 |
public function admin( $options, $component ) {
|
48 |
|
components/Pages.php
CHANGED
@@ -30,7 +30,7 @@ class Pods_Pages extends PodsComponent {
|
|
30 |
*
|
31 |
* @var array
|
32 |
*
|
33 |
-
* @since 2.0
|
34 |
*/
|
35 |
public static $exists = null;
|
36 |
|
@@ -39,7 +39,7 @@ class Pods_Pages extends PodsComponent {
|
|
39 |
*
|
40 |
* @var string
|
41 |
*
|
42 |
-
* @since 2.0
|
43 |
*/
|
44 |
private $object_type = '_pods_page';
|
45 |
|
@@ -48,7 +48,7 @@ class Pods_Pages extends PodsComponent {
|
|
48 |
*
|
49 |
* @var bool
|
50 |
*
|
51 |
-
* @since 2.1
|
52 |
*/
|
53 |
public static $checked = false;
|
54 |
|
@@ -57,7 +57,7 @@ class Pods_Pages extends PodsComponent {
|
|
57 |
*
|
58 |
* @var bool
|
59 |
*
|
60 |
-
* @since 2.3
|
61 |
*/
|
62 |
public static $content_called = false;
|
63 |
|
@@ -212,7 +212,7 @@ class Pods_Pages extends PodsComponent {
|
|
212 |
7 => sprintf( __( '%s saved.', 'pods' ), $labels->singular_name ),
|
213 |
8 => sprintf( __( '%1$s submitted. <a target="_blank" href="%2$s">Preview %3$s</a>', 'pods' ), $labels->singular_name, esc_url( add_query_arg( 'preview', 'true', get_permalink( $post_ID ) ) ), $labels->singular_name ),
|
214 |
9 => sprintf(
|
215 |
-
__( '%s scheduled for: <strong>%
|
216 |
// translators: Publish box date format, see http://php.net/date
|
217 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink( $post_ID ) ), $labels->singular_name
|
218 |
),
|
@@ -224,7 +224,7 @@ class Pods_Pages extends PodsComponent {
|
|
224 |
$messages[ $post_type->name ][6] = sprintf( __( '%s published.', 'pods' ), $labels->singular_name );
|
225 |
$messages[ $post_type->name ][8] = sprintf( __( '%s submitted.', 'pods' ), $labels->singular_name );
|
226 |
$messages[ $post_type->name ][9] = sprintf(
|
227 |
-
__( '%s scheduled for: <strong>%
|
228 |
// translators: Publish box date format, see http://php.net/date
|
229 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) )
|
230 |
);
|
@@ -237,7 +237,7 @@ class Pods_Pages extends PodsComponent {
|
|
237 |
/**
|
238 |
* Enqueue styles
|
239 |
*
|
240 |
-
* @since 2.0
|
241 |
*/
|
242 |
public function admin_assets() {
|
243 |
|
@@ -315,7 +315,7 @@ class Pods_Pages extends PodsComponent {
|
|
315 |
/**
|
316 |
* Clear cache on save
|
317 |
*
|
318 |
-
* @since 2.0
|
319 |
*
|
320 |
* @param $data
|
321 |
* @param null $pod
|
@@ -356,7 +356,7 @@ class Pods_Pages extends PodsComponent {
|
|
356 |
/**
|
357 |
* Change post title placeholder text
|
358 |
*
|
359 |
-
* @since 2.0
|
360 |
*
|
361 |
* @param $text
|
362 |
* @param $post
|
@@ -371,7 +371,7 @@ class Pods_Pages extends PodsComponent {
|
|
371 |
/**
|
372 |
* Edit page form
|
373 |
*
|
374 |
-
* @since 2.0
|
375 |
*/
|
376 |
public function edit_page_form() {
|
377 |
|
@@ -410,7 +410,7 @@ class Pods_Pages extends PodsComponent {
|
|
410 |
/**
|
411 |
* Add meta boxes to the page
|
412 |
*
|
413 |
-
* @since 2.0
|
414 |
*/
|
415 |
public function add_meta_boxes() {
|
416 |
|
30 |
*
|
31 |
* @var array
|
32 |
*
|
33 |
+
* @since 2.0.0
|
34 |
*/
|
35 |
public static $exists = null;
|
36 |
|
39 |
*
|
40 |
* @var string
|
41 |
*
|
42 |
+
* @since 2.0.0
|
43 |
*/
|
44 |
private $object_type = '_pods_page';
|
45 |
|
48 |
*
|
49 |
* @var bool
|
50 |
*
|
51 |
+
* @since 2.1.0
|
52 |
*/
|
53 |
public static $checked = false;
|
54 |
|
57 |
*
|
58 |
* @var bool
|
59 |
*
|
60 |
+
* @since 2.3.0
|
61 |
*/
|
62 |
public static $content_called = false;
|
63 |
|
212 |
7 => sprintf( __( '%s saved.', 'pods' ), $labels->singular_name ),
|
213 |
8 => sprintf( __( '%1$s submitted. <a target="_blank" href="%2$s">Preview %3$s</a>', 'pods' ), $labels->singular_name, esc_url( add_query_arg( 'preview', 'true', get_permalink( $post_ID ) ) ), $labels->singular_name ),
|
214 |
9 => sprintf(
|
215 |
+
__( '%1$s scheduled for: <strong>%2$s</strong>. <a target="_blank" href="%3$s">Preview %4$s</a>', 'pods' ), $labels->singular_name,
|
216 |
// translators: Publish box date format, see http://php.net/date
|
217 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink( $post_ID ) ), $labels->singular_name
|
218 |
),
|
224 |
$messages[ $post_type->name ][6] = sprintf( __( '%s published.', 'pods' ), $labels->singular_name );
|
225 |
$messages[ $post_type->name ][8] = sprintf( __( '%s submitted.', 'pods' ), $labels->singular_name );
|
226 |
$messages[ $post_type->name ][9] = sprintf(
|
227 |
+
__( '%1$s scheduled for: <strong>%2$s</strong>.', 'pods' ), $labels->singular_name,
|
228 |
// translators: Publish box date format, see http://php.net/date
|
229 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) )
|
230 |
);
|
237 |
/**
|
238 |
* Enqueue styles
|
239 |
*
|
240 |
+
* @since 2.0.0
|
241 |
*/
|
242 |
public function admin_assets() {
|
243 |
|
315 |
/**
|
316 |
* Clear cache on save
|
317 |
*
|
318 |
+
* @since 2.0.0
|
319 |
*
|
320 |
* @param $data
|
321 |
* @param null $pod
|
356 |
/**
|
357 |
* Change post title placeholder text
|
358 |
*
|
359 |
+
* @since 2.0.0
|
360 |
*
|
361 |
* @param $text
|
362 |
* @param $post
|
371 |
/**
|
372 |
* Edit page form
|
373 |
*
|
374 |
+
* @since 2.0.0
|
375 |
*/
|
376 |
public function edit_page_form() {
|
377 |
|
410 |
/**
|
411 |
* Add meta boxes to the page
|
412 |
*
|
413 |
+
* @since 2.0.0
|
414 |
*/
|
415 |
public function add_meta_boxes() {
|
416 |
|
components/Roles/Roles.php
CHANGED
@@ -37,7 +37,7 @@ class Pods_Roles extends PodsComponent {
|
|
37 |
/**
|
38 |
* Enqueue styles
|
39 |
*
|
40 |
-
* @since 2.0
|
41 |
*/
|
42 |
public function admin_assets() {
|
43 |
|
@@ -51,7 +51,7 @@ class Pods_Roles extends PodsComponent {
|
|
51 |
* @param $component
|
52 |
*
|
53 |
* @return void
|
54 |
-
* @since 2.0
|
55 |
*/
|
56 |
public function admin( $options, $component ) {
|
57 |
|
37 |
/**
|
38 |
* Enqueue styles
|
39 |
*
|
40 |
+
* @since 2.0.0
|
41 |
*/
|
42 |
public function admin_assets() {
|
43 |
|
51 |
* @param $component
|
52 |
*
|
53 |
* @return void
|
54 |
+
* @since 2.0.0
|
55 |
*/
|
56 |
public function admin( $options, $component ) {
|
57 |
|
components/Templates/Templates.php
CHANGED
@@ -39,7 +39,7 @@ class Pods_Templates extends PodsComponent {
|
|
39 |
*
|
40 |
* @var object
|
41 |
*
|
42 |
-
* @since 2.0
|
43 |
*/
|
44 |
public static $obj = null;
|
45 |
|
@@ -48,7 +48,7 @@ class Pods_Templates extends PodsComponent {
|
|
48 |
*
|
49 |
* @var bool
|
50 |
*
|
51 |
-
* @since 2.0
|
52 |
*/
|
53 |
public static $deprecated = false;
|
54 |
|
@@ -57,7 +57,7 @@ class Pods_Templates extends PodsComponent {
|
|
57 |
*
|
58 |
* @var string
|
59 |
*
|
60 |
-
* @since 2.0
|
61 |
*/
|
62 |
private $object_type = '_pods_template';
|
63 |
|
@@ -182,7 +182,7 @@ class Pods_Templates extends PodsComponent {
|
|
182 |
7 => sprintf( __( '%s saved.', 'pods' ), $labels->singular_name ),
|
183 |
8 => sprintf( __( '%1$s submitted. <a target="_blank" href="%2$s">Preview %3$s</a>', 'pods' ), $labels->singular_name, esc_url( add_query_arg( 'preview', 'true', get_permalink( $post_ID ) ) ), $labels->singular_name ),
|
184 |
9 => sprintf(
|
185 |
-
__( '%s scheduled for: <strong>%
|
186 |
// translators: Publish box date format, see http://php.net/date
|
187 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink( $post_ID ) ), $labels->singular_name
|
188 |
),
|
@@ -194,7 +194,7 @@ class Pods_Templates extends PodsComponent {
|
|
194 |
$messages[ $post_type->name ][6] = sprintf( __( '%s published.', 'pods' ), $labels->singular_name );
|
195 |
$messages[ $post_type->name ][8] = sprintf( __( '%s submitted.', 'pods' ), $labels->singular_name );
|
196 |
$messages[ $post_type->name ][9] = sprintf(
|
197 |
-
__( '%s scheduled for: <strong>%
|
198 |
// translators: Publish box date format, see http://php.net/date
|
199 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) )
|
200 |
);
|
@@ -207,7 +207,7 @@ class Pods_Templates extends PodsComponent {
|
|
207 |
/**
|
208 |
* Enqueue styles
|
209 |
*
|
210 |
-
* @since 2.0
|
211 |
*/
|
212 |
public function admin_assets() {
|
213 |
|
@@ -285,7 +285,7 @@ class Pods_Templates extends PodsComponent {
|
|
285 |
/**
|
286 |
* Clear cache on save
|
287 |
*
|
288 |
-
* @since 2.0
|
289 |
*
|
290 |
* @param $data
|
291 |
* @param null $pod
|
@@ -318,7 +318,7 @@ class Pods_Templates extends PodsComponent {
|
|
318 |
/**
|
319 |
* Change post title placeholder text
|
320 |
*
|
321 |
-
* @since 2.0
|
322 |
*
|
323 |
* @param $text
|
324 |
* @param $post
|
@@ -333,7 +333,7 @@ class Pods_Templates extends PodsComponent {
|
|
333 |
/**
|
334 |
* Edit page form
|
335 |
*
|
336 |
-
* @since 2.0
|
337 |
*/
|
338 |
public function edit_page_form() {
|
339 |
|
@@ -349,7 +349,7 @@ class Pods_Templates extends PodsComponent {
|
|
349 |
/**
|
350 |
* Add meta boxes to the page
|
351 |
*
|
352 |
-
* @since 2.0
|
353 |
*/
|
354 |
public function add_meta_boxes() {
|
355 |
|
@@ -475,7 +475,7 @@ class Pods_Templates extends PodsComponent {
|
|
475 |
* @param bool $deprecated Whether to use deprecated functionality based on old function usage
|
476 |
*
|
477 |
* @return mixed|string|void
|
478 |
-
* @since 2.0
|
479 |
*/
|
480 |
public static function template( $template_name, $code = null, $obj = null, $deprecated = false ) {
|
481 |
|
39 |
*
|
40 |
* @var object
|
41 |
*
|
42 |
+
* @since 2.0.0
|
43 |
*/
|
44 |
public static $obj = null;
|
45 |
|
48 |
*
|
49 |
* @var bool
|
50 |
*
|
51 |
+
* @since 2.0.0
|
52 |
*/
|
53 |
public static $deprecated = false;
|
54 |
|
57 |
*
|
58 |
* @var string
|
59 |
*
|
60 |
+
* @since 2.0.0
|
61 |
*/
|
62 |
private $object_type = '_pods_template';
|
63 |
|
182 |
7 => sprintf( __( '%s saved.', 'pods' ), $labels->singular_name ),
|
183 |
8 => sprintf( __( '%1$s submitted. <a target="_blank" href="%2$s">Preview %3$s</a>', 'pods' ), $labels->singular_name, esc_url( add_query_arg( 'preview', 'true', get_permalink( $post_ID ) ) ), $labels->singular_name ),
|
184 |
9 => sprintf(
|
185 |
+
__( '%1$s scheduled for: <strong>%2$s</strong>. <a target="_blank" href="%3$s">Preview %4$s</a>', 'pods' ), $labels->singular_name,
|
186 |
// translators: Publish box date format, see http://php.net/date
|
187 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink( $post_ID ) ), $labels->singular_name
|
188 |
),
|
194 |
$messages[ $post_type->name ][6] = sprintf( __( '%s published.', 'pods' ), $labels->singular_name );
|
195 |
$messages[ $post_type->name ][8] = sprintf( __( '%s submitted.', 'pods' ), $labels->singular_name );
|
196 |
$messages[ $post_type->name ][9] = sprintf(
|
197 |
+
__( '%1$s scheduled for: <strong>%2$s</strong>.', 'pods' ), $labels->singular_name,
|
198 |
// translators: Publish box date format, see http://php.net/date
|
199 |
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) )
|
200 |
);
|
207 |
/**
|
208 |
* Enqueue styles
|
209 |
*
|
210 |
+
* @since 2.0.0
|
211 |
*/
|
212 |
public function admin_assets() {
|
213 |
|
285 |
/**
|
286 |
* Clear cache on save
|
287 |
*
|
288 |
+
* @since 2.0.0
|
289 |
*
|
290 |
* @param $data
|
291 |
* @param null $pod
|
318 |
/**
|
319 |
* Change post title placeholder text
|
320 |
*
|
321 |
+
* @since 2.0.0
|
322 |
*
|
323 |
* @param $text
|
324 |
* @param $post
|
333 |
/**
|
334 |
* Edit page form
|
335 |
*
|
336 |
+
* @since 2.0.0
|
337 |
*/
|
338 |
public function edit_page_form() {
|
339 |
|
349 |
/**
|
350 |
* Add meta boxes to the page
|
351 |
*
|
352 |
+
* @since 2.0.0
|
353 |
*/
|
354 |
public function add_meta_boxes() {
|
355 |
|
475 |
* @param bool $deprecated Whether to use deprecated functionality based on old function usage
|
476 |
*
|
477 |
* @return mixed|string|void
|
478 |
+
* @since 2.0.0
|
479 |
*/
|
480 |
public static function template( $template_name, $code = null, $obj = null, $deprecated = false ) {
|
481 |
|
components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Settings.php
CHANGED
@@ -359,7 +359,7 @@ class Pods_Templates_Auto_Template_Settings {
|
|
359 |
if ( is_array( $archive_test ) ) {
|
360 |
foreach ( $archive_test as $label => $test ) {
|
361 |
if ( $test === 'fail' ) {
|
362 |
-
echo sprintf( '<div id="message" class="error"><p>%s</p></div>', sprintf( __( 'The Pods post type %1$s has an archive template set to be displayed using Pods auto template, but the Pod does not have an archive. You can enable post type archives in the "Advanced Options" tab.', '
|
363 |
}
|
364 |
}
|
365 |
}
|
359 |
if ( is_array( $archive_test ) ) {
|
360 |
foreach ( $archive_test as $label => $test ) {
|
361 |
if ( $test === 'fail' ) {
|
362 |
+
echo sprintf( '<div id="message" class="error"><p>%s</p></div>', sprintf( __( 'The Pods post type %1$s has an archive template set to be displayed using Pods auto template, but the Pod does not have an archive. You can enable post type archives in the "Advanced Options" tab.', 'pods' ), $label ) );
|
363 |
}
|
364 |
}
|
365 |
}
|
components/Templates/includes/element-view_template.php
CHANGED
@@ -1,11 +1,23 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Frontier Template code editor metabox
|
|
|
|
|
4 |
*/
|
5 |
-
|
6 |
-
<?php
|
7 |
-
if ( isset( $content ) ) {
|
8 |
-
echo esc_textarea( $content );
|
9 |
-
}
|
10 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
</textarea>
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Frontier Template code editor metabox
|
4 |
+
*
|
5 |
+
* @package Pods_templates
|
6 |
*/
|
7 |
+
|
|
|
|
|
|
|
|
|
8 |
?>
|
9 |
+
<div class="pods-compat-container">
|
10 |
+
<textarea id="content" name="content">
|
11 |
+
<?php
|
12 |
+
if ( isset( $content ) ) {
|
13 |
+
// WordPress will already call esc_textarea() if richedit is off, don't escape twice (see #3462)
|
14 |
+
if ( ! user_can_richedit() ) {
|
15 |
+
// phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
|
16 |
+
echo $content;
|
17 |
+
} else {
|
18 |
+
echo esc_textarea( $content );
|
19 |
+
}
|
20 |
+
}
|
21 |
+
?>
|
22 |
</textarea>
|
23 |
+
</div>
|
components/Templates/includes/functions-view_template.php
CHANGED
@@ -60,7 +60,7 @@ function frontier_do_shortcode( $content ) {
|
|
60 |
* @param array attributed provided from parent
|
61 |
*
|
62 |
* @return string
|
63 |
-
* @since 2.4
|
64 |
*/
|
65 |
function frontier_decode_template( $code, $atts ) {
|
66 |
|
@@ -87,7 +87,7 @@ function frontier_decode_template( $code, $atts ) {
|
|
87 |
* @param string $code encoded template to be decoded
|
88 |
*
|
89 |
* @return string
|
90 |
-
* @since 2.4
|
91 |
*/
|
92 |
function frontier_if_block( $atts, $code ) {
|
93 |
|
@@ -191,7 +191,7 @@ function frontier_if_block( $atts, $code ) {
|
|
191 |
* @param string shortcode slug used to process
|
192 |
*
|
193 |
* @return null
|
194 |
-
* @since 2.4
|
195 |
*/
|
196 |
function frontier_template_blocks( $atts, $code, $slug ) {
|
197 |
|
@@ -232,7 +232,7 @@ function frontier_template_blocks( $atts, $code, $slug ) {
|
|
232 |
* @param string encoded template to be decoded
|
233 |
*
|
234 |
* @return string template code
|
235 |
-
* @since 2.4
|
236 |
*/
|
237 |
function frontier_template_once_blocks( $atts, $code ) {
|
238 |
|
@@ -258,7 +258,7 @@ function frontier_template_once_blocks( $atts, $code ) {
|
|
258 |
* @param string template to be processed
|
259 |
*
|
260 |
* @return null
|
261 |
-
* @since 2.4
|
262 |
*/
|
263 |
function frontier_do_subtemplate( $atts, $content ) {
|
264 |
|
@@ -374,7 +374,7 @@ function frontier_do_subtemplate( $atts, $content ) {
|
|
374 |
* @param boolean $skip_unknown If true then values not in $data will not be touched
|
375 |
*
|
376 |
* @return string
|
377 |
-
* @since 2.7
|
378 |
*/
|
379 |
function frontier_pseudo_magic_tags( $template, $data, $pod = null, $skip_unknown = false ) {
|
380 |
|
@@ -457,7 +457,7 @@ function frontier_pseudo_magic_tags( $template, $data, $pod = null, $skip_unknow
|
|
457 |
* @param string template to be processed
|
458 |
*
|
459 |
* @return null
|
460 |
-
* @since 2.4
|
461 |
*/
|
462 |
function frontier_prefilter_template( $code, $template, $pod ) {
|
463 |
|
60 |
* @param array attributed provided from parent
|
61 |
*
|
62 |
* @return string
|
63 |
+
* @since 2.4.0
|
64 |
*/
|
65 |
function frontier_decode_template( $code, $atts ) {
|
66 |
|
87 |
* @param string $code encoded template to be decoded
|
88 |
*
|
89 |
* @return string
|
90 |
+
* @since 2.4.0
|
91 |
*/
|
92 |
function frontier_if_block( $atts, $code ) {
|
93 |
|
191 |
* @param string shortcode slug used to process
|
192 |
*
|
193 |
* @return null
|
194 |
+
* @since 2.4.0
|
195 |
*/
|
196 |
function frontier_template_blocks( $atts, $code, $slug ) {
|
197 |
|
232 |
* @param string encoded template to be decoded
|
233 |
*
|
234 |
* @return string template code
|
235 |
+
* @since 2.4.0
|
236 |
*/
|
237 |
function frontier_template_once_blocks( $atts, $code ) {
|
238 |
|
258 |
* @param string template to be processed
|
259 |
*
|
260 |
* @return null
|
261 |
+
* @since 2.4.0
|
262 |
*/
|
263 |
function frontier_do_subtemplate( $atts, $content ) {
|
264 |
|
374 |
* @param boolean $skip_unknown If true then values not in $data will not be touched
|
375 |
*
|
376 |
* @return string
|
377 |
+
* @since 2.7.0
|
378 |
*/
|
379 |
function frontier_pseudo_magic_tags( $template, $data, $pod = null, $skip_unknown = false ) {
|
380 |
|
457 |
* @param string template to be processed
|
458 |
*
|
459 |
* @return null
|
460 |
+
* @since 2.4.0
|
461 |
*/
|
462 |
function frontier_prefilter_template( $code, $template, $pod ) {
|
463 |
|
deprecated/classes/Pods.php
CHANGED
@@ -22,7 +22,7 @@ class Pods_Deprecated {
|
|
22 |
* @param object $obj The Pods object
|
23 |
*
|
24 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
25 |
-
* @since
|
26 |
*/
|
27 |
public function __construct( $obj ) {
|
28 |
|
@@ -60,7 +60,7 @@ class Pods_Deprecated {
|
|
60 |
/**
|
61 |
* Display HTML for all datatype fields
|
62 |
*
|
63 |
-
* @deprecated
|
64 |
*
|
65 |
* @param null $id
|
66 |
* @param null $public_fields
|
@@ -367,7 +367,7 @@ class Pods_Deprecated {
|
|
367 |
/**
|
368 |
* Build public input form
|
369 |
*
|
370 |
-
* @deprecated
|
371 |
*
|
372 |
* @param null $fields
|
373 |
* @param string $label
|
@@ -413,7 +413,7 @@ class Pods_Deprecated {
|
|
413 |
/**
|
414 |
* Build HTML for a single field
|
415 |
*
|
416 |
-
* @deprecated
|
417 |
*
|
418 |
* @param array $field Field data.
|
419 |
*/
|
@@ -430,7 +430,7 @@ class Pods_Deprecated {
|
|
430 |
* Fetch a row of results from the DB
|
431 |
*
|
432 |
* @since 1.2.0
|
433 |
-
* @deprecated
|
434 |
*/
|
435 |
public function fetchRecord() {
|
436 |
|
@@ -448,7 +448,7 @@ class Pods_Deprecated {
|
|
448 |
* @param string $orderby (optional) The orderby string, for PICK fields
|
449 |
*
|
450 |
* @since 1.2.0
|
451 |
-
* @deprecated
|
452 |
* @return array|mixed
|
453 |
*/
|
454 |
public function get_field( $name, $orderby = null ) {
|
@@ -482,7 +482,7 @@ class Pods_Deprecated {
|
|
482 |
*
|
483 |
* @return int The ID from the wp_pod table
|
484 |
* @since 1.2.0
|
485 |
-
* @deprecated
|
486 |
*/
|
487 |
public function get_pod_id() {
|
488 |
|
@@ -500,8 +500,8 @@ class Pods_Deprecated {
|
|
500 |
/**
|
501 |
* Search and filter records
|
502 |
*
|
503 |
-
* @since
|
504 |
-
* @deprecated
|
505 |
*
|
506 |
* @param null $orderby
|
507 |
* @param int $rows_per_page
|
@@ -586,8 +586,8 @@ class Pods_Deprecated {
|
|
586 |
/**
|
587 |
* Return a single record
|
588 |
*
|
589 |
-
* @since
|
590 |
-
* @deprecated
|
591 |
*
|
592 |
* @param int $id Item ID.
|
593 |
*
|
@@ -605,7 +605,7 @@ class Pods_Deprecated {
|
|
605 |
/**
|
606 |
* Fetch the total row count
|
607 |
*
|
608 |
-
* @deprecated
|
609 |
*/
|
610 |
public function getTotalRows() {
|
611 |
|
@@ -619,7 +619,7 @@ class Pods_Deprecated {
|
|
619 |
/**
|
620 |
* (Re)set the MySQL result pointer
|
621 |
*
|
622 |
-
* @deprecated
|
623 |
*
|
624 |
* @param int $row_number
|
625 |
*
|
@@ -637,7 +637,7 @@ class Pods_Deprecated {
|
|
637 |
/**
|
638 |
* Display the pagination controls
|
639 |
*
|
640 |
-
* @deprecated
|
641 |
*
|
642 |
* @param string $label
|
643 |
*/
|
@@ -658,7 +658,7 @@ class Pods_Deprecated {
|
|
658 |
/**
|
659 |
* Display the list filters
|
660 |
*
|
661 |
-
* @deprecated
|
662 |
*
|
663 |
* @param null $filters
|
664 |
* @param string $label
|
@@ -694,7 +694,7 @@ class Pods_Deprecated {
|
|
694 |
* @internal param string $helper The helper name
|
695 |
*
|
696 |
* @since 1.2.0
|
697 |
-
* @deprecated
|
698 |
*/
|
699 |
public function pod_helper( $helper_name, $value = null, $name = null ) {
|
700 |
|
@@ -715,7 +715,7 @@ class Pods_Deprecated {
|
|
715 |
/**
|
716 |
* Display the page template
|
717 |
*
|
718 |
-
* @deprecated
|
719 |
*
|
720 |
* @param string $template_name Template name.
|
721 |
* @param null|string $code Template code override.
|
22 |
* @param object $obj The Pods object
|
23 |
*
|
24 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
25 |
+
* @since 2.0.0
|
26 |
*/
|
27 |
public function __construct( $obj ) {
|
28 |
|
60 |
/**
|
61 |
* Display HTML for all datatype fields
|
62 |
*
|
63 |
+
* @deprecated 2.0.0
|
64 |
*
|
65 |
* @param null $id
|
66 |
* @param null $public_fields
|
367 |
/**
|
368 |
* Build public input form
|
369 |
*
|
370 |
+
* @deprecated 2.0.0
|
371 |
*
|
372 |
* @param null $fields
|
373 |
* @param string $label
|
413 |
/**
|
414 |
* Build HTML for a single field
|
415 |
*
|
416 |
+
* @deprecated 2.0.0
|
417 |
*
|
418 |
* @param array $field Field data.
|
419 |
*/
|
430 |
* Fetch a row of results from the DB
|
431 |
*
|
432 |
* @since 1.2.0
|
433 |
+
* @deprecated 2.0.0
|
434 |
*/
|
435 |
public function fetchRecord() {
|
436 |
|
448 |
* @param string $orderby (optional) The orderby string, for PICK fields
|
449 |
*
|
450 |
* @since 1.2.0
|
451 |
+
* @deprecated 2.0.0
|
452 |
* @return array|mixed
|
453 |
*/
|
454 |
public function get_field( $name, $orderby = null ) {
|
482 |
*
|
483 |
* @return int The ID from the wp_pod table
|
484 |
* @since 1.2.0
|
485 |
+
* @deprecated 2.0.0
|
486 |
*/
|
487 |
public function get_pod_id() {
|
488 |
|
500 |
/**
|
501 |
* Search and filter records
|
502 |
*
|
503 |
+
* @since 1.x.x
|
504 |
+
* @deprecated 2.0.0
|
505 |
*
|
506 |
* @param null $orderby
|
507 |
* @param int $rows_per_page
|
586 |
/**
|
587 |
* Return a single record
|
588 |
*
|
589 |
+
* @since 1.x.x
|
590 |
+
* @deprecated 2.0.0
|
591 |
*
|
592 |
* @param int $id Item ID.
|
593 |
*
|
605 |
/**
|
606 |
* Fetch the total row count
|
607 |
*
|
608 |
+
* @deprecated 2.0.0
|
609 |
*/
|
610 |
public function getTotalRows() {
|
611 |
|
619 |
/**
|
620 |
* (Re)set the MySQL result pointer
|
621 |
*
|
622 |
+
* @deprecated 2.0.0
|
623 |
*
|
624 |
* @param int $row_number
|
625 |
*
|
637 |
/**
|
638 |
* Display the pagination controls
|
639 |
*
|
640 |
+
* @deprecated 2.0.0
|
641 |
*
|
642 |
* @param string $label
|
643 |
*/
|
658 |
/**
|
659 |
* Display the list filters
|
660 |
*
|
661 |
+
* @deprecated 2.0.0
|
662 |
*
|
663 |
* @param null $filters
|
664 |
* @param string $label
|
694 |
* @internal param string $helper The helper name
|
695 |
*
|
696 |
* @since 1.2.0
|
697 |
+
* @deprecated 2.0.0
|
698 |
*/
|
699 |
public function pod_helper( $helper_name, $value = null, $name = null ) {
|
700 |
|
715 |
/**
|
716 |
* Display the page template
|
717 |
*
|
718 |
+
* @deprecated 2.0.0
|
719 |
*
|
720 |
* @param string $template_name Template name.
|
721 |
* @param null|string $code Template code override.
|
deprecated/classes/PodsAPI.php
CHANGED
@@ -24,7 +24,7 @@ class PodsAPI_Deprecated {
|
|
24 |
* @param object $obj The PodsAPI object
|
25 |
*
|
26 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
27 |
-
* @since
|
28 |
*/
|
29 |
public function __construct( $obj ) {
|
30 |
|
24 |
* @param object $obj The PodsAPI object
|
25 |
*
|
26 |
* @license http://www.gnu.org/licenses/gpl-2.0.html
|
27 |
+
* @since 2.0.0
|
28 |
*/
|
29 |
public function __construct( $obj ) {
|
30 |
|
deprecated/deprecated.php
CHANGED
@@ -59,7 +59,7 @@ if ( ! function_exists( 'wp_send_json' ) ) {
|
|
59 |
* @return string
|
60 |
* @since 1.9.6
|
61 |
*
|
62 |
-
* @deprecated 2.3
|
63 |
*/
|
64 |
if ( ! function_exists( 'get_current_url' ) ) {
|
65 |
/**
|
@@ -76,8 +76,8 @@ if ( ! function_exists( 'get_current_url' ) ) {
|
|
76 |
/**
|
77 |
* Mapping function to new function name (following normalization of function names from pod_ to pods_)
|
78 |
*
|
79 |
-
* @since
|
80 |
-
* @deprecated
|
81 |
*
|
82 |
* @param string $sql SQL query.
|
83 |
* @param string $error Error message on failure.
|
@@ -111,8 +111,8 @@ function pod_query( $sql, $error = 'SQL failed', $results_error = null, $no_resu
|
|
111 |
/**
|
112 |
* Include and Init the Pods class
|
113 |
*
|
114 |
-
* @since
|
115 |
-
* @deprecated
|
116 |
* @package Pods\Deprecated
|
117 |
*/
|
118 |
class Pod {
|
@@ -151,7 +151,7 @@ class Pod {
|
|
151 |
/**
|
152 |
* Handle variables that have been deprecated
|
153 |
*
|
154 |
-
* @since 2.0
|
155 |
*
|
156 |
* @param string $name Property name.
|
157 |
*
|
@@ -197,7 +197,7 @@ class Pod {
|
|
197 |
/**
|
198 |
* Handle variables that have been deprecated
|
199 |
*
|
200 |
-
* @since 2.0
|
201 |
*
|
202 |
* @param string $name Property name.
|
203 |
* @param mixed $value Property value to set.
|
@@ -216,7 +216,7 @@ class Pod {
|
|
216 |
/**
|
217 |
* Handle methods that have been deprecated
|
218 |
*
|
219 |
-
* @since 2.0
|
220 |
*
|
221 |
* @param string $name Call name.
|
222 |
* @param array $args Call arguments.
|
@@ -233,7 +233,7 @@ class Pod {
|
|
233 |
/**
|
234 |
* Handle variables that have been deprecated
|
235 |
*
|
236 |
-
* @since 2.0
|
237 |
*
|
238 |
* @param string $name Property name.
|
239 |
*
|
@@ -256,8 +256,8 @@ class Pod {
|
|
256 |
/**
|
257 |
* Include and Init the PodsAPI class
|
258 |
*
|
259 |
-
* @since
|
260 |
-
* @deprecated
|
261 |
* @package Pods\Deprecated
|
262 |
*/
|
263 |
class PodAPI {
|
@@ -284,7 +284,7 @@ class PodAPI {
|
|
284 |
/**
|
285 |
* Handle variables that have been deprecated
|
286 |
*
|
287 |
-
* @since 2.0
|
288 |
*
|
289 |
* @param string $name Property name.
|
290 |
*
|
@@ -302,7 +302,7 @@ class PodAPI {
|
|
302 |
/**
|
303 |
* Handle methods that have been deprecated
|
304 |
*
|
305 |
-
* @since 2.0
|
306 |
*
|
307 |
* @param string $name Call name.
|
308 |
* @param array $args Call arguments.
|
@@ -320,8 +320,8 @@ class PodAPI {
|
|
320 |
/**
|
321 |
* Include and Init the PodsUI class
|
322 |
*
|
323 |
-
* @since
|
324 |
-
* @deprecated
|
325 |
*
|
326 |
* @param Pods $obj Pods object.
|
327 |
*
|
@@ -337,8 +337,8 @@ function pods_ui_manage( $obj ) {
|
|
337 |
/**
|
338 |
* Limit Access based on Field Value
|
339 |
*
|
340 |
-
* @since
|
341 |
-
* @deprecated
|
342 |
*
|
343 |
* @param Pods $object Pods object.
|
344 |
* @param array $access Access array.
|
@@ -378,7 +378,7 @@ function pods_ui_access( $object, $access, $what ) {
|
|
378 |
*
|
379 |
* @return string The requested value, or null
|
380 |
* @since 1.6.2
|
381 |
-
* @deprecated
|
382 |
*/
|
383 |
function pods_url_variable( $key = 'last', $type = 'url' ) {
|
384 |
|
@@ -391,7 +391,7 @@ function pods_url_variable( $key = 'last', $type = 'url' ) {
|
|
391 |
* Generate form key - INTERNAL USE
|
392 |
*
|
393 |
* @since 1.2.0
|
394 |
-
* @deprecated
|
395 |
*
|
396 |
* @param string $datatype Pod name.
|
397 |
* @param string $uri_hash URI hash for session.
|
@@ -413,7 +413,7 @@ function pods_generate_key( $datatype, $uri_hash, $columns, $form_count = 1 ) {
|
|
413 |
* Validate form key - INTERNAL USE
|
414 |
*
|
415 |
* @since 1.2.0
|
416 |
-
* @deprecated
|
417 |
*
|
418 |
* @param string $token Nonce token.
|
419 |
* @param string $datatype Pod name.
|
59 |
* @return string
|
60 |
* @since 1.9.6
|
61 |
*
|
62 |
+
* @deprecated 2.3.0
|
63 |
*/
|
64 |
if ( ! function_exists( 'get_current_url' ) ) {
|
65 |
/**
|
76 |
/**
|
77 |
* Mapping function to new function name (following normalization of function names from pod_ to pods_)
|
78 |
*
|
79 |
+
* @since 1.x.x
|
80 |
+
* @deprecated 2.0.0
|
81 |
*
|
82 |
* @param string $sql SQL query.
|
83 |
* @param string $error Error message on failure.
|
111 |
/**
|
112 |
* Include and Init the Pods class
|
113 |
*
|
114 |
+
* @since 1.x.x
|
115 |
+
* @deprecated 2.0.0
|
116 |
* @package Pods\Deprecated
|
117 |
*/
|
118 |
class Pod {
|
151 |
/**
|
152 |
* Handle variables that have been deprecated
|
153 |
*
|
154 |
+
* @since 2.0.0
|
155 |
*
|
156 |
* @param string $name Property name.
|
157 |
*
|
197 |
/**
|
198 |
* Handle variables that have been deprecated
|
199 |
*
|
200 |
+
* @since 2.0.0
|
201 |
*
|
202 |
* @param string $name Property name.
|
203 |
* @param mixed $value Property value to set.
|
216 |
/**
|
217 |
* Handle methods that have been deprecated
|
218 |
*
|
219 |
+
* @since 2.0.0
|
220 |
*
|
221 |
* @param string $name Call name.
|
222 |
* @param array $args Call arguments.
|
233 |
/**
|
234 |
* Handle variables that have been deprecated
|
235 |
*
|
236 |
+
* @since 2.0.0
|
237 |
*
|
238 |
* @param string $name Property name.
|
239 |
*
|
256 |
/**
|
257 |
* Include and Init the PodsAPI class
|
258 |
*
|
259 |
+
* @since 1.x.x
|
260 |
+
* @deprecated 2.0.0
|
261 |
* @package Pods\Deprecated
|
262 |
*/
|
263 |
class PodAPI {
|
284 |
/**
|
285 |
* Handle variables that have been deprecated
|
286 |
*
|
287 |
+
* @since 2.0.0
|
288 |
*
|
289 |
* @param string $name Property name.
|
290 |
*
|
302 |
/**
|
303 |
* Handle methods that have been deprecated
|
304 |
*
|
305 |
+
* @since 2.0.0
|
306 |
*
|
307 |
* @param string $name Call name.
|
308 |
* @param array $args Call arguments.
|
320 |
/**
|
321 |
* Include and Init the PodsUI class
|
322 |
*
|
323 |
+
* @since 2.0.0
|
324 |
+
* @deprecated 2.0.0
|
325 |
*
|
326 |
* @param Pods $obj Pods object.
|
327 |
*
|
337 |
/**
|
338 |
* Limit Access based on Field Value
|
339 |
*
|
340 |
+
* @since 1.x.x
|
341 |
+
* @deprecated 2.0.0
|
342 |
*
|
343 |
* @param Pods $object Pods object.
|
344 |
* @param array $access Access array.
|
378 |
*
|
379 |
* @return string The requested value, or null
|
380 |
* @since 1.6.2
|
381 |
+
* @deprecated 2.0.0
|
382 |
*/
|
383 |
function pods_url_variable( $key = 'last', $type = 'url' ) {
|
384 |
|
391 |
* Generate form key - INTERNAL USE
|
392 |
*
|
393 |
* @since 1.2.0
|
394 |
+
* @deprecated 2.0.0
|
395 |
*
|
396 |
* @param string $datatype Pod name.
|
397 |
* @param string $uri_hash URI hash for session.
|
413 |
* Validate form key - INTERNAL USE
|
414 |
*
|
415 |
* @since 1.2.0
|
416 |
+
* @deprecated 2.0.0
|
417 |
*
|
418 |
* @param string $token Nonce token.
|
419 |
* @param string $datatype Pod name.
|
docs/issue_template.md
CHANGED
@@ -4,14 +4,14 @@
|
|
4 |
## Expected Behavior
|
5 |
<!-- If you're describing a bug, tell us what should happen -->
|
6 |
<!-- If you're suggesting a change/improvement, tell us how it should work -->
|
|
|
|
|
7 |
|
8 |
## Current Behavior
|
9 |
<!-- If describing a bug, tell us what happens instead of the expected behavior -->
|
10 |
<!-- If suggesting a change/improvement, explain the difference from current behavior -->
|
11 |
-
|
12 |
-
|
13 |
-
<!-- Not obligatory, but suggest a fix/reason for the bug, -->
|
14 |
-
<!-- or ideas how to implement the addition or change -->
|
15 |
|
16 |
## Steps to Reproduce (for bugs)
|
17 |
<!-- Provide a link to a live example, or an unambiguous set of steps to -->
|
@@ -21,6 +21,18 @@
|
|
21 |
3.
|
22 |
4.
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
## Pods Package Export (helpful!)
|
25 |
<!-- Please include the Pods Package Export as it will be helpful in reproducing your issues. -->
|
26 |
<!-- To access: Pods Admin, Components, Migrate: Packages, Enable. -->
|
@@ -30,16 +42,9 @@
|
|
30 |
Copy and Paste the JSON Export from **Pods Admin, Migrate: Packages, Export** in WordPress admin here
|
31 |
```
|
32 |
|
|
|
|
|
|
|
|
|
33 |
## Related Issues and/or PRs
|
34 |
<!-- List related issues or PRs against other branches: -->
|
35 |
-
|
36 |
-
## Todos
|
37 |
-
- [ ] Tests
|
38 |
-
- [ ] Documentation
|
39 |
-
|
40 |
-
## WordPress Environment
|
41 |
-
<details>
|
42 |
-
```
|
43 |
-
Copy and paste your System Details from **Pods Admin > Settings > Debug Information** in WordPress admin here.
|
44 |
-
```
|
45 |
-
</details>
|
4 |
## Expected Behavior
|
5 |
<!-- If you're describing a bug, tell us what should happen -->
|
6 |
<!-- If you're suggesting a change/improvement, tell us how it should work -->
|
7 |
+
<!-- Provide screen shots or screencasts, if you can. Anything you can provide to -->
|
8 |
+
<!-- help illustrate what you would expect to be seeing is helpful -->
|
9 |
|
10 |
## Current Behavior
|
11 |
<!-- If describing a bug, tell us what happens instead of the expected behavior -->
|
12 |
<!-- If suggesting a change/improvement, explain the difference from current behavior -->
|
13 |
+
<!-- Provide screen shots or screencasts, if you can. Anything you can provide to -->
|
14 |
+
<!-- help illustrate what you are experiencing is helpful -->
|
|
|
|
|
15 |
|
16 |
## Steps to Reproduce (for bugs)
|
17 |
<!-- Provide a link to a live example, or an unambiguous set of steps to -->
|
21 |
3.
|
22 |
4.
|
23 |
|
24 |
+
## Possible Solution
|
25 |
+
<!-- Not obligatory, but suggest a fix/reason for the bug, -->
|
26 |
+
<!-- or ideas how to implement the addition or change -->
|
27 |
+
|
28 |
+
## WordPress Environment
|
29 |
+
<!-- This is REQUIRED for Bug Reports, so we can check for conflicts, version issues, etc. -->
|
30 |
+
<details>
|
31 |
+
```
|
32 |
+
Copy and paste your System Details from **Pods Admin > Settings > Debug Information** in WordPress admin here.
|
33 |
+
```
|
34 |
+
</details>
|
35 |
+
|
36 |
## Pods Package Export (helpful!)
|
37 |
<!-- Please include the Pods Package Export as it will be helpful in reproducing your issues. -->
|
38 |
<!-- To access: Pods Admin, Components, Migrate: Packages, Enable. -->
|
42 |
Copy and Paste the JSON Export from **Pods Admin, Migrate: Packages, Export** in WordPress admin here
|
43 |
```
|
44 |
|
45 |
+
## Workaround or Alternate Solution Until Bug is Addressed
|
46 |
+
<!-- We will complete this section, or if you've already found a workaround, -->
|
47 |
+
<!-- you can add it here -->
|
48 |
+
|
49 |
## Related Issues and/or PRs
|
50 |
<!-- List related issues or PRs against other branches: -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
docs/pull_request_template.md
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
## Description
|
2 |
+
<!-- Please describe your changes; if your change fixes an existing issue, -->
|
3 |
+
<!-- use the terminology Fixes #issue -->
|
4 |
+
|
5 |
+
## How Has This Been Tested?
|
6 |
+
<!-- Please describe in detail how you tested your changes. -->
|
7 |
+
<!-- Include details of your testing environment, tests ran to see how -->
|
8 |
+
<!-- your change affects other areas of the code, etc. -->
|
9 |
+
|
10 |
+
## Screenshots (jpeg or gifs if applicable):
|
11 |
+
|
12 |
+
## Types of changes
|
13 |
+
<!-- What types of changes does your code introduce? -->
|
14 |
+
<!-- Bug fix (non-breaking change which fixes an issue) -->
|
15 |
+
<!-- New feature (non-breaking change which adds functionality) -->
|
16 |
+
<!-- Breaking change (fix or feature that would cause existing functionality to not work as expected) -->
|
17 |
+
|
18 |
+
## ChangeLog
|
19 |
+
<!-- Please include a human readable description of what your change did for the Changelog -->
|
20 |
+
<!-- Examples: Fix: Updates changelog to be more friendly #Issue (@your-GH-Handle) -->
|
21 |
+
<!-- If your fix addresses multiple issues, please list all of them. -->
|
22 |
+
|
23 |
+
## Checklist:
|
24 |
+
- [ ] My code is tested.
|
25 |
+
- [ ] My code follows the WordPress code style.
|
26 |
+
- [ ] My code follows has proper inline documentation.
|
includes/classes.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* @param bool $strict (optional) If set to true, return false instead of an object if the Pod doesn't exist
|
13 |
*
|
14 |
* @return bool|\Pods returns false if $strict, WP_DEBUG, PODS_STRICT or (PODS_DEPRECATED && PODS_STRICT_MODE) are true
|
15 |
-
* @since 2.0
|
16 |
* @link https://pods.io/docs/pods/
|
17 |
*/
|
18 |
function pods( $type = null, $id = null, $strict = null ) {
|
@@ -43,7 +43,7 @@ function pods( $type = null, $id = null, $strict = null ) {
|
|
43 |
*
|
44 |
* @return PodsUI
|
45 |
*
|
46 |
-
* @since 2.0
|
47 |
* @link https://pods.io/docs/pods-ui/
|
48 |
*/
|
49 |
function pods_ui( $obj, $deprecated = false ) {
|
@@ -63,7 +63,7 @@ function pods_ui( $obj, $deprecated = false ) {
|
|
63 |
*
|
64 |
* @return PodsAPI
|
65 |
*
|
66 |
-
* @since 2.0
|
67 |
* @link https://pods.io/docs/pods-api/
|
68 |
*/
|
69 |
function pods_api( $pod = null, $format = null ) {
|
@@ -85,7 +85,7 @@ function pods_api( $pod = null, $format = null ) {
|
|
85 |
*
|
86 |
* @return PodsData
|
87 |
*
|
88 |
-
* @since 2.0
|
89 |
*/
|
90 |
function pods_data( $pod = null, $id = null, $strict = true, $unique = true ) {
|
91 |
|
@@ -105,7 +105,7 @@ function pods_data( $pod = null, $id = null, $strict = true, $unique = true ) {
|
|
105 |
*
|
106 |
* @return PodsForm
|
107 |
*
|
108 |
-
* @since 2.0
|
109 |
*/
|
110 |
function pods_form() {
|
111 |
|
@@ -121,7 +121,7 @@ function pods_form() {
|
|
121 |
*
|
122 |
* @return PodsInit
|
123 |
*
|
124 |
-
* @since 2.0
|
125 |
*/
|
126 |
function pods_init() {
|
127 |
|
@@ -137,7 +137,7 @@ function pods_init() {
|
|
137 |
*
|
138 |
* @return PodsComponents
|
139 |
*
|
140 |
-
* @since 2.0
|
141 |
*/
|
142 |
function pods_components() {
|
143 |
|
@@ -154,7 +154,7 @@ function pods_components() {
|
|
154 |
*
|
155 |
* @return PodsAdmin
|
156 |
*
|
157 |
-
* @since 2.0
|
158 |
*/
|
159 |
function pods_admin() {
|
160 |
|
@@ -170,7 +170,7 @@ function pods_admin() {
|
|
170 |
*
|
171 |
* @return PodsMeta
|
172 |
*
|
173 |
-
* @since 2.0
|
174 |
*/
|
175 |
function pods_meta() {
|
176 |
|
@@ -188,7 +188,7 @@ function pods_meta() {
|
|
188 |
*
|
189 |
* @return PodsArray
|
190 |
*
|
191 |
-
* @since 2.0
|
192 |
*/
|
193 |
function pods_array( $container ) {
|
194 |
|
@@ -198,7 +198,7 @@ function pods_array( $container ) {
|
|
198 |
}
|
199 |
|
200 |
/**
|
201 |
-
* @since 2.7
|
202 |
*/
|
203 |
function pods_i18n() {
|
204 |
|
@@ -221,7 +221,7 @@ function pods_i18n() {
|
|
221 |
*
|
222 |
* @return string|bool The view output
|
223 |
*
|
224 |
-
* @since 2.0
|
225 |
* @link https://pods.io/docs/pods-view/
|
226 |
*/
|
227 |
function pods_view( $view, $data = null, $expires = false, $cache_mode = 'cache', $return = false ) {
|
@@ -248,7 +248,7 @@ function pods_view( $view, $data = null, $expires = false, $cache_mode = 'cache'
|
|
248 |
*
|
249 |
* @return PodsMigrate
|
250 |
*
|
251 |
-
* @since 2.2
|
252 |
*/
|
253 |
function pods_migrate( $type = null, $delimiter = null, $data = null ) {
|
254 |
|
@@ -266,7 +266,7 @@ function pods_migrate( $type = null, $delimiter = null, $data = null ) {
|
|
266 |
*
|
267 |
* @return PodsUpgrade
|
268 |
*
|
269 |
-
* @since 2.1
|
270 |
*/
|
271 |
function pods_upgrade( $version = '' ) {
|
272 |
|
12 |
* @param bool $strict (optional) If set to true, return false instead of an object if the Pod doesn't exist
|
13 |
*
|
14 |
* @return bool|\Pods returns false if $strict, WP_DEBUG, PODS_STRICT or (PODS_DEPRECATED && PODS_STRICT_MODE) are true
|
15 |
+
* @since 2.0.0
|
16 |
* @link https://pods.io/docs/pods/
|
17 |
*/
|
18 |
function pods( $type = null, $id = null, $strict = null ) {
|
43 |
*
|
44 |
* @return PodsUI
|
45 |
*
|
46 |
+
* @since 2.0.0
|
47 |
* @link https://pods.io/docs/pods-ui/
|
48 |
*/
|
49 |
function pods_ui( $obj, $deprecated = false ) {
|
63 |
*
|
64 |
* @return PodsAPI
|
65 |
*
|
66 |
+
* @since 2.0.0
|
67 |
* @link https://pods.io/docs/pods-api/
|
68 |
*/
|
69 |
function pods_api( $pod = null, $format = null ) {
|
85 |
*
|
86 |
* @return PodsData
|
87 |
*
|
88 |
+
* @since 2.0.0
|
89 |
*/
|
90 |
function pods_data( $pod = null, $id = null, $strict = true, $unique = true ) {
|
91 |
|
105 |
*
|
106 |
* @return PodsForm
|
107 |
*
|
108 |
+
* @since 2.0.0
|
109 |
*/
|
110 |
function pods_form() {
|
111 |
|
121 |
*
|
122 |
* @return PodsInit
|
123 |
*
|
124 |
+
* @since 2.0.0
|
125 |
*/
|
126 |
function pods_init() {
|
127 |
|
137 |
*
|
138 |
* @return PodsComponents
|
139 |
*
|
140 |
+
* @since 2.0.0
|
141 |
*/
|
142 |
function pods_components() {
|
143 |
|
154 |
*
|
155 |
* @return PodsAdmin
|
156 |
*
|
157 |
+
* @since 2.0.0
|
158 |
*/
|
159 |
function pods_admin() {
|
160 |
|
170 |
*
|
171 |
* @return PodsMeta
|
172 |
*
|
173 |
+
* @since 2.0.0
|
174 |
*/
|
175 |
function pods_meta() {
|
176 |
|
188 |
*
|
189 |
* @return PodsArray
|
190 |
*
|
191 |
+
* @since 2.0.0
|
192 |
*/
|
193 |
function pods_array( $container ) {
|
194 |
|
198 |
}
|
199 |
|
200 |
/**
|
201 |
+
* @since 2.7.0
|
202 |
*/
|
203 |
function pods_i18n() {
|
204 |
|
221 |
*
|
222 |
* @return string|bool The view output
|
223 |
*
|
224 |
+
* @since 2.0.0
|
225 |
* @link https://pods.io/docs/pods-view/
|
226 |
*/
|
227 |
function pods_view( $view, $data = null, $expires = false, $cache_mode = 'cache', $return = false ) {
|
248 |
*
|
249 |
* @return PodsMigrate
|
250 |
*
|
251 |
+
* @since 2.2.0
|
252 |
*/
|
253 |
function pods_migrate( $type = null, $delimiter = null, $data = null ) {
|
254 |
|
266 |
*
|
267 |
* @return PodsUpgrade
|
268 |
*
|
269 |
+
* @since 2.1.0
|
270 |
*/
|
271 |
function pods_upgrade( $version = '' ) {
|
272 |
|
includes/data.php
CHANGED
@@ -996,7 +996,7 @@ function pods_v_set( $value, $var, $type = 'get' ) {
|
|
996 |
* @return mixed The variable (if exists), or default value
|
997 |
* @since 1.10.6
|
998 |
*
|
999 |
-
* @deprecated 2.4 Use pods_v() or pods_v_sanitized() instead.
|
1000 |
* @see pods_v_sanitized
|
1001 |
*/
|
1002 |
function pods_var( $var = 'last', $type = 'get', $default = null, $allowed = null, $strict = false, $casting = false, $context = 'display' ) {
|
@@ -1033,9 +1033,9 @@ function pods_var( $var = 'last', $type = 'get', $default = null, $allowed = nul
|
|
1033 |
* @param bool $casting (optional) Whether to cast the value returned like provided in $default
|
1034 |
*
|
1035 |
* @return mixed The variable (if exists), or default value
|
1036 |
-
* @since
|
1037 |
*
|
1038 |
-
* @deprecated 2.4 Use pods_v() instead.
|
1039 |
* @see pods_v
|
1040 |
*/
|
1041 |
function pods_var_raw( $var = 'last', $type = 'get', $default = null, $allowed = null, $strict = false, $casting = false ) {
|
@@ -1059,7 +1059,7 @@ function pods_var_raw( $var = 'last', $type = 'get', $default = null, $allowed =
|
|
1059 |
* @return mixed $value (if set), $type (if $type is array or object), or $url (if $type is 'url')
|
1060 |
* @since 1.10.6
|
1061 |
*
|
1062 |
-
* @deprecated 2.4 Use pods_v_set() instead.
|
1063 |
* @see pods_v_set
|
1064 |
*/
|
1065 |
function pods_var_set( $value, $var = 'last', $type = 'url' ) {
|
@@ -1166,9 +1166,9 @@ function pods_query_arg( $array = null, $allowed = null, $excluded = null, $url
|
|
1166 |
*
|
1167 |
* @return mixed
|
1168 |
*
|
1169 |
-
* @since
|
1170 |
*
|
1171 |
-
* @deprecated 2.4 Use pods_query_arg() instead.
|
1172 |
* @see pods_query_arg
|
1173 |
*/
|
1174 |
function pods_var_update( $array = null, $allowed = null, $excluded = null, $url = null ) {
|
@@ -1185,7 +1185,7 @@ function pods_var_update( $array = null, $allowed = null, $excluded = null, $url
|
|
1185 |
*
|
1186 |
* @return bool
|
1187 |
*
|
1188 |
-
* @since 2.0
|
1189 |
*/
|
1190 |
function pods_cast( $value, $cast_from = null ) {
|
1191 |
|
@@ -1361,7 +1361,7 @@ function pods_js_name( $orig, $lower = true ) {
|
|
1361 |
* @param bool $allow_negative (optional)
|
1362 |
*
|
1363 |
* @return integer
|
1364 |
-
* @since 2.0
|
1365 |
*/
|
1366 |
function pods_absint( $maybeint, $strict = true, $allow_negative = false ) {
|
1367 |
|
@@ -1616,7 +1616,7 @@ function pods_evaluate_tag( $tag, $sanitize = false ) {
|
|
1616 |
*
|
1617 |
* @return string
|
1618 |
*
|
1619 |
-
* @since 2.0
|
1620 |
*/
|
1621 |
function pods_serial_comma( $value, $field = null, $fields = null, $and = null, $field_index = null ) {
|
1622 |
|
@@ -1804,7 +1804,7 @@ function pods_var_user( $anon = false, $user = true, $capability = null ) {
|
|
1804 |
* @param array $args Array of parent, children, and id keys to use
|
1805 |
*
|
1806 |
* @return array|object
|
1807 |
-
* @since 2.3
|
1808 |
*/
|
1809 |
function pods_hierarchical_list( $list, $args = array() ) {
|
1810 |
|
@@ -1837,7 +1837,7 @@ function pods_hierarchical_list( $list, $args = array() ) {
|
|
1837 |
* @param array $args Array of parent, children, and id keys to use
|
1838 |
*
|
1839 |
* @return array|object
|
1840 |
-
* @since 2.3
|
1841 |
*/
|
1842 |
function pods_hierarchical_list_recurse( $parent, $list, &$args ) {
|
1843 |
|
@@ -1942,7 +1942,7 @@ function pods_hierarchical_list_recurse( $parent, $list, &$args ) {
|
|
1942 |
* @return array|object
|
1943 |
* @internal param string $children_key Key to recurse children into
|
1944 |
*
|
1945 |
-
* @since
|
1946 |
*/
|
1947 |
function pods_hierarchical_select( $list, $args = array() ) {
|
1948 |
|
@@ -1984,7 +1984,7 @@ function pods_hierarchical_select( $list, $args = array() ) {
|
|
1984 |
* @internal param string $children_key Key to recurse children into
|
1985 |
*
|
1986 |
* @see pods_hierarchical_select
|
1987 |
-
* @since
|
1988 |
*/
|
1989 |
function pods_hierarchical_select_recurse( $items, $args, $depth = 0 ) {
|
1990 |
|
@@ -2041,7 +2041,7 @@ function pods_hierarchical_select_recurse( $items, $args, $depth = 0 ) {
|
|
2041 |
*
|
2042 |
* @see wp_list_filter
|
2043 |
* @return array
|
2044 |
-
* @since 2.3
|
2045 |
*/
|
2046 |
function pods_list_filter( $list, $args = array(), $operator = 'AND' ) {
|
2047 |
|
996 |
* @return mixed The variable (if exists), or default value
|
997 |
* @since 1.10.6
|
998 |
*
|
999 |
+
* @deprecated 2.4.0 Use pods_v() or pods_v_sanitized() instead.
|
1000 |
* @see pods_v_sanitized
|
1001 |
*/
|
1002 |
function pods_var( $var = 'last', $type = 'get', $default = null, $allowed = null, $strict = false, $casting = false, $context = 'display' ) {
|
1033 |
* @param bool $casting (optional) Whether to cast the value returned like provided in $default
|
1034 |
*
|
1035 |
* @return mixed The variable (if exists), or default value
|
1036 |
+
* @since 2.0.0
|
1037 |
*
|
1038 |
+
* @deprecated 2.4.0 Use pods_v() instead.
|
1039 |
* @see pods_v
|
1040 |
*/
|
1041 |
function pods_var_raw( $var = 'last', $type = 'get', $default = null, $allowed = null, $strict = false, $casting = false ) {
|
1059 |
* @return mixed $value (if set), $type (if $type is array or object), or $url (if $type is 'url')
|
1060 |
* @since 1.10.6
|
1061 |
*
|
1062 |
+
* @deprecated 2.4.0 Use pods_v_set() instead.
|
1063 |
* @see pods_v_set
|
1064 |
*/
|
1065 |
function pods_var_set( $value, $var = 'last', $type = 'url' ) {
|
1166 |
*
|
1167 |
* @return mixed
|
1168 |
*
|
1169 |
+
* @since 2.0.0
|
1170 |
*
|
1171 |
+
* @deprecated 2.4.0 Use pods_query_arg() instead.
|
1172 |
* @see pods_query_arg
|
1173 |
*/
|
1174 |
function pods_var_update( $array = null, $allowed = null, $excluded = null, $url = null ) {
|
1185 |
*
|
1186 |
* @return bool
|
1187 |
*
|
1188 |
+
* @since 2.0.0
|
1189 |
*/
|
1190 |
function pods_cast( $value, $cast_from = null ) {
|
1191 |
|
1361 |
* @param bool $allow_negative (optional)
|
1362 |
*
|
1363 |
* @return integer
|
1364 |
+
* @since 2.0.0
|
1365 |
*/
|
1366 |
function pods_absint( $maybeint, $strict = true, $allow_negative = false ) {
|
1367 |
|
1616 |
*
|
1617 |
* @return string
|
1618 |
*
|
1619 |
+
* @since 2.0.0
|
1620 |
*/
|
1621 |
function pods_serial_comma( $value, $field = null, $fields = null, $and = null, $field_index = null ) {
|
1622 |
|
1804 |
* @param array $args Array of parent, children, and id keys to use
|
1805 |
*
|
1806 |
* @return array|object
|
1807 |
+
* @since 2.3.0
|
1808 |
*/
|
1809 |
function pods_hierarchical_list( $list, $args = array() ) {
|
1810 |
|
1837 |
* @param array $args Array of parent, children, and id keys to use
|
1838 |
*
|
1839 |
* @return array|object
|
1840 |
+
* @since 2.3.0
|
1841 |
*/
|
1842 |
function pods_hierarchical_list_recurse( $parent, $list, &$args ) {
|
1843 |
|
1942 |
* @return array|object
|
1943 |
* @internal param string $children_key Key to recurse children into
|
1944 |
*
|
1945 |
+
* @since 2.3.0
|
1946 |
*/
|
1947 |
function pods_hierarchical_select( $list, $args = array() ) {
|
1948 |
|
1984 |
* @internal param string $children_key Key to recurse children into
|
1985 |
*
|
1986 |
* @see pods_hierarchical_select
|
1987 |
+
* @since 2.3.0
|
1988 |
*/
|
1989 |
function pods_hierarchical_select_recurse( $items, $args, $depth = 0 ) {
|
1990 |
|
2041 |
*
|
2042 |
* @see wp_list_filter
|
2043 |
* @return array
|
2044 |
+
* @since 2.3.0
|
2045 |
*/
|
2046 |
function pods_list_filter( $list, $args = array(), $operator = 'AND' ) {
|
2047 |
|
includes/general.php
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
* @param string $no_results_error (optional) Throw an error if no records are found
|
14 |
*
|
15 |
* @return array|bool|mixed|null|void
|
16 |
-
* @since 2.0
|
17 |
*/
|
18 |
function pods_query( $sql, $error = 'Database Error', $results_error = null, $no_results_error = null ) {
|
19 |
|
@@ -56,7 +56,7 @@ function pods_query( $sql, $error = 'Database Error', $results_error = null, $no
|
|
56 |
* @param object $obj (optional) Object to reference for filter / action
|
57 |
*
|
58 |
* @return mixed
|
59 |
-
* @since 2.0
|
60 |
* @todo Need to figure out how to handle $scope = 'pods' for the Pods class
|
61 |
*/
|
62 |
function pods_do_hook( $scope, $name, $args = null, $obj = null ) {
|
@@ -111,7 +111,7 @@ $GLOBALS['pods_errors'] = array();
|
|
111 |
*
|
112 |
* @return mixed
|
113 |
*
|
114 |
-
* @since 2.0
|
115 |
*/
|
116 |
function pods_error( $error, $obj = null ) {
|
117 |
|
@@ -247,7 +247,7 @@ $pods_debug = 0;
|
|
247 |
*
|
248 |
* @return void
|
249 |
*
|
250 |
-
* @since 2.0
|
251 |
*/
|
252 |
function pods_debug( $debug = '_null', $die = false, $prefix = '_null' ) {
|
253 |
|
@@ -334,7 +334,7 @@ function pods_is_admin( $cap = null ) {
|
|
334 |
*
|
335 |
* @return bool Whether Developer Mode is enabled
|
336 |
*
|
337 |
-
* @since 2.3
|
338 |
*/
|
339 |
function pods_developer() {
|
340 |
|
@@ -350,7 +350,7 @@ function pods_developer() {
|
|
350 |
*
|
351 |
* @return bool Whether Tableless Mode is enabled
|
352 |
*
|
353 |
-
* @since 2.3
|
354 |
*/
|
355 |
function pods_tableless() {
|
356 |
|
@@ -442,7 +442,7 @@ function pods_api_cache() {
|
|
442 |
* @param string $version The version of WordPress that deprecated the function
|
443 |
* @param string $replacement Optional. The function that should have been called
|
444 |
*
|
445 |
-
* @since 2.0
|
446 |
*/
|
447 |
function pods_deprecated( $function, $version, $replacement = null ) {
|
448 |
|
@@ -472,7 +472,7 @@ function pods_deprecated( $function, $version, $replacement = null ) {
|
|
472 |
*
|
473 |
* @return void
|
474 |
*
|
475 |
-
* @since 2.0
|
476 |
*/
|
477 |
function pods_help( $text, $url = null ) {
|
478 |
|
@@ -564,7 +564,7 @@ function pods_helper( $helper_name, $value = null, $name = null ) {
|
|
564 |
* Get the full URL of the current page
|
565 |
*
|
566 |
* @return string Full URL of the current page
|
567 |
-
* @since 2.3
|
568 |
*/
|
569 |
function pods_current_url() {
|
570 |
|
@@ -585,7 +585,7 @@ function pods_current_url() {
|
|
585 |
* @param object $object The Pod Object currently checking (optional)
|
586 |
*
|
587 |
* @return bool
|
588 |
-
* @since 2.0
|
589 |
*/
|
590 |
function is_pod( $object = null ) {
|
591 |
|
@@ -1009,7 +1009,7 @@ function pods_shortcode( $tags, $content = null ) {
|
|
1009 |
* @param string $content Not currently used
|
1010 |
*
|
1011 |
* @return string
|
1012 |
-
* @since 2.3
|
1013 |
*/
|
1014 |
function pods_shortcode_form( $tags, $content = null ) {
|
1015 |
|
@@ -1245,7 +1245,7 @@ function pods_function_or_file( $function_or_file, $function_name = null, $file_
|
|
1245 |
*
|
1246 |
* @return void
|
1247 |
*
|
1248 |
-
* @since 2.0
|
1249 |
*/
|
1250 |
function pods_redirect( $location, $status = 302, $die = true ) {
|
1251 |
|
@@ -1430,7 +1430,7 @@ function pods_by_title( $title, $output = OBJECT, $type = 'page', $status = null
|
|
1430 |
*
|
1431 |
* @return mixed Field value
|
1432 |
*
|
1433 |
-
* @since 2.1
|
1434 |
*/
|
1435 |
function pods_field( $pod, $id = false, $name = null, $single = false ) {
|
1436 |
|
@@ -1463,7 +1463,7 @@ function pods_field( $pod, $id = false, $name = null, $single = false ) {
|
|
1463 |
*
|
1464 |
* @return mixed Field value
|
1465 |
*
|
1466 |
-
* @since 2.1
|
1467 |
*/
|
1468 |
function pods_field_display( $pod, $id = false, $name = null, $single = false ) {
|
1469 |
|
@@ -1496,7 +1496,7 @@ function pods_field_display( $pod, $id = false, $name = null, $single = false )
|
|
1496 |
*
|
1497 |
* @return mixed Field value
|
1498 |
*
|
1499 |
-
* @since 2.1
|
1500 |
*/
|
1501 |
function pods_field_raw( $pod, $id = false, $name = null, $single = false ) {
|
1502 |
|
@@ -1526,7 +1526,7 @@ function pods_field_raw( $pod, $id = false, $name = null, $single = false ) {
|
|
1526 |
*
|
1527 |
* @return bool|mixed|null|string|void
|
1528 |
*
|
1529 |
-
* @since 2.0
|
1530 |
*/
|
1531 |
function pods_view_set( $key, $value, $expires = 0, $cache_mode = 'cache', $group = '' ) {
|
1532 |
|
@@ -1547,7 +1547,7 @@ function pods_view_set( $key, $value, $expires = 0, $cache_mode = 'cache', $grou
|
|
1547 |
*
|
1548 |
* @return bool|mixed|null|void
|
1549 |
*
|
1550 |
-
* @since 2.0
|
1551 |
*/
|
1552 |
function pods_view_get( $key, $cache_mode = 'cache', $group = '', $callback = null ) {
|
1553 |
|
@@ -1567,7 +1567,7 @@ function pods_view_get( $key, $cache_mode = 'cache', $group = '', $callback = nu
|
|
1567 |
*
|
1568 |
* @return bool
|
1569 |
*
|
1570 |
-
* @since 2.0
|
1571 |
*/
|
1572 |
function pods_view_clear( $key = true, $cache_mode = 'cache', $group = '' ) {
|
1573 |
|
@@ -1588,7 +1588,7 @@ function pods_view_clear( $key = true, $cache_mode = 'cache', $group = '' ) {
|
|
1588 |
*
|
1589 |
* @return bool|mixed|null|string|void
|
1590 |
*
|
1591 |
-
* @since 2.0
|
1592 |
*/
|
1593 |
function pods_cache_set( $key, $value, $group = '', $expires = 0 ) {
|
1594 |
|
@@ -1606,7 +1606,7 @@ function pods_cache_set( $key, $value, $group = '', $expires = 0 ) {
|
|
1606 |
*
|
1607 |
* @return bool
|
1608 |
*
|
1609 |
-
* @since 2.0
|
1610 |
*/
|
1611 |
function pods_cache_get( $key, $group = '', $callback = null ) {
|
1612 |
|
@@ -1623,7 +1623,7 @@ function pods_cache_get( $key, $group = '', $callback = null ) {
|
|
1623 |
*
|
1624 |
* @return bool|mixed|null|void
|
1625 |
*
|
1626 |
-
* @since 2.0
|
1627 |
*/
|
1628 |
function pods_cache_clear( $key = true, $group = '' ) {
|
1629 |
|
@@ -1641,7 +1641,7 @@ function pods_cache_clear( $key = true, $group = '' ) {
|
|
1641 |
*
|
1642 |
* @return bool|mixed|null|string|void
|
1643 |
*
|
1644 |
-
* @since 2.0
|
1645 |
*/
|
1646 |
function pods_transient_set( $key, $value, $expires = 0 ) {
|
1647 |
|
@@ -1658,7 +1658,7 @@ function pods_transient_set( $key, $value, $expires = 0 ) {
|
|
1658 |
*
|
1659 |
* @return bool|mixed|null|void
|
1660 |
*
|
1661 |
-
* @since 2.0
|
1662 |
*/
|
1663 |
function pods_transient_get( $key, $callback = null ) {
|
1664 |
|
@@ -1674,7 +1674,7 @@ function pods_transient_get( $key, $callback = null ) {
|
|
1674 |
*
|
1675 |
* @return bool
|
1676 |
*
|
1677 |
-
* @since 2.0
|
1678 |
*/
|
1679 |
function pods_transient_clear( $key = true ) {
|
1680 |
|
@@ -1822,7 +1822,7 @@ function pods_template_part( $template, $data = null, $return = false ) {
|
|
1822 |
* @param array $object (optional) Pod array, including any 'fields' arrays
|
1823 |
*
|
1824 |
* @return array|boolean Pod data or false if unsuccessful
|
1825 |
-
* @since 2.1
|
1826 |
*/
|
1827 |
function pods_register_type( $type, $name, $object = null ) {
|
1828 |
|
@@ -1847,7 +1847,7 @@ function pods_register_type( $type, $name, $object = null ) {
|
|
1847 |
* @param array $object (optional) Pod array, including any 'fields' arrays
|
1848 |
*
|
1849 |
* @return array|boolean Field data or false if unsuccessful
|
1850 |
-
* @since 2.1
|
1851 |
*/
|
1852 |
function pods_register_field( $pod, $name, $field = null ) {
|
1853 |
|
@@ -1871,7 +1871,7 @@ function pods_register_field( $pod, $name, $field = null ) {
|
|
1871 |
* @param string $file The new field type class file location
|
1872 |
*
|
1873 |
* @return array Field type array
|
1874 |
-
* @since 2.3
|
1875 |
*/
|
1876 |
function pods_register_field_type( $type, $file = null ) {
|
1877 |
|
@@ -1886,7 +1886,7 @@ function pods_register_field_type( $type, $file = null ) {
|
|
1886 |
* @param array $options Object options
|
1887 |
*
|
1888 |
* @return array|boolean Object array or false if unsuccessful
|
1889 |
-
* @since 2.3
|
1890 |
*/
|
1891 |
function pods_register_related_object( $name, $label, $options = null ) {
|
1892 |
|
@@ -1900,7 +1900,7 @@ function pods_register_related_object( $name, $label, $options = null ) {
|
|
1900 |
*
|
1901 |
* @return void
|
1902 |
*
|
1903 |
-
* @since 2.3
|
1904 |
*/
|
1905 |
function pods_require_component( $component ) {
|
1906 |
|
@@ -1924,7 +1924,7 @@ function pods_require_component( $component ) {
|
|
1924 |
*
|
1925 |
* @return void
|
1926 |
*
|
1927 |
-
* @since 2.0
|
1928 |
* @link https://pods.io/docs/pods-group-add/
|
1929 |
*/
|
1930 |
function pods_group_add( $pod, $label, $fields, $context = 'normal', $priority = 'default', $type = null ) {
|
@@ -1946,7 +1946,7 @@ function pods_group_add( $pod, $label, $fields, $context = 'normal', $priority =
|
|
1946 |
*
|
1947 |
* @return bool
|
1948 |
*
|
1949 |
-
* @since 2.0
|
1950 |
*/
|
1951 |
function pods_is_plugin_active( $plugin ) {
|
1952 |
|
@@ -1982,7 +1982,7 @@ function pods_is_plugin_active( $plugin ) {
|
|
1982 |
*
|
1983 |
* @return bool
|
1984 |
*
|
1985 |
-
* @since 2.3
|
1986 |
*/
|
1987 |
function pods_no_conflict_check( $object_type = 'post' ) {
|
1988 |
|
@@ -2011,7 +2011,7 @@ function pods_no_conflict_check( $object_type = 'post' ) {
|
|
2011 |
*
|
2012 |
* @return bool
|
2013 |
*
|
2014 |
-
* @since 2.0
|
2015 |
*/
|
2016 |
function pods_no_conflict_on( $object_type = 'post', $object = null ) {
|
2017 |
|
@@ -2208,7 +2208,7 @@ function pods_no_conflict_on( $object_type = 'post', $object = null ) {
|
|
2208 |
*
|
2209 |
* @return bool
|
2210 |
*
|
2211 |
-
* @since 2.0
|
2212 |
*/
|
2213 |
function pods_no_conflict_off( $object_type = 'post' ) {
|
2214 |
|
@@ -2266,6 +2266,9 @@ function pods_session_start() {
|
|
2266 |
if ( false !== headers_sent() ) {
|
2267 |
// Check if headers were sent.
|
2268 |
return false;
|
|
|
|
|
|
|
2269 |
} elseif ( defined( 'PODS_SESSION_AUTO_START' ) && ! PODS_SESSION_AUTO_START ) {
|
2270 |
// Allow for bypassing Pods session autostarting.
|
2271 |
return false;
|
@@ -2292,7 +2295,7 @@ function pods_session_start() {
|
|
2292 |
*
|
2293 |
* @return bool
|
2294 |
*
|
2295 |
-
* @since 2.7
|
2296 |
*/
|
2297 |
function pods_is_modal_window() {
|
2298 |
|
@@ -2312,7 +2315,7 @@ function pods_is_modal_window() {
|
|
2312 |
*
|
2313 |
* @return bool Whether the pod object is valid and exists
|
2314 |
*
|
2315 |
-
* @since 2.7
|
2316 |
*/
|
2317 |
function pod_is_valid( $pod ) {
|
2318 |
|
@@ -2332,7 +2335,7 @@ function pod_is_valid( $pod ) {
|
|
2332 |
*
|
2333 |
* @return bool Whether the pod object has items
|
2334 |
*
|
2335 |
-
* @since 2.7
|
2336 |
*/
|
2337 |
function pod_has_items( $pod ) {
|
2338 |
|
13 |
* @param string $no_results_error (optional) Throw an error if no records are found
|
14 |
*
|
15 |
* @return array|bool|mixed|null|void
|
16 |
+
* @since 2.0.0
|
17 |
*/
|
18 |
function pods_query( $sql, $error = 'Database Error', $results_error = null, $no_results_error = null ) {
|
19 |
|
56 |
* @param object $obj (optional) Object to reference for filter / action
|
57 |
*
|
58 |
* @return mixed
|
59 |
+
* @since 2.0.0
|
60 |
* @todo Need to figure out how to handle $scope = 'pods' for the Pods class
|
61 |
*/
|
62 |
function pods_do_hook( $scope, $name, $args = null, $obj = null ) {
|
111 |
*
|
112 |
* @return mixed
|
113 |
*
|
114 |
+
* @since 2.0.0
|
115 |
*/
|
116 |
function pods_error( $error, $obj = null ) {
|
117 |
|
247 |
*
|
248 |
* @return void
|
249 |
*
|
250 |
+
* @since 2.0.0
|
251 |
*/
|
252 |
function pods_debug( $debug = '_null', $die = false, $prefix = '_null' ) {
|
253 |
|
334 |
*
|
335 |
* @return bool Whether Developer Mode is enabled
|
336 |
*
|
337 |
+
* @since 2.3.0
|
338 |
*/
|
339 |
function pods_developer() {
|
340 |
|
350 |
*
|
351 |
* @return bool Whether Tableless Mode is enabled
|
352 |
*
|
353 |
+
* @since 2.3.0
|
354 |
*/
|
355 |
function pods_tableless() {
|
356 |
|
442 |
* @param string $version The version of WordPress that deprecated the function
|
443 |
* @param string $replacement Optional. The function that should have been called
|
444 |
*
|
445 |
+
* @since 2.0.0
|
446 |
*/
|
447 |
function pods_deprecated( $function, $version, $replacement = null ) {
|
448 |
|
472 |
*
|
473 |
* @return void
|
474 |
*
|
475 |
+
* @since 2.0.0
|
476 |
*/
|
477 |
function pods_help( $text, $url = null ) {
|
478 |
|
564 |
* Get the full URL of the current page
|
565 |
*
|
566 |
* @return string Full URL of the current page
|
567 |
+
* @since 2.3.0
|
568 |
*/
|
569 |
function pods_current_url() {
|
570 |
|
585 |
* @param object $object The Pod Object currently checking (optional)
|
586 |
*
|
587 |
* @return bool
|
588 |
+
* @since 2.0.0
|
589 |
*/
|
590 |
function is_pod( $object = null ) {
|
591 |
|
1009 |
* @param string $content Not currently used
|
1010 |
*
|
1011 |
* @return string
|
1012 |
+
* @since 2.3.0
|
1013 |
*/
|
1014 |
function pods_shortcode_form( $tags, $content = null ) {
|
1015 |
|
1245 |
*
|
1246 |
* @return void
|
1247 |
*
|
1248 |
+
* @since 2.0.0
|
1249 |
*/
|
1250 |
function pods_redirect( $location, $status = 302, $die = true ) {
|
1251 |
|
1430 |
*
|
1431 |
* @return mixed Field value
|
1432 |
*
|
1433 |
+
* @since 2.1.0
|
1434 |
*/
|
1435 |
function pods_field( $pod, $id = false, $name = null, $single = false ) {
|
1436 |
|
1463 |
*
|
1464 |
* @return mixed Field value
|
1465 |
*
|
1466 |
+
* @since 2.1.0
|
1467 |
*/
|
1468 |
function pods_field_display( $pod, $id = false, $name = null, $single = false ) {
|
1469 |
|
1496 |
*
|
1497 |
* @return mixed Field value
|
1498 |
*
|
1499 |
+
* @since 2.1.0
|
1500 |
*/
|
1501 |
function pods_field_raw( $pod, $id = false, $name = null, $single = false ) {
|
1502 |
|
1526 |
*
|
1527 |
* @return bool|mixed|null|string|void
|
1528 |
*
|
1529 |
+
* @since 2.0.0
|
1530 |
*/
|
1531 |
function pods_view_set( $key, $value, $expires = 0, $cache_mode = 'cache', $group = '' ) {
|
1532 |
|
1547 |
*
|
1548 |
* @return bool|mixed|null|void
|
1549 |
*
|
1550 |
+
* @since 2.0.0
|
1551 |
*/
|
1552 |
function pods_view_get( $key, $cache_mode = 'cache', $group = '', $callback = null ) {
|
1553 |
|
1567 |
*
|
1568 |
* @return bool
|
1569 |
*
|
1570 |
+
* @since 2.0.0
|
1571 |
*/
|
1572 |
function pods_view_clear( $key = true, $cache_mode = 'cache', $group = '' ) {
|
1573 |
|
1588 |
*
|
1589 |
* @return bool|mixed|null|string|void
|
1590 |
*
|
1591 |
+
* @since 2.0.0
|
1592 |
*/
|
1593 |
function pods_cache_set( $key, $value, $group = '', $expires = 0 ) {
|
1594 |
|
1606 |
*
|
1607 |
* @return bool
|
1608 |
*
|
1609 |
+
* @since 2.0.0
|
1610 |
*/
|
1611 |
function pods_cache_get( $key, $group = '', $callback = null ) {
|
1612 |
|
1623 |
*
|
1624 |
* @return bool|mixed|null|void
|
1625 |
*
|
1626 |
+
* @since 2.0.0
|
1627 |
*/
|
1628 |
function pods_cache_clear( $key = true, $group = '' ) {
|
1629 |
|
1641 |
*
|
1642 |
* @return bool|mixed|null|string|void
|
1643 |
*
|
1644 |
+
* @since 2.0.0
|
1645 |
*/
|
1646 |
function pods_transient_set( $key, $value, $expires = 0 ) {
|
1647 |
|
1658 |
*
|
1659 |
* @return bool|mixed|null|void
|
1660 |
*
|
1661 |
+
* @since 2.0.0
|
1662 |
*/
|
1663 |
function pods_transient_get( $key, $callback = null ) {
|
1664 |
|
1674 |
*
|
1675 |
* @return bool
|
1676 |
*
|
1677 |
+
* @since 2.0.0
|
1678 |
*/
|
1679 |
function pods_transient_clear( $key = true ) {
|
1680 |
|
1822 |
* @param array $object (optional) Pod array, including any 'fields' arrays
|
1823 |
*
|
1824 |
* @return array|boolean Pod data or false if unsuccessful
|
1825 |
+
* @since 2.1.0
|
1826 |
*/
|
1827 |
function pods_register_type( $type, $name, $object = null ) {
|
1828 |
|
1847 |
* @param array $object (optional) Pod array, including any 'fields' arrays
|
1848 |
*
|
1849 |
* @return array|boolean Field data or false if unsuccessful
|
1850 |
+
* @since 2.1.0
|
1851 |
*/
|
1852 |
function pods_register_field( $pod, $name, $field = null ) {
|
1853 |
|
1871 |
* @param string $file The new field type class file location
|
1872 |
*
|
1873 |
* @return array Field type array
|
1874 |
+
* @since 2.3.0
|
1875 |
*/
|
1876 |
function pods_register_field_type( $type, $file = null ) {
|
1877 |
|
1886 |
* @param array $options Object options
|
1887 |
*
|
1888 |
* @return array|boolean Object array or false if unsuccessful
|
1889 |
+
* @since 2.3.0
|
1890 |
*/
|
1891 |
function pods_register_related_object( $name, $label, $options = null ) {
|
1892 |
|
1900 |
*
|
1901 |
* @return void
|
1902 |
*
|
1903 |
+
* @since 2.3.0
|
1904 |
*/
|
1905 |
function pods_require_component( $component ) {
|
1906 |
|
1924 |
*
|
1925 |
* @return void
|
1926 |
*
|
1927 |
+
* @since 2.0.0
|
1928 |
* @link https://pods.io/docs/pods-group-add/
|
1929 |
*/
|
1930 |
function pods_group_add( $pod, $label, $fields, $context = 'normal', $priority = 'default', $type = null ) {
|
1946 |
*
|
1947 |
* @return bool
|
1948 |
*
|
1949 |
+
* @since 2.0.0
|
1950 |
*/
|
1951 |
function pods_is_plugin_active( $plugin ) {
|
1952 |
|
1982 |
*
|
1983 |
* @return bool
|
1984 |
*
|
1985 |
+
* @since 2.3.0
|
1986 |
*/
|
1987 |
function pods_no_conflict_check( $object_type = 'post' ) {
|
1988 |
|
2011 |
*
|
2012 |
* @return bool
|
2013 |
*
|
2014 |
+
* @since 2.0.0
|
2015 |
*/
|
2016 |
function pods_no_conflict_on( $object_type = 'post', $object = null ) {
|
2017 |
|
2208 |
*
|
2209 |
* @return bool
|
2210 |
*
|
2211 |
+
* @since 2.0.0
|
2212 |
*/
|
2213 |
function pods_no_conflict_off( $object_type = 'post' ) {
|
2214 |
|
2266 |
if ( false !== headers_sent() ) {
|
2267 |
// Check if headers were sent.
|
2268 |
return false;
|
2269 |
+
} elseif ( false !== is_user_logged_in() ) {
|
2270 |
+
// We do not need a session ID if there is a valid user logged in
|
2271 |
+
return false;
|
2272 |
} elseif ( defined( 'PODS_SESSION_AUTO_START' ) && ! PODS_SESSION_AUTO_START ) {
|
2273 |
// Allow for bypassing Pods session autostarting.
|
2274 |
return false;
|
2295 |
*
|
2296 |
* @return bool
|
2297 |
*
|
2298 |
+
* @since 2.7.0
|
2299 |
*/
|
2300 |
function pods_is_modal_window() {
|
2301 |
|
2315 |
*
|
2316 |
* @return bool Whether the pod object is valid and exists
|
2317 |
*
|
2318 |
+
* @since 2.7.0
|
2319 |
*/
|
2320 |
function pod_is_valid( $pod ) {
|
2321 |
|
2335 |
*
|
2336 |
* @return bool Whether the pod object has items
|
2337 |
*
|
2338 |
+
* @since 2.7.0
|
2339 |
*/
|
2340 |
function pod_has_items( $pod ) {
|
2341 |
|
includes/media.php
CHANGED
@@ -196,7 +196,7 @@ function pods_image_url( $image, $size = 'thumbnail', $default = 0, $force = fal
|
|
196 |
*
|
197 |
* @return int Attachment ID
|
198 |
*
|
199 |
-
* @since 2.3
|
200 |
*/
|
201 |
function pods_attachment_import( $url, $post_parent = null, $featured = false ) {
|
202 |
|
@@ -269,7 +269,7 @@ function pods_attachment_import( $url, $post_parent = null, $featured = false )
|
|
269 |
*
|
270 |
* @return boolean Image generation result
|
271 |
*
|
272 |
-
* @since 2.3
|
273 |
*/
|
274 |
function pods_image_resize( $attachment_id, $size ) {
|
275 |
|
@@ -342,7 +342,7 @@ function pods_image_resize( $attachment_id, $size ) {
|
|
342 |
*
|
343 |
* @uses wp_audio_shortcode()
|
344 |
*
|
345 |
-
* @since 2.5
|
346 |
*
|
347 |
* @param string|array $url Can be a URL of the source file, or a Pods audio field.
|
348 |
* @param bool|array $args Optional. Additional arguments to pass to wp_audio_shortcode
|
@@ -375,7 +375,7 @@ function pods_audio( $url, $args = false ) {
|
|
375 |
*
|
376 |
* @uses wp_video_shortcode()
|
377 |
*
|
378 |
-
* @since 2.5
|
379 |
*
|
380 |
* @param string|array $url Can be a URL of the source file, or a Pods video field.
|
381 |
* @param bool|array $args Optional. Additional arguments to pass to wp_video_shortcode()
|
196 |
*
|
197 |
* @return int Attachment ID
|
198 |
*
|
199 |
+
* @since 2.3.0
|
200 |
*/
|
201 |
function pods_attachment_import( $url, $post_parent = null, $featured = false ) {
|
202 |
|
269 |
*
|
270 |
* @return boolean Image generation result
|
271 |
*
|
272 |
+
* @since 2.3.0
|
273 |
*/
|
274 |
function pods_image_resize( $attachment_id, $size ) {
|
275 |
|
342 |
*
|
343 |
* @uses wp_audio_shortcode()
|
344 |
*
|
345 |
+
* @since 2.5.0
|
346 |
*
|
347 |
* @param string|array $url Can be a URL of the source file, or a Pods audio field.
|
348 |
* @param bool|array $args Optional. Additional arguments to pass to wp_audio_shortcode
|
375 |
*
|
376 |
* @uses wp_video_shortcode()
|
377 |
*
|
378 |
+
* @since 2.5.0
|
379 |
*
|
380 |
* @param string|array $url Can be a URL of the source file, or a Pods video field.
|
381 |
* @param bool|array $args Optional. Additional arguments to pass to wp_video_shortcode()
|
init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Pods - Custom Content Types and Fields
|
4 |
Plugin URI: https://pods.io/
|
5 |
Description: Pods is a framework for creating, managing, and deploying customized content types and fields
|
6 |
-
Version: 2.7.
|
7 |
Author: Pods Framework Team
|
8 |
Author URI: https://pods.io/about/
|
9 |
Text Domain: pods
|
@@ -36,7 +36,7 @@ if ( defined( 'PODS_VERSION' ) || defined( 'PODS_DIR' ) ) {
|
|
36 |
add_action( 'init', 'pods_deactivate_pods_ui' );
|
37 |
} else {
|
38 |
// Current version
|
39 |
-
define( 'PODS_VERSION', '2.7.
|
40 |
|
41 |
// Version tracking between DB updates themselves
|
42 |
define( 'PODS_DB_VERSION', '2.3.5' );
|
3 |
Plugin Name: Pods - Custom Content Types and Fields
|
4 |
Plugin URI: https://pods.io/
|
5 |
Description: Pods is a framework for creating, managing, and deploying customized content types and fields
|
6 |
+
Version: 2.7.4
|
7 |
Author: Pods Framework Team
|
8 |
Author URI: https://pods.io/about/
|
9 |
Text Domain: pods
|
36 |
add_action( 'init', 'pods_deactivate_pods_ui' );
|
37 |
} else {
|
38 |
// Current version
|
39 |
+
define( 'PODS_VERSION', '2.7.4' );
|
40 |
|
41 |
// Version tracking between DB updates themselves
|
42 |
define( 'PODS_DB_VERSION', '2.3.5' );
|
phpcs-report-full.txt
ADDED
@@ -0,0 +1,10394 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
FILE: ui/front/pagination/paginate.php
|
3 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4 |
+
FOUND 2 ERRORS AFFECTING 2 LINES
|
5 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6 |
+
3 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
7 |
+
15 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'paginate_links'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
8 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
9 |
+
|
10 |
+
|
11 |
+
FILE: ui/front/pagination/advanced.php
|
12 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
13 |
+
FOUND 15 ERRORS AFFECTING 15 LINES
|
14 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
15 |
+
3 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
16 |
+
10 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
17 |
+
13 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
18 |
+
22 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
19 |
+
28 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
20 |
+
32 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$i". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
21 |
+
35 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
22 |
+
41 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
23 |
+
44 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$i". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
24 |
+
47 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
25 |
+
54 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
26 |
+
60 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
27 |
+
66 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
28 |
+
70 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
29 |
+
73 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
30 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
31 |
+
|
32 |
+
|
33 |
+
FILE: ui/front/pagination/simple.php
|
34 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
35 |
+
FOUND 4 ERRORS AFFECTING 4 LINES
|
36 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
37 |
+
7 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
38 |
+
10 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
39 |
+
17 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
40 |
+
21 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
41 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
42 |
+
|
43 |
+
|
44 |
+
FILE: ui/front/pagination/list.php
|
45 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
46 |
+
FOUND 2 ERRORS AFFECTING 2 LINES
|
47 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
48 |
+
3 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
49 |
+
16 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'paginate_links'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
50 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
51 |
+
|
52 |
+
|
53 |
+
FILE: ui/front/widgets.php
|
54 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
55 |
+
FOUND 9 ERRORS AFFECTING 6 LINES
|
56 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
57 |
+
2 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$before_widget'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
58 |
+
5 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$before_title'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
59 |
+
5 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$title'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
60 |
+
5 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$after_title'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
61 |
+
9 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$before_content'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
62 |
+
12 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_shortcode'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
63 |
+
12 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
64 |
+
15 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$after_content'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
65 |
+
18 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$after_widget'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
66 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
67 |
+
|
68 |
+
|
69 |
+
FILE: ui/front/view.php
|
70 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
71 |
+
FOUND 8 ERRORS AND 2 WARNINGS AFFECTING 7 LINES
|
72 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
73 |
+
14 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
74 |
+
24 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
75 |
+
26 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$default_class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
76 |
+
26 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
77 |
+
27 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$html_class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
78 |
+
27 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
79 |
+
27 | WARNING | [ ] Words in hook names should be separated using underscores. Expected: 'pods_field_html_class', but found: 'pods-field-html-class'.
|
80 |
+
| | (WordPress.NamingConventions.ValidHookName.UseUnderscores)
|
81 |
+
31 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$field'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
82 |
+
35 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$value'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
83 |
+
42 | ERROR | [x] File must end with a newline character (Generic.Files.EndFileNewline.NotFound)
|
84 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
85 |
+
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
86 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
87 |
+
|
88 |
+
|
89 |
+
FILE: ui/front/form.php
|
90 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
91 |
+
FOUND 101 ERRORS AND 10 WARNINGS AFFECTING 75 LINES
|
92 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
93 |
+
6 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$k". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
94 |
+
9 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
95 |
+
9 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
96 |
+
10 | WARNING | [x] Array double arrow not aligned correctly; expected 4 space(s) between "'name'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
97 |
+
11 | WARNING | [x] Array double arrow not aligned correctly; expected 4 space(s) between "'type'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
98 |
+
12 | WARNING | [x] Array double arrow not aligned correctly; expected 3 space(s) between "'label'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
99 |
+
13 | WARNING | [x] Array double arrow not aligned correctly; expected 4 space(s) between "'help'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
100 |
+
16 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
101 |
+
18 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
102 |
+
20 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
103 |
+
21 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
104 |
+
21 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
105 |
+
21 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
106 |
+
22 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
107 |
+
23 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
108 |
+
23 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
109 |
+
24 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
110 |
+
25 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
111 |
+
26 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
112 |
+
26 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
113 |
+
27 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
114 |
+
31 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
115 |
+
32 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
116 |
+
32 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
117 |
+
33 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
118 |
+
34 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
119 |
+
34 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
120 |
+
35 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
121 |
+
36 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
122 |
+
37 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
123 |
+
37 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
124 |
+
39 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
125 |
+
40 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
126 |
+
42 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$submittable_fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
127 |
+
44 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$k". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
128 |
+
50 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$uri_hash". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
129 |
+
50 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
130 |
+
50 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
131 |
+
51 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_hash". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
132 |
+
53 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$uid". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
133 |
+
53 | WARNING | [ ] Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
134 |
+
56 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$uid". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
135 |
+
59 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$nonce". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
136 |
+
61 | ERROR | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
137 |
+
61 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
138 |
+
62 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
139 |
+
63 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
140 |
+
63 | ERROR | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
141 |
+
64 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
142 |
+
64 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
143 |
+
65 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
144 |
+
66 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
145 |
+
66 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$e'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
146 |
+
67 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
147 |
+
70 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_prefix". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
148 |
+
72 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
149 |
+
73 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_prefix". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
150 |
+
77 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
151 |
+
78 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
152 |
+
79 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
153 |
+
79 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
154 |
+
80 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
155 |
+
81 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
156 |
+
82 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
157 |
+
83 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
158 |
+
84 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
159 |
+
85 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
160 |
+
85 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
161 |
+
103 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
162 |
+
104 | ERROR | [x] Line indented incorrectly; expected 5 tabs, found 6 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
163 |
+
104 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
164 |
+
104 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
165 |
+
106 | ERROR | [x] Line indented incorrectly; expected 5 tabs, found 6 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
166 |
+
119 | ERROR | [x] Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
|
167 |
+
120 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$default_class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
168 |
+
120 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
169 |
+
120 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
170 |
+
130 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$html_class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
171 |
+
134 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
172 |
+
134 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
173 |
+
134 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
174 |
+
134 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
175 |
+
138 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
176 |
+
138 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
177 |
+
138 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
178 |
+
138 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
179 |
+
138 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
180 |
+
140 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
181 |
+
140 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
182 |
+
155 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
183 |
+
155 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
184 |
+
160 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
185 |
+
161 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
186 |
+
161 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
187 |
+
161 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
188 |
+
163 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
189 |
+
165 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
190 |
+
165 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
191 |
+
165 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
192 |
+
165 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
193 |
+
166 | WARNING | [ ] Found precision alignment of 3 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
194 |
+
166 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
195 |
+
181 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
196 |
+
183 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
197 |
+
184 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
198 |
+
185 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
199 |
+
187 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
200 |
+
188 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
201 |
+
189 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
202 |
+
200 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_slash'.
|
203 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
204 |
+
210 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
205 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
206 |
+
PHPCBF CAN FIX THE 71 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
207 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
208 |
+
|
209 |
+
|
210 |
+
FILE: ui/front/filters.php
|
211 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
212 |
+
FOUND 6 ERRORS AFFECTING 6 LINES
|
213 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
214 |
+
5 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
215 |
+
7 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
216 |
+
8 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
217 |
+
9 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
218 |
+
11 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$filter". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
219 |
+
13 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
220 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
221 |
+
|
222 |
+
|
223 |
+
FILE: ui/fields/_label.php
|
224 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
225 |
+
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES
|
226 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
227 |
+
3 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$label'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
228 |
+
5 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
229 |
+
9 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
230 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
231 |
+
|
232 |
+
|
233 |
+
FILE: ui/fields/checkbox.php
|
234 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
235 |
+
FOUND 28 ERRORS AND 7 WARNINGS AFFECTING 34 LINES
|
236 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
237 |
+
2 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
238 |
+
4 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$data_count". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
239 |
+
8 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
240 |
+
15 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$counter". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
241 |
+
16 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$primary_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
242 |
+
17 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$primary_id". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
243 |
+
19 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$val". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
244 |
+
22 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
245 |
+
24 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
246 |
+
28 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
247 |
+
30 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
248 |
+
31 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
249 |
+
33 | WARNING | Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
250 |
+
33 | WARNING | Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
251 |
+
34 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
252 |
+
37 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
253 |
+
40 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
254 |
+
43 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
255 |
+
45 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$indent". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
256 |
+
47 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$indent_count". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
257 |
+
50 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
258 |
+
52 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$indent". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
259 |
+
56 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
260 |
+
60 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
261 |
+
64 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
262 |
+
66 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
263 |
+
70 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
264 |
+
73 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
265 |
+
79 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$indent'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
266 |
+
83 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$help". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
267 |
+
85 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
268 |
+
86 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$help". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
269 |
+
89 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
270 |
+
95 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
271 |
+
104 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
272 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
273 |
+
|
274 |
+
|
275 |
+
FILE: ui/fields/website.php
|
276 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
277 |
+
FOUND 8 ERRORS AND 3 WARNINGS AFFECTING 5 LINES
|
278 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
279 |
+
2 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
280 |
+
10 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
281 |
+
10 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
282 |
+
10 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
283 |
+
11 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
284 |
+
11 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
285 |
+
11 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
286 |
+
12 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
287 |
+
12 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
288 |
+
13 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
289 |
+
13 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
290 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
291 |
+
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
292 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
293 |
+
|
294 |
+
|
295 |
+
FILE: ui/fields/select.php
|
296 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
297 |
+
FOUND 32 ERRORS AND 6 WARNINGS AFFECTING 35 LINES
|
298 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
299 |
+
2 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
300 |
+
3 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
301 |
+
5 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_limit". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
302 |
+
6 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$multiple". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
303 |
+
8 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
304 |
+
8 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
305 |
+
9 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
306 |
+
10 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
307 |
+
11 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$multiple". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
308 |
+
15 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
309 |
+
17 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
310 |
+
20 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
311 |
+
23 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
312 |
+
25 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
313 |
+
28 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$selection_made". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
314 |
+
32 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$option_value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
315 |
+
34 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$option_label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
316 |
+
41 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$sub_option_value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
317 |
+
44 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$sub_option_label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
318 |
+
46 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$sub_option_label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
319 |
+
50 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$sub_option_label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
320 |
+
52 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$selected". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
321 |
+
53 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
322 |
+
55 | WARNING | Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
323 |
+
55 | WARNING | Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
324 |
+
56 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$selected". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
325 |
+
57 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
326 |
+
60 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$selection_made". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
327 |
+
70 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$selected'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
328 |
+
78 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$option_label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
329 |
+
80 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$selected". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
330 |
+
81 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
331 |
+
83 | WARNING | Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
332 |
+
83 | WARNING | Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
333 |
+
84 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$selected". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
334 |
+
85 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
335 |
+
88 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$selection_made". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
336 |
+
98 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$selected'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
337 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
338 |
+
|
339 |
+
|
340 |
+
FILE: ui/fields/link.php
|
341 |
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
342 |
+
FOUND 45 ERRORS AND 3 WARNINGS AFFECTING 38 LINES
|
343 |
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
344 |
+
10 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$url_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
345 |
+
11 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$url_type". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
346 |
+
12 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
347 |
+
13 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$url_type". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
348 |
+
15 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$url_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
349 |
+
16 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$url_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
350 |
+
17 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$url_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
351 |
+
17 | ERROR | The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
352 |
+
17 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
353 |
+
18 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$url_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
354 |
+
19 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$url_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
355 |
+
20 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$url_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
356 |
+
22 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$text_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
357 |
+
23 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$text_type". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
358 |
+
24 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$text_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
359 |
+
25 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$text_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
360 |
+
26 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$text_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
361 |
+
26 | ERROR | The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
362 |
+
26 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
363 |
+
27 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$text_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
364 |
+
28 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$text_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
365 |
+
29 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$text_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
366 |
+
31 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$target_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
367 |
+
32 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$target_type". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
368 |
+
33 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$target_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
369 |
+
34 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$target_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
370 |
+
35 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$target_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
371 |
+
36 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$target_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
372 |
+
37 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$target_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
373 |
+
38 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
374 |
+
38 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
375 |
+
39 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$target_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
376 |
+
41 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$target_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
377 |
+
42 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$target_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
378 |
+
44 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
379 |
+
45 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
380 |
+
46 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$class_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
381 |
+
51 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
382 |
+
51 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
383 |
+
54 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
384 |
+
54 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
385 |
+
57 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
386 |
+
57 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
387 |
+
62 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
388 |
+
62 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
389 |
+
67 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
390 |
+
69 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
391 |
+
69 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
392 |
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
393 |
+
|
394 |
+
|
395 |
+
FILE: ui/fields/cleditor.php
|
396 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
397 |
+
FOUND 3 ERRORS AFFECTING 3 LINES
|
398 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
399 |
+
6 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
400 |
+
7 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
401 |
+
8 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
402 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
403 |
+
|
404 |
+
|
405 |
+
FILE: ui/fields/textarea.php
|
406 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
407 |
+
FOUND 5 ERRORS AFFECTING 5 LINES
|
408 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
409 |
+
3 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
410 |
+
4 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
411 |
+
5 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
412 |
+
8 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
413 |
+
10 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
414 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
415 |
+
|
416 |
+
|
417 |
+
FILE: ui/fields/password.php
|
418 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
419 |
+
FOUND 7 ERRORS AFFECTING 7 LINES
|
420 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
421 |
+
2 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
422 |
+
3 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
423 |
+
4 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
424 |
+
5 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
425 |
+
6 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
426 |
+
9 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
427 |
+
11 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
428 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
429 |
+
|
430 |
+
|
431 |
+
FILE: ui/fields/_db.php
|
432 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
433 |
+
FOUND 5 ERRORS AFFECTING 5 LINES
|
434 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
435 |
+
2 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
436 |
+
3 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
437 |
+
4 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
438 |
+
5 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
439 |
+
6 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
440 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
441 |
+
|
442 |
+
|
443 |
+
FILE: ui/fields/currency.php
|
444 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
445 |
+
FOUND 24 ERRORS AND 3 WARNINGS AFFECTING 27 LINES
|
446 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
447 |
+
2 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_number". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
448 |
+
4 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
449 |
+
6 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
450 |
+
7 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
451 |
+
8 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
452 |
+
9 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
453 |
+
10 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
454 |
+
14 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
455 |
+
15 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$thousands". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
456 |
+
16 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dot". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
457 |
+
17 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
458 |
+
18 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$thousands". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
459 |
+
19 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dot". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
460 |
+
20 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
461 |
+
21 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$thousands". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
462 |
+
22 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dot". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
463 |
+
24 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$thousands". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
464 |
+
25 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dot". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
465 |
+
28 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$currency". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
466 |
+
31 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$currency". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
467 |
+
34 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$currency_sign". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
468 |
+
36 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$currency_sign'.
|
469 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
470 |
+
41 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
471 |
+
45 | ERROR | [x] Opening PHP tag must be on a line by itself (Squiz.PHP.EmbeddedPhp.ContentBeforeOpen)
|
472 |
+
47 | ERROR | [x] Closing PHP tag must be on a line by itself (Squiz.PHP.EmbeddedPhp.ContentAfterEnd)
|
473 |
+
50 | ERROR | [x] Opening PHP tag must be on a line by itself (Squiz.PHP.EmbeddedPhp.ContentBeforeOpen)
|
474 |
+
52 | ERROR | [x] Closing PHP tag must be on a line by itself (Squiz.PHP.EmbeddedPhp.ContentAfterEnd)
|
475 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
476 |
+
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
477 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
478 |
+
|
479 |
+
|
480 |
+
FILE: ui/fields/color.php
|
481 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
482 |
+
FOUND 10 ERRORS AFFECTING 10 LINES
|
483 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
484 |
+
13 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$colorpicker_l10n". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
485 |
+
14 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
486 |
+
15 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
487 |
+
16 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
488 |
+
17 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
489 |
+
24 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
490 |
+
25 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
491 |
+
26 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
492 |
+
27 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
493 |
+
28 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
494 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
495 |
+
|
496 |
+
|
497 |
+
FILE: ui/fields/datetime.php
|
498 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
499 |
+
FOUND 31 ERRORS AND 3 WARNINGS AFFECTING 32 LINES
|
500 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
501 |
+
6 | ERROR | Missing @package tag in file comment (Squiz.Commenting.FileComment.MissingPackageTag)
|
502 |
+
15 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
503 |
+
19 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
504 |
+
23 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
505 |
+
24 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
506 |
+
26 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$format". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
507 |
+
28 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$method". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
508 |
+
30 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$format_value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
509 |
+
32 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
510 |
+
42 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
511 |
+
45 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$html5_format". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
512 |
+
48 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
513 |
+
49 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
514 |
+
50 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
515 |
+
52 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$timezone". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
516 |
+
53 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$timezone". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
517 |
+
56 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$timezone". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
518 |
+
59 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
519 |
+
62 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
520 |
+
63 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$date_default". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
521 |
+
65 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$formatted_date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
522 |
+
67 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
523 |
+
75 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$formatted_date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
524 |
+
75 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
525 |
+
75 | ERROR | Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
526 |
+
77 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$formatted_date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
527 |
+
80 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
528 |
+
82 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
529 |
+
84 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
530 |
+
86 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
531 |
+
90 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
532 |
+
92 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
533 |
+
94 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
534 |
+
107 | WARNING | json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
535 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
536 |
+
|
537 |
+
|
538 |
+
FILE: ui/fields/date.php
|
539 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
540 |
+
FOUND 22 ERRORS AND 3 WARNINGS AFFECTING 23 LINES
|
541 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
542 |
+
6 | ERROR | Missing @package tag in file comment (Squiz.Commenting.FileComment.MissingPackageTag)
|
543 |
+
13 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
544 |
+
17 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
545 |
+
21 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
546 |
+
22 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
547 |
+
24 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$format". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
548 |
+
26 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$method". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
549 |
+
28 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
550 |
+
36 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$html5_format". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
551 |
+
38 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
552 |
+
39 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$date_default". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
553 |
+
41 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$formatted_date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
554 |
+
43 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
555 |
+
51 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$formatted_date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
556 |
+
51 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
557 |
+
51 | ERROR | Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
558 |
+
53 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$formatted_date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
559 |
+
56 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
560 |
+
58 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
561 |
+
60 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
562 |
+
62 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
563 |
+
66 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
564 |
+
68 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
565 |
+
70 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
566 |
+
83 | WARNING | json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
567 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
568 |
+
|
569 |
+
|
570 |
+
FILE: ui/fields/slider.php
|
571 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
572 |
+
FOUND 16 ERRORS AND 10 WARNINGS AFFECTING 24 LINES
|
573 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
574 |
+
6 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
575 |
+
10 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
576 |
+
13 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$values". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
577 |
+
14 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$values". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
578 |
+
19 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$values". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
579 |
+
20 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$values". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
580 |
+
22 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
581 |
+
23 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$output_value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
582 |
+
23 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
583 |
+
23 | ERROR | Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
584 |
+
25 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
585 |
+
26 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$output_value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
586 |
+
29 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
587 |
+
30 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
588 |
+
31 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
589 |
+
32 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
590 |
+
39 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$output_value'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
591 |
+
52 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
592 |
+
54 | WARNING | Found precision alignment of 3 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
593 |
+
55 | WARNING | Found precision alignment of 3 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
594 |
+
60 | WARNING | Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
595 |
+
61 | WARNING | Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
596 |
+
66 | WARNING | Found precision alignment of 3 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
597 |
+
67 | WARNING | Found precision alignment of 3 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
598 |
+
69 | WARNING | Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
599 |
+
70 | WARNING | Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
600 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
601 |
+
|
602 |
+
|
603 |
+
FILE: ui/fields/tinymce.php
|
604 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
605 |
+
FOUND 8 ERRORS AFFECTING 8 LINES
|
606 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
607 |
+
2 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$settings". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
608 |
+
3 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$settings". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
609 |
+
4 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$settings". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
610 |
+
6 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$settings". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
611 |
+
10 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$settings". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
612 |
+
13 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
613 |
+
14 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
614 |
+
15 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$class_attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
615 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
616 |
+
|
617 |
+
|
618 |
+
FILE: ui/fields/email.php
|
619 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
620 |
+
FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES
|
621 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
622 |
+
2 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
623 |
+
6 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
624 |
+
10 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
625 |
+
11 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
626 |
+
12 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
627 |
+
13 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
628 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
629 |
+
|
630 |
+
|
631 |
+
FILE: ui/fields/_comment.php
|
632 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
633 |
+
FOUND 1 ERROR AFFECTING 1 LINE
|
634 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
635 |
+
2 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$message'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
636 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
637 |
+
|
638 |
+
|
639 |
+
FILE: ui/fields/attachment.php
|
640 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
641 |
+
FOUND 44 ERRORS AND 8 WARNINGS AFFECTING 43 LINES
|
642 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
643 |
+
13 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_file". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
644 |
+
15 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
645 |
+
16 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
646 |
+
18 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$css_id". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
647 |
+
20 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$uri_hash". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
648 |
+
22 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$uid". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
649 |
+
22 | WARNING | Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
650 |
+
25 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$uid". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
651 |
+
28 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_nonce". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
652 |
+
28 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
653 |
+
30 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$limit_file_type". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
654 |
+
32 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$title_editable". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
655 |
+
33 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$linked". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
656 |
+
36 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$limit_types". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
657 |
+
38 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$limit_types". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
658 |
+
40 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$limit_types". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
659 |
+
42 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$limit_types". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
660 |
+
44 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$limit_types". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
661 |
+
46 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$limit_types". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
662 |
+
49 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$limit_types". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
663 |
+
59 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$file_limit". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
664 |
+
61 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
665 |
+
62 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$file_limit". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
666 |
+
65 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
667 |
+
70 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$the_post_id". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
668 |
+
73 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$the_post_id". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
669 |
+
77 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
670 |
+
79 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
671 |
+
97 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attachment". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
672 |
+
103 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attachment". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
673 |
+
105 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$thumb". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
674 |
+
106 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attachment". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
675 |
+
108 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attachment". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
676 |
+
111 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attachment". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
677 |
+
114 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attachment". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
678 |
+
116 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$field_file'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
679 |
+
116 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$file_limit'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
680 |
+
116 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$title_editable'.
|
681 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
682 |
+
116 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$attachment'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
683 |
+
116 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$attachment'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
684 |
+
116 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$attachment'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
685 |
+
121 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_v'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
686 |
+
124 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$css_id'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
687 |
+
125 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$field_file'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
688 |
+
125 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$file_limit'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
689 |
+
125 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$title_editable'.
|
690 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
691 |
+
134 | WARNING | Found precision alignment of 3 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
692 |
+
135 | WARNING | Found precision alignment of 3 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
693 |
+
136 | WARNING | Found precision alignment of 3 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
694 |
+
137 | WARNING | Found precision alignment of 3 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
695 |
+
138 | WARNING | Found precision alignment of 3 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
696 |
+
139 | WARNING | Found precision alignment of 3 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
697 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
698 |
+
|
699 |
+
|
700 |
+
FILE: ui/fields/radio.php
|
701 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
702 |
+
FOUND 27 ERRORS AND 7 WARNINGS AFFECTING 33 LINES
|
703 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
704 |
+
2 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
705 |
+
4 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
706 |
+
11 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$counter". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
707 |
+
12 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$primary_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
708 |
+
13 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$primary_id". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
709 |
+
14 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$selection_made". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
710 |
+
16 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$val". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
711 |
+
19 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
712 |
+
21 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
713 |
+
25 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
714 |
+
27 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
715 |
+
29 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
716 |
+
30 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
717 |
+
32 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
718 |
+
32 | WARNING | Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
719 |
+
33 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
720 |
+
34 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$selection_made". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
721 |
+
37 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
722 |
+
39 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
723 |
+
41 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$indent". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
724 |
+
43 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$indent_count". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
725 |
+
46 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
726 |
+
48 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$indent". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
727 |
+
52 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
728 |
+
54 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
729 |
+
58 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
730 |
+
61 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
731 |
+
67 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$indent'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
732 |
+
71 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$help". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
733 |
+
73 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
734 |
+
74 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$help". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
735 |
+
77 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
736 |
+
83 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
737 |
+
92 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
738 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
739 |
+
|
740 |
+
|
741 |
+
FILE: ui/fields/phone.php
|
742 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
743 |
+
FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES
|
744 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
745 |
+
2 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
746 |
+
6 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
747 |
+
10 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
748 |
+
11 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
749 |
+
12 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
750 |
+
13 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
751 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
752 |
+
|
753 |
+
|
754 |
+
FILE: ui/fields/oembed.php
|
755 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
756 |
+
FOUND 21 ERRORS AFFECTING 17 LINES
|
757 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
758 |
+
2 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
759 |
+
3 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
760 |
+
4 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
761 |
+
5 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
762 |
+
6 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
763 |
+
9 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
764 |
+
11 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
765 |
+
14 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$show_preview". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
766 |
+
20 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$oembed_width". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
767 |
+
20 | ERROR | The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
768 |
+
20 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
769 |
+
21 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$oembed_height". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
770 |
+
21 | ERROR | The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
771 |
+
21 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
772 |
+
24 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
773 |
+
26 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'wp_create_nonce'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
774 |
+
28 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
775 |
+
36 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$name'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
776 |
+
38 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$options'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
777 |
+
39 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$oembed_width'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
778 |
+
40 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$oembed_height'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
779 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
780 |
+
|
781 |
+
|
782 |
+
FILE: ui/fields/codemirror.php
|
783 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
784 |
+
FOUND 3 ERRORS AFFECTING 3 LINES
|
785 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
786 |
+
7 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
787 |
+
8 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
788 |
+
9 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
789 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
790 |
+
|
791 |
+
|
792 |
+
FILE: ui/fields/_hidden.php
|
793 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
794 |
+
FOUND 5 ERRORS AFFECTING 5 LINES
|
795 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
796 |
+
3 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
797 |
+
5 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
798 |
+
6 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
799 |
+
7 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
800 |
+
8 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
801 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
802 |
+
|
803 |
+
|
804 |
+
FILE: ui/fields/time.php
|
805 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
806 |
+
FOUND 23 ERRORS AND 3 WARNINGS AFFECTING 24 LINES
|
807 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
808 |
+
6 | ERROR | Missing @package tag in file comment (Squiz.Commenting.FileComment.MissingPackageTag)
|
809 |
+
15 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
810 |
+
19 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
811 |
+
23 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
812 |
+
24 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
813 |
+
26 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$format". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
814 |
+
28 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$method". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
815 |
+
30 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
816 |
+
37 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
817 |
+
40 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$html5_format". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
818 |
+
42 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
819 |
+
43 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$date_default". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
820 |
+
45 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$formatted_date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
821 |
+
47 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
822 |
+
55 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$formatted_date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
823 |
+
55 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
824 |
+
55 | ERROR | Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
825 |
+
57 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$formatted_date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
826 |
+
60 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
827 |
+
62 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
828 |
+
64 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
829 |
+
66 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
830 |
+
70 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
831 |
+
72 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
832 |
+
74 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
833 |
+
87 | WARNING | json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
834 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
835 |
+
|
836 |
+
|
837 |
+
FILE: ui/fields/number.php
|
838 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
839 |
+
FOUND 21 ERRORS AND 4 WARNINGS AFFECTING 22 LINES
|
840 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
841 |
+
2 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_number". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
842 |
+
4 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
843 |
+
6 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
844 |
+
7 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
845 |
+
8 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
846 |
+
9 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
847 |
+
10 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
848 |
+
14 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
849 |
+
15 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$thousands". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
850 |
+
16 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dot". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
851 |
+
17 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
852 |
+
18 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$thousands". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
853 |
+
19 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dot". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
854 |
+
20 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
855 |
+
21 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$thousands". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
856 |
+
22 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dot". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
857 |
+
24 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$thousands". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
858 |
+
25 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dot". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
859 |
+
27 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$regex_test". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
860 |
+
27 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
861 |
+
28 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$regex_replace". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
862 |
+
34 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
863 |
+
34 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$regex_test'.
|
864 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
865 |
+
37 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
866 |
+
37 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$regex_replace'.
|
867 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
868 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
869 |
+
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
870 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
871 |
+
|
872 |
+
|
873 |
+
FILE: ui/fields/slug.php
|
874 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
875 |
+
FOUND 5 ERRORS AFFECTING 5 LINES
|
876 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
877 |
+
2 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
878 |
+
3 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
879 |
+
4 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
880 |
+
5 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
881 |
+
6 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
882 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
883 |
+
|
884 |
+
|
885 |
+
FILE: ui/fields/_row.php
|
886 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
887 |
+
FOUND 3 ERRORS AFFECTING 3 LINES
|
888 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
889 |
+
1 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
890 |
+
3 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
891 |
+
6 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
892 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
893 |
+
|
894 |
+
|
895 |
+
FILE: ui/fields/text.php
|
896 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
897 |
+
FOUND 8 ERRORS AFFECTING 8 LINES
|
898 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
899 |
+
2 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
900 |
+
3 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
901 |
+
4 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
902 |
+
5 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
903 |
+
6 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
904 |
+
8 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
905 |
+
11 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
906 |
+
13 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$attributes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
907 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
908 |
+
|
909 |
+
|
910 |
+
FILE: ui/admin/widgets/single.php
|
911 |
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
912 |
+
FOUND 109 ERRORS AND 1 WARNING AFFECTING 77 LINES
|
913 |
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
914 |
+
2 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
915 |
+
3 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
916 |
+
4 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
917 |
+
5 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
918 |
+
6 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
919 |
+
8 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
920 |
+
9 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
921 |
+
10 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
922 |
+
13 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket)
|
923 |
+
13 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket)
|
924 |
+
13 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
925 |
+
16 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
926 |
+
17 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
927 |
+
17 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
928 |
+
19 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
929 |
+
20 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
930 |
+
22 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
931 |
+
23 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
932 |
+
24 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
933 |
+
24 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$api". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
934 |
+
24 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
935 |
+
25 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
936 |
+
25 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_pods". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
937 |
+
26 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
938 |
+
27 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
939 |
+
28 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
940 |
+
28 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
941 |
+
29 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
942 |
+
31 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
943 |
+
31 | ERROR | [x] Expected 1 space(s) after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis)
|
944 |
+
31 | ERROR | [x] Space between opening control structure and T_COLON is required (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon)
|
945 |
+
32 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
946 |
+
33 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
947 |
+
33 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
948 |
+
33 | ERROR | [x] Expected 1 space(s) after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis)
|
949 |
+
33 | ERROR | [x] Space between opening control structure and T_COLON is required (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon)
|
950 |
+
34 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
951 |
+
35 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
952 |
+
36 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
953 |
+
37 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
954 |
+
38 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
955 |
+
39 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
956 |
+
39 | ERROR | [x] Expected 1 space(s) after ELSE keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
|
957 |
+
39 | ERROR | [x] Space between opening control structure and T_COLON is required (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon)
|
958 |
+
40 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
959 |
+
40 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
960 |
+
41 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
961 |
+
42 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
962 |
+
44 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
963 |
+
45 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
964 |
+
46 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
965 |
+
46 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
966 |
+
47 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
967 |
+
49 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
968 |
+
50 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
969 |
+
52 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
970 |
+
53 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
971 |
+
54 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
972 |
+
54 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
973 |
+
55 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
974 |
+
57 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
975 |
+
58 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
976 |
+
60 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
977 |
+
61 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
978 |
+
61 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
979 |
+
62 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
980 |
+
63 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
981 |
+
64 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
982 |
+
65 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
983 |
+
65 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_templates". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
984 |
+
66 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
985 |
+
67 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
986 |
+
67 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
987 |
+
69 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
988 |
+
70 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
989 |
+
70 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
990 |
+
71 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
991 |
+
71 | ERROR | [x] Expected 1 space(s) after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis)
|
992 |
+
71 | ERROR | [x] Space between opening control structure and T_COLON is required (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon)
|
993 |
+
72 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
994 |
+
72 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
995 |
+
72 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
996 |
+
73 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
997 |
+
73 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
998 |
+
74 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
999 |
+
75 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1000 |
+
76 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1001 |
+
77 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1002 |
+
78 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1003 |
+
79 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1004 |
+
79 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1005 |
+
79 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
1006 |
+
80 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1007 |
+
80 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1008 |
+
81 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1009 |
+
82 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1010 |
+
83 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1011 |
+
83 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1012 |
+
85 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1013 |
+
86 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1014 |
+
87 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1015 |
+
88 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1016 |
+
88 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1017 |
+
88 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
1018 |
+
89 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1019 |
+
91 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1020 |
+
92 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1021 |
+
92 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1022 |
+
94 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1023 |
+
95 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1024 |
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1025 |
+
PHPCBF CAN FIX THE 96 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
1026 |
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1027 |
+
|
1028 |
+
|
1029 |
+
FILE: ui/admin/widgets/view.php
|
1030 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1031 |
+
FOUND 9 ERRORS AFFECTING 7 LINES
|
1032 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1033 |
+
15 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1034 |
+
21 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1035 |
+
27 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1036 |
+
30 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$cache_modes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1037 |
+
38 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$cache_mode_option". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1038 |
+
39 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$selected". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1039 |
+
39 | ERROR | The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
1040 |
+
39 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1041 |
+
48 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1042 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1043 |
+
|
1044 |
+
|
1045 |
+
FILE: ui/admin/widgets/list.php
|
1046 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1047 |
+
FOUND 149 ERRORS AND 4 WARNINGS AFFECTING 107 LINES
|
1048 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1049 |
+
2 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1050 |
+
3 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1051 |
+
4 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1052 |
+
5 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1053 |
+
6 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1054 |
+
8 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1055 |
+
9 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1056 |
+
10 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1057 |
+
13 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket)
|
1058 |
+
13 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket)
|
1059 |
+
13 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1060 |
+
16 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1061 |
+
17 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1062 |
+
17 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1063 |
+
19 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1064 |
+
20 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1065 |
+
22 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1066 |
+
23 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1067 |
+
24 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1068 |
+
24 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$api". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1069 |
+
24 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
1070 |
+
25 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1071 |
+
25 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_pods". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1072 |
+
26 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1073 |
+
27 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1074 |
+
28 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1075 |
+
28 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1076 |
+
29 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1077 |
+
31 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1078 |
+
31 | ERROR | [x] Expected 1 space(s) after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis)
|
1079 |
+
31 | ERROR | [x] Space between opening control structure and T_COLON is required (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon)
|
1080 |
+
32 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1081 |
+
33 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1082 |
+
33 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1083 |
+
33 | ERROR | [x] Expected 1 space(s) after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis)
|
1084 |
+
33 | ERROR | [x] Space between opening control structure and T_COLON is required (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon)
|
1085 |
+
34 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1086 |
+
35 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1087 |
+
36 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1088 |
+
37 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1089 |
+
38 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1090 |
+
39 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1091 |
+
39 | ERROR | [x] Expected 1 space(s) after ELSE keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
|
1092 |
+
39 | ERROR | [x] Space between opening control structure and T_COLON is required (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon)
|
1093 |
+
40 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1094 |
+
40 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1095 |
+
41 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1096 |
+
42 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1097 |
+
44 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1098 |
+
45 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1099 |
+
45 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1100 |
+
46 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1101 |
+
47 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1102 |
+
48 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1103 |
+
49 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1104 |
+
49 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_templates". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1105 |
+
50 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1106 |
+
51 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1107 |
+
51 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1108 |
+
53 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1109 |
+
54 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1110 |
+
54 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1111 |
+
55 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1112 |
+
55 | ERROR | [x] Expected 1 space(s) after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis)
|
1113 |
+
55 | ERROR | [x] Space between opening control structure and T_COLON is required (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon)
|
1114 |
+
56 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1115 |
+
56 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
1116 |
+
56 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
1117 |
+
57 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1118 |
+
57 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
1119 |
+
58 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1120 |
+
59 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1121 |
+
60 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1122 |
+
61 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1123 |
+
62 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1124 |
+
63 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1125 |
+
63 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1126 |
+
63 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
1127 |
+
64 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1128 |
+
64 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1129 |
+
65 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1130 |
+
66 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1131 |
+
67 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1132 |
+
67 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1133 |
+
69 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1134 |
+
70 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1135 |
+
71 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1136 |
+
72 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1137 |
+
72 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1138 |
+
72 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
1139 |
+
73 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1140 |
+
75 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1141 |
+
76 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1142 |
+
76 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1143 |
+
78 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1144 |
+
79 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1145 |
+
81 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1146 |
+
82 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1147 |
+
82 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1148 |
+
84 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1149 |
+
85 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1150 |
+
87 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1151 |
+
88 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1152 |
+
88 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1153 |
+
90 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1154 |
+
91 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1155 |
+
93 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1156 |
+
94 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1157 |
+
94 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1158 |
+
96 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1159 |
+
97 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1160 |
+
99 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1161 |
+
100 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1162 |
+
100 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1163 |
+
102 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1164 |
+
103 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1165 |
+
105 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1166 |
+
106 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1167 |
+
106 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1168 |
+
108 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1169 |
+
109 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1170 |
+
111 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1171 |
+
112 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1172 |
+
112 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1173 |
+
114 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1174 |
+
115 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1175 |
+
115 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$cache_modes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1176 |
+
116 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1177 |
+
116 | WARNING | [x] Array double arrow not aligned correctly; expected 11 space(s) between "'none'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
1178 |
+
117 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1179 |
+
117 | WARNING | [x] Array double arrow not aligned correctly; expected 10 space(s) between "'cache'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
1180 |
+
118 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1181 |
+
118 | WARNING | [x] Array double arrow not aligned correctly; expected 6 space(s) between "'transient'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
1182 |
+
119 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1183 |
+
119 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
1184 |
+
120 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1185 |
+
121 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1186 |
+
122 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1187 |
+
123 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1188 |
+
123 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$cache_mode_option". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1189 |
+
123 | ERROR | [x] Expected 1 space(s) after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis)
|
1190 |
+
123 | ERROR | [x] Space between opening control structure and T_COLON is required (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon)
|
1191 |
+
124 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1192 |
+
125 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1193 |
+
126 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1194 |
+
127 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1195 |
+
128 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1196 |
+
129 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1197 |
+
131 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1198 |
+
132 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1199 |
+
132 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1200 |
+
134 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1201 |
+
135 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1202 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1203 |
+
PHPCBF CAN FIX THE 132 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
1204 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1205 |
+
|
1206 |
+
|
1207 |
+
FILE: ui/admin/widgets/form.php
|
1208 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1209 |
+
FOUND 11 ERRORS AFFECTING 11 LINES
|
1210 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1211 |
+
15 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1212 |
+
22 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$api". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1213 |
+
23 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_pods". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1214 |
+
26 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1215 |
+
31 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1216 |
+
38 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1217 |
+
43 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1218 |
+
45 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1219 |
+
49 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1220 |
+
55 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1221 |
+
61 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1222 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1223 |
+
|
1224 |
+
|
1225 |
+
FILE: ui/admin/widgets/field.php
|
1226 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1227 |
+
FOUND 8 ERRORS AFFECTING 8 LINES
|
1228 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1229 |
+
15 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1230 |
+
22 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$api". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1231 |
+
23 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_pods". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1232 |
+
26 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1233 |
+
31 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1234 |
+
38 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1235 |
+
44 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1236 |
+
51 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1237 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1238 |
+
|
1239 |
+
|
1240 |
+
FILE: ui/admin/settings-tools.php
|
1241 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1242 |
+
FOUND 32 ERRORS AND 1 WARNING AFFECTING 33 LINES
|
1243 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1244 |
+
2 | ERROR | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
1245 |
+
3 | ERROR | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
1246 |
+
4 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$api". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1247 |
+
14 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1248 |
+
19 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1249 |
+
29 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1250 |
+
35 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$php". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1251 |
+
36 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$mysql". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1252 |
+
39 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_plugins". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1253 |
+
41 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$plugin_file". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1254 |
+
47 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$stylesheet". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1255 |
+
48 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$theme". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1256 |
+
49 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$theme_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1257 |
+
51 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$opcode_cache". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1258 |
+
52 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1259 |
+
53 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1260 |
+
54 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1261 |
+
55 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1262 |
+
58 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$object_cache". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1263 |
+
59 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1264 |
+
60 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1265 |
+
61 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1266 |
+
62 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1267 |
+
63 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1268 |
+
66 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$versions". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1269 |
+
73 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1270 |
+
74 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1271 |
+
79 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1272 |
+
81 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1273 |
+
83 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1274 |
+
84 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1275 |
+
89 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$what". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1276 |
+
95 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$what_v". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1277 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1278 |
+
|
1279 |
+
|
1280 |
+
FILE: ui/admin/settings-reset.php
|
1281 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1282 |
+
FOUND 30 ERRORS AND 2 WARNINGS AFFECTING 30 LINES
|
1283 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1284 |
+
20 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1285 |
+
22 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1286 |
+
28 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$monday_mode". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1287 |
+
32 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$html". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1288 |
+
35 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$html". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1289 |
+
41 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$please_note". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1290 |
+
41 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
1291 |
+
43 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$old_version". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1292 |
+
47 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1293 |
+
49 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1294 |
+
52 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$confirm". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1295 |
+
58 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1296 |
+
60 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1297 |
+
61 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$please_note'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1298 |
+
61 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1299 |
+
64 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$confirm". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1300 |
+
70 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1301 |
+
72 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1302 |
+
73 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1303 |
+
76 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$confirm". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1304 |
+
82 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1305 |
+
84 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1306 |
+
85 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1307 |
+
88 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$confirm". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1308 |
+
94 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1309 |
+
96 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1310 |
+
97 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1311 |
+
100 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$confirm". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1312 |
+
110 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1313 |
+
112 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1314 |
+
113 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1315 |
+
116 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$confirm". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1316 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1317 |
+
|
1318 |
+
|
1319 |
+
FILE: ui/admin/setup-edit-field-fluid.php
|
1320 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1321 |
+
FOUND 78 ERRORS AND 6 WARNINGS AFFECTING 71 LINES
|
1322 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1323 |
+
2 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1324 |
+
4 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1325 |
+
6 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1326 |
+
13 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1327 |
+
18 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1328 |
+
20 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1329 |
+
22 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1330 |
+
32 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$default". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1331 |
+
45 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1332 |
+
45 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$extra_classes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1333 |
+
45 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
1334 |
+
50 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1335 |
+
54 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$extra_classes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1336 |
+
59 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$label'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1337 |
+
70 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1338 |
+
71 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1339 |
+
74 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1340 |
+
76 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1341 |
+
79 | WARNING | [x] Array double arrow not aligned correctly; expected 1 space(s) between "'maxlength'" and double arrow, but found 6. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
1342 |
+
88 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1343 |
+
89 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1344 |
+
92 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1345 |
+
94 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1346 |
+
104 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1347 |
+
106 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1348 |
+
116 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1349 |
+
117 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1350 |
+
120 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1351 |
+
122 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1352 |
+
131 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1353 |
+
134 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1354 |
+
140 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1355 |
+
144 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$required_option". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1356 |
+
147 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
1357 |
+
149 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1358 |
+
149 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
1359 |
+
154 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$required_option'.
|
1360 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1361 |
+
157 | ERROR | [x] Opening PHP tag must be on a line by itself (Squiz.PHP.EmbeddedPhp.ContentAfterOpen)
|
1362 |
+
157 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1363 |
+
158 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 52 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
1364 |
+
158 | WARNING | [x] Expected 1 space between "'class'" and double arrow; 13 found. (WordPress.Arrays.MultipleStatementAlignment.LongIndexSpaceBeforeDoubleArrow)
|
1365 |
+
159 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 52 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
1366 |
+
160 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 52 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
1367 |
+
160 | WARNING | [x] Array double arrow not aligned correctly; expected 1 space(s) between "'help'" and double arrow, but found 14. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
1368 |
+
160 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
1369 |
+
161 | ERROR | [x] Array closer not aligned correctly; expected 0 space(s) but found 48 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
1370 |
+
161 | ERROR | [x] Closing PHP tag must be on a line by itself (Squiz.PHP.EmbeddedPhp.ContentBeforeEnd)
|
1371 |
+
167 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$required_option'.
|
1372 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1373 |
+
183 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_tab_fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1374 |
+
186 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_type". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1375 |
+
187 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$first_field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1376 |
+
191 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
1377 |
+
191 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
1378 |
+
192 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1379 |
+
194 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$group'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1380 |
+
196 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1381 |
+
201 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1382 |
+
210 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$first_field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1383 |
+
212 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
1384 |
+
212 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
1385 |
+
213 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1386 |
+
215 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$group'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1387 |
+
217 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1388 |
+
222 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1389 |
+
236 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1390 |
+
239 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1391 |
+
240 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1392 |
+
240 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1393 |
+
255 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
1394 |
+
258 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_v_sanitized'.
|
1395 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1396 |
+
260 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1397 |
+
260 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1398 |
+
261 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1399 |
+
263 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
1400 |
+
263 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1401 |
+
273 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$sub_object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1402 |
+
275 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1403 |
+
278 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1404 |
+
281 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1405 |
+
287 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1406 |
+
294 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1407 |
+
296 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
1408 |
+
300 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1409 |
+
304 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$pick_object_name'.
|
1410 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1411 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1412 |
+
PHPCBF CAN FIX THE 19 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
1413 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1414 |
+
|
1415 |
+
|
1416 |
+
FILE: ui/admin/settings-settings.php
|
1417 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1418 |
+
FOUND 1 ERROR AFFECTING 1 LINE
|
1419 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1420 |
+
1 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1421 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1422 |
+
|
1423 |
+
|
1424 |
+
FILE: ui/admin/setup-edit-field.php
|
1425 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1426 |
+
FOUND 40 ERRORS AND 7 WARNINGS AFFECTING 37 LINES
|
1427 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1428 |
+
2 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1429 |
+
5 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1430 |
+
7 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1431 |
+
9 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1432 |
+
11 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1433 |
+
12 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1434 |
+
14 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1435 |
+
15 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1436 |
+
17 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1437 |
+
18 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1438 |
+
22 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$ignored_pick_objects". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1439 |
+
22 | ERROR | [ ] Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
1440 |
+
26 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1441 |
+
38 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1442 |
+
42 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1443 |
+
51 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1444 |
+
51 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1445 |
+
55 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1446 |
+
66 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1447 |
+
68 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1448 |
+
70 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1449 |
+
75 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$hidden_field_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1450 |
+
75 | ERROR | [x] String "field_data_json[" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
1451 |
+
75 | ERROR | [x] String "]" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
1452 |
+
78 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$hidden_field_value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1453 |
+
78 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
1454 |
+
78 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1455 |
+
78 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
1456 |
+
78 | ERROR | [ ] The constant "JSON_UNESCAPED_UNICODE" is not present in PHP version 5.3 or earlier (PHPCompatibility.PHP.NewConstants.json_unescaped_unicodeFound)
|
1457 |
+
78 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
1458 |
+
79 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$hidden_field_value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1459 |
+
99 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_v_sanitized'.
|
1460 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1461 |
+
101 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1462 |
+
103 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1463 |
+
103 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1464 |
+
104 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1465 |
+
106 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1466 |
+
116 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$sub_object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1467 |
+
118 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$ies". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1468 |
+
120 | ERROR | [ ] Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
1469 |
+
121 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1470 |
+
124 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1471 |
+
126 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1472 |
+
132 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1473 |
+
139 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1474 |
+
142 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1475 |
+
146 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$pick_object_name'.
|
1476 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1477 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1478 |
+
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
1479 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1480 |
+
|
1481 |
+
|
1482 |
+
FILE: ui/admin/help.php
|
1483 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1484 |
+
FOUND 156 ERRORS AND 2 WARNINGS AFFECTING 84 LINES
|
1485 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1486 |
+
2 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1487 |
+
3 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1488 |
+
3 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1489 |
+
4 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1490 |
+
6 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1491 |
+
6 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket)
|
1492 |
+
6 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1493 |
+
6 | ERROR | [x] Space found before comma in function call (Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma)
|
1494 |
+
8 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1495 |
+
8 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket)
|
1496 |
+
8 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1497 |
+
9 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1498 |
+
10 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1499 |
+
10 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket)
|
1500 |
+
10 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket)
|
1501 |
+
10 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1502 |
+
12 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1503 |
+
12 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket)
|
1504 |
+
12 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1505 |
+
14 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1506 |
+
14 | ERROR | [x] Expected 1 spaces after opening bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket)
|
1507 |
+
14 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1508 |
+
16 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1509 |
+
16 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket)
|
1510 |
+
16 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1511 |
+
17 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1512 |
+
19 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1513 |
+
21 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1514 |
+
22 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1515 |
+
22 | WARNING | [x] "include_once" is a statement not a function; no parentheses are required (PEAR.Files.IncludingFile.BracketsNotRequired)
|
1516 |
+
22 | WARNING | [x] File is being unconditionally included; use "require_once" instead (PEAR.Files.IncludingFile.UseRequireOnce)
|
1517 |
+
24 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1518 |
+
24 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$feed". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1519 |
+
26 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1520 |
+
26 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1521 |
+
26 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
1522 |
+
27 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1523 |
+
27 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$max_items". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1524 |
+
28 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1525 |
+
28 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$rss_items". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1526 |
+
30 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1527 |
+
30 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1528 |
+
31 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1529 |
+
32 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1530 |
+
32 | ERROR | [x] Expected 1 spaces before closing bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket)
|
1531 |
+
32 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1532 |
+
34 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1533 |
+
35 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1534 |
+
36 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1535 |
+
36 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1536 |
+
37 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1537 |
+
37 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$authors". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1538 |
+
39 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1539 |
+
39 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$author_text". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1540 |
+
41 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1541 |
+
41 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1542 |
+
42 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1543 |
+
42 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$author_text". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1544 |
+
44 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1545 |
+
44 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
1546 |
+
44 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
1547 |
+
45 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1548 |
+
45 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$author_text". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1549 |
+
47 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1550 |
+
47 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$author_text". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1551 |
+
49 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1552 |
+
49 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
1553 |
+
49 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
1554 |
+
50 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1555 |
+
50 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$author_text". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1556 |
+
51 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1557 |
+
51 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1558 |
+
52 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1559 |
+
53 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1560 |
+
54 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1561 |
+
55 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1562 |
+
55 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$author_text'.
|
1563 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1564 |
+
56 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1565 |
+
57 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1566 |
+
57 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$item'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1567 |
+
58 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1568 |
+
59 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1569 |
+
60 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1570 |
+
60 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1571 |
+
60 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
1572 |
+
61 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1573 |
+
62 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1574 |
+
64 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1575 |
+
65 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1576 |
+
66 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1577 |
+
66 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1578 |
+
66 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
1579 |
+
67 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1580 |
+
67 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1581 |
+
67 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
1582 |
+
69 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1583 |
+
69 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$feed". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1584 |
+
71 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1585 |
+
71 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1586 |
+
71 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
1587 |
+
72 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1588 |
+
72 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$max_items". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1589 |
+
73 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1590 |
+
73 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$rss_items". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1591 |
+
75 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1592 |
+
75 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1593 |
+
76 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1594 |
+
77 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1595 |
+
77 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1596 |
+
79 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1597 |
+
80 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1598 |
+
81 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1599 |
+
81 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1600 |
+
82 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1601 |
+
82 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$authors". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1602 |
+
84 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1603 |
+
84 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$author_text". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1604 |
+
86 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1605 |
+
86 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1606 |
+
87 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1607 |
+
87 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$author_text". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1608 |
+
89 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1609 |
+
89 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
1610 |
+
89 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
1611 |
+
90 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1612 |
+
90 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$author_text". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1613 |
+
92 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1614 |
+
92 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$author_text". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1615 |
+
94 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1616 |
+
94 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
1617 |
+
94 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
1618 |
+
95 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1619 |
+
95 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$author_text". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1620 |
+
96 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1621 |
+
96 | ERROR | [x] Line indented incorrectly; expected 3 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1622 |
+
97 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1623 |
+
98 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1624 |
+
99 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1625 |
+
100 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1626 |
+
100 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$author_text'.
|
1627 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1628 |
+
101 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1629 |
+
102 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1630 |
+
102 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$item'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1631 |
+
103 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1632 |
+
104 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1633 |
+
105 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1634 |
+
105 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1635 |
+
105 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
1636 |
+
106 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1637 |
+
107 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1638 |
+
108 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1639 |
+
109 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1640 |
+
109 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1641 |
+
109 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
1642 |
+
110 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1643 |
+
110 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1644 |
+
110 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
1645 |
+
111 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
1646 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1647 |
+
PHPCBF CAN FIX THE 127 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
1648 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1649 |
+
|
1650 |
+
|
1651 |
+
FILE: ui/admin/view.php
|
1652 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1653 |
+
FOUND 34 ERRORS AND 4 WARNINGS AFFECTING 29 LINES
|
1654 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1655 |
+
17 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1656 |
+
30 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1657 |
+
30 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1658 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1659 |
+
30 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1660 |
+
41 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$datef". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1661 |
+
41 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
1662 |
+
44 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1663 |
+
47 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1664 |
+
47 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1665 |
+
52 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1666 |
+
53 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1667 |
+
56 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1668 |
+
56 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1669 |
+
81 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1670 |
+
98 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$singular_label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1671 |
+
101 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$singular_label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1672 |
+
102 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$singular_label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1673 |
+
104 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$prev". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1674 |
+
105 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$next". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1675 |
+
111 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1676 |
+
121 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1677 |
+
121 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1678 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1679 |
+
121 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$singular_label'.
|
1680 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1681 |
+
129 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1682 |
+
129 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1683 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1684 |
+
129 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$singular_label'.
|
1685 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1686 |
+
157 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1687 |
+
158 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$k". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1688 |
+
159 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1689 |
+
164 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$extra". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1690 |
+
166 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$max_length". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1691 |
+
169 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$extra". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1692 |
+
199 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'apply_filters'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1693 |
+
209 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1694 |
+
219 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1695 |
+
224 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$field'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1696 |
+
227 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$value'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1697 |
+
247 | WARNING | Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
1698 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1699 |
+
|
1700 |
+
|
1701 |
+
FILE: ui/admin/form.php
|
1702 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1703 |
+
FOUND 99 ERRORS AND 14 WARNINGS AFFECTING 95 LINES
|
1704 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1705 |
+
6 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1706 |
+
10 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$duplicate". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1707 |
+
12 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$duplicate". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1708 |
+
15 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$groups". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1709 |
+
17 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1710 |
+
18 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1711 |
+
19 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1712 |
+
21 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group_fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1713 |
+
22 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$submittable_fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1714 |
+
24 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$g". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1715 |
+
26 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$k". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1716 |
+
33 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1717 |
+
35 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1718 |
+
43 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1719 |
+
45 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1720 |
+
50 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$submittable_fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1721 |
+
53 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group_fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1722 |
+
55 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$groups". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1723 |
+
59 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$thank_you_alt". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1724 |
+
62 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$uri_hash". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1725 |
+
63 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_hash". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1726 |
+
65 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$uid". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1727 |
+
65 | WARNING | Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
1728 |
+
68 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$uid". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1729 |
+
71 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$nonce". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1730 |
+
71 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1731 |
+
73 | ERROR | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
1732 |
+
76 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1733 |
+
78 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1734 |
+
83 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$params". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1735 |
+
83 | ERROR | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
1736 |
+
86 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$message". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1737 |
+
86 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1738 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1739 |
+
89 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$message". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1740 |
+
89 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1741 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1742 |
+
92 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1743 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1744 |
+
95 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1745 |
+
97 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1746 |
+
100 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1747 |
+
102 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
1748 |
+
105 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1749 |
+
107 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1750 |
+
111 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$message". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1751 |
+
111 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1752 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1753 |
+
114 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$message". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1754 |
+
114 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1755 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1756 |
+
117 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1757 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1758 |
+
120 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1759 |
+
122 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1760 |
+
127 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1761 |
+
130 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$do". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1762 |
+
134 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$do". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1763 |
+
136 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$do". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1764 |
+
144 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1765 |
+
145 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1766 |
+
146 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1767 |
+
147 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1768 |
+
148 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1769 |
+
149 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1770 |
+
149 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1771 |
+
150 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1772 |
+
151 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1773 |
+
152 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1774 |
+
159 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1775 |
+
201 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_v'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1776 |
+
215 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1777 |
+
215 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1778 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1779 |
+
215 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1780 |
+
226 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$datef". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1781 |
+
226 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
1782 |
+
229 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1783 |
+
232 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1784 |
+
232 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1785 |
+
237 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1786 |
+
238 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1787 |
+
241 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1788 |
+
241 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1789 |
+
286 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1790 |
+
286 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1791 |
+
334 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1792 |
+
336 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$singular_label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1793 |
+
339 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$singular_label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1794 |
+
340 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$singular_label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1795 |
+
344 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$prev_next". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1796 |
+
347 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$prev_next". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1797 |
+
353 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$prev". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1798 |
+
354 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$next". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1799 |
+
373 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1800 |
+
383 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1801 |
+
383 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1802 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1803 |
+
383 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$singular_label'.
|
1804 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1805 |
+
391 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1806 |
+
391 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1807 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1808 |
+
391 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$singular_label'.
|
1809 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1810 |
+
445 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1811 |
+
447 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1812 |
+
452 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$extra". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1813 |
+
454 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$max_length". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1814 |
+
457 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$extra". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1815 |
+
473 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$extra'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1816 |
+
496 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'apply_filters'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1817 |
+
497 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$extra'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1818 |
+
530 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1819 |
+
531 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$first_group". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1820 |
+
533 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1821 |
+
534 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$groups". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1822 |
+
563 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1823 |
+
570 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'apply_filters'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1824 |
+
587 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1825 |
+
590 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1826 |
+
599 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1827 |
+
638 | WARNING | Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
1828 |
+
656 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_slash'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1829 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1830 |
+
|
1831 |
+
|
1832 |
+
FILE: ui/admin/field-option.php
|
1833 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1834 |
+
FOUND 32 ERRORS AND 1 WARNING AFFECTING 29 LINES
|
1835 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1836 |
+
2 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$depends_on". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1837 |
+
4 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1838 |
+
11 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_option". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1839 |
+
13 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dep_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1840 |
+
13 | ERROR | The value of a boolean operation must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedBool)
|
1841 |
+
13 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1842 |
+
14 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dep_classes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1843 |
+
15 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dep_data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1844 |
+
17 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1845 |
+
31 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$row_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1846 |
+
34 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$row_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1847 |
+
37 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1848 |
+
40 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1849 |
+
42 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1850 |
+
47 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$k". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1851 |
+
49 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1852 |
+
56 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1853 |
+
63 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$field_option'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1854 |
+
69 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_group_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1855 |
+
70 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_group_option". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1856 |
+
76 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_group_option". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1857 |
+
78 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group_dep_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1858 |
+
78 | ERROR | The value of a boolean operation must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedBool)
|
1859 |
+
78 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1860 |
+
79 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group_dep_classes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1861 |
+
80 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group_dep_data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1862 |
+
82 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$row_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1863 |
+
85 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$row_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1864 |
+
88 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1865 |
+
91 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1866 |
+
93 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1867 |
+
98 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1868 |
+
110 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$depends_on". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1869 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1870 |
+
|
1871 |
+
|
1872 |
+
FILE: ui/admin/form-settings.php
|
1873 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1874 |
+
FOUND 50 ERRORS AND 3 WARNINGS AFFECTING 48 LINES
|
1875 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1876 |
+
6 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1877 |
+
10 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$duplicate". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1878 |
+
12 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$duplicate". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1879 |
+
16 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$k". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1880 |
+
21 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1881 |
+
26 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1882 |
+
30 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$submittable_fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1883 |
+
32 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$k". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1884 |
+
39 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$thank_you_alt". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1885 |
+
42 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$uri_hash". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1886 |
+
43 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_hash". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1887 |
+
45 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$uid". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1888 |
+
45 | WARNING | Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
1889 |
+
48 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$uid". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1890 |
+
51 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$nonce". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1891 |
+
51 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
1892 |
+
53 | ERROR | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
1893 |
+
57 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$params". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1894 |
+
57 | ERROR | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
1895 |
+
60 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$message". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1896 |
+
60 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1897 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1898 |
+
61 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1899 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1900 |
+
64 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1901 |
+
66 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1902 |
+
69 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1903 |
+
71 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
1904 |
+
74 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$message". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1905 |
+
74 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1906 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1907 |
+
75 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
1908 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
1909 |
+
78 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1910 |
+
80 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1911 |
+
85 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1912 |
+
88 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$do". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1913 |
+
93 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1914 |
+
94 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1915 |
+
95 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1916 |
+
96 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1917 |
+
97 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1918 |
+
98 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1919 |
+
99 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1920 |
+
100 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1921 |
+
101 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1922 |
+
109 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1923 |
+
121 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$depends_on". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1924 |
+
130 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dep_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1925 |
+
131 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dep_classes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1926 |
+
132 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dep_data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1927 |
+
134 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1928 |
+
150 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1929 |
+
154 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1930 |
+
163 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1931 |
+
168 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$depends_on". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1932 |
+
197 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_slash'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1933 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1934 |
+
|
1935 |
+
|
1936 |
+
FILE: ui/admin/settings.php
|
1937 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1938 |
+
FOUND 8 ERRORS AND 1 WARNING AFFECTING 8 LINES
|
1939 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1940 |
+
7 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$default". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1941 |
+
19 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1942 |
+
21 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1943 |
+
21 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
1944 |
+
22 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1945 |
+
24 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1946 |
+
27 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$url". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1947 |
+
30 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$label'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1948 |
+
44 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_view'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1949 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1950 |
+
|
1951 |
+
|
1952 |
+
FILE: ui/admin/components-admin.php
|
1953 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1954 |
+
FOUND 26 ERRORS AND 2 WARNINGS AFFECTING 27 LINES
|
1955 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1956 |
+
5 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1957 |
+
6 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1958 |
+
7 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1959 |
+
8 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1960 |
+
10 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1961 |
+
10 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$component_label'.
|
1962 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1963 |
+
13 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
1964 |
+
20 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$depends_on". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1965 |
+
24 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1966 |
+
25 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_option". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1967 |
+
27 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dep_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1968 |
+
28 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dep_classes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1969 |
+
29 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$dep_data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1970 |
+
31 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
1971 |
+
46 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1972 |
+
50 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1973 |
+
53 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1974 |
+
61 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$field_option'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1975 |
+
66 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_group_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1976 |
+
67 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_group_option". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1977 |
+
73 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_group_option". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1978 |
+
75 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group_dep_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1979 |
+
76 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group_dep_classes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1980 |
+
77 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$group_dep_data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1981 |
+
79 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$value". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1982 |
+
82 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1983 |
+
94 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$depends_on". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1984 |
+
124 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_slash'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
1985 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1986 |
+
|
1987 |
+
|
1988 |
+
FILE: ui/admin/setup-add.php
|
1989 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1990 |
+
FOUND 162 ERRORS AND 13 WARNINGS AFFECTING 129 LINES
|
1991 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1992 |
+
2 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$ignore". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1993 |
+
12 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$link_manager_enabled". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1994 |
+
15 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$ignore". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1995 |
+
34 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
1996 |
+
36 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_pods". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
1997 |
+
38 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
1998 |
+
38 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
1999 |
+
39 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
2000 |
+
41 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2001 |
+
43 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2002 |
+
53 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2003 |
+
57 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2004 |
+
66 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2005 |
+
68 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2006 |
+
75 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2007 |
+
77 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2008 |
+
83 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2009 |
+
85 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2010 |
+
94 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2011 |
+
97 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2012 |
+
102 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2013 |
+
104 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2014 |
+
108 | WARNING | [x] Array double arrow not aligned correctly; expected 6 space(s) between "'pod'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2015 |
+
108 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2016 |
+
108 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
2017 |
+
111 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2018 |
+
113 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2019 |
+
113 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2020 |
+
114 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2021 |
+
116 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2022 |
+
116 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
2023 |
+
121 | ERROR | [x] Line indented incorrectly; expected 9 tabs, found 10 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2024 |
+
121 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2025 |
+
125 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2026 |
+
127 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2027 |
+
130 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2028 |
+
132 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2029 |
+
135 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$default". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2030 |
+
137 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2031 |
+
141 | ERROR | [x] Line indented incorrectly; expected 9 tabs, found 10 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2032 |
+
141 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
2033 |
+
147 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2034 |
+
148 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2035 |
+
148 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
2036 |
+
153 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2037 |
+
154 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2038 |
+
161 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2039 |
+
162 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2040 |
+
162 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
2041 |
+
167 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2042 |
+
168 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2043 |
+
173 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2044 |
+
175 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2045 |
+
178 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2046 |
+
181 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2047 |
+
187 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2048 |
+
194 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$max_length_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2049 |
+
194 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2050 |
+
195 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
2051 |
+
196 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$max_length_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2052 |
+
198 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2053 |
+
199 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2054 |
+
199 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
2055 |
+
205 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$max_length_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2056 |
+
205 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2057 |
+
206 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
2058 |
+
207 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$max_length_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2059 |
+
209 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2060 |
+
210 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2061 |
+
210 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
2062 |
+
215 | ERROR | [x] Line indented incorrectly; expected 10 tabs, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2063 |
+
215 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2064 |
+
216 | ERROR | [x] Line indented incorrectly; expected at least 11 tabs, found 6 (Generic.WhiteSpace.ScopeIndent.Incorrect)
|
2065 |
+
216 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$extra_class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2066 |
+
218 | ERROR | [x] Line indented incorrectly; expected 11 tabs, found 6 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2067 |
+
219 | ERROR | [x] Line indented incorrectly; expected at least 12 tabs, found 7 (Generic.WhiteSpace.ScopeIndent.Incorrect)
|
2068 |
+
219 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$extra_class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2069 |
+
220 | ERROR | [x] Line indented incorrectly; expected 11 tabs, found 6 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2070 |
+
224 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2071 |
+
226 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2072 |
+
229 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2073 |
+
231 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2074 |
+
234 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2075 |
+
238 | ERROR | [x] Line indented incorrectly; expected 10 tabs, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2076 |
+
238 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
2077 |
+
246 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2078 |
+
249 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2079 |
+
255 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2080 |
+
257 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2081 |
+
259 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
2082 |
+
260 | WARNING | [x] Array double arrow not aligned correctly; expected 4 space(s) between "'media'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2083 |
+
261 | WARNING | [x] Array double arrow not aligned correctly; expected 5 space(s) between "'user'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2084 |
+
262 | WARNING | [x] Array double arrow not aligned correctly; expected 2 space(s) between "'comment'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2085 |
+
262 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2086 |
+
266 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2087 |
+
266 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2088 |
+
269 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2089 |
+
269 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2090 |
+
269 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2091 |
+
269 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2092 |
+
269 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2093 |
+
270 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2094 |
+
272 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2095 |
+
272 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2096 |
+
272 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2097 |
+
272 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2098 |
+
272 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2099 |
+
273 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2100 |
+
275 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2101 |
+
275 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2102 |
+
275 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2103 |
+
275 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2104 |
+
275 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2105 |
+
276 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2106 |
+
278 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2107 |
+
280 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2108 |
+
280 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2109 |
+
281 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2110 |
+
283 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2111 |
+
283 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
2112 |
+
288 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$post_types". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2113 |
+
290 | ERROR | [x] Line indented incorrectly; expected 10 tabs, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2114 |
+
291 | ERROR | [x] Line indented incorrectly; expected 11 tabs, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2115 |
+
296 | ERROR | [x] Line indented incorrectly; expected 11 tabs, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2116 |
+
296 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
2117 |
+
297 | ERROR | [x] Line indented incorrectly; expected 11 tabs, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2118 |
+
297 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2119 |
+
297 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2120 |
+
300 | ERROR | [x] Line indented incorrectly; expected 11 tabs, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2121 |
+
302 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 22 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2122 |
+
303 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$post_types". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2123 |
+
304 | ERROR | [x] Line indented incorrectly; expected 10 tabs, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2124 |
+
306 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2125 |
+
307 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2126 |
+
312 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$taxonomies". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2127 |
+
314 | ERROR | [x] Line indented incorrectly; expected 10 tabs, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2128 |
+
315 | ERROR | [x] Line indented incorrectly; expected 11 tabs, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2129 |
+
320 | ERROR | [x] Line indented incorrectly; expected 11 tabs, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2130 |
+
320 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
2131 |
+
321 | ERROR | [x] Line indented incorrectly; expected 11 tabs, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2132 |
+
321 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2133 |
+
321 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2134 |
+
324 | ERROR | [x] Line indented incorrectly; expected 11 tabs, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2135 |
+
326 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 22 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2136 |
+
327 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$taxonomies". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2137 |
+
328 | ERROR | [x] Line indented incorrectly; expected 10 tabs, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2138 |
+
330 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2139 |
+
331 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2140 |
+
336 | ERROR | [x] Line indented incorrectly; expected 9 tabs, found 10 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2141 |
+
336 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2142 |
+
340 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2143 |
+
342 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2144 |
+
345 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2145 |
+
350 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$default". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2146 |
+
352 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2147 |
+
356 | ERROR | [x] Line indented incorrectly; expected 9 tabs, found 10 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2148 |
+
356 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
2149 |
+
360 | ERROR | [x] Line indented incorrectly; expected 9 tabs, found 10 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2150 |
+
360 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2151 |
+
361 | ERROR | [x] Line indented incorrectly; expected at least 10 tabs, found 6 (Generic.WhiteSpace.ScopeIndent.Incorrect)
|
2152 |
+
361 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$extra_class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2153 |
+
363 | ERROR | [x] Line indented incorrectly; expected 10 tabs, found 6 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2154 |
+
364 | ERROR | [x] Line indented incorrectly; expected at least 11 tabs, found 7 (Generic.WhiteSpace.ScopeIndent.Incorrect)
|
2155 |
+
364 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$extra_class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2156 |
+
365 | ERROR | [x] Line indented incorrectly; expected 10 tabs, found 6 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2157 |
+
368 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2158 |
+
373 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2159 |
+
375 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2160 |
+
378 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2161 |
+
380 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2162 |
+
383 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2163 |
+
389 | ERROR | [x] Line indented incorrectly; expected 9 tabs, found 10 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2164 |
+
389 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
2165 |
+
398 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2166 |
+
398 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2167 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
2168 |
+
PHPCBF CAN FIX THE 94 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
2169 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
2170 |
+
|
2171 |
+
|
2172 |
+
FILE: ui/admin/shortcode.php
|
2173 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
2174 |
+
FOUND 38 ERRORS AND 6 WARNINGS AFFECTING 40 LINES
|
2175 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
2176 |
+
341 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2177 |
+
346 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2178 |
+
349 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2179 |
+
350 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2180 |
+
351 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2181 |
+
352 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2182 |
+
353 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2183 |
+
354 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2184 |
+
356 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2185 |
+
363 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$api". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2186 |
+
364 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_pods". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2187 |
+
365 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod_count". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2188 |
+
367 | WARNING | Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
2189 |
+
367 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2190 |
+
372 | WARNING | Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
2191 |
+
373 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2192 |
+
382 | WARNING | Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
2193 |
+
382 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2194 |
+
388 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$templates". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2195 |
+
389 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$template_count". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2196 |
+
391 | WARNING | Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
2197 |
+
391 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2198 |
+
394 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2199 |
+
407 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2200 |
+
416 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2201 |
+
425 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$page_count". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2202 |
+
427 | WARNING | Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
2203 |
+
427 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2204 |
+
440 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2205 |
+
446 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2206 |
+
452 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2207 |
+
458 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2208 |
+
464 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2209 |
+
470 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2210 |
+
476 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2211 |
+
482 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2212 |
+
488 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2213 |
+
494 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2214 |
+
497 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$cache_modes". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2215 |
+
504 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$default_cache_mode". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2216 |
+
506 | WARNING | Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
2217 |
+
507 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$cache_mode_option". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2218 |
+
516 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2219 |
+
522 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2220 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
2221 |
+
|
2222 |
+
|
2223 |
+
FILE: ui/admin/setup-edit.php
|
2224 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
2225 |
+
FOUND 993 ERRORS AND 52 WARNINGS AFFECTING 696 LINES
|
2226 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
2227 |
+
4 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$api". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2228 |
+
6 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2229 |
+
8 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod_type". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2230 |
+
10 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2231 |
+
10 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2232 |
+
10 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2233 |
+
10 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2234 |
+
10 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2235 |
+
11 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2236 |
+
11 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
2237 |
+
13 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2238 |
+
13 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2239 |
+
15 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2240 |
+
15 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2241 |
+
17 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2242 |
+
20 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_types". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2243 |
+
22 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_types_select". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2244 |
+
25 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2245 |
+
26 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2246 |
+
27 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2247 |
+
28 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2248 |
+
28 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_type". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2249 |
+
28 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2250 |
+
30 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2251 |
+
30 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_type_vars". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2252 |
+
32 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2253 |
+
32 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2254 |
+
32 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2255 |
+
32 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2256 |
+
33 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2257 |
+
33 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_type_vars". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2258 |
+
33 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2259 |
+
35 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2260 |
+
36 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2261 |
+
36 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2262 |
+
37 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2263 |
+
37 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2264 |
+
37 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2265 |
+
38 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2266 |
+
39 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2267 |
+
39 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2268 |
+
39 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2269 |
+
39 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2270 |
+
39 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2271 |
+
40 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2272 |
+
41 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2273 |
+
41 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2274 |
+
41 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2275 |
+
41 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2276 |
+
41 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2277 |
+
41 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2278 |
+
42 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2279 |
+
43 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2280 |
+
45 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2281 |
+
45 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2282 |
+
46 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2283 |
+
46 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2284 |
+
46 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2285 |
+
47 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2286 |
+
47 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_types_select". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2287 |
+
49 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2288 |
+
49 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_types_select". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2289 |
+
49 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2290 |
+
50 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2291 |
+
50 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
2292 |
+
51 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2293 |
+
52 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2294 |
+
52 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2295 |
+
52 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2296 |
+
53 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2297 |
+
53 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_types_select". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2298 |
+
55 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2299 |
+
55 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_types_select". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2300 |
+
55 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2301 |
+
56 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2302 |
+
57 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
2303 |
+
59 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_defaults". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2304 |
+
60 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2305 |
+
60 | WARNING | [x] Array double arrow not aligned correctly; expected 8 space(s) between "'name'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2306 |
+
61 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2307 |
+
61 | WARNING | [x] Array double arrow not aligned correctly; expected 7 space(s) between "'label'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2308 |
+
62 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2309 |
+
63 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2310 |
+
63 | WARNING | [x] Array double arrow not aligned correctly; expected 8 space(s) between "'type'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2311 |
+
64 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2312 |
+
65 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2313 |
+
65 | WARNING | [x] Array double arrow not aligned correctly; expected 3 space(s) between "'sister_id'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2314 |
+
66 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2315 |
+
66 | WARNING | [x] Array double arrow not aligned correctly; expected 4 space(s) between "'required'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2316 |
+
67 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2317 |
+
67 | WARNING | [x] Array double arrow not aligned correctly; expected 6 space(s) between "'unique'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2318 |
+
70 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2319 |
+
72 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$tableless_field_types". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2320 |
+
72 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2321 |
+
73 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$simple_tableless_objects".
|
2322 |
+
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2323 |
+
74 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$bidirectional_objects". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2324 |
+
74 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2325 |
+
76 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2326 |
+
76 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_option". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2327 |
+
77 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2328 |
+
77 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2329 |
+
80 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2330 |
+
80 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2331 |
+
81 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2332 |
+
81 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_data". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2333 |
+
81 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2334 |
+
81 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2335 |
+
83 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2336 |
+
83 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2337 |
+
83 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_option". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2338 |
+
84 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2339 |
+
84 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2340 |
+
84 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2341 |
+
85 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2342 |
+
88 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_defaults". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2343 |
+
88 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2344 |
+
90 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_table". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2345 |
+
93 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2346 |
+
93 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_table". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2347 |
+
94 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2348 |
+
94 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2349 |
+
95 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2350 |
+
97 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2351 |
+
99 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2352 |
+
99 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$tables". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2353 |
+
99 | ERROR | [x] String "SHOW TABLES" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
2354 |
+
101 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2355 |
+
101 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2356 |
+
102 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2357 |
+
103 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2358 |
+
103 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_table". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2359 |
+
103 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2360 |
+
103 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2361 |
+
104 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2362 |
+
105 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2363 |
+
107 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2364 |
+
110 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_settings". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2365 |
+
111 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2366 |
+
112 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2367 |
+
112 | WARNING | [x] Array double arrow not aligned correctly; expected 5 space(s) between "'field_defaults'" and double arrow, but found 1.
|
2368 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2369 |
+
113 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2370 |
+
113 | WARNING | [x] Array double arrow not aligned correctly; expected 8 space(s) between "'pick_object'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2371 |
+
114 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2372 |
+
114 | WARNING | [x] Array double arrow not aligned correctly; expected 9 space(s) between "'pick_table'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2373 |
+
115 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2374 |
+
115 | WARNING | [x] Array double arrow not aligned correctly; expected 10 space(s) between "'sister_id'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2375 |
+
115 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2376 |
+
118 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_settings". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2377 |
+
118 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2378 |
+
120 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2379 |
+
120 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2380 |
+
120 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2381 |
+
120 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2382 |
+
123 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$max_length_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2383 |
+
123 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2384 |
+
124 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
2385 |
+
125 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$max_length_name". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2386 |
+
127 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2387 |
+
128 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$tab_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2388 |
+
130 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_tabs". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2389 |
+
130 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2390 |
+
131 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_tab_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2391 |
+
133 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$no_additional". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2392 |
+
135 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2393 |
+
135 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_type". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2394 |
+
136 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2395 |
+
136 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2396 |
+
137 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2397 |
+
137 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$no_additional". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2398 |
+
151 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pod_post". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2399 |
+
160 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2400 |
+
161 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2401 |
+
162 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2402 |
+
163 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2403 |
+
163 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2404 |
+
164 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2405 |
+
164 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2406 |
+
166 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2407 |
+
167 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2408 |
+
168 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2409 |
+
169 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2410 |
+
169 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2411 |
+
169 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2412 |
+
169 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2413 |
+
169 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2414 |
+
169 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2415 |
+
170 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2416 |
+
171 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2417 |
+
171 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2418 |
+
172 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2419 |
+
173 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2420 |
+
173 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
2421 |
+
174 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2422 |
+
174 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2423 |
+
175 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2424 |
+
176 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2425 |
+
177 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2426 |
+
178 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2427 |
+
178 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2428 |
+
179 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2429 |
+
180 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2430 |
+
181 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2431 |
+
182 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2432 |
+
182 | ERROR | [x] Opening PHP tag must be on a line by itself (Squiz.PHP.EmbeddedPhp.ContentAfterOpen)
|
2433 |
+
182 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2434 |
+
183 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2435 |
+
183 | ERROR | [x] Multi-line function call not indented correctly; expected 24 spaces but found 20 (PEAR.Functions.FunctionCallSignature.Indent)
|
2436 |
+
183 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
2437 |
+
184 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2438 |
+
184 | ERROR | [x] Multi-line array item not aligned correctly; expected 8 spaces, but found 24 (WordPress.Arrays.ArrayIndentation.MultiLineArrayItemNotAligned)
|
2439 |
+
185 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2440 |
+
185 | WARNING | [x] Array double arrow not aligned correctly; expected 6 space(s) between "'size'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2441 |
+
185 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2442 |
+
186 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2443 |
+
186 | ERROR | [x] Multi-line function call not indented correctly; expected 24 spaces but found 20 (PEAR.Functions.FunctionCallSignature.Indent)
|
2444 |
+
187 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2445 |
+
187 | ERROR | [x] Multi-line function call not indented correctly; expected 24 spaces but found 20 (PEAR.Functions.FunctionCallSignature.Indent)
|
2446 |
+
187 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
2447 |
+
187 | WARNING | [x] Array double arrow not aligned correctly; expected 6 space(s) between "'class'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2448 |
+
187 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2449 |
+
188 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2450 |
+
188 | ERROR | [x] Multi-line function call not indented correctly; expected 20 spaces but found 16 (PEAR.Functions.FunctionCallSignature.Indent)
|
2451 |
+
188 | ERROR | [x] Array closer not aligned correctly; expected 0 space(s) but found 16 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
2452 |
+
188 | ERROR | [x] Closing PHP tag must be on a line by itself (Squiz.PHP.EmbeddedPhp.ContentBeforeEnd)
|
2453 |
+
189 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2454 |
+
190 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2455 |
+
191 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2456 |
+
192 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2457 |
+
193 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2458 |
+
193 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2459 |
+
193 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
2460 |
+
194 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2461 |
+
195 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2462 |
+
197 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2463 |
+
198 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2464 |
+
198 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2465 |
+
198 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2466 |
+
199 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2467 |
+
201 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2468 |
+
202 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2469 |
+
203 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2470 |
+
203 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$default". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2471 |
+
205 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2472 |
+
205 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2473 |
+
205 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2474 |
+
206 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2475 |
+
206 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$tab_keys". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2476 |
+
208 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2477 |
+
208 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$default". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2478 |
+
209 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2479 |
+
209 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2480 |
+
211 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2481 |
+
211 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2482 |
+
212 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2483 |
+
212 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2484 |
+
212 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2485 |
+
212 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2486 |
+
213 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2487 |
+
215 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2488 |
+
215 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2489 |
+
217 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2490 |
+
219 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2491 |
+
219 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2492 |
+
219 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2493 |
+
220 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2494 |
+
220 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$class". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2495 |
+
221 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2496 |
+
222 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2497 |
+
223 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2498 |
+
223 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$label'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2499 |
+
224 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2500 |
+
225 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2501 |
+
226 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2502 |
+
226 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2503 |
+
227 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2504 |
+
228 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2505 |
+
229 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2506 |
+
230 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2507 |
+
230 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2508 |
+
230 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
2509 |
+
231 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2510 |
+
235 | WARNING | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
2511 |
+
235 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2512 |
+
236 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2513 |
+
238 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$do". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2514 |
+
240 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2515 |
+
240 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2516 |
+
240 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2517 |
+
241 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2518 |
+
242 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2519 |
+
242 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2520 |
+
242 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2521 |
+
242 | ERROR | [x] Expected 1 space after "=="; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2522 |
+
243 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2523 |
+
245 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2524 |
+
245 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$message". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2525 |
+
245 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
2526 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
2527 |
+
247 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2528 |
+
247 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$obj'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2529 |
+
258 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2530 |
+
258 | ERROR | [x] Line indented incorrectly; expected 0 tabs, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2531 |
+
258 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2532 |
+
261 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2533 |
+
262 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2534 |
+
262 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2535 |
+
263 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2536 |
+
265 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2537 |
+
266 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2538 |
+
266 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2539 |
+
266 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2540 |
+
267 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2541 |
+
267 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2542 |
+
270 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2543 |
+
272 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2544 |
+
273 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2545 |
+
274 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2546 |
+
275 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2547 |
+
276 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2548 |
+
277 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2549 |
+
278 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2550 |
+
279 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2551 |
+
280 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2552 |
+
280 | ERROR | [ ] Inline PHP statement must contain a single statement; 2 found (Squiz.PHP.EmbeddedPhp.MultipleStatements)
|
2553 |
+
280 | ERROR | [x] String "<h6>" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
2554 |
+
280 | ERROR | [x] String "</h6>" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
2555 |
+
280 | ERROR | [x] Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine)
|
2556 |
+
281 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2557 |
+
282 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2558 |
+
283 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2559 |
+
283 | ERROR | [ ] Inline PHP statement must contain a single statement; 2 found (Squiz.PHP.EmbeddedPhp.MultipleStatements)
|
2560 |
+
283 | ERROR | [x] String "<h6>" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
2561 |
+
283 | ERROR | [x] String "</h6>" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
2562 |
+
283 | ERROR | [x] Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine)
|
2563 |
+
284 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2564 |
+
285 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2565 |
+
286 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2566 |
+
286 | ERROR | [ ] Inline PHP statement must contain a single statement; 2 found (Squiz.PHP.EmbeddedPhp.MultipleStatements)
|
2567 |
+
286 | ERROR | [x] String "<h6>" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
2568 |
+
286 | ERROR | [x] String "</h6>" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
2569 |
+
286 | ERROR | [x] Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine)
|
2570 |
+
287 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2571 |
+
288 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2572 |
+
289 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2573 |
+
290 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2574 |
+
291 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2575 |
+
292 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2576 |
+
293 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2577 |
+
294 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2578 |
+
295 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2579 |
+
296 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2580 |
+
296 | ERROR | [ ] Inline PHP statement must contain a single statement; 2 found (Squiz.PHP.EmbeddedPhp.MultipleStatements)
|
2581 |
+
296 | ERROR | [x] String "<h6>" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
2582 |
+
296 | ERROR | [x] String "</h6>" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
2583 |
+
296 | ERROR | [x] Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine)
|
2584 |
+
297 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2585 |
+
298 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2586 |
+
299 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2587 |
+
299 | ERROR | [ ] Inline PHP statement must contain a single statement; 2 found (Squiz.PHP.EmbeddedPhp.MultipleStatements)
|
2588 |
+
299 | ERROR | [x] String "<h6>" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
2589 |
+
299 | ERROR | [x] String "</h6>" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
2590 |
+
299 | ERROR | [x] Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine)
|
2591 |
+
300 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2592 |
+
301 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2593 |
+
302 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2594 |
+
302 | ERROR | [ ] Inline PHP statement must contain a single statement; 2 found (Squiz.PHP.EmbeddedPhp.MultipleStatements)
|
2595 |
+
302 | ERROR | [x] String "<h6>" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
2596 |
+
302 | ERROR | [x] String "</h6>" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
2597 |
+
302 | ERROR | [x] Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine)
|
2598 |
+
303 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2599 |
+
304 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2600 |
+
305 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2601 |
+
306 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2602 |
+
307 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2603 |
+
308 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2604 |
+
309 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2605 |
+
311 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2606 |
+
311 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2607 |
+
312 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2608 |
+
312 | WARNING | [x] Array double arrow not aligned correctly; expected 4 space(s) between "'id'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2609 |
+
313 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2610 |
+
313 | WARNING | [x] Array double arrow not aligned correctly; expected 2 space(s) between "'name'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2611 |
+
314 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2612 |
+
315 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2613 |
+
315 | WARNING | [x] Array double arrow not aligned correctly; expected 2 space(s) between "'type'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
2614 |
+
315 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
2615 |
+
316 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2616 |
+
318 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2617 |
+
320 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2618 |
+
322 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2619 |
+
322 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2620 |
+
322 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2621 |
+
323 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2622 |
+
325 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2623 |
+
326 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2624 |
+
326 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2625 |
+
327 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2626 |
+
328 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2627 |
+
328 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
2628 |
+
329 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2629 |
+
330 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2630 |
+
331 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2631 |
+
332 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2632 |
+
333 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2633 |
+
334 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2634 |
+
335 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2635 |
+
335 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2636 |
+
336 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2637 |
+
339 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2638 |
+
339 | ERROR | [x] Line indented incorrectly; expected 0 tabs, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2639 |
+
339 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
2640 |
+
341 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2641 |
+
343 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2642 |
+
343 | ERROR | [x] Line indented incorrectly; expected 0 tabs, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2643 |
+
343 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2644 |
+
348 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2645 |
+
348 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2646 |
+
348 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2647 |
+
348 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2648 |
+
349 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2649 |
+
349 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2650 |
+
350 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2651 |
+
350 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2652 |
+
350 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2653 |
+
352 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2654 |
+
359 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2655 |
+
363 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2656 |
+
364 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2657 |
+
364 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2658 |
+
364 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2659 |
+
364 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2660 |
+
365 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2661 |
+
365 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2662 |
+
366 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2663 |
+
366 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2664 |
+
366 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2665 |
+
368 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2666 |
+
369 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2667 |
+
370 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2668 |
+
371 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2669 |
+
372 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2670 |
+
372 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2671 |
+
373 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2672 |
+
375 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2673 |
+
376 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2674 |
+
377 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2675 |
+
378 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2676 |
+
379 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2677 |
+
379 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2678 |
+
380 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2679 |
+
381 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2680 |
+
382 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2681 |
+
383 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2682 |
+
384 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2683 |
+
384 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2684 |
+
385 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2685 |
+
386 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2686 |
+
387 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2687 |
+
388 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2688 |
+
389 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2689 |
+
389 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2690 |
+
390 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2691 |
+
391 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2692 |
+
392 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2693 |
+
393 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2694 |
+
394 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2695 |
+
394 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2696 |
+
394 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
2697 |
+
395 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2698 |
+
396 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2699 |
+
397 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2700 |
+
398 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2701 |
+
399 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2702 |
+
399 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2703 |
+
400 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2704 |
+
401 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2705 |
+
402 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2706 |
+
403 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2707 |
+
404 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2708 |
+
404 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2709 |
+
405 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2710 |
+
406 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2711 |
+
407 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2712 |
+
408 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2713 |
+
409 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2714 |
+
409 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2715 |
+
410 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2716 |
+
411 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2717 |
+
412 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2718 |
+
413 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2719 |
+
414 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2720 |
+
414 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2721 |
+
415 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2722 |
+
416 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2723 |
+
417 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2724 |
+
418 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2725 |
+
419 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2726 |
+
419 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2727 |
+
420 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2728 |
+
421 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2729 |
+
422 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2730 |
+
423 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2731 |
+
424 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2732 |
+
424 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2733 |
+
425 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2734 |
+
426 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2735 |
+
427 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2736 |
+
428 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2737 |
+
429 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2738 |
+
429 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2739 |
+
430 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2740 |
+
431 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2741 |
+
433 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2742 |
+
434 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2743 |
+
435 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2744 |
+
436 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2745 |
+
436 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2746 |
+
437 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2747 |
+
438 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2748 |
+
439 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2749 |
+
440 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2750 |
+
441 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2751 |
+
441 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2752 |
+
442 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2753 |
+
443 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2754 |
+
444 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2755 |
+
445 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2756 |
+
446 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2757 |
+
446 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2758 |
+
447 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2759 |
+
448 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2760 |
+
449 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2761 |
+
452 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2762 |
+
453 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2763 |
+
454 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2764 |
+
454 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2765 |
+
455 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2766 |
+
456 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2767 |
+
460 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2768 |
+
461 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2769 |
+
462 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2770 |
+
462 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2771 |
+
463 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2772 |
+
464 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2773 |
+
465 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2774 |
+
466 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2775 |
+
467 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2776 |
+
467 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2777 |
+
468 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2778 |
+
469 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2779 |
+
471 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2780 |
+
472 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2781 |
+
473 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2782 |
+
474 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2783 |
+
475 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2784 |
+
475 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2785 |
+
476 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2786 |
+
476 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2787 |
+
477 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2788 |
+
478 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2789 |
+
479 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2790 |
+
480 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2791 |
+
480 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2792 |
+
481 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2793 |
+
483 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2794 |
+
484 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2795 |
+
485 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2796 |
+
486 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2797 |
+
486 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2798 |
+
487 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2799 |
+
488 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2800 |
+
489 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2801 |
+
490 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2802 |
+
491 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2803 |
+
491 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2804 |
+
492 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2805 |
+
493 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2806 |
+
494 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2807 |
+
495 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2808 |
+
496 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2809 |
+
497 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2810 |
+
498 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2811 |
+
499 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2812 |
+
500 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2813 |
+
501 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
2814 |
+
502 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2815 |
+
503 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2816 |
+
503 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2817 |
+
503 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2818 |
+
503 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2819 |
+
504 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2820 |
+
504 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2821 |
+
505 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2822 |
+
505 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2823 |
+
505 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2824 |
+
507 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2825 |
+
508 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2826 |
+
509 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2827 |
+
510 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2828 |
+
511 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2829 |
+
511 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
2830 |
+
512 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2831 |
+
514 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2832 |
+
515 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2833 |
+
516 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2834 |
+
517 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2835 |
+
517 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2836 |
+
517 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2837 |
+
518 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2838 |
+
519 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2839 |
+
519 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$label". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2840 |
+
519 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
2841 |
+
520 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2842 |
+
521 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2843 |
+
522 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2844 |
+
523 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2845 |
+
523 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2846 |
+
524 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2847 |
+
525 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2848 |
+
526 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2849 |
+
527 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2850 |
+
527 | ERROR | [x] Line indented incorrectly; expected 4 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2851 |
+
528 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2852 |
+
529 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2853 |
+
530 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2854 |
+
531 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2855 |
+
531 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2856 |
+
532 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2857 |
+
533 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2858 |
+
534 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2859 |
+
535 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2860 |
+
536 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2861 |
+
537 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2862 |
+
538 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
2863 |
+
539 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2864 |
+
541 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2865 |
+
542 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2866 |
+
542 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2867 |
+
543 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2868 |
+
543 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2869 |
+
544 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2870 |
+
546 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2871 |
+
547 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2872 |
+
547 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$index_fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2873 |
+
549 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2874 |
+
549 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2875 |
+
549 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2876 |
+
550 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2877 |
+
550 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2878 |
+
550 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
2879 |
+
550 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2880 |
+
551 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2881 |
+
551 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$index_fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2882 |
+
551 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2883 |
+
551 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2884 |
+
552 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2885 |
+
552 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2886 |
+
553 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2887 |
+
555 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2888 |
+
556 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2889 |
+
556 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2890 |
+
557 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2891 |
+
557 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2892 |
+
558 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2893 |
+
560 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2894 |
+
561 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2895 |
+
561 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2896 |
+
562 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2897 |
+
562 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2898 |
+
562 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
2899 |
+
563 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2900 |
+
565 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2901 |
+
566 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2902 |
+
566 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$hierarchical_fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2903 |
+
568 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2904 |
+
568 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2905 |
+
568 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2906 |
+
569 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2907 |
+
569 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2908 |
+
569 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2909 |
+
569 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2910 |
+
569 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2911 |
+
569 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2912 |
+
569 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2913 |
+
569 | ERROR | [ ] Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
2914 |
+
569 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
2915 |
+
569 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2916 |
+
570 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2917 |
+
570 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$hierarchical_fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2918 |
+
570 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2919 |
+
570 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2920 |
+
571 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2921 |
+
571 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2922 |
+
573 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2923 |
+
573 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
2924 |
+
574 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2925 |
+
574 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$hierarchical_fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2926 |
+
575 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2927 |
+
577 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2928 |
+
578 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2929 |
+
578 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2930 |
+
579 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2931 |
+
579 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2932 |
+
580 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2933 |
+
582 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2934 |
+
583 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2935 |
+
584 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2936 |
+
586 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2937 |
+
587 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2938 |
+
588 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2939 |
+
588 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pre_save_helpers". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2940 |
+
590 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2941 |
+
590 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$helpers". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2942 |
+
592 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2943 |
+
592 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2944 |
+
593 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2945 |
+
593 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pre_save_helpers". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2946 |
+
593 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2947 |
+
593 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2948 |
+
594 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2949 |
+
594 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2950 |
+
596 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2951 |
+
596 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2952 |
+
597 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2953 |
+
597 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2954 |
+
598 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2955 |
+
599 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2956 |
+
600 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2957 |
+
601 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2958 |
+
602 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2959 |
+
602 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$post_save_helpers". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2960 |
+
604 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2961 |
+
604 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$helpers". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2962 |
+
606 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2963 |
+
606 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2964 |
+
607 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2965 |
+
607 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$post_save_helpers". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2966 |
+
607 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2967 |
+
607 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2968 |
+
608 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2969 |
+
608 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2970 |
+
610 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2971 |
+
610 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2972 |
+
611 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2973 |
+
611 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2974 |
+
612 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2975 |
+
613 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2976 |
+
614 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2977 |
+
615 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2978 |
+
616 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2979 |
+
616 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pre_delete_helpers". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2980 |
+
618 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2981 |
+
618 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$helpers". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2982 |
+
620 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2983 |
+
620 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2984 |
+
621 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2985 |
+
621 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pre_delete_helpers". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
2986 |
+
621 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2987 |
+
621 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
2988 |
+
622 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2989 |
+
622 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
2990 |
+
624 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2991 |
+
624 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2992 |
+
625 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2993 |
+
625 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
2994 |
+
626 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2995 |
+
627 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2996 |
+
628 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2997 |
+
629 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2998 |
+
630 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
2999 |
+
630 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$post_delete_helpers". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3000 |
+
632 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3001 |
+
632 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$helpers". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3002 |
+
634 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3003 |
+
634 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
3004 |
+
635 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3005 |
+
635 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$post_delete_helpers". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3006 |
+
635 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
3007 |
+
635 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
3008 |
+
636 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3009 |
+
636 | ERROR | [x] Line indented incorrectly; expected 2 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
|
3010 |
+
638 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3011 |
+
638 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3012 |
+
639 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3013 |
+
639 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3014 |
+
640 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3015 |
+
641 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3016 |
+
642 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3017 |
+
643 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3018 |
+
643 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
3019 |
+
644 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
3020 |
+
648 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
3021 |
+
651 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3022 |
+
653 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3023 |
+
653 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
3024 |
+
653 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
3025 |
+
654 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3026 |
+
656 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3027 |
+
657 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3028 |
+
658 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3029 |
+
658 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$fields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3030 |
+
658 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
3031 |
+
659 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3032 |
+
659 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_options". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3033 |
+
660 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3034 |
+
660 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3035 |
+
660 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
3036 |
+
662 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3037 |
+
663 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3038 |
+
664 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3039 |
+
668 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
3040 |
+
671 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3041 |
+
671 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3042 |
+
673 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3043 |
+
673 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3044 |
+
673 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3045 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3046 |
+
673 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$wpdb'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3047 |
+
673 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_v'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3048 |
+
675 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3049 |
+
675 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3050 |
+
677 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3051 |
+
678 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3052 |
+
678 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3053 |
+
679 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3054 |
+
688 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3055 |
+
689 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3056 |
+
690 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3057 |
+
691 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3058 |
+
691 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
3059 |
+
691 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3060 |
+
692 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3061 |
+
693 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3062 |
+
694 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3063 |
+
695 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3064 |
+
696 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3065 |
+
697 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3066 |
+
697 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
3067 |
+
697 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3068 |
+
697 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3069 |
+
698 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3070 |
+
699 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3071 |
+
700 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3072 |
+
701 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3073 |
+
702 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3074 |
+
703 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3075 |
+
704 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3076 |
+
705 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3077 |
+
706 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3078 |
+
707 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3079 |
+
708 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3080 |
+
709 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3081 |
+
710 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3082 |
+
711 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3083 |
+
712 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3084 |
+
713 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3085 |
+
722 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3086 |
+
723 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3087 |
+
725 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3088 |
+
725 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$field_type". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3089 |
+
726 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3090 |
+
726 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
3091 |
+
727 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3092 |
+
729 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3093 |
+
731 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3094 |
+
731 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pick_object_singular". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3095 |
+
732 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3096 |
+
732 | WARNING | [x] Array double arrow not aligned correctly; expected 7 space(s) between ")" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
3097 |
+
733 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3098 |
+
734 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3099 |
+
734 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
3100 |
+
735 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3101 |
+
737 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3102 |
+
737 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
3103 |
+
737 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3104 |
+
738 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3105 |
+
739 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3106 |
+
739 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
3107 |
+
740 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3108 |
+
740 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3109 |
+
741 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3110 |
+
741 | ERROR | [x] Expected 1 space(s) after ELSE keyword; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
|
3111 |
+
741 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
3112 |
+
742 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3113 |
+
742 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3114 |
+
744 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3115 |
+
744 | ERROR | [ ] Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$sub_object". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3116 |
+
745 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3117 |
+
746 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3118 |
+
747 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3119 |
+
747 | ERROR | [x] Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace)
|
3120 |
+
748 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3121 |
+
748 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
3122 |
+
748 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3123 |
+
749 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3124 |
+
750 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3125 |
+
751 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3126 |
+
752 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3127 |
+
753 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3128 |
+
753 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$pods_field_types'.
|
3129 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3130 |
+
754 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3131 |
+
755 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3132 |
+
756 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3133 |
+
756 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$pods_pick_objects'.
|
3134 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3135 |
+
757 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3136 |
+
759 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3137 |
+
760 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3138 |
+
761 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3139 |
+
762 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3140 |
+
763 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3141 |
+
764 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3142 |
+
765 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3143 |
+
766 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3144 |
+
767 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3145 |
+
768 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3146 |
+
769 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3147 |
+
770 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3148 |
+
771 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3149 |
+
772 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3150 |
+
774 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3151 |
+
775 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3152 |
+
776 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3153 |
+
776 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_slash'.
|
3154 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3155 |
+
778 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3156 |
+
779 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3157 |
+
781 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3158 |
+
783 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3159 |
+
784 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3160 |
+
785 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3161 |
+
786 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3162 |
+
788 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3163 |
+
789 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3164 |
+
791 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3165 |
+
792 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3166 |
+
793 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3167 |
+
795 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3168 |
+
796 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3169 |
+
797 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3170 |
+
799 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3171 |
+
800 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3172 |
+
801 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3173 |
+
802 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3174 |
+
803 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3175 |
+
804 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3176 |
+
806 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3177 |
+
807 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3178 |
+
808 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3179 |
+
810 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3180 |
+
812 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3181 |
+
813 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3182 |
+
814 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3183 |
+
815 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3184 |
+
816 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3185 |
+
817 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3186 |
+
818 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3187 |
+
819 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3188 |
+
821 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3189 |
+
822 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3190 |
+
823 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3191 |
+
823 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
3192 |
+
824 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3193 |
+
826 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3194 |
+
827 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3195 |
+
828 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3196 |
+
829 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3197 |
+
830 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3198 |
+
832 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3199 |
+
834 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3200 |
+
835 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3201 |
+
836 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3202 |
+
837 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3203 |
+
838 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3204 |
+
839 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3205 |
+
840 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3206 |
+
842 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3207 |
+
843 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3208 |
+
844 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3209 |
+
845 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3210 |
+
846 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3211 |
+
847 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3212 |
+
848 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3213 |
+
849 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3214 |
+
851 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3215 |
+
853 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3216 |
+
855 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3217 |
+
857 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3218 |
+
858 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3219 |
+
859 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3220 |
+
860 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3221 |
+
861 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3222 |
+
863 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3223 |
+
865 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3224 |
+
866 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3225 |
+
867 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3226 |
+
869 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3227 |
+
870 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3228 |
+
871 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3229 |
+
871 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
3230 |
+
872 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3231 |
+
874 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3232 |
+
875 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3233 |
+
876 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3234 |
+
877 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3235 |
+
877 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
3236 |
+
878 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3237 |
+
880 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3238 |
+
881 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3239 |
+
882 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3240 |
+
884 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3241 |
+
885 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3242 |
+
886 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3243 |
+
887 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3244 |
+
888 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3245 |
+
889 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3246 |
+
890 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3247 |
+
891 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3248 |
+
892 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3249 |
+
893 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3250 |
+
895 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3251 |
+
896 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3252 |
+
897 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3253 |
+
898 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3254 |
+
899 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3255 |
+
899 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
3256 |
+
900 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3257 |
+
901 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3258 |
+
903 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3259 |
+
904 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3260 |
+
905 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3261 |
+
906 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3262 |
+
907 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3263 |
+
907 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
3264 |
+
908 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3265 |
+
909 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3266 |
+
911 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3267 |
+
912 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3268 |
+
913 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3269 |
+
914 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3270 |
+
915 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3271 |
+
916 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3272 |
+
917 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3273 |
+
917 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
3274 |
+
918 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3275 |
+
920 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3276 |
+
921 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3277 |
+
922 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3278 |
+
923 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3279 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3280 |
+
PHPCBF CAN FIX THE 869 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
3281 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3282 |
+
|
3283 |
+
|
3284 |
+
FILE: ui/admin/upgrade/backup.php
|
3285 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3286 |
+
FOUND 7 ERRORS AFFECTING 7 LINES
|
3287 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3288 |
+
1 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3289 |
+
8 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3290 |
+
10 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3291 |
+
14 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3292 |
+
21 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3293 |
+
23 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3294 |
+
27 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3295 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3296 |
+
|
3297 |
+
|
3298 |
+
FILE: ui/admin/upgrade/upgrade_2_1_0.php
|
3299 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3300 |
+
FOUND 16 ERRORS AFFECTING 16 LINES
|
3301 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3302 |
+
10 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3303 |
+
18 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3304 |
+
21 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3305 |
+
24 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3306 |
+
35 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$intro". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3307 |
+
37 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$intro'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3308 |
+
49 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3309 |
+
57 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3310 |
+
67 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3311 |
+
78 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3312 |
+
86 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3313 |
+
96 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3314 |
+
105 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3315 |
+
116 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3316 |
+
117 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3317 |
+
120 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3318 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3319 |
+
|
3320 |
+
|
3321 |
+
FILE: ui/admin/upgrade/upgrade_2_0_0.php
|
3322 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3323 |
+
FOUND 40 ERRORS AFFECTING 36 LINES
|
3324 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3325 |
+
10 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3326 |
+
14 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'wp_create_nonce'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3327 |
+
14 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$new_version'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3328 |
+
18 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3329 |
+
21 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3330 |
+
24 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3331 |
+
35 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$intro". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3332 |
+
37 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$intro'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3333 |
+
49 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3334 |
+
57 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3335 |
+
63 | ERROR | Variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$count". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
3336 |
+
65 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3337 |
+
69 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3338 |
+
71 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3339 |
+
80 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3340 |
+
89 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3341 |
+
98 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3342 |
+
107 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3343 |
+
116 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3344 |
+
125 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3345 |
+
137 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3346 |
+
137 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$pod'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3347 |
+
152 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3348 |
+
160 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3349 |
+
170 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3350 |
+
177 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3351 |
+
177 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$count'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3352 |
+
179 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3353 |
+
188 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3354 |
+
197 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3355 |
+
206 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3356 |
+
215 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3357 |
+
224 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3358 |
+
233 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3359 |
+
245 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3360 |
+
245 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$pod'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3361 |
+
258 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3362 |
+
269 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3363 |
+
270 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3364 |
+
273 | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
3365 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3366 |
+
|
3367 |
+
|
3368 |
+
FILE: classes/widgets/PodsWidgetForm.php
|
3369 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3370 |
+
FOUND 10 ERRORS AFFECTING 5 LINES
|
3371 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3372 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsWidgetForm". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
3373 |
+
8 | ERROR | Doc comment for parameter "$id_base" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3374 |
+
8 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3375 |
+
8 | ERROR | Doc comment for parameter "$widget_options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3376 |
+
8 | ERROR | Doc comment for parameter "$control_options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3377 |
+
20 | ERROR | Doc comment for parameter "$args" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3378 |
+
20 | ERROR | Doc comment for parameter "$instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3379 |
+
48 | ERROR | Doc comment for parameter "$new_instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3380 |
+
48 | ERROR | Doc comment for parameter "$old_instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3381 |
+
65 | ERROR | Doc comment for parameter "$instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3382 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3383 |
+
|
3384 |
+
|
3385 |
+
FILE: classes/widgets/PodsWidgetField.php
|
3386 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3387 |
+
FOUND 10 ERRORS AFFECTING 5 LINES
|
3388 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3389 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsWidgetField". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
3390 |
+
8 | ERROR | Doc comment for parameter "$id_base" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3391 |
+
8 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3392 |
+
8 | ERROR | Doc comment for parameter "$widget_options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3393 |
+
8 | ERROR | Doc comment for parameter "$control_options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3394 |
+
20 | ERROR | Doc comment for parameter "$args" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3395 |
+
20 | ERROR | Doc comment for parameter "$instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3396 |
+
45 | ERROR | Doc comment for parameter "$new_instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3397 |
+
45 | ERROR | Doc comment for parameter "$old_instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3398 |
+
60 | ERROR | Doc comment for parameter "$instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3399 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3400 |
+
|
3401 |
+
|
3402 |
+
FILE: classes/widgets/PodsWidgetSingle.php
|
3403 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3404 |
+
FOUND 10 ERRORS AFFECTING 5 LINES
|
3405 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3406 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsWidgetSingle". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
3407 |
+
8 | ERROR | Doc comment for parameter "$id_base" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3408 |
+
8 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3409 |
+
8 | ERROR | Doc comment for parameter "$widget_options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3410 |
+
8 | ERROR | Doc comment for parameter "$control_options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3411 |
+
19 | ERROR | Doc comment for parameter "$args" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3412 |
+
19 | ERROR | Doc comment for parameter "$instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3413 |
+
47 | ERROR | Doc comment for parameter "$new_instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3414 |
+
47 | ERROR | Doc comment for parameter "$old_instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3415 |
+
64 | ERROR | Doc comment for parameter "$instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3416 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3417 |
+
|
3418 |
+
|
3419 |
+
FILE: classes/widgets/PodsWidgetView.php
|
3420 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3421 |
+
FOUND 10 ERRORS AFFECTING 5 LINES
|
3422 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3423 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsWidgetView". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
3424 |
+
8 | ERROR | Doc comment for parameter "$id_base" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3425 |
+
8 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3426 |
+
8 | ERROR | Doc comment for parameter "$widget_options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3427 |
+
8 | ERROR | Doc comment for parameter "$control_options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3428 |
+
20 | ERROR | Doc comment for parameter "$args" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3429 |
+
20 | ERROR | Doc comment for parameter "$instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3430 |
+
45 | ERROR | Doc comment for parameter "$new_instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3431 |
+
45 | ERROR | Doc comment for parameter "$old_instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3432 |
+
60 | ERROR | Doc comment for parameter "$instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3433 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3434 |
+
|
3435 |
+
|
3436 |
+
FILE: classes/widgets/PodsWidgetList.php
|
3437 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3438 |
+
FOUND 10 ERRORS AFFECTING 5 LINES
|
3439 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3440 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsWidgetList". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
3441 |
+
8 | ERROR | Doc comment for parameter "$id_base" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3442 |
+
8 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3443 |
+
8 | ERROR | Doc comment for parameter "$widget_options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3444 |
+
8 | ERROR | Doc comment for parameter "$control_options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3445 |
+
20 | ERROR | Doc comment for parameter "$args" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3446 |
+
20 | ERROR | Doc comment for parameter "$instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3447 |
+
51 | ERROR | Doc comment for parameter "$new_instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3448 |
+
51 | ERROR | Doc comment for parameter "$old_instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3449 |
+
73 | ERROR | Doc comment for parameter "$instance" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3450 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3451 |
+
|
3452 |
+
|
3453 |
+
FILE: classes/PodsComponent.php
|
3454 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3455 |
+
FOUND 2 ERRORS AFFECTING 2 LINES
|
3456 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3457 |
+
8 | ERROR | [ ] Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsComponent". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
3458 |
+
27 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines (Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines)
|
3459 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3460 |
+
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
3461 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3462 |
+
|
3463 |
+
|
3464 |
+
FILE: classes/PodsRESTFields.php
|
3465 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3466 |
+
FOUND 1 ERROR AFFECTING 1 LINE
|
3467 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3468 |
+
11 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsRESTFields". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
3469 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3470 |
+
|
3471 |
+
|
3472 |
+
FILE: classes/PodsForm.php
|
3473 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3474 |
+
FOUND 135 ERRORS AND 16 WARNINGS AFFECTING 137 LINES
|
3475 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3476 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsForm". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
3477 |
+
125 | ERROR | The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
3478 |
+
125 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3479 |
+
239 | ERROR | Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
3480 |
+
243 | ERROR | Doc comment short description must start with a capital letter (Generic.Commenting.DocComment.ShortNotCapital)
|
3481 |
+
251 | ERROR | Doc comment short description must start with a capital letter (Generic.Commenting.DocComment.ShortNotCapital)
|
3482 |
+
266 | ERROR | eval() is a security risk so not allowed. (Squiz.PHP.Eval.Discouraged)
|
3483 |
+
269 | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'call_user_func'.
|
3484 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3485 |
+
274 | ERROR | Doc comment short description must start with a capital letter (Generic.Commenting.DocComment.ShortNotCapital)
|
3486 |
+
286 | ERROR | Doc comment short description must start with a capital letter (Generic.Commenting.DocComment.ShortNotCapital)
|
3487 |
+
293 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3488 |
+
300 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3489 |
+
301 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3490 |
+
302 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3491 |
+
319 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3492 |
+
322 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3493 |
+
323 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3494 |
+
324 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3495 |
+
390 | WARNING | Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
3496 |
+
390 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3497 |
+
399 | ERROR | The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
3498 |
+
399 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3499 |
+
399 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
3500 |
+
459 | ERROR | Doc comment for parameter "$attributes" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3501 |
+
464 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3502 |
+
465 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3503 |
+
466 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3504 |
+
467 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3505 |
+
482 | ERROR | Doc comment for parameter "$data" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3506 |
+
487 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3507 |
+
488 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3508 |
+
489 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3509 |
+
490 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3510 |
+
511 | ERROR | Doc comment for parameter "$attributes" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3511 |
+
516 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3512 |
+
517 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3513 |
+
518 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3514 |
+
519 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3515 |
+
520 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3516 |
+
528 | WARNING | Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
3517 |
+
539 | ERROR | The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
3518 |
+
539 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3519 |
+
599 | ERROR | Doc comment for parameter "$type" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3520 |
+
599 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3521 |
+
602 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3522 |
+
603 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3523 |
+
663 | ERROR | Doc comment for parameter "$type" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3524 |
+
668 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3525 |
+
670 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3526 |
+
725 | ERROR | Doc comment for parameter "$type" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3527 |
+
730 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3528 |
+
777 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3529 |
+
778 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3530 |
+
779 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3531 |
+
833 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3532 |
+
834 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3533 |
+
835 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3534 |
+
909 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3535 |
+
918 | ERROR | Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
3536 |
+
919 | ERROR | Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
3537 |
+
919 | ERROR | Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
3538 |
+
982 | ERROR | Doc comment for parameter "$type" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3539 |
+
985 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3540 |
+
986 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3541 |
+
987 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3542 |
+
988 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3543 |
+
989 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3544 |
+
990 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3545 |
+
991 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3546 |
+
1001 | WARNING | Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
3547 |
+
1001 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3548 |
+
1003 | WARNING | Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
3549 |
+
1032 | ERROR | Doc comment for parameter "$type" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3550 |
+
1035 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3551 |
+
1036 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3552 |
+
1037 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3553 |
+
1038 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3554 |
+
1039 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3555 |
+
1040 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3556 |
+
1041 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3557 |
+
1065 | WARNING | Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
3558 |
+
1097 | ERROR | Doc comment for parameter "$type" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3559 |
+
1097 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3560 |
+
1102 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3561 |
+
1103 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3562 |
+
1123 | ERROR | Doc comment for parameter "$type" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3563 |
+
1123 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3564 |
+
1128 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3565 |
+
1129 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3566 |
+
1152 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3567 |
+
1153 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3568 |
+
1154 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3569 |
+
1155 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3570 |
+
1156 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3571 |
+
1157 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3572 |
+
1158 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3573 |
+
1159 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3574 |
+
1172 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3575 |
+
1184 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3576 |
+
1185 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3577 |
+
1186 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3578 |
+
1187 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3579 |
+
1188 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3580 |
+
1189 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3581 |
+
1190 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3582 |
+
1191 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3583 |
+
1202 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3584 |
+
1212 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3585 |
+
1213 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3586 |
+
1214 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3587 |
+
1215 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3588 |
+
1216 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3589 |
+
1217 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3590 |
+
1218 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3591 |
+
1219 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3592 |
+
1232 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3593 |
+
1242 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3594 |
+
1243 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3595 |
+
1244 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3596 |
+
1245 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3597 |
+
1246 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3598 |
+
1259 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3599 |
+
1266 | ERROR | Doc comment for parameter "$type" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3600 |
+
1269 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3601 |
+
1270 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3602 |
+
1271 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3603 |
+
1272 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3604 |
+
1273 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3605 |
+
1274 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3606 |
+
1275 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3607 |
+
1291 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3608 |
+
1296 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3609 |
+
1297 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3610 |
+
1298 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3611 |
+
1299 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3612 |
+
1300 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3613 |
+
1301 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3614 |
+
1319 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3615 |
+
1319 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3616 |
+
1325 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3617 |
+
1336 | ERROR | Doc comment for parameter "$input" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3618 |
+
1341 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3619 |
+
1342 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3620 |
+
1343 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3621 |
+
1425 | ERROR | The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
3622 |
+
1425 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3623 |
+
1472 | ERROR | The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
3624 |
+
1472 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3625 |
+
1526 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3626 |
+
1526 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3627 |
+
1583 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3628 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3629 |
+
|
3630 |
+
|
3631 |
+
FILE: classes/PodsComponents.php
|
3632 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3633 |
+
FOUND 2 ERRORS AFFECTING 2 LINES
|
3634 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3635 |
+
8 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsComponents". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
3636 |
+
843 | ERROR | The constant "JSON_UNESCAPED_UNICODE" is not present in PHP version 5.3 or earlier (PHPCompatibility.PHP.NewConstants.json_unescaped_unicodeFound)
|
3637 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3638 |
+
|
3639 |
+
|
3640 |
+
FILE: classes/PodsMigrate.php
|
3641 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3642 |
+
FOUND 116 ERRORS AND 12 WARNINGS AFFECTING 63 LINES
|
3643 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3644 |
+
6 | ERROR | [ ] Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsMigrate". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
3645 |
+
49 | ERROR | [ ] Content missing for @var tag in member variable comment (Squiz.Commenting.VariableComment.EmptyVar)
|
3646 |
+
54 | ERROR | [ ] Content missing for @var tag in member variable comment (Squiz.Commenting.VariableComment.EmptyVar)
|
3647 |
+
101 | ERROR | [ ] Doc comment for parameter "$data" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3648 |
+
102 | ERROR | [ ] Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3649 |
+
152 | ERROR | [x] Expected 2 spaces after parameter type; 1 found (Squiz.Commenting.FunctionComment.SpacingAfterParamType)
|
3650 |
+
168 | ERROR | [x] Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
|
3651 |
+
168 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
3652 |
+
189 | WARNING | [ ] Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
3653 |
+
218 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
3654 |
+
261 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
3655 |
+
261 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3656 |
+
275 | ERROR | [ ] Doc comment for parameter "$line" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3657 |
+
278 | ERROR | [ ] Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3658 |
+
279 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3659 |
+
280 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3660 |
+
281 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3661 |
+
537 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
3662 |
+
539 | WARNING | [ ] Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
3663 |
+
539 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
3664 |
+
639 | ERROR | [ ] String concat is not required here; use a single string instead (Generic.Strings.UnnecessaryStringConcat.Found)
|
3665 |
+
639 | ERROR | [ ] String concat is not required here; use a single string instead (Generic.Strings.UnnecessaryStringConcat.Found)
|
3666 |
+
665 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3667 |
+
666 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3668 |
+
667 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3669 |
+
668 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3670 |
+
785 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
3671 |
+
807 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
3672 |
+
809 | WARNING | [ ] File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: file_put_contents()
|
3673 |
+
| | (WordPress.WP.AlternativeFunctions.file_system_read_file_put_contents)
|
3674 |
+
814 | WARNING | [ ] Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
3675 |
+
828 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
3676 |
+
846 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
3677 |
+
855 | ERROR | [ ] Empty line required before block comment (Squiz.Commenting.BlockComment.NoEmptyLineBefore)
|
3678 |
+
856 | WARNING | [ ] Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
3679 |
+
875 | ERROR | [ ] Doc comment for parameter "$import" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3680 |
+
876 | ERROR | [ ] Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3681 |
+
877 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3682 |
+
933 | WARNING | [ ] Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
3683 |
+
933 | ERROR | [ ] Use of ob_end_flush() is not allowed; use ob_get_contents() and ob_end_clean() instead (Squiz.PHP.DisallowObEndFlush.Found)
|
3684 |
+
952 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3685 |
+
952 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3686 |
+
952 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3687 |
+
952 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3688 |
+
967 | ERROR | [ ] Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
3689 |
+
969 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3690 |
+
969 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3691 |
+
969 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3692 |
+
990 | WARNING | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
3693 |
+
991 | WARNING | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
3694 |
+
995 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
3695 |
+
995 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3696 |
+
995 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3697 |
+
995 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3698 |
+
995 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3699 |
+
999 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3700 |
+
999 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3701 |
+
999 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3702 |
+
1003 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3703 |
+
1003 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3704 |
+
1003 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3705 |
+
1006 | ERROR | [ ] Use placeholders and $wpdb->prepare(); found $data (WordPress.WP.PreparedSQL.NotPrepared)
|
3706 |
+
1009 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3707 |
+
1009 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3708 |
+
1034 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3709 |
+
1034 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3710 |
+
1034 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$avg_unit'.
|
3711 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3712 |
+
1039 | WARNING | [ ] Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
3713 |
+
1039 | ERROR | [ ] Use of ob_end_flush() is not allowed; use ob_get_contents() and ob_end_clean() instead (Squiz.PHP.DisallowObEndFlush.Found)
|
3714 |
+
1043 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3715 |
+
1043 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3716 |
+
1043 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$k'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3717 |
+
1048 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3718 |
+
1048 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3719 |
+
1048 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3720 |
+
1048 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$k'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3721 |
+
1102 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3722 |
+
1102 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3723 |
+
1102 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$field_data'.
|
3724 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3725 |
+
1102 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$field'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3726 |
+
1112 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$field'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3727 |
+
1128 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3728 |
+
1128 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3729 |
+
1149 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3730 |
+
1149 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3731 |
+
1149 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$params'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3732 |
+
1156 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3733 |
+
1156 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3734 |
+
1162 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3735 |
+
1162 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3736 |
+
1162 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3737 |
+
1162 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3738 |
+
1171 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3739 |
+
1171 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3740 |
+
1171 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$k'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3741 |
+
1171 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$id'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3742 |
+
1178 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3743 |
+
1178 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3744 |
+
1178 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3745 |
+
1178 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3746 |
+
1200 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3747 |
+
1200 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3748 |
+
1200 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$percent_complete'.
|
3749 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3750 |
+
1200 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$estimated_time_left'.
|
3751 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3752 |
+
1200 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$estimated_time_left'.
|
3753 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3754 |
+
1200 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$total_time'.
|
3755 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3756 |
+
1200 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$result_count'.
|
3757 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3758 |
+
1200 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$result_count'.
|
3759 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3760 |
+
1200 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$rows_left'.
|
3761 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3762 |
+
1201 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3763 |
+
1201 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3764 |
+
1201 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$percent_complete'.
|
3765 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3766 |
+
1213 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3767 |
+
1213 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3768 |
+
1213 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$total_time'.
|
3769 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3770 |
+
1213 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$result_count'.
|
3771 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3772 |
+
1213 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3773 |
+
1213 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$paginated'.
|
3774 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3775 |
+
1214 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3776 |
+
1214 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3777 |
+
1214 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3778 |
+
1229 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3779 |
+
1229 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$total_time'.
|
3780 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3781 |
+
1229 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$result_count'.
|
3782 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3783 |
+
1229 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3784 |
+
1229 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$paginated'.
|
3785 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3786 |
+
1230 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'date'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3787 |
+
1313 | WARNING | [ ] file_get_contents() is discouraged. Use wp_remote_get() instead. (WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents)
|
3788 |
+
1313 | WARNING | [ ] File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: file_get_contents()
|
3789 |
+
| | (WordPress.WP.AlternativeFunctions.file_system_read_file_get_contents)
|
3790 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3791 |
+
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
3792 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3793 |
+
|
3794 |
+
|
3795 |
+
FILE: classes/PodsInit.php
|
3796 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3797 |
+
FOUND 99 ERRORS AND 4 WARNINGS AFFECTING 93 LINES
|
3798 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3799 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsInit". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
3800 |
+
178 | ERROR | Doc comment is empty (Generic.Commenting.DocComment.Empty)
|
3801 |
+
243 | WARNING | Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "strtoupper( $security_setting )".
|
3802 |
+
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound)
|
3803 |
+
261 | ERROR | The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
3804 |
+
261 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3805 |
+
452 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3806 |
+
502 | ERROR | Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
3807 |
+
503 | ERROR | Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
3808 |
+
658 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3809 |
+
674 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3810 |
+
837 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3811 |
+
1147 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3812 |
+
1173 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3813 |
+
1173 | ERROR | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "preview_post_link". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
3814 |
+
1184 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3815 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3816 |
+
1187 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3817 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3818 |
+
1189 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
3819 |
+
1189 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
3820 |
+
1189 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
3821 |
+
1190 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3822 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3823 |
+
1191 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3824 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3825 |
+
1192 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3826 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3827 |
+
1194 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3828 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3829 |
+
1196 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
3830 |
+
1198 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3831 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3832 |
+
1202 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3833 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3834 |
+
1203 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3835 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3836 |
+
1204 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3837 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3838 |
+
1206 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3839 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3840 |
+
1208 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
3841 |
+
1210 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3842 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3843 |
+
1217 | ERROR | Doc comment for parameter "$args" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3844 |
+
1218 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3845 |
+
1219 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3846 |
+
1245 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3847 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3848 |
+
1246 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3849 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3850 |
+
1248 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3851 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3852 |
+
1249 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3853 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3854 |
+
1250 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3855 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3856 |
+
1251 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3857 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3858 |
+
1252 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3859 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3860 |
+
1253 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3861 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3862 |
+
1254 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3863 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3864 |
+
1255 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3865 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3866 |
+
1256 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3867 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3868 |
+
1257 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3869 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3870 |
+
1262 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3871 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3872 |
+
1263 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3873 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3874 |
+
1264 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3875 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3876 |
+
1265 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3877 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3878 |
+
1266 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3879 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3880 |
+
1267 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3881 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3882 |
+
1268 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3883 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3884 |
+
1271 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3885 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3886 |
+
1272 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3887 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3888 |
+
1273 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3889 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3890 |
+
1274 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3891 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3892 |
+
1275 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3893 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3894 |
+
1276 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3895 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3896 |
+
1277 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3897 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3898 |
+
1278 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3899 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3900 |
+
1279 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3901 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3902 |
+
1280 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3903 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3904 |
+
1281 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3905 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3906 |
+
1282 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3907 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3908 |
+
1283 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3909 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3910 |
+
1284 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3911 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3912 |
+
1285 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3913 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3914 |
+
1286 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3915 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3916 |
+
1287 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3917 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3918 |
+
1307 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
3919 |
+
1318 | ERROR | Doc comment is empty (Generic.Commenting.DocComment.Empty)
|
3920 |
+
1336 | ERROR | Doc comment is empty (Generic.Commenting.DocComment.Empty)
|
3921 |
+
1346 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3922 |
+
1347 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3923 |
+
1366 | ERROR | Block comments must start with a capital letter (Squiz.Commenting.BlockComment.NoCapital)
|
3924 |
+
1367 | ERROR | Comment closer must be on a new line (Squiz.Commenting.BlockComment.CloserSameLine)
|
3925 |
+
1380 | ERROR | Doc comment for parameter "$_blog_id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3926 |
+
1380 | ERROR | Doc comment for parameter "$user_id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3927 |
+
1380 | ERROR | Doc comment for parameter "$domain" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3928 |
+
1380 | ERROR | Doc comment for parameter "$path" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3929 |
+
1380 | ERROR | Doc comment for parameter "$site_id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3930 |
+
1380 | ERROR | Doc comment for parameter "$meta" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3931 |
+
1381 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3932 |
+
1382 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3933 |
+
1383 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3934 |
+
1384 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3935 |
+
1385 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3936 |
+
1386 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3937 |
+
1396 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3938 |
+
1435 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
3939 |
+
1475 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3940 |
+
1565 | ERROR | Missing doc comment for function run() (Squiz.Commenting.FunctionComment.Missing)
|
3941 |
+
1629 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
3942 |
+
1631 | ERROR | Variable "_ID" is not in valid snake_case format (WordPress.NamingConventions.ValidVariableName.NotSnakeCase)
|
3943 |
+
1635 | ERROR | Variable "_ID" is not in valid snake_case format (WordPress.NamingConventions.ValidVariableName.NotSnakeCase)
|
3944 |
+
1635 | ERROR | Variable "_ID" is not in valid snake_case format (WordPress.NamingConventions.ValidVariableName.NotSnakeCase)
|
3945 |
+
1637 | ERROR | Variable "_ID" is not in valid snake_case format (WordPress.NamingConventions.ValidVariableName.NotSnakeCase)
|
3946 |
+
1657 | ERROR | Variable "_ID" is not in valid snake_case format (WordPress.NamingConventions.ValidVariableName.StringNotSnakeCase)
|
3947 |
+
1679 | ERROR | Variable "_ID" is not in valid snake_case format (WordPress.NamingConventions.ValidVariableName.StringNotSnakeCase)
|
3948 |
+
1701 | ERROR | Variable "_ID" is not in valid snake_case format (WordPress.NamingConventions.ValidVariableName.StringNotSnakeCase)
|
3949 |
+
1723 | ERROR | Variable "_ID" is not in valid snake_case format (WordPress.NamingConventions.ValidVariableName.StringNotSnakeCase)
|
3950 |
+
1803 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3951 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
3952 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3953 |
+
|
3954 |
+
|
3955 |
+
FILE: classes/PodsUI.php
|
3956 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3957 |
+
FOUND 291 ERRORS AND 169 WARNINGS AFFECTING 372 LINES
|
3958 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
3959 |
+
6 | ERROR | [ ] Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsUI". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
3960 |
+
45 | ERROR | [ ] You must use "/**" style comments for a member variable comment (Squiz.Commenting.VariableComment.WrongStyle)
|
3961 |
+
88 | ERROR | [ ] You must use "/**" style comments for a member variable comment (Squiz.Commenting.VariableComment.WrongStyle)
|
3962 |
+
251 | ERROR | [ ] Empty line required before block comment (Squiz.Commenting.BlockComment.NoEmptyLineBefore)
|
3963 |
+
253 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3964 |
+
254 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3965 |
+
254 | ERROR | [ ] Comment closer must be on a new line (Squiz.Commenting.BlockComment.CloserSameLine)
|
3966 |
+
463 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3967 |
+
463 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3968 |
+
492 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3969 |
+
496 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3970 |
+
498 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3971 |
+
511 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3972 |
+
518 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
3973 |
+
519 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3974 |
+
537 | ERROR | [ ] Doc comment for parameter "$deprecated_options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3975 |
+
538 | ERROR | [ ] Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3976 |
+
787 | ERROR | [ ] Block comments must start with a capital letter (Squiz.Commenting.BlockComment.NoCapital)
|
3977 |
+
788 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3978 |
+
789 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3979 |
+
790 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3980 |
+
790 | ERROR | [ ] Comment closer must be on a new line (Squiz.Commenting.BlockComment.CloserSameLine)
|
3981 |
+
800 | ERROR | [ ] Block comments must start with a capital letter (Squiz.Commenting.BlockComment.NoCapital)
|
3982 |
+
801 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3983 |
+
802 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3984 |
+
803 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3985 |
+
803 | ERROR | [ ] Comment closer must be on a new line (Squiz.Commenting.BlockComment.CloserSameLine)
|
3986 |
+
813 | ERROR | [ ] Block comments must start with a capital letter (Squiz.Commenting.BlockComment.NoCapital)
|
3987 |
+
814 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3988 |
+
815 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3989 |
+
816 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
3990 |
+
816 | ERROR | [ ] Comment closer must be on a new line (Squiz.Commenting.BlockComment.CloserSameLine)
|
3991 |
+
880 | ERROR | [ ] Doc comment is empty (Generic.Commenting.DocComment.Empty)
|
3992 |
+
886 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$pods_ui_custom_filters'.
|
3993 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
3994 |
+
889 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
3995 |
+
890 | ERROR | [ ] Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
3996 |
+
963 | WARNING | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
3997 |
+
964 | WARNING | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
3998 |
+
1055 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
3999 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4000 |
+
1056 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4001 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4002 |
+
1057 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4003 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4004 |
+
1058 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4005 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4006 |
+
1059 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4007 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4008 |
+
1060 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4009 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4010 |
+
1061 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4011 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4012 |
+
1067 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4013 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4014 |
+
1069 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4015 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4016 |
+
1070 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4017 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4018 |
+
1071 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4019 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4020 |
+
1072 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4021 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4022 |
+
1073 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4023 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4024 |
+
1117 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4025 |
+
1129 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4026 |
+
1196 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4027 |
+
1197 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4028 |
+
1301 | WARNING | [ ] Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
4029 |
+
1340 | ERROR | [ ] Empty line required before block comment (Squiz.Commenting.BlockComment.NoEmptyLineBefore)
|
4030 |
+
1341 | ERROR | [ ] Block comments must start with a capital letter (Squiz.Commenting.BlockComment.NoCapital)
|
4031 |
+
1342 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4032 |
+
1342 | ERROR | [ ] Comment closer must be on a new line (Squiz.Commenting.BlockComment.CloserSameLine)
|
4033 |
+
1343 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4034 |
+
1346 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4035 |
+
1349 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4036 |
+
1352 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4037 |
+
1406 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4038 |
+
1406 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4039 |
+
1406 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4040 |
+
1413 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4041 |
+
1418 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4042 |
+
1423 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4043 |
+
1440 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4044 |
+
1446 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4045 |
+
1458 | ERROR | [ ] Doc comment for parameter "$msg" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
4046 |
+
1459 | ERROR | [ ] Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
4047 |
+
1460 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4048 |
+
1466 | ERROR | [x] Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
|
4049 |
+
1471 | ERROR | [x] Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
|
4050 |
+
1473 | ERROR | [x] Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
|
4051 |
+
1479 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$msg'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4052 |
+
1484 | ERROR | [ ] Doc comment for parameter "$msg" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
4053 |
+
1485 | ERROR | [ ] Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
4054 |
+
1502 | WARNING | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4055 |
+
1504 | ERROR | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4056 |
+
1508 | ERROR | [ ] Stylesheets must be registered/enqueued via wp_enqueue_style (WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet)
|
4057 |
+
1521 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4058 |
+
1523 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4059 |
+
1530 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4060 |
+
1530 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4061 |
+
1535 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4062 |
+
1535 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4063 |
+
1535 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4064 |
+
1536 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4065 |
+
1539 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4066 |
+
1545 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4067 |
+
1549 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4068 |
+
1553 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4069 |
+
1570 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4070 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4071 |
+
1578 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4072 |
+
1592 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
4073 |
+
1592 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4074 |
+
1619 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4075 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4076 |
+
1627 | WARNING | [ ] Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
4077 |
+
1633 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4078 |
+
1633 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4079 |
+
1645 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4080 |
+
1645 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4081 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4082 |
+
1645 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4083 |
+
1655 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4084 |
+
1661 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4085 |
+
1676 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4086 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4087 |
+
1684 | WARNING | [ ] Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
4088 |
+
1688 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4089 |
+
1690 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4090 |
+
1690 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4091 |
+
1695 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4092 |
+
1705 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4093 |
+
1705 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4094 |
+
1717 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4095 |
+
1717 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4096 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4097 |
+
1717 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4098 |
+
1729 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4099 |
+
1730 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4100 |
+
1736 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4101 |
+
1762 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4102 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4103 |
+
1766 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4104 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4105 |
+
1795 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4106 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4107 |
+
1807 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4108 |
+
1907 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4109 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4110 |
+
1930 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4111 |
+
1998 | WARNING | [ ] Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
4112 |
+
2004 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4113 |
+
2004 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4114 |
+
2009 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4115 |
+
2019 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4116 |
+
2019 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4117 |
+
2031 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4118 |
+
2031 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4119 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4120 |
+
2031 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4121 |
+
2060 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4122 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4123 |
+
2062 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4124 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4125 |
+
2067 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4126 |
+
2090 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
4127 |
+
2090 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4128 |
+
2090 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4129 |
+
2091 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4130 |
+
2095 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4131 |
+
2102 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4132 |
+
2113 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4133 |
+
2119 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4134 |
+
2158 | ERROR | [ ] Use placeholders and $wpdb->prepare(); found interpolated variable $this at "UPDATE $this->sql['table'] SET $field_sql WHERE id=%d" (WordPress.WP.PreparedSQL.NotPrepared)
|
4135 |
+
2158 | ERROR | [ ] Use placeholders and $wpdb->prepare(); found interpolated variable $field_sql at "UPDATE $this->sql['table'] SET $field_sql WHERE id=%d" (WordPress.WP.PreparedSQL.NotPrepared)
|
4136 |
+
2160 | ERROR | [ ] Use placeholders and $wpdb->prepare(); found interpolated variable $this at "INSERT INTO $this->sql['table'] SET $field_sql" (WordPress.WP.PreparedSQL.NotPrepared)
|
4137 |
+
2160 | ERROR | [ ] Use placeholders and $wpdb->prepare(); found interpolated variable $field_sql at "INSERT INTO $this->sql['table'] SET $field_sql" (WordPress.WP.PreparedSQL.NotPrepared)
|
4138 |
+
2160 | WARNING | [ ] Replacement variables found, but no valid placeholders found in the query. (WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare)
|
4139 |
+
2163 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4140 |
+
2174 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4141 |
+
2207 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4142 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4143 |
+
2209 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4144 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4145 |
+
2222 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4146 |
+
2237 | WARNING | [ ] Variable assignment found within a condition. Did you mean to do a comparison? (WordPress.CodeAnalysis.AssignmentInCondition.Found)
|
4147 |
+
2237 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4148 |
+
2266 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4149 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4150 |
+
2269 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4151 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4152 |
+
2287 | ERROR | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4153 |
+
2288 | ERROR | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4154 |
+
2289 | ERROR | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4155 |
+
2297 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4156 |
+
2305 | ERROR | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4157 |
+
2306 | ERROR | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4158 |
+
2319 | ERROR | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4159 |
+
2342 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4160 |
+
2347 | WARNING | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4161 |
+
2348 | WARNING | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4162 |
+
2366 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4163 |
+
2378 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4164 |
+
2437 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4165 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4166 |
+
2443 | ERROR | [ ] Doc comment for parameter "$field" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
4167 |
+
2444 | ERROR | [ ] Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
4168 |
+
2453 | WARNING | [ ] Variable assignment found within a condition. Did you mean to do a comparison? (WordPress.CodeAnalysis.AssignmentInCondition.Found)
|
4169 |
+
2453 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4170 |
+
2459 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4171 |
+
2459 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4172 |
+
2460 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4173 |
+
2473 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4174 |
+
2474 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4175 |
+
2497 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4176 |
+
2537 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4177 |
+
2537 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4178 |
+
2575 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
4179 |
+
2575 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4180 |
+
2586 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4181 |
+
2600 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4182 |
+
2608 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4183 |
+
2630 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4184 |
+
2636 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4185 |
+
2636 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4186 |
+
2658 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4187 |
+
2717 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4188 |
+
2717 | ERROR | [ ] Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4189 |
+
2733 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4190 |
+
2734 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4191 |
+
2744 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4192 |
+
2744 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4193 |
+
2750 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4194 |
+
2754 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4195 |
+
2778 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4196 |
+
2787 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4197 |
+
2813 | WARNING | [ ] Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
4198 |
+
2819 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4199 |
+
2819 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4200 |
+
2831 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4201 |
+
2831 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4202 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4203 |
+
2831 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4204 |
+
2837 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4205 |
+
2837 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4206 |
+
2852 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4207 |
+
2852 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4208 |
+
2887 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4209 |
+
2888 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4210 |
+
2888 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4211 |
+
2905 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4212 |
+
2921 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4213 |
+
2949 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4214 |
+
2957 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4215 |
+
2960 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4216 |
+
2966 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4217 |
+
2972 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4218 |
+
2994 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4219 |
+
3022 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4220 |
+
3040 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4221 |
+
3046 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4222 |
+
3046 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4223 |
+
3047 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4224 |
+
3050 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4225 |
+
3053 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4226 |
+
3067 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4227 |
+
3081 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4228 |
+
3081 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4229 |
+
3091 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4230 |
+
3095 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4231 |
+
3095 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4232 |
+
3114 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4233 |
+
3114 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4234 |
+
3136 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4235 |
+
3136 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4236 |
+
3139 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4237 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4238 |
+
3141 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_slash'.
|
4239 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4240 |
+
3168 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4241 |
+
3172 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4242 |
+
3180 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4243 |
+
3180 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4244 |
+
3197 | ERROR | [ ] Missing doc comment for function filters() (Squiz.Commenting.FunctionComment.Missing)
|
4245 |
+
3216 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4246 |
+
3217 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4247 |
+
3217 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4248 |
+
3250 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4249 |
+
3262 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$label'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4250 |
+
3278 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4251 |
+
3302 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4252 |
+
3309 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4253 |
+
3310 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4254 |
+
3313 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4255 |
+
3317 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4256 |
+
3334 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4257 |
+
3341 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4258 |
+
3360 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4259 |
+
3360 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4260 |
+
3362 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4261 |
+
3366 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4262 |
+
3376 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4263 |
+
3415 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4264 |
+
3416 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4265 |
+
3417 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4266 |
+
3419 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4267 |
+
3456 | ERROR | [ ] Missing doc comment for function filters_popup() (Squiz.Commenting.FunctionComment.Missing)
|
4268 |
+
3462 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4269 |
+
3483 | WARNING | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4270 |
+
3486 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4271 |
+
3509 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4272 |
+
3511 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4273 |
+
3519 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4274 |
+
3529 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4275 |
+
3539 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4276 |
+
3539 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4277 |
+
3540 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4278 |
+
3540 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4279 |
+
3540 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4280 |
+
3546 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4281 |
+
3546 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4282 |
+
3547 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4283 |
+
3550 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4284 |
+
3571 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4285 |
+
3572 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4286 |
+
3572 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4287 |
+
3578 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4288 |
+
3579 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4289 |
+
3606 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4290 |
+
3607 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4291 |
+
3607 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4292 |
+
3613 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4293 |
+
3614 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4294 |
+
3632 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4295 |
+
3633 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4296 |
+
3633 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4297 |
+
3639 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4298 |
+
3640 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4299 |
+
3651 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4300 |
+
3652 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4301 |
+
3653 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'PodsForm'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4302 |
+
3659 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4303 |
+
3703 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4304 |
+
3715 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'pods_v'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4305 |
+
3715 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4306 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4307 |
+
3719 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4308 |
+
3753 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4309 |
+
3760 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4310 |
+
3760 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4311 |
+
3760 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4312 |
+
3786 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4313 |
+
3796 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4314 |
+
3819 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4315 |
+
3819 | ERROR | [ ] Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4316 |
+
3830 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$att_id'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4317 |
+
3830 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$width'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4318 |
+
3854 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$att_id'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4319 |
+
3854 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$width'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4320 |
+
3877 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4321 |
+
3893 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$width'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4322 |
+
3915 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$width'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4323 |
+
3926 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4324 |
+
3926 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4325 |
+
3926 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4326 |
+
3926 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4327 |
+
3931 | WARNING | [ ] Variable assignment found within a condition. Did you mean to do a comparison? (WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition)
|
4328 |
+
4029 | WARNING | [ ] Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
4329 |
+
4029 | ERROR | [ ] Use placeholders and $wpdb->prepare(); found $sql (WordPress.WP.PreparedSQL.NotPrepared)
|
4330 |
+
4135 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4331 |
+
4135 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4332 |
+
4135 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4333 |
+
4151 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$row_value'.
|
4334 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4335 |
+
4155 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4336 |
+
4155 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4337 |
+
4155 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4338 |
+
4171 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$row_value'.
|
4339 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4340 |
+
4176 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4341 |
+
4184 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$row_value'.
|
4342 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4343 |
+
4190 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4344 |
+
4198 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4345 |
+
4202 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$actions'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4346 |
+
4250 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$row_value'.
|
4347 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4348 |
+
4271 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4349 |
+
4281 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4350 |
+
4300 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4351 |
+
4308 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4352 |
+
4308 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4353 |
+
4323 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4354 |
+
4323 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4355 |
+
4338 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4356 |
+
4338 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4357 |
+
4353 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4358 |
+
4353 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4359 |
+
4371 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4360 |
+
4371 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4361 |
+
4372 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4362 |
+
4393 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
4363 |
+
4393 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4364 |
+
4408 | ERROR | [ ] The value of a boolean operation must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedBool)
|
4365 |
+
4439 | ERROR | [ ] Doc comment is empty (Generic.Commenting.DocComment.Empty)
|
4366 |
+
4444 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4367 |
+
4445 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4368 |
+
4488 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$screen_html'.
|
4369 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4370 |
+
4497 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4371 |
+
4517 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4372 |
+
4526 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4373 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4374 |
+
4546 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$help_html'.
|
4375 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4376 |
+
4601 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4377 |
+
4630 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4378 |
+
4634 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'number_format_i18n'.
|
4379 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4380 |
+
4634 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '_n'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4381 |
+
4634 | ERROR | [ ] The $single arg must be a single string literal, not "$singular_label". (WordPress.WP.I18n.NonSingularStringLiteralSingle)
|
4382 |
+
4634 | ERROR | [ ] The $plural arg must be a single string literal, not "$plural_label". (WordPress.WP.I18n.NonSingularStringLiteralPlural)
|
4383 |
+
4634 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'. (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4384 |
+
4641 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4385 |
+
4641 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4386 |
+
4642 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4387 |
+
4642 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4388 |
+
4644 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4389 |
+
4646 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4390 |
+
4663 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. (WordPress.XSS.EscapeOutput.UnsafePrintingFunction)
|
4391 |
+
4664 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'number_format_i18n'.
|
4392 |
+
| | (WordPress.XSS.EscapeOutput.OutputNotEscaped)
|
4393 |
+
4668 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4394 |
+
4668 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4395 |
+
4669 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4396 |
+
4669 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4397 |
+
4676 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4398 |
+
4690 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4399 |
+
4690 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4400 |
+
4695 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4401 |
+
4713 | ERROR | [ ] Doc comment for parameter "$code" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
4402 |
+
4714 | ERROR | [ ] Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
4403 |
+
4715 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4404 |
+
4721 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4405 |
+
4740 | ERROR | [ ] Doc comment for parameter "$tag" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
4406 |
+
4741 | ERROR | [ ] Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
4407 |
+
4774 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4408 |
+
4792 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4409 |
+
4793 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4410 |
+
4804 | WARNING | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4411 |
+
4815 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4412 |
+
4848 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4413 |
+
4849 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4414 |
+
4864 | ERROR | [ ] Empty line required before block comment (Squiz.Commenting.BlockComment.NoEmptyLineBefore)
|
4415 |
+
4865 | ERROR | [ ] Block comments must start with a capital letter (Squiz.Commenting.BlockComment.NoCapital)
|
4416 |
+
4866 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4417 |
+
4868 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4418 |
+
4869 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4419 |
+
4871 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4420 |
+
4873 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4421 |
+
4875 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4422 |
+
4876 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4423 |
+
4877 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4424 |
+
4879 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4425 |
+
4880 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4426 |
+
4881 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4427 |
+
4882 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4428 |
+
4884 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4429 |
+
4886 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4430 |
+
4888 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4431 |
+
4890 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4432 |
+
4892 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4433 |
+
4893 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4434 |
+
4894 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4435 |
+
4895 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4436 |
+
4895 | ERROR | [ ] Comment closer must be on a new line (Squiz.Commenting.BlockComment.CloserSameLine)
|
4437 |
+
4914 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4438 |
+
4916 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4439 |
+
4925 | ERROR | [ ] Empty line required before block comment (Squiz.Commenting.BlockComment.NoEmptyLineBefore)
|
4440 |
+
4926 | WARNING | [ ] Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
4441 |
+
4934 | ERROR | [ ] Comment closer must be on a new line (Squiz.Commenting.BlockComment.CloserSameLine)
|
4442 |
+
4998 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4443 |
+
5005 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4444 |
+
5056 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4445 |
+
5063 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4446 |
+
5075 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4447 |
+
5075 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4448 |
+
5082 | ERROR | [ ] Empty line required before block comment (Squiz.Commenting.BlockComment.NoEmptyLineBefore)
|
4449 |
+
5083 | WARNING | [ ] Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
4450 |
+
5085 | ERROR | [ ] Comment closer must be on a new line (Squiz.Commenting.BlockComment.CloserSameLine)
|
4451 |
+
5098 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4452 |
+
5102 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4453 |
+
5271 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4454 |
+
5272 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4455 |
+
5273 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4456 |
+
5274 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4457 |
+
5275 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4458 |
+
5276 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4459 |
+
5277 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4460 |
+
5278 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4461 |
+
5279 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4462 |
+
5280 | ERROR | [x] Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed)
|
4463 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4464 |
+
PHPCBF CAN FIX THE 45 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
4465 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4466 |
+
|
4467 |
+
|
4468 |
+
FILE: classes/PodsI18n.php
|
4469 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4470 |
+
FOUND 28 ERRORS AND 31 WARNINGS AFFECTING 29 LINES
|
4471 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4472 |
+
7 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsI18n". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
4473 |
+
107 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4474 |
+
107 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4475 |
+
116 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4476 |
+
117 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4477 |
+
149 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4478 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4479 |
+
195 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4480 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4481 |
+
197 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4482 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4483 |
+
263 | ERROR | Empty line required before block comment (Squiz.Commenting.BlockComment.NoEmptyLineBefore)
|
4484 |
+
273 | ERROR | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpml_setting". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
4485 |
+
278 | ERROR | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpml_current_language". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
4486 |
+
279 | ERROR | The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
4487 |
+
279 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4488 |
+
279 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4489 |
+
279 | ERROR | Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4490 |
+
295 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4491 |
+
295 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4492 |
+
313 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4493 |
+
313 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4494 |
+
313 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4495 |
+
313 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4496 |
+
314 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4497 |
+
320 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4498 |
+
320 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4499 |
+
320 | ERROR | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpml_is_translated_post_type".
|
4500 |
+
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
4501 |
+
320 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4502 |
+
330 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4503 |
+
330 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4504 |
+
330 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4505 |
+
332 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4506 |
+
341 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4507 |
+
341 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4508 |
+
341 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4509 |
+
341 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4510 |
+
341 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4511 |
+
342 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4512 |
+
348 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4513 |
+
348 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4514 |
+
348 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4515 |
+
348 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4516 |
+
350 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4517 |
+
361 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4518 |
+
361 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4519 |
+
361 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4520 |
+
371 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4521 |
+
371 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4522 |
+
371 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4523 |
+
371 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4524 |
+
373 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4525 |
+
382 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4526 |
+
382 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4527 |
+
382 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4528 |
+
382 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4529 |
+
382 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4530 |
+
383 | WARNING | Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
4531 |
+
404 | WARNING | Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4532 |
+
404 | ERROR | Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
4533 |
+
460 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4534 |
+
461 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4535 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4536 |
+
|
4537 |
+
|
4538 |
+
FILE: classes/PodsAdmin.php
|
4539 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4540 |
+
FOUND 11 ERRORS AND 1 WARNING AFFECTING 12 LINES
|
4541 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4542 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsAdmin". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
4543 |
+
2717 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4544 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4545 |
+
2729 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4546 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4547 |
+
2869 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4548 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4549 |
+
2872 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4550 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4551 |
+
2891 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4552 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4553 |
+
2894 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4554 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4555 |
+
2905 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4556 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4557 |
+
3235 | WARNING | Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
4558 |
+
3429 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4559 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4560 |
+
3430 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4561 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4562 |
+
3472 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4563 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4564 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4565 |
+
|
4566 |
+
|
4567 |
+
FILE: classes/PodsTermSplitting.php
|
4568 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4569 |
+
FOUND 18 ERRORS AND 2 WARNINGS AFFECTING 20 LINES
|
4570 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4571 |
+
38 | ERROR | Doc comment is empty (Generic.Commenting.DocComment.Empty)
|
4572 |
+
95 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4573 |
+
123 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4574 |
+
163 | WARNING | Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4575 |
+
195 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4576 |
+
226 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4577 |
+
227 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4578 |
+
278 | ERROR | SQL wildcards for a LIKE query should be passed in through a replacement parameter and the variable part of the replacement should be escaped using "esc_like()". Found: LIKE '%%%s%%'.
|
4579 |
+
| | (WordPress.DB.PreparedSQLPlaceholders.LikeWildcardsInQueryWithPlaceholder)
|
4580 |
+
291 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4581 |
+
332 | ERROR | SQL wildcards for a LIKE query should be passed in through a replacement parameter and the variable part of the replacement should be escaped using "esc_like()". Found: LIKE '%%%s%%'.
|
4582 |
+
| | (WordPress.DB.PreparedSQLPlaceholders.LikeWildcardsInQueryWithPlaceholder)
|
4583 |
+
345 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4584 |
+
386 | ERROR | SQL wildcards for a LIKE query should be passed in through a replacement parameter and the variable part of the replacement should be escaped using "esc_like()". Found: LIKE '%%%s%%'.
|
4585 |
+
| | (WordPress.DB.PreparedSQLPlaceholders.LikeWildcardsInQueryWithPlaceholder)
|
4586 |
+
399 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4587 |
+
400 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4588 |
+
443 | ERROR | SQL wildcards for a LIKE query should be passed in through a replacement parameter and the variable part of the replacement should be escaped using "esc_like()". Found: LIKE '%%%s%%'.
|
4589 |
+
| | (WordPress.DB.PreparedSQLPlaceholders.LikeWildcardsInQueryWithPlaceholder)
|
4590 |
+
454 | ERROR | Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
4591 |
+
460 | WARNING | Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4592 |
+
472 | ERROR | Doc comment for parameter "$data" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
4593 |
+
473 | ERROR | Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
4594 |
+
495 | ERROR | Doc comment is empty (Generic.Commenting.DocComment.Empty)
|
4595 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4596 |
+
|
4597 |
+
|
4598 |
+
FILE: classes/PodsAPI.php
|
4599 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4600 |
+
FOUND 794 ERRORS AND 261 WARNINGS AFFECTING 868 LINES
|
4601 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
4602 |
+
6 | ERROR | [ ] Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsAPI". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
4603 |
+
11 | ERROR | [ ] Scope modifier not specified for member variable "$instance" (Squiz.Scope.MemberVarScope.Missing)
|
4604 |
+
16 | ERROR | [ ] Scope modifier not specified for member variable "$instances" (Squiz.Scope.MemberVarScope.Missing)
|
4605 |
+
29 | ERROR | [ ] Content missing for @var tag in member variable comment (Squiz.Commenting.VariableComment.EmptyVar)
|
4606 |
+
34 | ERROR | [ ] Content missing for @var tag in member variable comment (Squiz.Commenting.VariableComment.EmptyVar)
|
4607 |
+
39 | ERROR | [ ] Content missing for @var tag in member variable comment (Squiz.Commenting.VariableComment.EmptyVar)
|
4608 |
+
44 | ERROR | [ ] Content missing for @var tag in member variable comment (Squiz.Commenting.VariableComment.EmptyVar)
|
4609 |
+
50 | ERROR | [ ] Content missing for @var tag in member variable comment (Squiz.Commenting.VariableComment.EmptyVar)
|
4610 |
+
64 | ERROR | [x] Additional blank lines found at end of doc comment (Generic.Commenting.DocComment.SpacingAfter)
|
4611 |
+
71 | ERROR | [x] Additional blank lines found at end of doc comment (Generic.Commenting.DocComment.SpacingAfter)
|
4612 |
+
122 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
4613 |
+
150 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4614 |
+
163 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4615 |
+
190 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4616 |
+
202 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4617 |
+
307 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4618 |
+
327 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
4619 |
+
327 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4620 |
+
327 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4621 |
+
345 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4622 |
+
346 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4623 |
+
445 | ERROR | [x] Additional blank lines found at end of doc comment (Generic.Commenting.DocComment.SpacingAfter)
|
4624 |
+
479 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
4625 |
+
479 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4626 |
+
479 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4627 |
+
495 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4628 |
+
496 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4629 |
+
622 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
4630 |
+
622 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4631 |
+
622 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4632 |
+
638 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4633 |
+
639 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4634 |
+
768 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4635 |
+
788 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
4636 |
+
788 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4637 |
+
788 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4638 |
+
806 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4639 |
+
807 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4640 |
+
892 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4641 |
+
897 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4642 |
+
902 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4643 |
+
907 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4644 |
+
909 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4645 |
+
954 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4646 |
+
955 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4647 |
+
964 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4648 |
+
965 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4649 |
+
975 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4650 |
+
976 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4651 |
+
987 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4652 |
+
988 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4653 |
+
999 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4654 |
+
1000 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4655 |
+
1006 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4656 |
+
1013 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4657 |
+
1021 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4658 |
+
1031 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4659 |
+
1032 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4660 |
+
1042 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4661 |
+
1043 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4662 |
+
1049 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4663 |
+
1055 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4664 |
+
1062 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4665 |
+
1069 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4666 |
+
1076 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4667 |
+
1083 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4668 |
+
1098 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4669 |
+
1099 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4670 |
+
1109 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4671 |
+
1116 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4672 |
+
1124 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4673 |
+
1125 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4674 |
+
1132 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4675 |
+
1139 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4676 |
+
1146 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4677 |
+
1157 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4678 |
+
1158 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4679 |
+
1159 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4680 |
+
1175 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4681 |
+
1176 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4682 |
+
1188 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4683 |
+
1189 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4684 |
+
1197 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4685 |
+
1198 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4686 |
+
1204 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4687 |
+
1210 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4688 |
+
1219 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4689 |
+
1220 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4690 |
+
1229 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4691 |
+
1230 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4692 |
+
1240 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4693 |
+
1241 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4694 |
+
1249 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4695 |
+
1250 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4696 |
+
1251 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4697 |
+
1261 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4698 |
+
1262 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4699 |
+
1268 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4700 |
+
1276 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4701 |
+
1277 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4702 |
+
1284 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4703 |
+
1292 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4704 |
+
1300 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4705 |
+
1301 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4706 |
+
1307 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4707 |
+
1313 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4708 |
+
1319 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4709 |
+
1325 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4710 |
+
1332 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4711 |
+
1342 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4712 |
+
1343 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4713 |
+
1353 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4714 |
+
1354 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4715 |
+
1360 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4716 |
+
1366 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4717 |
+
1372 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4718 |
+
1378 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4719 |
+
1388 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4720 |
+
1397 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4721 |
+
1398 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4722 |
+
1407 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4723 |
+
1408 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4724 |
+
1417 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4725 |
+
1418 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4726 |
+
1419 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4727 |
+
1421 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4728 |
+
1474 | WARNING | [x] Array double arrow not aligned correctly; expected 11 space(s) between "'create_extend'" and double arrow, but found 3.
|
4729 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
4730 |
+
1475 | WARNING | [x] Array double arrow not aligned correctly; expected 9 space(s) between "'create_pod_type'" and double arrow, but found 1.
|
4731 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
4732 |
+
1483 | WARNING | [x] Array double arrow not aligned correctly; expected 5 space(s) between "'create_setting_name'" and double arrow, but found 2.
|
4733 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
4734 |
+
1484 | WARNING | [x] Array double arrow not aligned correctly; expected 6 space(s) between "'create_label_title'" and double arrow, but found 3.
|
4735 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
4736 |
+
1485 | WARNING | [x] Array double arrow not aligned correctly; expected 7 space(s) between "'create_label_menu'" and double arrow, but found 4.
|
4737 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
4738 |
+
1486 | WARNING | [x] Array double arrow not aligned correctly; expected 4 space(s) between "'create_menu_location'" and double arrow, but found 1.
|
4739 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
4740 |
+
1488 | WARNING | [x] Array double arrow not aligned correctly; expected 9 space(s) between "'extend_pod_type'" and double arrow, but found 1.
|
4741 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
4742 |
+
1489 | WARNING | [x] Array double arrow not aligned correctly; expected 8 space(s) between "'extend_post_type'" and double arrow, but found 1.
|
4743 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
4744 |
+
1490 | WARNING | [x] Array double arrow not aligned correctly; expected 9 space(s) between "'extend_taxonomy'" and double arrow, but found 1.
|
4745 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
4746 |
+
1491 | WARNING | [x] Array double arrow not aligned correctly; expected 12 space(s) between "'extend_table'" and double arrow, but found 1.
|
4747 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
4748 |
+
1492 | WARNING | [x] Array double arrow not aligned correctly; expected 10 space(s) between "'extend_storage'" and double arrow, but found 1.
|
4749 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
4750 |
+
1496 | ERROR | [x] Expected 1 space(s) after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
|
4751 |
+
1496 | ERROR | [x] Space after opening control structure is required (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen)
|
4752 |
+
1496 | ERROR | [x] No space before opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis)
|
4753 |
+
1496 | ERROR | [x] Expected 1 space after "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter)
|
4754 |
+
1497 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
4755 |
+
1498 | ERROR | [x] Array keys must NOT be surrounded by spaces if they only contain a string or an integer. (WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys)
|
4756 |
+
1498 | ERROR | [x] Space found before semicolon; expected "'table';" but found "'table' ;" (WordPress.WhiteSpace.SemicolonSpacing.Incorrect)
|
4757 |
+
1503 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4758 |
+
1513 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4759 |
+
1524 | ERROR | [ ] The value of a boolean operation must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedBool)
|
4760 |
+
1524 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4761 |
+
1527 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4762 |
+
1529 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4763 |
+
1559 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
4764 |
+
1559 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4765 |
+
1574 | ERROR | [ ] The value of a boolean operation must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedBool)
|
4766 |
+
1574 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4767 |
+
1576 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4768 |
+
1577 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4769 |
+
1589 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4770 |
+
1609 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
4771 |
+
1609 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4772 |
+
1624 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4773 |
+
1628 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4774 |
+
1635 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4775 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4776 |
+
1644 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4777 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4778 |
+
1700 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4779 |
+
1700 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4780 |
+
1702 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4781 |
+
1725 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4782 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4783 |
+
1728 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4784 |
+
1729 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4785 |
+
1730 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4786 |
+
1731 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4787 |
+
1731 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4788 |
+
1732 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 16 (PEAR.Functions.FunctionCallSignature.Indent)
|
4789 |
+
1732 | ERROR | [x] Array closer not aligned correctly; expected 12 space(s) but found 16 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
4790 |
+
1732 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4791 |
+
1733 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4792 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4793 |
+
1736 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4794 |
+
1737 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4795 |
+
1738 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4796 |
+
1738 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4797 |
+
1739 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 16 (PEAR.Functions.FunctionCallSignature.Indent)
|
4798 |
+
1739 | ERROR | [x] Array closer not aligned correctly; expected 12 space(s) but found 16 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
4799 |
+
1739 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4800 |
+
1740 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4801 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4802 |
+
1743 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4803 |
+
1744 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4804 |
+
1744 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4805 |
+
1745 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4806 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4807 |
+
1747 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4808 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4809 |
+
1750 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4810 |
+
1751 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4811 |
+
1752 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4812 |
+
1753 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4813 |
+
1753 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4814 |
+
1754 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 12 (PEAR.Functions.FunctionCallSignature.Indent)
|
4815 |
+
1754 | ERROR | [x] Array closer not aligned correctly; expected 8 space(s) but found 12 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
4816 |
+
1767 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4817 |
+
1769 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4818 |
+
1815 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4819 |
+
1834 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4820 |
+
1854 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4821 |
+
1883 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4822 |
+
1891 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4823 |
+
1897 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4824 |
+
1922 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4825 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4826 |
+
1928 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4827 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4828 |
+
1946 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4829 |
+
1957 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4830 |
+
1958 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4831 |
+
1968 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4832 |
+
1969 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4833 |
+
1979 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4834 |
+
1980 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4835 |
+
1991 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4836 |
+
1992 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4837 |
+
1999 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4838 |
+
2005 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4839 |
+
2016 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4840 |
+
2018 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4841 |
+
2045 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4842 |
+
2051 | ERROR | [x] String "`id` BIGINT(20) UNSIGNED AUTO_INCREMENT PRIMARY KEY" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
4843 |
+
2056 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4844 |
+
2062 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4845 |
+
2062 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4846 |
+
2073 | ERROR | [x] String ") DEFAULT CHARSET utf8" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
4847 |
+
2077 | ERROR | [x] Blank line found after control structure (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd)
|
4848 |
+
2079 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4849 |
+
2085 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4850 |
+
2147 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4851 |
+
2150 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4852 |
+
2165 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4853 |
+
2176 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4854 |
+
2178 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4855 |
+
2194 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4856 |
+
2215 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4857 |
+
2216 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4858 |
+
2217 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4859 |
+
2282 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4860 |
+
2306 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4861 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4862 |
+
2309 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4863 |
+
2313 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4864 |
+
2317 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4865 |
+
2319 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4866 |
+
2326 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4867 |
+
2335 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4868 |
+
2362 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4869 |
+
2363 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4870 |
+
2364 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4871 |
+
2364 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4872 |
+
2365 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 12 (PEAR.Functions.FunctionCallSignature.Indent)
|
4873 |
+
2365 | ERROR | [x] Array closer not aligned correctly; expected 8 space(s) but found 12 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
4874 |
+
2450 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
4875 |
+
2452 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
4876 |
+
2454 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
4877 |
+
2465 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4878 |
+
2479 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4879 |
+
2479 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4880 |
+
2479 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4881 |
+
2479 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4882 |
+
2479 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4883 |
+
2479 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4884 |
+
2483 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4885 |
+
2488 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
4886 |
+
2488 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4887 |
+
2488 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4888 |
+
2495 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4889 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4890 |
+
2498 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4891 |
+
2499 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4892 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4893 |
+
2506 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4894 |
+
2525 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4895 |
+
2527 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4896 |
+
2541 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4897 |
+
2568 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4898 |
+
2594 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4899 |
+
2610 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4900 |
+
2611 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4901 |
+
2612 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4902 |
+
2613 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4903 |
+
2613 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4904 |
+
2614 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 16 (PEAR.Functions.FunctionCallSignature.Indent)
|
4905 |
+
2614 | ERROR | [x] Array closer not aligned correctly; expected 12 space(s) but found 16 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
4906 |
+
2618 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4907 |
+
2630 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4908 |
+
2637 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
4909 |
+
2642 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4910 |
+
2643 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4911 |
+
2644 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4912 |
+
2644 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4913 |
+
2645 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 16 (PEAR.Functions.FunctionCallSignature.Indent)
|
4914 |
+
2645 | ERROR | [x] Array closer not aligned correctly; expected 12 space(s) but found 16 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
4915 |
+
2645 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4916 |
+
2647 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4917 |
+
2649 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4918 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4919 |
+
2653 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4920 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4921 |
+
2656 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4922 |
+
2657 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4923 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4924 |
+
2661 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4925 |
+
2661 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4926 |
+
2662 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4927 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4928 |
+
2666 | ERROR | [x] Opening brace should be on the same line as the declaration (WordPress.WhiteSpace.ControlStructureSpacing.OpenBraceNotSameLine)
|
4929 |
+
2666 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4930 |
+
2666 | ERROR | [x] Expected 1 space(s) after closing parenthesis; found " // Reserved post_name values that can't be used as field names\n "
|
4931 |
+
| | (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis)
|
4932 |
+
2666 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
4933 |
+
2672 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4934 |
+
2685 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4935 |
+
2686 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4936 |
+
2687 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4937 |
+
2693 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4938 |
+
2704 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4939 |
+
2721 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4940 |
+
2724 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4941 |
+
2726 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4942 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4943 |
+
2728 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4944 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4945 |
+
2732 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4946 |
+
2733 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4947 |
+
2734 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4948 |
+
2734 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4949 |
+
2735 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 16 (PEAR.Functions.FunctionCallSignature.Indent)
|
4950 |
+
2735 | ERROR | [x] Array closer not aligned correctly; expected 12 space(s) but found 16 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
4951 |
+
2735 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4952 |
+
2737 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4953 |
+
2739 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4954 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4955 |
+
2743 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4956 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4957 |
+
2747 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4958 |
+
2752 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4959 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4960 |
+
2754 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
4961 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
4962 |
+
2762 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4963 |
+
2770 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4964 |
+
2802 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4965 |
+
2806 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
4966 |
+
2806 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
4967 |
+
2806 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4968 |
+
2810 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4969 |
+
2822 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4970 |
+
2825 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
4971 |
+
2844 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4972 |
+
2856 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4973 |
+
2857 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4974 |
+
2862 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4975 |
+
2886 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
4976 |
+
2886 | ERROR | [x] String "" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
4977 |
+
2887 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4978 |
+
2889 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
4979 |
+
2904 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4980 |
+
2904 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4981 |
+
2905 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 20 (PEAR.Functions.FunctionCallSignature.Indent)
|
4982 |
+
2905 | ERROR | [x] Array closer not aligned correctly; expected 0 space(s) but found 20 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
4983 |
+
2910 | ERROR | [x] String "\n UPDATE `@wp_podsrel`\n SET `related_field_id` = 0\n WHERE `field_id` = %d\n " does not require double quotes; use single quotes instead
|
4984 |
+
| | (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
4985 |
+
2915 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 28 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4986 |
+
2915 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4987 |
+
2916 | ERROR | [x] Multi-line function call not indented correctly; expected 20 spaces but found 24 (PEAR.Functions.FunctionCallSignature.Indent)
|
4988 |
+
2916 | ERROR | [x] Array closer not aligned correctly; expected 0 space(s) but found 24 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
4989 |
+
2918 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
4990 |
+
2923 | ERROR | [x] String "\n UPDATE `@wp_podsrel`\n SET `related_field_id` = %d\n WHERE `field_id` = %d\n " does not require double quotes; use single quotes instead
|
4991 |
+
| | (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
4992 |
+
2928 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4993 |
+
2929 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
4994 |
+
2929 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
4995 |
+
2930 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 20 (PEAR.Functions.FunctionCallSignature.Indent)
|
4996 |
+
2930 | ERROR | [x] Array closer not aligned correctly; expected 0 space(s) but found 20 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
4997 |
+
2936 | ERROR | [x] String "\n UPDATE `@wp_podsrel`\n SET `related_field_id` = 0\n WHERE `field_id` = %d\n " does not require double quotes; use single quotes instead
|
4998 |
+
| | (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
4999 |
+
2941 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5000 |
+
2941 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5001 |
+
2942 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 20 (PEAR.Functions.FunctionCallSignature.Indent)
|
5002 |
+
2942 | ERROR | [x] Array closer not aligned correctly; expected 0 space(s) but found 20 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5003 |
+
2944 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5004 |
+
2955 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5005 |
+
2956 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5006 |
+
2957 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5007 |
+
2957 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5008 |
+
2958 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 16 (PEAR.Functions.FunctionCallSignature.Indent)
|
5009 |
+
2958 | ERROR | [x] Array closer not aligned correctly; expected 0 space(s) but found 16 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5010 |
+
2994 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5011 |
+
3037 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5012 |
+
3053 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5013 |
+
3088 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5014 |
+
3268 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5015 |
+
3372 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5016 |
+
3412 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5017 |
+
3425 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5018 |
+
3426 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5019 |
+
3435 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5020 |
+
3437 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5021 |
+
3437 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5022 |
+
3438 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5023 |
+
3439 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5024 |
+
3439 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5025 |
+
3440 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 12 (PEAR.Functions.FunctionCallSignature.Indent)
|
5026 |
+
3440 | ERROR | [x] Array closer not aligned correctly; expected 8 space(s) but found 12 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5027 |
+
3445 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5028 |
+
3445 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5029 |
+
3446 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5030 |
+
3447 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5031 |
+
3447 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5032 |
+
3448 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 12 (PEAR.Functions.FunctionCallSignature.Indent)
|
5033 |
+
3448 | ERROR | [x] Array closer not aligned correctly; expected 8 space(s) but found 12 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5034 |
+
3453 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5035 |
+
3454 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5036 |
+
3455 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5037 |
+
3455 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5038 |
+
3456 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 12 (PEAR.Functions.FunctionCallSignature.Indent)
|
5039 |
+
3456 | ERROR | [x] Array closer not aligned correctly; expected 8 space(s) but found 12 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5040 |
+
3456 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5041 |
+
3456 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5042 |
+
3457 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
5043 |
+
3464 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5044 |
+
3468 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5045 |
+
3469 | ERROR | [x] Array item not aligned correctly; expected 20 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5046 |
+
3470 | ERROR | [x] Array item not aligned correctly; expected 20 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5047 |
+
3470 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5048 |
+
3471 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 20 (PEAR.Functions.FunctionCallSignature.Indent)
|
5049 |
+
3471 | ERROR | [x] Array closer not aligned correctly; expected 16 space(s) but found 20 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5050 |
+
3484 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5051 |
+
3501 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5052 |
+
3514 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5053 |
+
3516 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
5054 |
+
3517 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
5055 |
+
3518 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
5056 |
+
3520 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5057 |
+
3531 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5058 |
+
3543 | ERROR | [ ] extract() usage is highly discouraged, due to the complexity and unintended issues it might cause. (WordPress.Functions.DontExtract.extract_extract)
|
5059 |
+
3549 | ERROR | [ ] extract() usage is highly discouraged, due to the complexity and unintended issues it might cause. (WordPress.Functions.DontExtract.extract_extract)
|
5060 |
+
3556 | ERROR | [ ] extract() usage is highly discouraged, due to the complexity and unintended issues it might cause. (WordPress.Functions.DontExtract.extract_extract)
|
5061 |
+
3562 | ERROR | [ ] extract() usage is highly discouraged, due to the complexity and unintended issues it might cause. (WordPress.Functions.DontExtract.extract_extract)
|
5062 |
+
3568 | ERROR | [ ] extract() usage is highly discouraged, due to the complexity and unintended issues it might cause. (WordPress.Functions.DontExtract.extract_extract)
|
5063 |
+
3574 | ERROR | [ ] extract() usage is highly discouraged, due to the complexity and unintended issues it might cause. (WordPress.Functions.DontExtract.extract_extract)
|
5064 |
+
3576 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5065 |
+
3585 | WARNING | [ ] Variable variable which could potentially override an imported global variable detected. Variables defined by a theme/plugin should start with the theme/plugin prefix. Found:
|
5066 |
+
| | "${$helper}". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound)
|
5067 |
+
3591 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5068 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5069 |
+
3597 | ERROR | [ ] eval() is a security risk so not allowed. (Squiz.PHP.Eval.Discouraged)
|
5070 |
+
3601 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5071 |
+
3602 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5072 |
+
3604 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5073 |
+
3604 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5074 |
+
3604 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5075 |
+
3604 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5076 |
+
3608 | ERROR | [ ] Variable "object_ID" is not in valid snake_case format (WordPress.NamingConventions.ValidVariableName.NotSnakeCase)
|
5077 |
+
3611 | ERROR | [ ] Variable "object_ID" is not in valid snake_case format (WordPress.NamingConventions.ValidVariableName.NotSnakeCase)
|
5078 |
+
3613 | ERROR | [ ] Variable "object_ID" is not in valid snake_case format (WordPress.NamingConventions.ValidVariableName.NotSnakeCase)
|
5079 |
+
3616 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5080 |
+
3616 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5081 |
+
3621 | ERROR | [ ] Variable "object_ID" is not in valid snake_case format (WordPress.NamingConventions.ValidVariableName.NotSnakeCase)
|
5082 |
+
3642 | ERROR | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
5083 |
+
3643 | WARNING | [ ] Processing form data without nonce verification. (WordPress.CSRF.NonceVerification.NoNonceVerification)
|
5084 |
+
3644 | WARNING | [ ] Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
5085 |
+
3645 | WARNING | [ ] Found precision alignment of 1 spaces. (WordPress.WhiteSpace.PrecisionAlignment.Found)
|
5086 |
+
3647 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5087 |
+
3647 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5088 |
+
3647 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5089 |
+
3653 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5090 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5091 |
+
3675 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
5092 |
+
3675 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
5093 |
+
3675 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5094 |
+
3718 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5095 |
+
3731 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5096 |
+
3732 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5097 |
+
3742 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5098 |
+
3742 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5099 |
+
3747 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5100 |
+
3747 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
5101 |
+
3747 | ERROR | [ ] The constant "JSON_UNESCAPED_UNICODE" is not present in PHP version 5.3 or earlier (PHPCompatibility.PHP.NewConstants.json_unescaped_unicodeFound)
|
5102 |
+
3747 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
5103 |
+
3750 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5104 |
+
3753 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5105 |
+
3754 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5106 |
+
3754 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5107 |
+
3759 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5108 |
+
3764 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5109 |
+
3764 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
5110 |
+
3764 | ERROR | [ ] The constant "JSON_UNESCAPED_UNICODE" is not present in PHP version 5.3 or earlier (PHPCompatibility.PHP.NewConstants.json_unescaped_unicodeFound)
|
5111 |
+
3764 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
5112 |
+
3771 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5113 |
+
3772 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
5114 |
+
3785 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5115 |
+
3786 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5116 |
+
3787 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5117 |
+
3789 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5118 |
+
3805 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5119 |
+
3835 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5120 |
+
3887 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5121 |
+
3926 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5122 |
+
3944 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5123 |
+
3945 | ERROR | [ ] The value of a boolean operation must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedBool)
|
5124 |
+
3945 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5125 |
+
3945 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
5126 |
+
3945 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5127 |
+
3968 | ERROR | [ ] Use placeholders and $wpdb->prepare(); found $rel_params (WordPress.WP.PreparedSQL.NotPrepared)
|
5128 |
+
3968 | WARNING | [ ] Replacement variables found, but no valid placeholders found in the query. (WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare)
|
5129 |
+
3980 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5130 |
+
4004 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5131 |
+
4005 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5132 |
+
4010 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5133 |
+
4012 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5134 |
+
4015 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5135 |
+
4016 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5136 |
+
4061 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5137 |
+
4072 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5138 |
+
4073 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5139 |
+
4091 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5140 |
+
4124 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5141 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5142 |
+
4130 | ERROR | [ ] eval() is a security risk so not allowed. (Squiz.PHP.Eval.Discouraged)
|
5143 |
+
4135 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5144 |
+
4180 | ERROR | [x] Expected 1 space after asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.NoSpaceAfterStar)
|
5145 |
+
4182 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
5146 |
+
4183 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
5147 |
+
4184 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
5148 |
+
4190 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
5149 |
+
4191 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
|
5150 |
+
4220 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5151 |
+
4233 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5152 |
+
4240 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5153 |
+
4248 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5154 |
+
4269 | ERROR | [ ] Doc comment for parameter "$related_ids" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5155 |
+
4273 | ERROR | [ ] Doc comment for parameter $related_id does not match actual variable name $related_ids (Squiz.Commenting.FunctionComment.ParamNameNoMatch)
|
5156 |
+
4313 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5157 |
+
4316 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5158 |
+
4340 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5159 |
+
4342 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5160 |
+
4354 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5161 |
+
4355 | ERROR | [x] String "\n UPDATE `@wp_podsrel`\n SET\n `pod_id` = %d,\n `field_id` = %d,\n `item_id` = %d,\n `related_pod_id` = %d,\n `related_field_id` =
|
5162 |
+
| | %d,\n `related_item_id` = %d,\n `weight` = %d\n WHERE\n `pod_id` = %d\n AND `field_id` = %d\n AND `item_id` = %d\n AND `related_item_id` = %d\n "
|
5163 |
+
| | does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5164 |
+
4371 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5165 |
+
4372 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5166 |
+
4373 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5167 |
+
4374 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5168 |
+
4375 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5169 |
+
4376 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5170 |
+
4377 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5171 |
+
4379 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5172 |
+
4380 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5173 |
+
4381 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5174 |
+
4382 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5175 |
+
4383 | ERROR | [x] Array closer not aligned correctly; expected 0 space(s) but found 20 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5176 |
+
4385 | ERROR | [x] String "\n INSERT INTO
|
5177 |
+
| | `@wp_podsrel`\n (\n `pod_id`,\n `field_id`,\n `item_id`,\n `related_pod_id`,\n `related_field_id`,\n `related_item_id`,\n `weight`\n )\n VALUES
|
5178 |
+
| | ( %d, %d, %d, %d, %d, %d, %d )\n " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5179 |
+
4398 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5180 |
+
4399 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5181 |
+
4400 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5182 |
+
4401 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5183 |
+
4402 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5184 |
+
4403 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5185 |
+
4404 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5186 |
+
4404 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5187 |
+
4405 | ERROR | [x] Array closer not aligned correctly; expected 0 space(s) but found 20 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5188 |
+
4406 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5189 |
+
4409 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5190 |
+
4410 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5191 |
+
4450 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5192 |
+
4456 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5193 |
+
4471 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5194 |
+
4541 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5195 |
+
4608 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5196 |
+
4635 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5197 |
+
4650 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5198 |
+
4656 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5199 |
+
4663 | ERROR | [x] There must be no blank line following an inline comment (Squiz.Commenting.InlineComment.SpacingAfter)
|
5200 |
+
4785 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5201 |
+
4809 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5202 |
+
4809 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5203 |
+
4818 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5204 |
+
4829 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5205 |
+
4834 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5206 |
+
4835 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5207 |
+
4841 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5208 |
+
4842 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5209 |
+
4843 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5210 |
+
4843 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5211 |
+
4847 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5212 |
+
4857 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5213 |
+
4858 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5214 |
+
4883 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5215 |
+
4886 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5216 |
+
4887 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5217 |
+
4892 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5218 |
+
4893 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5219 |
+
4899 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5220 |
+
4902 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5221 |
+
4943 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5222 |
+
4955 | ERROR | [x] String " WHERE `id` = " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5223 |
+
4955 | ERROR | [x] String " LIMIT 1" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5224 |
+
4957 | ERROR | [x] String " LIMIT 1" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5225 |
+
4964 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5226 |
+
5022 | ERROR | [x] There must be no blank line following an inline comment (Squiz.Commenting.InlineComment.SpacingAfter)
|
5227 |
+
5025 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5228 |
+
5047 | ERROR | [x] String "\n " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5229 |
+
5048 | ERROR | [x] String "\n WHERE " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5230 |
+
5049 | ERROR | [x] String "\n " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5231 |
+
5055 | ERROR | [x] String "\n " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5232 |
+
5056 | ERROR | [x] String "\n WHERE " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5233 |
+
5057 | ERROR | [x] String "\n " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5234 |
+
5069 | ERROR | [x] String "\n " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5235 |
+
5086 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5236 |
+
5088 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
5237 |
+
5181 | ERROR | [x] There must be no blank line following an inline comment (Squiz.Commenting.InlineComment.SpacingAfter)
|
5238 |
+
5251 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5239 |
+
5275 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5240 |
+
5285 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
5241 |
+
5285 | ERROR | [ ] Boolean operators are not allowed outside of control structure conditions (Squiz.PHP.DisallowBooleanStatement.Found)
|
5242 |
+
5285 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5243 |
+
5288 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5244 |
+
5307 | ERROR | [x] There must be no blank line following an inline comment (Squiz.Commenting.InlineComment.SpacingAfter)
|
5245 |
+
5336 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5246 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5247 |
+
5336 | ERROR | [x] String "%s Object not found" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5248 |
+
5342 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5249 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5250 |
+
5342 | ERROR | [x] String "%s Object not deleted" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5251 |
+
5463 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5252 |
+
5479 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5253 |
+
5495 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5254 |
+
5515 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5255 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5256 |
+
5521 | ERROR | [ ] eval() is a security risk so not allowed. (Squiz.PHP.Eval.Discouraged)
|
5257 |
+
5525 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5258 |
+
5526 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5259 |
+
5544 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5260 |
+
5557 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5261 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5262 |
+
5563 | ERROR | [ ] eval() is a security risk so not allowed. (Squiz.PHP.Eval.Discouraged)
|
5263 |
+
5575 | ERROR | [ ] Doc comment for parameter "$object" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5264 |
+
5578 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
5265 |
+
5579 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
5266 |
+
5579 | ERROR | [ ] Doc comment for parameter $type does not match actual variable name $object (Squiz.Commenting.FunctionComment.ParamNameNoMatch)
|
5267 |
+
5580 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
5268 |
+
5616 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5269 |
+
5620 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5270 |
+
5621 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5271 |
+
5622 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5272 |
+
5628 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5273 |
+
5638 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5274 |
+
5639 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5275 |
+
5647 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5276 |
+
5660 | ERROR | [x] String "\n DELETE FROM `@wp_podsrel`\n WHERE\n (\n `pod_id` = %d\n AND `item_id` = %d\n )\n OR (\n `related_pod_id` = %d\n AND `related_item_id` =
|
5277 |
+
| | %d\n )\n " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5278 |
+
5672 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5279 |
+
5673 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5280 |
+
5675 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5281 |
+
5676 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5282 |
+
5676 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5283 |
+
5677 | ERROR | [x] Array closer not aligned correctly; expected 0 space(s) but found 12 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5284 |
+
5723 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5285 |
+
5742 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5286 |
+
5745 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5287 |
+
5769 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5288 |
+
5773 | ERROR | [x] String "\n DELETE FROM `@wp_podsrel`\n WHERE\n (\n `pod_id` = %d\n AND `field_id` = %d\n AND `item_id` = %d\n AND `related_item_id` = %d\n )\n OR
|
5289 |
+
| | (\n `related_pod_id` = %d\n AND `related_field_id` = %d\n AND `related_item_id` = %d\n AND `item_id` = %d\n )\n " does not require double quotes; use single quotes
|
5290 |
+
| | instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5291 |
+
5789 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5292 |
+
5790 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5293 |
+
5791 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5294 |
+
5792 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5295 |
+
5794 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5296 |
+
5795 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5297 |
+
5796 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5298 |
+
5797 | ERROR | [x] Array item not aligned correctly; expected 4 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5299 |
+
5797 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5300 |
+
5798 | ERROR | [x] Array closer not aligned correctly; expected 0 space(s) but found 12 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5301 |
+
5799 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5302 |
+
5806 | ERROR | [ ] Doc comment for parameter "$type" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5303 |
+
5828 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5304 |
+
5833 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5305 |
+
5841 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5306 |
+
5841 | ERROR | [ ] Use Yoda Condition checks, you must. (WordPress.PHP.YodaConditions.NotYoda)
|
5307 |
+
5917 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5308 |
+
5965 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5309 |
+
5966 | ERROR | [x] Array item not aligned correctly; expected 20 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5310 |
+
5967 | ERROR | [x] Array item not aligned correctly; expected 20 spaces but found 24 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5311 |
+
5967 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5312 |
+
5968 | ERROR | [x] Multi-line function call not indented correctly; expected 16 spaces but found 20 (PEAR.Functions.FunctionCallSignature.Indent)
|
5313 |
+
5968 | ERROR | [x] Array closer not aligned correctly; expected 16 space(s) but found 20 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5314 |
+
5968 | ERROR | [ ] Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpml_setting". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
5315 |
+
6002 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5316 |
+
6004 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5317 |
+
6014 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5318 |
+
6016 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5319 |
+
6020 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5320 |
+
6023 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5321 |
+
6024 | ERROR | [x] Array item not aligned correctly; expected 24 spaces but found 28 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5322 |
+
6025 | ERROR | [x] Array item not aligned correctly; expected 24 spaces but found 28 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5323 |
+
6025 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5324 |
+
6026 | ERROR | [x] Multi-line function call not indented correctly; expected 20 spaces but found 24 (PEAR.Functions.FunctionCallSignature.Indent)
|
5325 |
+
6026 | ERROR | [x] Array closer not aligned correctly; expected 20 space(s) but found 24 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5326 |
+
6026 | ERROR | [ ] Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpml_setting". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
5327 |
+
6032 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5328 |
+
6035 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5329 |
+
6040 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5330 |
+
6057 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5331 |
+
6066 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5332 |
+
6067 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5333 |
+
6068 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5334 |
+
6068 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5335 |
+
6069 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 16 (PEAR.Functions.FunctionCallSignature.Indent)
|
5336 |
+
6069 | ERROR | [x] Array closer not aligned correctly; expected 12 space(s) but found 16 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5337 |
+
6069 | ERROR | [ ] Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpml_setting". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
5338 |
+
6080 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5339 |
+
6093 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5340 |
+
6112 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5341 |
+
6161 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5342 |
+
6185 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5343 |
+
6190 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5344 |
+
6191 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5345 |
+
6264 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5346 |
+
6284 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5347 |
+
6287 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5348 |
+
6305 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5349 |
+
6316 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5350 |
+
6317 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5351 |
+
6318 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5352 |
+
6318 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5353 |
+
6319 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 12 (PEAR.Functions.FunctionCallSignature.Indent)
|
5354 |
+
6319 | ERROR | [x] Array closer not aligned correctly; expected 8 space(s) but found 12 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5355 |
+
6383 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5356 |
+
6446 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5357 |
+
6467 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5358 |
+
6492 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5359 |
+
6493 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5360 |
+
6494 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5361 |
+
6497 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
5362 |
+
6497 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5363 |
+
6519 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5364 |
+
6520 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5365 |
+
6544 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5366 |
+
6550 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5367 |
+
6598 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5368 |
+
6615 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5369 |
+
6634 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5370 |
+
6651 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5371 |
+
6666 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5372 |
+
6680 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5373 |
+
6699 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5374 |
+
6712 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5375 |
+
6738 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5376 |
+
6755 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5377 |
+
6796 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5378 |
+
6797 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5379 |
+
6830 | WARNING | [ ] serialize() found. Serialized data has known vulnerability problems with Object Injection. JSON is generally a better approach for serializing data. See
|
5380 |
+
| | https://www.owasp.org/index.php/PHP_Object_Injection (WordPress.PHP.DiscouragedPHPFunctions.serialize_serialize)
|
5381 |
+
6879 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5382 |
+
6897 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5383 |
+
6897 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5384 |
+
6897 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5385 |
+
6922 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5386 |
+
6970 | ERROR | [x] String ", " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5387 |
+
6986 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5388 |
+
6989 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5389 |
+
6994 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5390 |
+
7010 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
5391 |
+
7050 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5392 |
+
7057 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5393 |
+
7063 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5394 |
+
7115 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5395 |
+
7124 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5396 |
+
7125 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5397 |
+
7126 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5398 |
+
7126 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5399 |
+
7127 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 12 (PEAR.Functions.FunctionCallSignature.Indent)
|
5400 |
+
7127 | ERROR | [x] Array closer not aligned correctly; expected 8 space(s) but found 12 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5401 |
+
7421 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5402 |
+
7446 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5403 |
+
7458 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5404 |
+
7459 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5405 |
+
7460 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5406 |
+
7460 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5407 |
+
7461 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 16 (PEAR.Functions.FunctionCallSignature.Indent)
|
5408 |
+
7461 | ERROR | [x] Array closer not aligned correctly; expected 12 space(s) but found 16 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5409 |
+
7461 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5410 |
+
7461 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5411 |
+
7499 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5412 |
+
7502 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5413 |
+
7563 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
5414 |
+
7563 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5415 |
+
7563 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5416 |
+
7571 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
5417 |
+
7571 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5418 |
+
7574 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5419 |
+
7576 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5420 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5421 |
+
7593 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5422 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5423 |
+
7595 | ERROR | [x] Blank line found after control structure (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd)
|
5424 |
+
7597 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5425 |
+
7601 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5426 |
+
7606 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5427 |
+
7620 | ERROR | [x] String "SELECT `id` FROM `@wp_pods_" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5428 |
+
7624 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5429 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5430 |
+
7626 | ERROR | [ ] Empty ELSE statement detected (Generic.CodeAnalysis.EmptyStatement.DetectedElse)
|
5431 |
+
7628 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5432 |
+
7629 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5433 |
+
7667 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5434 |
+
7667 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5435 |
+
7676 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5436 |
+
7739 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5437 |
+
7741 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5438 |
+
7741 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5439 |
+
7748 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5440 |
+
7751 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5441 |
+
7752 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5442 |
+
7753 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5443 |
+
7754 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5444 |
+
7755 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5445 |
+
7756 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5446 |
+
7757 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5447 |
+
7757 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5448 |
+
7758 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 16 (PEAR.Functions.FunctionCallSignature.Indent)
|
5449 |
+
7758 | ERROR | [x] Array closer not aligned correctly; expected 12 space(s) but found 16 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5450 |
+
7761 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5451 |
+
7767 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5452 |
+
7770 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5453 |
+
7822 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5454 |
+
7823 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5455 |
+
7826 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5456 |
+
7828 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5457 |
+
7829 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5458 |
+
7838 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5459 |
+
7838 | WARNING | [ ] Found: !=. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5460 |
+
7869 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5461 |
+
7908 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5462 |
+
7908 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5463 |
+
7910 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5464 |
+
7910 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5465 |
+
7919 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5466 |
+
7920 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5467 |
+
7920 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5468 |
+
7923 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5469 |
+
7923 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5470 |
+
7924 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5471 |
+
7924 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5472 |
+
7925 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5473 |
+
7925 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5474 |
+
7926 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5475 |
+
7926 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5476 |
+
7927 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5477 |
+
7927 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5478 |
+
7928 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5479 |
+
7928 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5480 |
+
7929 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5481 |
+
7929 | ERROR | [x] Array item not aligned correctly; expected 16 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5482 |
+
7929 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5483 |
+
7930 | ERROR | [x] Multi-line function call not indented correctly; expected 12 spaces but found 16 (PEAR.Functions.FunctionCallSignature.Indent)
|
5484 |
+
7930 | ERROR | [x] Array closer not aligned correctly; expected 12 space(s) but found 16 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5485 |
+
7931 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5486 |
+
7933 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5487 |
+
7935 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5488 |
+
7935 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5489 |
+
7936 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5490 |
+
7937 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5491 |
+
7938 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5492 |
+
7941 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5493 |
+
7941 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5494 |
+
7943 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5495 |
+
7944 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5496 |
+
7944 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5497 |
+
7947 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5498 |
+
7948 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5499 |
+
7950 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5500 |
+
7951 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5501 |
+
7954 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5502 |
+
7955 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5503 |
+
7956 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5504 |
+
7957 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5505 |
+
7958 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5506 |
+
7959 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5507 |
+
7960 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5508 |
+
7961 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5509 |
+
7964 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5510 |
+
7965 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5511 |
+
7969 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5512 |
+
7970 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5513 |
+
7972 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5514 |
+
7973 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5515 |
+
7976 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5516 |
+
7977 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5517 |
+
7978 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5518 |
+
7979 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5519 |
+
7980 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5520 |
+
7981 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5521 |
+
7982 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5522 |
+
7983 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5523 |
+
7984 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5524 |
+
7985 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5525 |
+
7986 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5526 |
+
7990 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5527 |
+
7991 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5528 |
+
7995 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5529 |
+
7997 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5530 |
+
7998 | WARNING | [ ] Code after the RETURN statement on line 7917 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable)
|
5531 |
+
7998 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5532 |
+
8000 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5533 |
+
8001 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5534 |
+
8010 | ERROR | [ ] Doc comment for parameter "$object_type" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5535 |
+
8014 | ERROR | [ ] Missing parameter name (Squiz.Commenting.FunctionComment.MissingParamName)
|
5536 |
+
8015 | ERROR | [x] Expected 6 spaces after parameter type; 1 found (Squiz.Commenting.FunctionComment.SpacingAfterParamType)
|
5537 |
+
8016 | ERROR | [x] Expected 8 spaces after parameter type; 3 found (Squiz.Commenting.FunctionComment.SpacingAfterParamType)
|
5538 |
+
8017 | ERROR | [x] Expected 7 spaces after parameter type; 2 found (Squiz.Commenting.FunctionComment.SpacingAfterParamType)
|
5539 |
+
8041 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5540 |
+
8065 | ERROR | [x] When a multi-item array uses associative keys, each value should start on a new line. (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound)
|
5541 |
+
8067 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5542 |
+
8077 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5543 |
+
8092 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
5544 |
+
8092 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5545 |
+
8092 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
5546 |
+
8092 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5547 |
+
8095 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5548 |
+
8095 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5549 |
+
8095 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5550 |
+
8108 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5551 |
+
8109 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5552 |
+
8115 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5553 |
+
8118 | WARNING | [ ] Found: ==. Use strict comparisons (=== or !==). (WordPress.PHP.StrictComparisons.LooseComparison)
|
5554 |
+
8124 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5555 |
+
8128 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5556 |
+
8129 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5557 |
+
8137 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
5558 |
+
8154 | ERROR | [ ] Empty line required before block comment (Squiz.Commenting.BlockComment.NoEmptyLineBefore)
|
5559 |
+
8159 | ERROR | [x] There must be no blank line following an inline comment (Squiz.Commenting.InlineComment.SpacingAfter)
|
5560 |
+
8162 | ERROR | [x] No space found before comment text; expected "// 'select' => '`t`.*'," but found "//'select' => '`t`.*'," (Squiz.Commenting.InlineComment.NoSpaceBefore)
|
5561 |
+
8168 | WARNING | [x] Array double arrow not aligned correctly; expected 15 space(s) between "'table'" and double arrow, but found 6. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5562 |
+
8169 | WARNING | [x] Array double arrow not aligned correctly; expected 10 space(s) between "'meta_table'" and double arrow, but found 1.
|
5563 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5564 |
+
8170 | WARNING | [x] Array double arrow not aligned correctly; expected 11 space(s) between "'pod_table'" and double arrow, but found 2. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5565 |
+
8170 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5566 |
+
8179 | WARNING | [x] Array double arrow not aligned correctly; expected 7 space(s) between "'meta_field_id'" and double arrow, but found 4.
|
5567 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5568 |
+
8180 | WARNING | [x] Array double arrow not aligned correctly; expected 4 space(s) between "'meta_field_index'" and double arrow, but found 1.
|
5569 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5570 |
+
8181 | WARNING | [x] Array double arrow not aligned correctly; expected 4 space(s) between "'meta_field_value'" and double arrow, but found 1.
|
5571 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5572 |
+
8183 | WARNING | [x] Array double arrow not aligned correctly; expected 8 space(s) between "'pod_field_id'" and double arrow, but found 5.
|
5573 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5574 |
+
8184 | WARNING | [x] Array double arrow not aligned correctly; expected 5 space(s) between "'pod_field_index'" and double arrow, but found 2.
|
5575 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5576 |
+
8185 | WARNING | [x] Array double arrow not aligned correctly; expected 6 space(s) between "'pod_field_slug'" and double arrow, but found 3.
|
5577 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5578 |
+
8186 | WARNING | [x] Array double arrow not aligned correctly; expected 4 space(s) between "'pod_field_parent'" and double arrow, but found 1.
|
5579 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5580 |
+
8188 | WARNING | [x] Array double arrow not aligned correctly; expected 16 space(s) between "'join'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5581 |
+
8190 | WARNING | [x] Array double arrow not aligned correctly; expected 15 space(s) between "'where'" and double arrow, but found 9. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5582 |
+
8191 | WARNING | [x] Array double arrow not aligned correctly; expected 7 space(s) between "'where_default'" and double arrow, but found 1.
|
5583 |
+
| | (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5584 |
+
8193 | WARNING | [x] Array double arrow not aligned correctly; expected 13 space(s) between "'orderby'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5585 |
+
8195 | WARNING | [x] Array double arrow not aligned correctly; expected 17 space(s) between "'pod'" and double arrow, but found 5. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5586 |
+
8196 | WARNING | [x] Array double arrow not aligned correctly; expected 13 space(s) between "'recurse'" and double arrow, but found 1. (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned)
|
5587 |
+
8196 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5588 |
+
8202 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5589 |
+
8209 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5590 |
+
8209 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
5591 |
+
8209 | ERROR | [ ] The constant "JSON_UNESCAPED_UNICODE" is not present in PHP version 5.3 or earlier (PHPCompatibility.PHP.NewConstants.json_unescaped_unicodeFound)
|
5592 |
+
8209 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
5593 |
+
8217 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5594 |
+
8217 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
5595 |
+
8217 | ERROR | [ ] The constant "JSON_UNESCAPED_UNICODE" is not present in PHP version 5.3 or earlier (PHPCompatibility.PHP.NewConstants.json_unescaped_unicodeFound)
|
5596 |
+
8217 | WARNING | [ ] json_encode() is discouraged. Use wp_json_encode() instead. (WordPress.WP.AlternativeFunctions.json_encode_json_encode)
|
5597 |
+
8223 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5598 |
+
8248 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5599 |
+
8279 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5600 |
+
8280 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5601 |
+
8281 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5602 |
+
8281 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5603 |
+
8282 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 12 (PEAR.Functions.FunctionCallSignature.Indent)
|
5604 |
+
8282 | ERROR | [x] Array closer not aligned correctly; expected 8 space(s) but found 12 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5605 |
+
8314 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5606 |
+
8356 | ERROR | [x] No space found before comment text; expected "// 'post_status' => '`t`.`post_status` IN ( "inherit", "publish" )', // @todo Figure out what statuses Attachments can be" but found
|
5607 |
+
| | "//'post_status' => '`t`.`post_status` IN ( "inherit", "publish" )', // @todo Figure out what statuses Attachments can be" (Squiz.Commenting.InlineComment.NoSpaceBefore)
|
5608 |
+
8357 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5609 |
+
8369 | ERROR | [ ] Comment closer must be on a new line (Squiz.Commenting.BlockComment.CloserSameLine)
|
5610 |
+
8370 | ERROR | [ ] Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpml_is_translated_post_type".
|
5611 |
+
| | (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
5612 |
+
8370 | ERROR | [ ] Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpml_setting". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
5613 |
+
8383 | ERROR | [x] String "`wpml_languages`.`code` IS NOT NULL" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5614 |
+
8392 | ERROR | [x] String "`polylang_languages`.`object_id` IS NOT NULL" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5615 |
+
8393 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5616 |
+
8396 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5617 |
+
8397 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5618 |
+
8398 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5619 |
+
8398 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5620 |
+
8399 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 12 (PEAR.Functions.FunctionCallSignature.Indent)
|
5621 |
+
8399 | ERROR | [x] Array closer not aligned correctly; expected 8 space(s) but found 12 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5622 |
+
8400 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5623 |
+
8404 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5624 |
+
8405 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5625 |
+
8405 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5626 |
+
8434 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5627 |
+
8438 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5628 |
+
8449 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5629 |
+
8456 | ERROR | [ ] Comment closer must be on a new line (Squiz.Commenting.BlockComment.CloserSameLine)
|
5630 |
+
8457 | ERROR | [ ] Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpml_setting". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
5631 |
+
8470 | ERROR | [x] String "`wpml_languages`.`code` IS NOT NULL" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5632 |
+
8479 | ERROR | [x] String "`polylang_languages`.`object_id` IS NOT NULL" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5633 |
+
8480 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5634 |
+
8497 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5635 |
+
8502 | ERROR | [x] No space found before comment text; expected "// $info[ 'object_hierarchical' ] = true;" but found "//$info[ 'object_hierarchical' ] = true;"
|
5636 |
+
| | (Squiz.Commenting.InlineComment.NoSpaceBefore)
|
5637 |
+
8502 | ERROR | [x] There must be no blank line following an inline comment (Squiz.Commenting.InlineComment.SpacingAfter)
|
5638 |
+
8520 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
5639 |
+
8520 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5640 |
+
8530 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5641 |
+
8534 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5642 |
+
8535 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5643 |
+
8536 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5644 |
+
8536 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5645 |
+
8537 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 12 (PEAR.Functions.FunctionCallSignature.Indent)
|
5646 |
+
8537 | ERROR | [x] Array closer not aligned correctly; expected 8 space(s) but found 12 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5647 |
+
8549 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5648 |
+
8550 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5649 |
+
8551 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 20 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5650 |
+
8551 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5651 |
+
8552 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 16 (PEAR.Functions.FunctionCallSignature.Indent)
|
5652 |
+
8552 | ERROR | [x] Array closer not aligned correctly; expected 8 space(s) but found 16 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5653 |
+
8564 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
5654 |
+
8576 | ERROR | [x] Comments may not appear after statements (Squiz.Commenting.PostStatementComment.Found)
|
5655 |
+
8587 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5656 |
+
8592 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
5657 |
+
8592 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5658 |
+
8598 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5659 |
+
8598 | ERROR | [ ] Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found)
|
5660 |
+
8600 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5661 |
+
8618 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5662 |
+
8619 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5663 |
+
8620 | ERROR | [x] Array item not aligned correctly; expected 12 spaces but found 16 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5664 |
+
8620 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5665 |
+
8621 | ERROR | [x] Multi-line function call not indented correctly; expected 8 spaces but found 12 (PEAR.Functions.FunctionCallSignature.Indent)
|
5666 |
+
8621 | ERROR | [x] Array closer not aligned correctly; expected 8 space(s) but found 12 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5667 |
+
8623 | ERROR | [x] No space found before comment text; expected "// $info[ 'select' ] .= ', `d`.*';" but found "//$info[ 'select' ] .= ', `d`.*';" (Squiz.Commenting.InlineComment.NoSpaceBefore)
|
5668 |
+
8749 | ERROR | [x] String "SET NAMES utf8" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5669 |
+
8750 | ERROR | [x] String "SET CHARACTER SET utf8" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5670 |
+
8756 | WARNING | [ ] Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
5671 |
+
8781 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
5672 |
+
8781 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5673 |
+
8782 | ERROR | [ ] The value of a comparison must not be assigned to a variable (Squiz.PHP.DisallowComparisonAssignment.AssignedComparison)
|
5674 |
+
8782 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5675 |
+
8791 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5676 |
+
8792 | ERROR | [ ] Inline IF statements are not allowed (Squiz.PHP.DisallowInlineIf.Found)
|
5677 |
+
8796 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5678 |
+
8800 | ERROR | [x] String "`ID` = " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5679 |
+
8815 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5680 |
+
8822 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5681 |
+
8826 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5682 |
+
8830 | ERROR | [x] String "`tt`.`term_id` = " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5683 |
+
8838 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5684 |
+
8839 | ERROR | [x] Array item not aligned correctly; expected 36 spaces but found 40 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5685 |
+
8840 | ERROR | [x] Array item not aligned correctly; expected 36 spaces but found 40 (WordPress.Arrays.ArrayIndentation.ItemNotAligned)
|
5686 |
+
8840 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5687 |
+
8841 | ERROR | [x] Multi-line function call not indented correctly; expected 32 spaces but found 36 (PEAR.Functions.FunctionCallSignature.Indent)
|
5688 |
+
8841 | ERROR | [x] Array closer not aligned correctly; expected 32 space(s) but found 36 (WordPress.Arrays.ArrayIndentation.CloseBraceNotAligned)
|
5689 |
+
8841 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5690 |
+
8845 | ERROR | [x] String "`ID` = " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5691 |
+
8853 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5692 |
+
8857 | ERROR | [x] String "`ID` = " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5693 |
+
8865 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5694 |
+
8866 | ERROR | [x] String "`comment_ID` = " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5695 |
+
8873 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5696 |
+
8876 | ERROR | [x] String "`" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5697 |
+
8879 | ERROR | [x] String "`" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5698 |
+
8879 | ERROR | [x] String "` = " does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5699 |
+
8882 | ERROR | [x] String "SELECT `" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5700 |
+
8882 | ERROR | [x] String "` AS `id` FROM `" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5701 |
+
8882 | ERROR | [x] String "` LIMIT 1" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5702 |
+
8887 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5703 |
+
8888 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5704 |
+
8889 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5705 |
+
8892 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5706 |
+
8895 | ERROR | [x] End comment for long condition not found; expected "//end if" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5707 |
+
8896 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5708 |
+
8901 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5709 |
+
8906 | ERROR | [x] End comment for long condition not found; expected "//end foreach" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
5710 |
+
8929 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5711 |
+
8953 | ERROR | [ ] Doc comment for parameter "$delimiter" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5712 |
+
8965 | ERROR | [x] String "PodsAPI->csv_to_php" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5713 |
+
8975 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
5714 |
+
8999 | WARNING | [ ] Not using strict comparison for in_array; supply true for third argument. (WordPress.PHP.StrictInArray.MissingTrueStrict)
|
5715 |
+
9023 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
5716 |
+
9061 | WARNING | [ ] Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
5717 |
+
9090 | ERROR | [x] Each array item in a multi-line array declaration must end in a comma (WordPress.Arrays.CommaAfterArrayItem.NoComma)
|
5718 |
+
9129 | ERROR | [x] String "api" does not require double quotes; use single quotes instead (Squiz.Strings.DoubleQuoteUsage.NotRequired)
|
5719 |
+
9132 | ERROR | [ ] Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5720 |
+
9142 | WARNING | [x] "require_once" is a statement not a function; no parentheses are required (PEAR.Files.IncludingFile.BracketsNotRequired)
|
5721 |
+
9159 | ERROR | [ ] Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5722 |
+
9159 | ERROR | [ ] Doc comment for parameter "$args" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5723 |
+
9169 | WARNING | [x] "require_once" is a statement not a function; no parentheses are required (PEAR.Files.IncludingFile.BracketsNotRequired)
|
5724 |
+
9183 | ERROR | [ ] Missing parameter comment (Squiz.Commenting.FunctionComment.MissingParamComment)
|
5725 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5726 |
+
PHPCBF CAN FIX THE 627 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
5727 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5728 |
+
|
5729 |
+
|
5730 |
+
FILE: classes/fields/website.php
|
5731 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5732 |
+
FOUND 32 ERRORS AND 1 WARNING AFFECTING 13 LINES
|
5733 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5734 |
+
5 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Website". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
5735 |
+
9 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5736 |
+
14 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5737 |
+
19 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5738 |
+
24 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5739 |
+
108 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5740 |
+
123 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5741 |
+
123 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5742 |
+
123 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5743 |
+
123 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5744 |
+
123 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5745 |
+
145 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5746 |
+
145 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5747 |
+
145 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5748 |
+
145 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5749 |
+
145 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5750 |
+
174 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5751 |
+
174 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5752 |
+
174 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5753 |
+
174 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5754 |
+
174 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5755 |
+
174 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5756 |
+
174 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5757 |
+
189 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5758 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5759 |
+
191 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5760 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5761 |
+
203 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5762 |
+
203 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5763 |
+
203 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5764 |
+
203 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5765 |
+
203 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5766 |
+
203 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5767 |
+
203 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5768 |
+
252 | WARNING | Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
5769 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5770 |
+
|
5771 |
+
|
5772 |
+
FILE: classes/fields/avatar.php
|
5773 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5774 |
+
FOUND 10 ERRORS AFFECTING 6 LINES
|
5775 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5776 |
+
9 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Avatar". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
5777 |
+
13 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5778 |
+
18 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5779 |
+
23 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5780 |
+
28 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5781 |
+
54 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5782 |
+
54 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5783 |
+
54 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5784 |
+
54 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5785 |
+
54 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5786 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5787 |
+
|
5788 |
+
|
5789 |
+
FILE: classes/fields/wysiwyg.php
|
5790 |
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5791 |
+
FOUND 31 ERRORS AFFECTING 11 LINES
|
5792 |
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5793 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_WYSIWYG". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
5794 |
+
10 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5795 |
+
15 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5796 |
+
20 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5797 |
+
25 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5798 |
+
144 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5799 |
+
154 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5800 |
+
154 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5801 |
+
154 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5802 |
+
154 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5803 |
+
154 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5804 |
+
213 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5805 |
+
213 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5806 |
+
213 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5807 |
+
213 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5808 |
+
213 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5809 |
+
252 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5810 |
+
252 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5811 |
+
252 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5812 |
+
252 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5813 |
+
252 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5814 |
+
252 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5815 |
+
252 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5816 |
+
268 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5817 |
+
268 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5818 |
+
268 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5819 |
+
268 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5820 |
+
268 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5821 |
+
268 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5822 |
+
280 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5823 |
+
280 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5824 |
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5825 |
+
|
5826 |
+
|
5827 |
+
FILE: classes/fields/link.php
|
5828 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5829 |
+
FOUND 32 ERRORS AFFECTING 12 LINES
|
5830 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5831 |
+
7 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Link". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
5832 |
+
11 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5833 |
+
16 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5834 |
+
21 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5835 |
+
26 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5836 |
+
103 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5837 |
+
114 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5838 |
+
114 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5839 |
+
114 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5840 |
+
114 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5841 |
+
114 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5842 |
+
189 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5843 |
+
189 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5844 |
+
189 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5845 |
+
189 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5846 |
+
189 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5847 |
+
205 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5848 |
+
205 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5849 |
+
205 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5850 |
+
205 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5851 |
+
205 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5852 |
+
205 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5853 |
+
205 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5854 |
+
223 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5855 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5856 |
+
225 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5857 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5858 |
+
238 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5859 |
+
238 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5860 |
+
238 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5861 |
+
238 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5862 |
+
238 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5863 |
+
238 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5864 |
+
238 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5865 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5866 |
+
|
5867 |
+
|
5868 |
+
FILE: classes/fields/password.php
|
5869 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5870 |
+
FOUND 25 ERRORS AFFECTING 9 LINES
|
5871 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5872 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Password". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
5873 |
+
10 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5874 |
+
15 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5875 |
+
20 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5876 |
+
25 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5877 |
+
62 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5878 |
+
78 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5879 |
+
78 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5880 |
+
78 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5881 |
+
78 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5882 |
+
78 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5883 |
+
103 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5884 |
+
103 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5885 |
+
103 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5886 |
+
103 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5887 |
+
103 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5888 |
+
103 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5889 |
+
103 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5890 |
+
129 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5891 |
+
129 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5892 |
+
129 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5893 |
+
129 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5894 |
+
129 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5895 |
+
129 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5896 |
+
129 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5897 |
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5898 |
+
|
5899 |
+
|
5900 |
+
FILE: classes/fields/currency.php
|
5901 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5902 |
+
FOUND 35 ERRORS AFFECTING 11 LINES
|
5903 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5904 |
+
7 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Currency". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
5905 |
+
11 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5906 |
+
16 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5907 |
+
21 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5908 |
+
26 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5909 |
+
169 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5910 |
+
169 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5911 |
+
169 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5912 |
+
169 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5913 |
+
169 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5914 |
+
217 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5915 |
+
217 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5916 |
+
217 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5917 |
+
217 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5918 |
+
217 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5919 |
+
238 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5920 |
+
238 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5921 |
+
238 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5922 |
+
238 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5923 |
+
238 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5924 |
+
238 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5925 |
+
238 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5926 |
+
276 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
5927 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
5928 |
+
283 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5929 |
+
283 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5930 |
+
283 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5931 |
+
283 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5932 |
+
283 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5933 |
+
283 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5934 |
+
283 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5935 |
+
325 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5936 |
+
325 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5937 |
+
325 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5938 |
+
325 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5939 |
+
325 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5940 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5941 |
+
|
5942 |
+
|
5943 |
+
FILE: classes/fields/boolean.php
|
5944 |
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5945 |
+
FOUND 35 ERRORS AFFECTING 11 LINES
|
5946 |
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5947 |
+
8 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Boolean". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
5948 |
+
12 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5949 |
+
17 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5950 |
+
22 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5951 |
+
65 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5952 |
+
75 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5953 |
+
92 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5954 |
+
92 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5955 |
+
92 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5956 |
+
92 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5957 |
+
92 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5958 |
+
110 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5959 |
+
110 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5960 |
+
110 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5961 |
+
110 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5962 |
+
110 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5963 |
+
153 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5964 |
+
153 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5965 |
+
153 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5966 |
+
153 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5967 |
+
153 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5968 |
+
153 | ERROR | Doc comment for parameter "$in_form" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5969 |
+
172 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5970 |
+
172 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5971 |
+
172 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5972 |
+
172 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5973 |
+
172 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5974 |
+
172 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5975 |
+
172 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5976 |
+
198 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5977 |
+
198 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5978 |
+
198 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5979 |
+
198 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5980 |
+
198 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5981 |
+
198 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5982 |
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5983 |
+
|
5984 |
+
|
5985 |
+
FILE: classes/fields/color.php
|
5986 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5987 |
+
FOUND 30 ERRORS AFFECTING 9 LINES
|
5988 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
5989 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Color". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
5990 |
+
10 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5991 |
+
15 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5992 |
+
20 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
5993 |
+
51 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5994 |
+
61 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5995 |
+
61 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5996 |
+
61 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5997 |
+
61 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5998 |
+
61 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
5999 |
+
93 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6000 |
+
93 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6001 |
+
93 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6002 |
+
93 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6003 |
+
93 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6004 |
+
93 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6005 |
+
93 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6006 |
+
126 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6007 |
+
126 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6008 |
+
126 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6009 |
+
126 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6010 |
+
126 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6011 |
+
126 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6012 |
+
126 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6013 |
+
142 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6014 |
+
142 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6015 |
+
142 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6016 |
+
142 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6017 |
+
142 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6018 |
+
142 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6019 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6020 |
+
|
6021 |
+
|
6022 |
+
FILE: classes/fields/datetime.php
|
6023 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6024 |
+
FOUND 40 ERRORS AND 4 WARNINGS AFFECTING 19 LINES
|
6025 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6026 |
+
6 | ERROR | [ ] Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_DateTime". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6027 |
+
10 | ERROR | [ ] Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6028 |
+
15 | ERROR | [ ] Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6029 |
+
20 | ERROR | [ ] Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6030 |
+
25 | ERROR | [ ] Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6031 |
+
221 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6032 |
+
231 | ERROR | [ ] Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6033 |
+
248 | ERROR | [ ] Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6034 |
+
248 | ERROR | [ ] Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6035 |
+
248 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6036 |
+
248 | ERROR | [ ] Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6037 |
+
248 | ERROR | [ ] Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6038 |
+
258 | ERROR | [ ] Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6039 |
+
258 | ERROR | [ ] Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6040 |
+
258 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6041 |
+
258 | ERROR | [ ] Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6042 |
+
258 | ERROR | [ ] Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6043 |
+
292 | ERROR | [ ] Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6044 |
+
292 | ERROR | [ ] Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6045 |
+
292 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6046 |
+
292 | ERROR | [ ] Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6047 |
+
292 | ERROR | [ ] Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6048 |
+
292 | ERROR | [ ] Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6049 |
+
292 | ERROR | [ ] Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6050 |
+
321 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
6051 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
6052 |
+
329 | ERROR | [ ] Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6053 |
+
329 | ERROR | [ ] Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6054 |
+
329 | ERROR | [ ] Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6055 |
+
329 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6056 |
+
329 | ERROR | [ ] Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6057 |
+
329 | ERROR | [ ] Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6058 |
+
329 | ERROR | [ ] Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6059 |
+
360 | ERROR | [ ] Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6060 |
+
360 | ERROR | [ ] Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6061 |
+
360 | ERROR | [ ] Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6062 |
+
360 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6063 |
+
360 | ERROR | [ ] Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6064 |
+
360 | ERROR | [ ] Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6065 |
+
573 | WARNING | [ ] Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$filter". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
6066 |
+
609 | WARNING | [ ] Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$filter". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
6067 |
+
634 | WARNING | [x] Equals sign not aligned correctly; expected 1 space but found 9 spaces (Generic.Formatting.MultipleStatementAlignment.IncorrectWarning)
|
6068 |
+
637 | WARNING | [ ] Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$filter". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
6069 |
+
691 | ERROR | [ ] Empty CATCH statement detected (Generic.CodeAnalysis.EmptyStatement.DetectedCatch)
|
6070 |
+
693 | ERROR | [x] End comment for long condition not found; expected "//end try" (Squiz.Commenting.LongConditionClosingComment.Missing)
|
6071 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6072 |
+
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
6073 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6074 |
+
|
6075 |
+
|
6076 |
+
FILE: classes/fields/date.php
|
6077 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6078 |
+
FOUND 10 ERRORS AFFECTING 9 LINES
|
6079 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6080 |
+
7 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Date". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6081 |
+
11 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6082 |
+
16 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6083 |
+
21 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6084 |
+
26 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6085 |
+
31 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6086 |
+
36 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6087 |
+
145 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6088 |
+
155 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6089 |
+
155 | ERROR | Doc comment for parameter "$js" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6090 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6091 |
+
|
6092 |
+
|
6093 |
+
FILE: classes/fields/email.php
|
6094 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6095 |
+
FOUND 33 ERRORS AFFECTING 12 LINES
|
6096 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6097 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Email". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6098 |
+
10 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6099 |
+
15 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6100 |
+
20 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6101 |
+
25 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6102 |
+
76 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6103 |
+
92 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6104 |
+
92 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6105 |
+
92 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6106 |
+
92 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6107 |
+
92 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6108 |
+
123 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6109 |
+
123 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6110 |
+
123 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6111 |
+
123 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6112 |
+
123 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6113 |
+
123 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6114 |
+
123 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6115 |
+
139 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
6116 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
6117 |
+
141 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
6118 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
6119 |
+
153 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6120 |
+
153 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6121 |
+
153 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6122 |
+
153 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6123 |
+
153 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6124 |
+
153 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6125 |
+
153 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6126 |
+
173 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6127 |
+
173 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6128 |
+
173 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6129 |
+
173 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6130 |
+
173 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6131 |
+
173 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6132 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6133 |
+
|
6134 |
+
|
6135 |
+
FILE: classes/fields/code.php
|
6136 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6137 |
+
FOUND 23 ERRORS AFFECTING 9 LINES
|
6138 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6139 |
+
8 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Code". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6140 |
+
12 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6141 |
+
17 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6142 |
+
22 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6143 |
+
27 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6144 |
+
75 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6145 |
+
91 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6146 |
+
91 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6147 |
+
91 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6148 |
+
91 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6149 |
+
91 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6150 |
+
103 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6151 |
+
103 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6152 |
+
103 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6153 |
+
103 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6154 |
+
103 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6155 |
+
123 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6156 |
+
123 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6157 |
+
123 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6158 |
+
123 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6159 |
+
123 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6160 |
+
123 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6161 |
+
123 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6162 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6163 |
+
|
6164 |
+
|
6165 |
+
FILE: classes/fields/paragraph.php
|
6166 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6167 |
+
FOUND 29 ERRORS AFFECTING 10 LINES
|
6168 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6169 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Paragraph". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6170 |
+
10 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6171 |
+
16 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6172 |
+
22 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6173 |
+
28 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6174 |
+
147 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6175 |
+
163 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6176 |
+
163 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6177 |
+
163 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6178 |
+
163 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6179 |
+
163 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6180 |
+
203 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6181 |
+
203 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6182 |
+
203 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6183 |
+
203 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6184 |
+
203 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6185 |
+
228 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6186 |
+
228 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6187 |
+
228 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6188 |
+
228 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6189 |
+
228 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6190 |
+
228 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6191 |
+
228 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6192 |
+
244 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6193 |
+
244 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6194 |
+
244 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6195 |
+
244 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6196 |
+
244 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6197 |
+
244 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6198 |
+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6199 |
+
|
6200 |
+
|
6201 |
+
FILE: classes/fields/html.php
|
6202 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6203 |
+
FOUND 22 ERRORS AFFECTING 9 LINES
|
6204 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6205 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_HTML". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6206 |
+
10 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6207 |
+
15 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6208 |
+
20 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6209 |
+
25 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6210 |
+
104 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6211 |
+
112 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6212 |
+
112 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6213 |
+
112 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6214 |
+
112 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6215 |
+
112 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6216 |
+
148 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6217 |
+
148 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6218 |
+
148 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6219 |
+
148 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6220 |
+
148 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6221 |
+
159 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6222 |
+
159 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6223 |
+
159 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6224 |
+
159 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6225 |
+
159 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6226 |
+
159 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6227 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6228 |
+
|
6229 |
+
|
6230 |
+
FILE: classes/fields/taxonomy.php
|
6231 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6232 |
+
FOUND 1 ERROR AFFECTING 1 LINE
|
6233 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6234 |
+
9 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Taxonomy". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6235 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6236 |
+
|
6237 |
+
|
6238 |
+
FILE: classes/fields/phone.php
|
6239 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6240 |
+
FOUND 27 ERRORS AFFECTING 11 LINES
|
6241 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6242 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Phone". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6243 |
+
10 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6244 |
+
15 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6245 |
+
20 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6246 |
+
25 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6247 |
+
101 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6248 |
+
117 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6249 |
+
117 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6250 |
+
117 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6251 |
+
117 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6252 |
+
117 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6253 |
+
148 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6254 |
+
148 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6255 |
+
148 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6256 |
+
148 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6257 |
+
148 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6258 |
+
148 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6259 |
+
148 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6260 |
+
164 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
6261 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
6262 |
+
166 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
6263 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
6264 |
+
178 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6265 |
+
178 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6266 |
+
178 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6267 |
+
178 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6268 |
+
178 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6269 |
+
178 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6270 |
+
178 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6271 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6272 |
+
|
6273 |
+
|
6274 |
+
FILE: classes/fields/oembed.php
|
6275 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6276 |
+
FOUND 38 ERRORS AFFECTING 12 LINES
|
6277 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6278 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_OEmbed". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6279 |
+
10 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6280 |
+
15 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6281 |
+
20 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6282 |
+
25 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6283 |
+
139 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6284 |
+
149 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6285 |
+
149 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6286 |
+
149 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6287 |
+
149 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6288 |
+
149 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6289 |
+
171 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6290 |
+
171 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6291 |
+
171 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6292 |
+
171 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6293 |
+
171 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6294 |
+
196 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6295 |
+
196 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6296 |
+
196 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6297 |
+
196 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6298 |
+
196 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6299 |
+
196 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6300 |
+
196 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6301 |
+
222 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6302 |
+
222 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6303 |
+
222 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6304 |
+
222 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6305 |
+
222 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6306 |
+
222 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6307 |
+
222 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6308 |
+
243 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6309 |
+
243 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6310 |
+
243 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6311 |
+
243 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6312 |
+
243 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6313 |
+
243 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6314 |
+
253 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6315 |
+
253 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6316 |
+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6317 |
+
|
6318 |
+
|
6319 |
+
FILE: classes/fields/comment.php
|
6320 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6321 |
+
FOUND 1 ERROR AFFECTING 1 LINE
|
6322 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6323 |
+
9 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Comment". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6324 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6325 |
+
|
6326 |
+
|
6327 |
+
FILE: classes/fields/time.php
|
6328 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6329 |
+
FOUND 8 ERRORS AFFECTING 7 LINES
|
6330 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6331 |
+
7 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Time". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6332 |
+
11 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6333 |
+
16 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6334 |
+
21 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6335 |
+
26 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6336 |
+
153 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6337 |
+
207 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6338 |
+
207 | ERROR | Doc comment for parameter "$js" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6339 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6340 |
+
|
6341 |
+
|
6342 |
+
FILE: classes/fields/number.php
|
6343 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6344 |
+
FOUND 46 ERRORS AND 1 WARNING AFFECTING 17 LINES
|
6345 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6346 |
+
6 | ERROR | [ ] Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Number". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6347 |
+
10 | ERROR | [ ] Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6348 |
+
15 | ERROR | [ ] Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6349 |
+
20 | ERROR | [ ] Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6350 |
+
25 | ERROR | [ ] Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6351 |
+
125 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6352 |
+
144 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6353 |
+
153 | ERROR | [x] Expected 1 space(s) after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
|
6354 |
+
153 | ERROR | [x] Space after opening control structure is required (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen)
|
6355 |
+
153 | ERROR | [x] No space before opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis)
|
6356 |
+
156 | WARNING | [x] Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed)
|
6357 |
+
164 | ERROR | [ ] Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6358 |
+
181 | ERROR | [ ] Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6359 |
+
181 | ERROR | [ ] Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6360 |
+
181 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6361 |
+
181 | ERROR | [ ] Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6362 |
+
181 | ERROR | [ ] Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6363 |
+
191 | ERROR | [ ] Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6364 |
+
191 | ERROR | [ ] Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6365 |
+
191 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6366 |
+
191 | ERROR | [ ] Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6367 |
+
191 | ERROR | [ ] Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6368 |
+
231 | ERROR | [ ] Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6369 |
+
231 | ERROR | [ ] Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6370 |
+
231 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6371 |
+
231 | ERROR | [ ] Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6372 |
+
231 | ERROR | [ ] Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6373 |
+
243 | ERROR | [ ] Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6374 |
+
243 | ERROR | [ ] Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6375 |
+
243 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6376 |
+
243 | ERROR | [ ] Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6377 |
+
243 | ERROR | [ ] Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6378 |
+
243 | ERROR | [ ] Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6379 |
+
243 | ERROR | [ ] Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6380 |
+
266 | ERROR | [ ] A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
6381 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
6382 |
+
272 | ERROR | [ ] Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6383 |
+
272 | ERROR | [ ] Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6384 |
+
272 | ERROR | [ ] Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6385 |
+
272 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6386 |
+
272 | ERROR | [ ] Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6387 |
+
272 | ERROR | [ ] Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6388 |
+
272 | ERROR | [ ] Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6389 |
+
292 | ERROR | [ ] Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6390 |
+
292 | ERROR | [ ] Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6391 |
+
292 | ERROR | [ ] Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6392 |
+
292 | ERROR | [ ] Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6393 |
+
292 | ERROR | [ ] Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6394 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6395 |
+
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
6396 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6397 |
+
|
6398 |
+
|
6399 |
+
FILE: classes/fields/file.php
|
6400 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6401 |
+
FOUND 44 ERRORS AND 1 WARNING AFFECTING 18 LINES
|
6402 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6403 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_File". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6404 |
+
10 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6405 |
+
15 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6406 |
+
20 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6407 |
+
25 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6408 |
+
180 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
6409 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
6410 |
+
228 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6411 |
+
237 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6412 |
+
237 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6413 |
+
237 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6414 |
+
237 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6415 |
+
237 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6416 |
+
269 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6417 |
+
269 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6418 |
+
269 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6419 |
+
269 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6420 |
+
269 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6421 |
+
324 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6422 |
+
324 | ERROR | Doc comment for parameter "$args" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6423 |
+
506 | ERROR | Doc comment for parameter "$attributes" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6424 |
+
506 | ERROR | Doc comment for parameter "$args" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6425 |
+
518 | ERROR | Doc comment for parameter "$args" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6426 |
+
576 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6427 |
+
576 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6428 |
+
576 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6429 |
+
576 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6430 |
+
576 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6431 |
+
576 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6432 |
+
576 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6433 |
+
587 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6434 |
+
587 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6435 |
+
587 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6436 |
+
587 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6437 |
+
587 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6438 |
+
587 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6439 |
+
587 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6440 |
+
642 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6441 |
+
642 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6442 |
+
642 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6443 |
+
642 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6444 |
+
642 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6445 |
+
642 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6446 |
+
944 | WARNING | Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
6447 |
+
1016 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
6448 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
6449 |
+
1118 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
6450 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
6451 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6452 |
+
|
6453 |
+
|
6454 |
+
FILE: classes/fields/slug.php
|
6455 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6456 |
+
FOUND 18 ERRORS AFFECTING 8 LINES
|
6457 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6458 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Slug". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6459 |
+
10 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6460 |
+
15 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6461 |
+
20 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6462 |
+
25 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6463 |
+
60 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6464 |
+
70 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6465 |
+
70 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6466 |
+
70 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6467 |
+
70 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6468 |
+
70 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6469 |
+
101 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6470 |
+
101 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6471 |
+
101 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6472 |
+
101 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6473 |
+
101 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6474 |
+
101 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6475 |
+
101 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6476 |
+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6477 |
+
|
6478 |
+
|
6479 |
+
FILE: classes/fields/pick.php
|
6480 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6481 |
+
FOUND 378 ERRORS AND 3 WARNINGS AFFECTING 350 LINES
|
6482 |
+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
6483 |
+
6 | ERROR | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PodsField_Pick". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound)
|
6484 |
+
10 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6485 |
+
15 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6486 |
+
20 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6487 |
+
25 | ERROR | Missing @var tag in member variable comment (Squiz.Commenting.VariableComment.MissingVar)
|
6488 |
+
681 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6489 |
+
698 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6490 |
+
698 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6491 |
+
698 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6492 |
+
698 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6493 |
+
698 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6494 |
+
731 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6495 |
+
731 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6496 |
+
731 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6497 |
+
731 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6498 |
+
731 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6499 |
+
760 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6500 |
+
760 | ERROR | Doc comment for parameter "$args" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6501 |
+
895 | WARNING | Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
6502 |
+
916 | ERROR | Doc comment for parameter "$args" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6503 |
+
1025 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
6504 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
6505 |
+
1026 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
6506 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
6507 |
+
1053 | ERROR | Doc comment for parameter "$args" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6508 |
+
1326 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6509 |
+
1326 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6510 |
+
1326 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6511 |
+
1326 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6512 |
+
1326 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6513 |
+
1326 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6514 |
+
1326 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6515 |
+
1411 | ERROR | A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
6516 |
+
| | (WordPress.WP.I18n.MissingTranslatorsComment)
|
6517 |
+
1451 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6518 |
+
1451 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6519 |
+
1451 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6520 |
+
1451 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6521 |
+
1451 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6522 |
+
1451 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6523 |
+
1451 | ERROR | Doc comment for parameter "$params" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6524 |
+
1602 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6525 |
+
1602 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6526 |
+
1602 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6527 |
+
1602 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6528 |
+
1602 | ERROR | Doc comment for parameter "$fields" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6529 |
+
1602 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6530 |
+
1613 | ERROR | Doc comment for parameter "$name" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6531 |
+
1613 | ERROR | Doc comment for parameter "$value" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6532 |
+
1613 | ERROR | Doc comment for parameter "$options" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6533 |
+
1613 | ERROR | Doc comment for parameter "$pod" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6534 |
+
1613 | ERROR | Doc comment for parameter "$id" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6535 |
+
1613 | ERROR | Doc comment for parameter "$in_form" missing (Squiz.Commenting.FunctionComment.MissingParamTag)
|
6536 |
+
1679 | WARNING | Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
6537 |
+
2417 | WARNING | Silencing errors is discouraged (Generic.PHP.NoSilencedErrors.Discouraged)
|
6538 |
+
2658 | ERROR | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "members_get_capabilities". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound)
|
6539 |
+
2719 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6540 |
+
2720 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6541 |
+
2721 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6542 |
+
2722 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6543 |
+
2723 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6544 |
+
2724 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6545 |
+
2725 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6546 |
+
2726 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6547 |
+
2727 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6548 |
+
2728 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6549 |
+
2729 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6550 |
+
2730 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6551 |
+
2731 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6552 |
+
2732 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6553 |
+
2733 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6554 |
+
2734 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6555 |
+
2735 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6556 |
+
2736 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6557 |
+
2737 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6558 |
+
2738 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6559 |
+
2739 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6560 |
+
2740 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6561 |
+
2741 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6562 |
+
2742 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6563 |
+
2743 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6564 |
+
2744 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6565 |
+
2745 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6566 |
+
2746 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6567 |
+
2747 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6568 |
+
2748 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6569 |
+
2749 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6570 |
+
2750 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6571 |
+
2751 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6572 |
+
2752 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6573 |
+
2753 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6574 |
+
2754 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6575 |
+
2755 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6576 |
+
2756 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6577 |
+
2757 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6578 |
+
2758 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6579 |
+
2759 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6580 |
+
2760 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6581 |
+
2761 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6582 |
+
2762 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6583 |
+
2763 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6584 |
+
2764 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6585 |
+
2765 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6586 |
+
2766 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6587 |
+
2767 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6588 |
+
2768 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6589 |
+
2769 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6590 |
+
2770 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6591 |
+
2771 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6592 |
+
2772 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6593 |
+
2773 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6594 |
+
2774 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6595 |
+
2775 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6596 |
+
2776 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6597 |
+
2777 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6598 |
+
2778 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6599 |
+
2779 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6600 |
+
2780 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6601 |
+
2781 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6602 |
+
2782 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6603 |
+
2783 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6604 |
+
2784 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6605 |
+
2785 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6606 |
+
2786 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6607 |
+
2787 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6608 |
+
2788 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6609 |
+
2789 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6610 |
+
2790 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6611 |
+
2791 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6612 |
+
2792 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6613 |
+
2793 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6614 |
+
2794 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6615 |
+
2795 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6616 |
+
2796 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6617 |
+
2797 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6618 |
+
2798 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6619 |
+
2799 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6620 |
+
2800 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6621 |
+
2801 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6622 |
+
2802 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6623 |
+
2803 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6624 |
+
2804 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6625 |
+
2805 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6626 |
+
2806 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6627 |
+
2807 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6628 |
+
2808 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6629 |
+
2809 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6630 |
+
2810 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6631 |
+
2811 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6632 |
+
2812 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDomain)
|
6633 |
+
2813 | ERROR | Missing $domain arg. (WordPress.WP.I18n.MissingArgDoma
|