1.2.4
Added
- Formatting files according to php/wordpress standards
- WP Requires at least 4.7
- added prefix to functions and const
- code documentation
- version number to enqueue styles
Changed
- update readme
- Change function dirname() to DIR const
- loose comparisons
- conditional structure
- variables name to snake_case
- Capabilities should be used instead of roles
- remove comments
- json_encode changed to wp_json_encode
- strip_tags changed to wp_strip_all_tags
- Limit posts_per_page
- output literal string
- function rename() to WP_Filesystem
Fixed
- name assignment changed
- Rename Class Name Ilove_Pdf_i18n to Ilove_Pdf_I18n
- nonce verification
- rename files without hyphens
- escaped data outputs
- Sanitize data
- text domain mismatch
- changed name of parameter $object to $file_object
- add version to js fiel enqueue
- data types in parameters
- variables not defined
- check if watermark image is empty
- set value default if compress size is null|empty