Plugin Directory

Changeset 2549770


Ignore:
Timestamp:
06/17/2021 12:47:18 PM (5 years ago)
Author:
3UU
Message:

Bugfix: sanitize_callback parameter to avoid warnings with api requests

Location:
shariff
Files:
3 edited
2 copied

Legend:

Unmodified
Added
Removed
  • shariff/tags/4.6.6/readme.txt

    r2440256 r2549770  
    33Tags: Shariff, GDPR, DSGVO, share buttons, sharing
    44Requires at least: 4.9
    5 Requires PHP: 7.0
    6 Tested up to: 5.6
    7 Stable tag: 4.6.5
     5Requires PHP: 7.2
     6Tested up to: 5.7.3
     7Stable tag: 4.6.6
    88License: MIT
    99License URI: http://opensource.org/licenses/mit
     
    4848Yes. You can use
    4949<code>function your_awesome_function( $share_counts ) {
    50    // $share_counts is an array including all enabled services, the timestamp of the update and the url of the post.
     50   // $share_counts is an array including all enabled services,
     51   // the timestamp of the update and the url of the post.
    5152   // do stuff
    5253}
     
    144145
    145146== Changelog ==
     147
     148= 4.6.6 =
     149- Fix sanitize_callback parameter to avoid warnings with api requests
     150- tested for 5.7
    146151
    147152= 4.6.5 =
  • shariff/tags/4.6.6/shariff.php

    r2267982 r2549770  
    44 * Plugin URI: https://wordpress.org/plugins-wp/shariff/
    55 * Description: Shariff provides share buttons that respect the privacy of your visitors and follow the General Data Protection Regulation (GDPR).
    6  * Version: 4.6.5
     6 * Version: 4.6.6
    77 * Author: Jan-Peter Lambeck & 3UU
    88 * Author URI: https://wordpress.org/plugins/shariff/
     
    3434function shariff3uu_update() {
    3535    // Adjust code version.
    36     $code_version = '4.6.5';
     36    $code_version = '4.6.6';
    3737
    3838    // Get basic options.
     
    193193            'methods'  => 'GET',
    194194            'callback' => 'shariff3uu_share_counts',
     195#https://developer.wordpress.org/rest-api/extending-the-rest-api/routes-and-endpoints/#permissions-callback
     196            'permission_callback' => '__return_true',
    195197            'args'     => array(
    196198                'url'       => array(
  • shariff/trunk/readme.txt

    r2440256 r2549770  
    33Tags: Shariff, GDPR, DSGVO, share buttons, sharing
    44Requires at least: 4.9
    5 Requires PHP: 7.0
    6 Tested up to: 5.6
    7 Stable tag: 4.6.5
     5Requires PHP: 7.2
     6Tested up to: 5.7.3
     7Stable tag: 4.6.6
    88License: MIT
    99License URI: http://opensource.org/licenses/mit
     
    4848Yes. You can use
    4949<code>function your_awesome_function( $share_counts ) {
    50    // $share_counts is an array including all enabled services, the timestamp of the update and the url of the post.
     50   // $share_counts is an array including all enabled services,
     51   // the timestamp of the update and the url of the post.
    5152   // do stuff
    5253}
     
    144145
    145146== Changelog ==
     147
     148= 4.6.6 =
     149- Fix sanitize_callback parameter to avoid warnings with api requests
     150- tested for 5.7
    146151
    147152= 4.6.5 =
  • shariff/trunk/shariff.php

    r2267982 r2549770  
    44 * Plugin URI: https://wordpress.org/plugins-wp/shariff/
    55 * Description: Shariff provides share buttons that respect the privacy of your visitors and follow the General Data Protection Regulation (GDPR).
    6  * Version: 4.6.5
     6 * Version: 4.6.6
    77 * Author: Jan-Peter Lambeck & 3UU
    88 * Author URI: https://wordpress.org/plugins/shariff/
     
    3434function shariff3uu_update() {
    3535    // Adjust code version.
    36     $code_version = '4.6.5';
     36    $code_version = '4.6.6';
    3737
    3838    // Get basic options.
     
    193193            'methods'  => 'GET',
    194194            'callback' => 'shariff3uu_share_counts',
     195#https://developer.wordpress.org/rest-api/extending-the-rest-api/routes-and-endpoints/#permissions-callback
     196            'permission_callback' => '__return_true',
    195197            'args'     => array(
    196198                'url'       => array(
Note: See TracChangeset for help on using the changeset viewer.