deltamgm2
Forum Replies Created
-
Hello,
Thanks this solve the pb, I dont even know why I didnt think about that :X
Works well now, just get warning about
Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://accounts.google.com’) does not match the recipient window’s origin (https my website)Thanks again,
Delta- This reply was modified 8 years, 3 months ago by deltamgm2.
Forum: Plugins
In reply to: [wpDirAuth] Disabled directory listing – Now no domain users can login.working perfect now regarding few tests, really ty for being so quick;
I will push it on all websites after christmas 🙂- This reply was modified 8 years, 5 months ago by deltamgm2.
Forum: Plugins
In reply to: [wpDirAuth] Disabled directory listing – Now no domain users can login.same here, going back to 1.9.4 solved my pb )
Forum: Plugins
In reply to: [Contact Form 7] update 4,9,2 not sending messages** update ** change permalink to “plain” (instead of day/name) fix the rest api pb for now.
Forum: Plugins
In reply to: [Contact Form 7] update 4,9,2 not sending messagessame here on diff websites
=> looks like the last version of the plugin use REST API to send message (why?!);
console log error : Failed to load resource: the server responded with a status of 401 (Unauthorized)
On the page: wp-json/contact-form-7/v1/contact-forms/69/feedback
{“code”:”rest_not_logged_in”,”message”:”You are not currently logged in.”,”data”:{“status”:401}}=> I restrict REST API for non logged user from a security and privacy point of view. This mean that i cant use this plugin anymore ? sad.
Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7the plugins 4.9.2 is broken for some configuration… w8 for fix or back to the 4.9.1 version…
Forum: Plugins
In reply to: [User Role Editor] Site offline after plugin updateHi there,
Strange, can you tell us more about the error.log ?
The latest version works fine on my websites (php 7)
Forum: Plugins
In reply to: [WP Support Plus Responsive Ticket System] Version 7.1.4 link is BROKEN!!!!!any news ? does the plugin have been removed ?
Forum: Plugins
In reply to: [WP-PostRatings] after update not numbers showing (unnamed-file)yes it works (master.zip from 15 december); you could not reproduce the bug on your wordpress install ? 🙂
Forum: Plugins
In reply to: [WP-PostRatings] after update not numbers showing (unnamed-file)re, sorry I cant test it right now as i am now back at work, I will try to have a look later; maybe Miren amyano will confirmed it faster :p
- This reply was modified 9 years, 5 months ago by deltamgm2.
Forum: Plugins
In reply to: [WP-PostRatings] after update not numbers showing (unnamed-file)same here 🙁
=> the option “postratings_image” in the database returns “unnamed-file.numbers”;
1- the database pb: “sanitize_file_name” function breaks number template, line 43, postratings-option.php (you will be able to save the correct option name if you remove it)
2- the client side pb: “sanitize_file_name” function breaks number template, line 887, wp-postratings.php (you will be able to have a correct display if you remove it)
I will recommend you to wait an update from the Plugin author for security concerns;
In the meanwhile, you can create the missing folder (or use stars)..
Forum: Plugins
In reply to: [Disable REST API] Not working with 4.7 Beta 4I have just tested the plugin with your version, the filter method is on; (not the force auth error);
Forum: Plugins
In reply to: [Disable REST API] Not working with 4.7 Beta 4It was expected as the rest api is going to use in wordpress admin. Options to force authentication on general option should have been included. 🙁
AS @pento said, it is not a good practice to remove the core endpoints (https://core.trac.ww.wp.xz.cn/ticket/38446#comment:8)
However, the class-wp-rest-server.php still indicates that you can restrict the API.
apply_filters_deprecated( 'rest_enabled', array( true ), '4.7.0', 'rest_authentication_errors', __( 'The REST API can no longer be completely disabled, the rest_authentication_errors can be used to restrict access to the API, instead.' ) );
Did you try the code from danielbachhuber ?Forum: Plugins
In reply to: [Disable REST API] Not working with 4.7 Beta 4Re,
I have investigated the plugin’s code; it should be working..
What does return get_bloginfo(‘version’) on your beta version ? maybe there is a pb here:$dra_current_WP_version = get_bloginfo('version'); if ( version_compare( $dra_current_WP_version, '4.7', '>=') ) { DRA_Force_Auth_Error(); } else { DRA_Disable_Via_Filters(); }Regards,
Delta- This reply was modified 9 years, 6 months ago by deltamgm2.
Forum: Plugins
In reply to: [Disable REST API] Not working with 4.7 Beta 4Hello,
Sad to hear that wordpress devs have removed the disable filter…I am not able to test it right now; but how about this code (just put it in your functions.php)
add_filter( 'rest_authentication_errors', function( $result ) { if ( ! empty( $result ) ) { return $result; } if ( ! is_user_logged_in() ) { return new WP_Error( 'restx_logged_out', 'Sorry, you must be logged in to make a request.', array( 'status' => 401 ) ); } return $result; });Source: https://gist.github.com/danielbachhuber/8f92af4c6a8db784771c
Delta- This reply was modified 9 years, 6 months ago by deltamgm2.