Mauricio Galetto
Forum Replies Created
-
The error is still there, the plugin clears temporary reservations hooked to “init” on the front end. When it clears temporary reservations it empties the current user’s cart which has no relation to the deleted temporary reservations. If the user visiting the site does not yet have a cart it generates the error, but even then there is no reason to delete the current user’s cart. This should be passed to a cron, and in any case it should empty the cart corresponding to the temporary reservation.
Forum: Plugins
In reply to: [WPS Hide Login] Saving issues after latest updateHi MaximeWPS,
Try saving a page with quick edit and a password. (Or with the old post editor + password)https://plugins.trac.www.ads-software.com/browser/wps-hide-login/trunk/classes/plugin.php#L690
- This reply was modified 5 months, 2 weeks ago by Mauricio Galetto.
- This reply was modified 5 months, 2 weeks ago by Mauricio Galetto.
Forum: Plugins
In reply to: [WPS Hide Login] Saving issues after latest updateThe same thing happens to me with a different theme.
Rollback to 1.9.15.2 and it’s going fine.
It looks like a loop:require_once('wp-admin/admin.php')
require_once('wp-load.php')
require_once('wp-config.php')
require_once('wp-settings.php')
do_action('plugins_loaded')
WP_Hook->do_action
WP_Hook->apply_filters
WPS\WPS_Hide_Login\Plugin->plugins_loaded
site_url
get_site_url
apply_filters('site_url')
WP_Hook->apply_filters
WPS\WPS_Hide_Login\Plugin->site_url
WPS\WPS_Hide_Login\Plugin->filter_wp_login_php
wp_authenticate_username_password
wp_lostpassword_url
network_site_url
site_url
get_site_url
apply_filters('site_url')
WP_Hook->apply_filters
WPS\WPS_Hide_Login\Plugin->site_url
WPS\WPS_Hide_Login\Plugin->filter_wp_login_php
wp_authenticate_username_password
wp_lostpassword_url
network_site_url
site_url
get_site_url
apply_filters('site_url')
WP_Hook->apply_filters
... inifite- This reply was modified 5 months, 2 weeks ago by Mauricio Galetto.
Forum: Plugins
In reply to: [Maspik - Advanced Spam Protection] Textarea blacklist not working.Replacing on includes/functions.php line 185:
return strpos($string, strtolower($field_value)) !== false;
By
return strpos(strtolower($field_value), $string) !== false;
starts working
Forum: Plugins
In reply to: [User Post Collections] Unminified main.jsHi raifs!
The source code is on github: https://github.com/tauri77/user-post-collections
The js: https://github.com/tauri77/user-post-collections/tree/main/javascript/mg-upc-client/src
If you want to make your own JS I recommend reading API docs: https://tauri77.github.io/user-post-collections/api.html
Maybe look at https://github.com/tauri77/user-post-collections/blob/main/javascript/mg-upc-client/src/apiClient.js
The js API client is defined globally:
var list = < listID | 'bookmarks' | 'favorites' >; var postID = 123; //Add to list window.mgUpcApiClient.add( list, postID, { context: 'check' } ).then( function(response) { if ( response.data.added ) { // Added } }).catch( function(reason) { if ( reason.code && reason.code == 'rest_item_exist_error' ) { // Already on list } if ( reason.code && reason.code == 'rest_forbidden' ) { // Go to login } });
Or delete item:
var list = < listID | 'bookmarks' | 'favorites' >; var postID = 123; //Remove from list window.mgUpcApiClient.quit( list, postID, { context: 'check' } ).then( function(response) { if ( response.data.deleted ) { //removed! } }).catch( function(reason) { //ERR! });
However, feature requests are honored. Today I am developing a shortcode to list collections.
Forum: Reviews
In reply to: [Mega Addons For WPBakery Page Builder] Dead Plugin/Vulnerabilities@sandyooty The easy way is to comment out the line with the first occurrence of “update_option(” in the main.php file, this will not allow you to enable/disable modules of this plugin.
The long way:Forum: Reviews
In reply to: [Mega Addons For WPBakery Page Builder] Dead Plugin/VulnerabilitiesThey are taking a long time, temporarily I edited it manually:
https://www.diffchecker.com/shMpwye6
https://www.diffchecker.com/F7om0RfJ