Prep Plugin for release on WordPress.org (#23)
* Update translation text domain * Escape everything that should be escaped. * Add nonce checks where needed. * Sanitize all inputs. * Apply Code style changes across the codebase. * Correct many deprecation notices. * Optimize load order of many filters. * Add Proper Build script * Use emojii flags * Fix i18n deprecation notice for translating too early * Put all scripts in footer and load async
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
includes:
|
||||
- vendor/szepeviktor/phpstan-wordpress/extension.neon
|
||||
parameters:
|
||||
level: max
|
||||
level: 0
|
||||
inferPrivatePropertyTypeFromConstructor: true
|
||||
checkMissingIterableValueType: false
|
||||
treatPhpDocTypesAsCertain: false
|
||||
paths:
|
||||
- /
|
||||
- ./views
|
||||
- ./inc
|
||||
- ./wp-multisite-waas.php
|
||||
ignoreErrors:
|
||||
# Uses func_get_args()
|
||||
- '/^Function apply_filters(_ref_array)? invoked with [34567] parameters, 2 required\.$/'
|
||||
-
|
||||
message: '#Variable \$.* might not be defined.#'
|
||||
path: ./views/*
|
Reference in New Issue
Block a user