Changeset 2964163
- Timestamp:
- 09/07/2023 02:26:48 PM (19 months ago)
- Location:
- stn-save-to-nextcloud/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stn-save-to-nextcloud/trunk/STN.php
r2934646 r2964163 8 8 * * Plugin URI: httsp://www.davelopweb.fr/ 9 9 * Description: Sauvegarde wordpress + Bdd mensuelle vers votre instance Nextcloud 10 * * Version: 2.3. 110 * * Version: 2.3.3 11 11 * Author: Dave DELALLEAU 12 12 * Author URI: https://www.davelopweb.fr/#contact … … 591 591 } 592 592 593 $allParam['NeedUpdate'] = 'noneed'; 594 595 $update_data = wp_get_update_data(); 596 597 if ($update_data['counts']['total'] > 0) { 598 599 $allParam['NeedUpdate'] = 'need'; 600 601 }; 602 603 $allParam['test'] = $update_data; 604 593 605 return $allParam; 594 606 }; … … 599 611 'methods' => 'GET', 600 612 'callback' => 'all_user_param', 613 'permission_callback' => '__return_true', 601 614 ) ); 602 615 } ); … … 660 673 // Appelle la méthode "all_user_param" 661 674 'callback' => 'get_all_saves', 675 'permission_callback' => '__return_true', 662 676 ) ); 663 677 } ); -
stn-save-to-nextcloud/trunk/readme.txt
r2934646 r2964163 5 5 Requires PHP: 7.3 6 6 Tested up to: 6.2 7 Stable tag: 2.3. 17 Stable tag: 2.3.3 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 51 51 == Changelog == 52 52 53 = 2.3.3 = 54 55 Ajout 'permission_callback' en public les API 56 57 = 2.3.1 = 58 59 Ajout NeedUpdate dans l'API param 53 60 54 61 = 2.3.1 =
Note: See TracChangeset
for help on using the changeset viewer.