albedo0
Forum Replies Created
-
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Notice: register_rest_routeIt’s not directly your plugin… I try the other plugins and it disappear too when i desactivate the plugin “Site Kit by Google”…
I have this notice if i have the two plugins “Complianz | GDPR/CCPA Cookie Consent” and “Site Kit by Google” in the same time only !
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Notice: register_rest_routeHi,
I had find that the problem come from your plugin by deactivating it…
I just try again ! And it’s the same, the message disappear when i turn off your plugin…
We are speaking about the plugin “Complianz | GDPR/CCPA Cookie Consent” ??Forum: Developing with WordPress
In reply to: Ajax request 400 bad requestI close my topic… But if anybody understand why i have to add the actions outside the class i’m interested…
Forum: Developing with WordPress
In reply to: Ajax request 400 bad requestThanks @bcworkz for your security advices…
I have found the solution but i don’t understand why…
$Help2spell = new Help2spell(); add_action('wp_ajax_nopriv_ajax_send_report', array($Help2spell, 'ajax_send_report')); add_action('wp_ajax_ajax_send_report', array($Help2spell, 'ajax_send_report'));
I have put the two lines wp_ajax_nopriv and wp_ajax outside of my PHP class and it works.
- This reply was modified 5 years, 3 months ago by albedo0.
Forum: Developing with WordPress
In reply to: Ajax request 400 bad requestHi,
I tried to serialize like that :
jQuery.ajax({ url: help2spell.ajax_url, method: 'post', data: 'action=ajax_send_report&closer_title='+closer_title+'&post_id='+post_id+"&mistake="+mistake+"&correction="+correction, success: function(response){ help2spellOptionsReset(); jQuery("#help2spell-content-info").hide(); jQuery("#help2spell-content-response>p").html(response); jQuery("#help2spell-content-response").show(); } });
But i have the same error…
(When you talk about security, you are talking about the lines 2 to 5 of my php function ajax_send_report ?)
Forum: Plugins
In reply to: [Boot-Modal] shortcode positionHi,
I’m really sorry for the inconvenient, i didn’t notice the problem with my tests. Normally the problem is solved with the version 1.8.
Sorry again…
Julien
Forum: Developing with WordPress
In reply to: wp-color-picker conflict with other pluginHi Andrew,
The problem is that there is no js error in console…
The only thing is that if i comment this line in this other plugin :
wp_enqueue_script( 'wp-color-picker-alpha', self::plug_directory() .'js/wp-color-picker-alpha.min.js', array( 'wp-color-picker', 'uixscform-functions' ), '1.2.2', true );
it works for me…
Forum: Developing with WordPress
In reply to: Options.php don’t redirect to originI finally resolve my problem by starting back from scratch…
And i don’t know what happened…Thanks for your help !
Forum: Developing with WordPress
In reply to: Options.php don’t redirect to originYes i double checked everything !
Forum: Developing with WordPress
In reply to: Options.php don’t redirect to originYes, i call
resgister_settings()
,add_settings_field()
,settings_fields()
,do_settings_sections()
and the form looks like i want…- This reply was modified 7 years, 4 months ago by albedo0.
Forum: Plugins
In reply to: [Boot-Modal] Show page content containing shortcodeHello @christer_f
I had the change that you made…
If you have other tweaks i’m open !
I don’t know how to write to you directly but you can contact me !Bye
Forum: Themes and Templates
In reply to: [Accelerate] Center Logo in HeaderHello,
I think that a better way to do it is to add your CSS Code in the custom CSS area.
Because your hack can be erase after an update.