Plugin Directory

Changeset 3280591


Ignore:
Timestamp:
04/24/2025 06:42:38 AM (11 months ago)
Author:
xssdevelopment
Message:

Fix missing parenthesis

Location:
merge-pdf
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • merge-pdf/tags/1.0.1/trunk/includes/setting.php

    r3250034 r3280591  
    6868if (!function_exists('cross_service_solutions_register_settings')){
    6969    function cross_service_solutions_register_settings() {
    70         register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_api_key', 'cross_service_solutions_verify_api_key');
    71         register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_show_provider', 'cross_service_solutions_sanitize_show_provider');
     70        register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_api_key', array(
     71            'type'              => 'string',
     72            'sanitize_callback' => 'cross_service_solutions_verify_api_key',
     73        ));
     74
     75        register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_show_provider', array(
     76            'type'              => 'string',
     77            'sanitize_callback' => 'cross_service_solutions_sanitize_show_provider',
     78        ));
    7279    }
    7380    add_action('admin_init', 'cross_service_solutions_register_settings');
  • merge-pdf/tags/1.0.1/trunk/merge-pdf.php

    r3260511 r3280591  
    44 * Description:       Seamlessly combine multiple PDFs into a single file for easy sharing, organizing, and storage, all while preserving original formatting and quality.
    55 * Requires at least: 6.6
    6  * Requires PHP:      7.2.24
     6 * Requires PHP:      7.2
    77 * Version:           1.0.1
    88 * Author:            Cross Service Solutions
  • merge-pdf/tags/1.0.1/trunk/readme.txt

    r3260511 r3280591  
    66Tested up to: 6.7
    77Stable tag: 1.0.1
    8 Requires PHP: 7.2.24
     8Requires PHP: 7.2
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • merge-pdf/trunk/includes/setting.php

    r3250034 r3280591  
    6868if (!function_exists('cross_service_solutions_register_settings')){
    6969    function cross_service_solutions_register_settings() {
    70         register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_api_key', 'cross_service_solutions_verify_api_key');
    71         register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_show_provider', 'cross_service_solutions_sanitize_show_provider');
     70        register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_api_key', array(
     71            'type'              => 'string',
     72            'sanitize_callback' => 'cross_service_solutions_verify_api_key',
     73        ));
     74
     75        register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_show_provider', array(
     76            'type'              => 'string',
     77            'sanitize_callback' => 'cross_service_solutions_sanitize_show_provider',
     78        ));
    7279    }
    7380    add_action('admin_init', 'cross_service_solutions_register_settings');
  • merge-pdf/trunk/merge-pdf.php

    r3260511 r3280591  
    44 * Description:       Seamlessly combine multiple PDFs into a single file for easy sharing, organizing, and storage, all while preserving original formatting and quality.
    55 * Requires at least: 6.6
    6  * Requires PHP:      7.2.24
     6 * Requires PHP:      7.2
    77 * Version:           1.0.1
    88 * Author:            Cross Service Solutions
  • merge-pdf/trunk/readme.txt

    r3260511 r3280591  
    66Tested up to: 6.7
    77Stable tag: 1.0.1
    8 Requires PHP: 7.2.24
     8Requires PHP: 7.2
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.