Plugin Directory

Changeset 3150862


Ignore:
Timestamp:
09/12/2024 01:12:50 PM (18 months ago)
Author:
56degrees
Message:

Update TRUNK folder - name to Lazyload for Contact Form 7 and Logging the error about nonce in the logs

Location:
fsdpcfl-contact-form-lazyload/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • fsdpcfl-contact-form-lazyload/trunk/README.txt

    r3150069 r3150862  
    1 === Contact Form Lazyload ===
     1=== Lazyload for Contact Form 7 ===
    22Contributors: 56degrees
    33Donate link: https://www.56degrees.co.uk/
     
    66Tested up to: 6.6
    77Requires PHP: 7.4
    8 Stable tag: 2.0.0
     8Stable tag: 2.0.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1111
    12 Contact Form Lazyload is a lightweight WordPress plugin designed to improve your website's performance by lazyloading Contact Form 7.
     12Lazyload for Contact Form 7 is a lightweight WordPress plugin designed to improve your website's performance by lazyloading Contact Form 7.
    1313
    1414== Description ==
    15 Contact Form Lazyload is a lightweight WordPress plugin designed to improve your website's performance by lazyloading Contact Form 7. This plugin delays the loading of contact forms until they are in the viewport, reducing initial load times and enhancing user experience.
     15Lazyload for Contact Form 7 is a lightweight WordPress plugin designed to improve your website's performance by lazyloading Contact Form 7. This plugin delays the loading of contact forms until they are in the viewport, reducing initial load times and enhancing user experience.
    1616
    1717Example code:
     
    2020```
    2121
    22 = root-margin="0px" =
    23 
     22```
     23root-margin="0px"
     24```
    2425**root-margin="0px"** sets the size of the base margin, allowing the form to load sooner or later. Root-margin can be set in several ways:
    2526- root-margin supports units such as px and %.
     
    2829    - *root-margin: 20px 50px 20px* - the form will load with margins of 20px on top, 50px on the sides, and 20px on the bottom.
    2930
    30 = no-observer="true" =
    31 
     31```
     32no-observer="true"
     33```
    3234**no-observer="true"** Is a solution aimed at developers who want to have control over exactly when the form is loaded. Setting this option to true will prevent the form from loading automatically on the page, and you will need to manually change the *data-fsdpcfl-src* attribute to *src* using JavaScript.
    3335
     
    5153= Is this plugin compatible with all contact form plugins? =
    5254
    53 Contact Form Lazyload is designed to work with most popular plugin Contact Form 7. If you encounter any compatibility issues, please report them on the support forum.
     55Lazyload for Contact Form 7 is designed to work with most popular plugin Contact Form 7. If you encounter any compatibility issues, please report them on the support forum.
    5456
    5557= Can I customize the lazyload behavior? =
     
    6365== Changelog ==
    6466
     67= 2.0.1 =
     68* 2024-09-12
     69* Logging the error about nonce in the logs
     70
    6571= 2.0.0 =
    6672* 2024-09-09
    67 * - Changing form loading from plugin address to ?fsdpcfl
    68 * - Adding javascript minification of peaks
    69 * - Improved security by cleansing the data transferred by the user
     73* Changing form loading from plugin address to ?fsdpcfl
     74* Adding javascript minification of peaks
     75* Improved security by cleansing the data transferred by the user
    7076
    7177= 1.0.0 =
     
    7581== Upgrade Notice ==
    7682
     83= 2.0.1 =
     84* Logging the error about nonce in the logs
     85
    7786= 2.0.0 =
    78 * - Changing form loading from plugin address to ?fsdpcfl
    79 * - Adding javascript minification of peaks
    80 * - Improved security by cleansing the data transferred by the user
     87* Changing form loading from plugin address to ?fsdpcfl
     88* Adding javascript minification of peaks
     89* Improved security by cleansing the data transferred by the user
    8190
    8291= 1.0.0 =
  • fsdpcfl-contact-form-lazyload/trunk/fsdpcfl-contact-form-lazyload.php

    r3150069 r3150862  
    11<?php
    22/**
    3  * Plugin Name: Contact Form Lazyload
     3 * Plugin Name: Lazyload for Contact Form 7
    44 * Plugin URI: https://www.56degrees.co.uk/plugin-contact-form-lazyload
    5  * Description: Contact Form Lazyload is a lightweight WordPress plugin designed to improve your website's performance by lazyloading Contact Form 7.
    6  * Version: 2.0.0
     5 * Description: Lazyload for Contact Form 7 is a lightweight WordPress plugin designed to improve your website's performance by lazyloading Contact Form 7.
     6 * Version: 2.0.1
    77 * Author: 56 Degrees
    88 * Author URI: https://www.56degrees.co.uk/
     
    1717define("FSDPCFL_PATH", plugin_dir_path( __FILE__ ));
    1818define("FSDPCFL_URL", plugins_url('', __FILE__ ));
    19 define("FSDPCFL_VERSION", '2.0.0');
     19define("FSDPCFL_VERSION", '2.0.1');
    2020
    2121if ( is_admin() ) {
  • fsdpcfl-contact-form-lazyload/trunk/includes/form-loader.php

    r3149211 r3150862  
    77
    88        if ( ! wp_verify_nonce( $nonce, 'fsdpcfl-contact-form-lazy-page' ) ) {
    9              die( esc_html__( 'Security Check Failed', 'Contact Form LazyLoad' ) );
     9            error_log( esc_html__( 'Security Check Failed', 'Lazyload for Contact Form 7' ) );
    1010        }
    1111
  • fsdpcfl-contact-form-lazyload/trunk/package.json

    r3149211 r3150862  
    22  "name": "fsdpcfl-contact-form-lazyload",
    33  "version": "2.0.0",
    4   "description": "=== Contact Form Lazyload === Contributors: 56degrees Donate link: https://www.56degrees.co.uk/ Tags: cf7, contact form 7, wpcf7, lazy form, lazyload form Requires at least: 6.5 Tested up to: 6.6 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html",
     4  "description": "=== Lazyload for Contact Form 7 === Contributors: 56degrees Donate link: https://www.56degrees.co.uk/ Tags: cf7, contact form 7, wpcf7, lazy form, lazyload form Requires at least: 6.5 Tested up to: 6.6 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html",
    55  "main": "src/index.js",
    66  "devDependencies": {
Note: See TracChangeset for help on using the changeset viewer.