Title: Devomo's Replies | WordPress.org

---

# Devomo

  [  ](https://wordpress.org/support/users/devfirst/)

 *   [Profile](https://wordpress.org/support/users/devfirst/)
 *   [Topics Started](https://wordpress.org/support/users/devfirst/topics/)
 *   [Replies Created](https://wordpress.org/support/users/devfirst/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/devfirst/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/devfirst/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/devfirst/engagements/)
 *   [Favorites](https://wordpress.org/support/users/devfirst/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/users/devfirst/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/devfirst/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Custom Post Order] WP Query object cache?](https://wordpress.org/support/topic/wp-query-object-cache/)
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wp-query-object-cache/#post-16891647)
 * Hi [@beatrice12](https://wordpress.org/support/users/beatrice12/),
 * Thanks for the response, and for opening the issue 🙂
 * Let me know if I can help in any way.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Comments - Remove Comments & Stop Spam [Multi-Site Support]] WP-CLI PHP 8.2 deprecation](https://wordpress.org/support/topic/wp-cli-php-8-2-deprecation/)
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wp-cli-php-8-2-deprecation/#post-16829962)
 * [@abidhasan112](https://wordpress.org/support/users/abidhasan112/) that’s great
   to hear! Thanks for the rapid responses and fix! 💯
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Rich Showcase for Google Reviews] Slider broken on mobile devices](https://wordpress.org/support/topic/slider-broken-on-mobile-devices/)
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/slider-broken-on-mobile-devices/#post-16260492)
 * [@richplugins](https://wordpress.org/support/users/richplugins/) happy to help.
 * If you have SiteGround Optimizer installed on your site, go to SG Optimizer >
   Front-end. Once you arrive there, click the JavaScript tab. You will see a bunch
   of controls there.
 * First, click the pen icon next to ‘Exclude from JavaScript Minification’. You
   will see a pop up with a dropdown menu. From that dropdown menu, select the script
   of which the name starts with `/plugins/widget-google-reviews/...` and click 
   Confirm.
 * Repeat the step for ‘Exclude from JavaScript combination’ and you should be good
   to go.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Rich Showcase for Google Reviews] Slider broken on mobile devices](https://wordpress.org/support/topic/slider-broken-on-mobile-devices/)
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/slider-broken-on-mobile-devices/#post-16253999)
 * Hi [@richplugins](https://wordpress.org/support/users/richplugins/), thanks for
   the reply. For me it was still broken, so I debugged the issue.
 * Turns out there was a conflict between your plugin and the SiteGround Optimizer
   plugin. The `.grw-row` container has a size class that is dynamically applied
   to it via JavaScript. The script responsible for this was broken due to SG Optimizer’s
   optimizations. It works in Chrome, but not in (my version of) Safari, and apparently
   not in my customer’s version either.
 * Anyway, I **excluded you plugin’s script from being minified and combined by 
   the SG Optimizer plugin**, and everything works fine now.
 * Hope this helps someone in the future.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ActiveCampaign Postmark for Wordpress] Custom ‘From’ name not allowed](https://wordpress.org/support/topic/custom-from-name-not-allowed/)
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/custom-from-name-not-allowed/#post-16197802)
 * Hi [@prileygraham](https://wordpress.org/support/users/prileygraham/),
 * Thanks for the swift reply! That makes things a lot more clear 😀
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] REST API error](https://wordpress.org/support/topic/rest-api-error-30/)
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/rest-api-error-30/#post-15448520)
 * Hi there,
 * Thanks for the reply and the time invested in this. I have contacted my hosting
   company in order to find out whether they can help me allow all HTTP methods.
 * While this is not the outcome I wished for, I understand and respect the decision.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] REST API error](https://wordpress.org/support/topic/rest-api-error-30/)
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/rest-api-error-30/#post-15441596)
 * Thanks [@demiro](https://wordpress.org/support/users/demiro/)! Really appreciate
   the support thus far.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] REST API error](https://wordpress.org/support/topic/rest-api-error-30/)
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/rest-api-error-30/#post-15440850)
 * Hi [@ivandzh](https://wordpress.org/support/users/ivandzh/),
 * Thanks for replying! I have managed to narrow down the issue a bit. The problem
   is: my server does not allow PUT requests.
 * In WordPress core, this never is a problem, because WordPress always only uses
   GET/POST request methods. However, the REST API allows other methods te be registered
   too, which is what the plugin does. But the REST API also allows you to _override_
   the request method using the query string or a header, see [https://developer.wordpress.org/rest-api/extending-the-rest-api/routes-and-endpoints/#http-methods](https://developer.wordpress.org/rest-api/extending-the-rest-api/routes-and-endpoints/#http-methods).
   The WordPress developers seem to have taken into account servers like mine, which
   do not allow other methods than GET/POST/HEAD.
 * This would in practice mean that you guys can replace the PUT request by a POST
   request and then override the method using one of the tricks described on the
   page linked above. This should only require a change in the plugin’s JS, not 
   in the REST route registration.
 * Of course, I can try to change the configuration of my server to allow PUT requests.
   But since there were more people on the forum who reported the same problem, 
   and since WordPress itself provides a mechanism to work around this, would it
   be possible for you guys to implement this in the plugin?
 * Cheers!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] REST API error](https://wordpress.org/support/topic/rest-api-error-30/)
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/rest-api-error-30/#post-15439654)
 * Hi Georgi,
 * > It is not possible to share login details here in the forum and we will not
   > ask you to do so.
 * I understand that, but if needed, I can share them privately.
 * > The REST API seems to be working on your website.
 * Can confirm that, the block editor for instance works fine.
 * > Would you please confirm that you see this error when you navigate to the Caching
   > menu in SiteGround Optimizer?
 * Well, what I get is a pop-up ‘Get the most out of this plugin’ and if I then 
   try to click ‘Confirm’, it shows the error. I can hide the pop-up by clicking
   outside of it, but when I then try to change a setting, the error reappears.
 * > Could you please check the Site Health and see if there are any particular 
   > errors reported there?
 * It reports only one problem: imagick is not installed. I can’t imagine this is
   the cause of the problem.
 * > In addition, would it be possible to check if there are any specific errors
   > in the php_errorlog? You can ask your remote host to review if the server logs
   > are indicating a problem and let us know if anything related is found.
 * I was able to view the log, but it was empty. I also tried to turn on WP_DEBUG_LOG,
   but that did not yield any results either; no errors were reported.
 * However, my JS console said the following:
 * > Failed to load resource: the server responded with a status of 405 ()
 * Does that provide any insight?
 * I can also share the Site Health info if that’s okay to do on the forum?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] COULD NOT CONNECT TO THE WORDPRESS REST API](https://wordpress.org/support/topic/could-not-connect-to-the-wordpress-rest-api/)
 *  [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/could-not-connect-to-the-wordpress-rest-api/page/2/#post-15439415)
 * [@georgiganchev](https://wordpress.org/support/users/georgiganchev/) thanks for
   the swift reply, I’ll create a new thread.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] COULD NOT CONNECT TO THE WORDPRESS REST API](https://wordpress.org/support/topic/could-not-connect-to-the-wordpress-rest-api/)
 *  [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/could-not-connect-to-the-wordpress-rest-api/page/2/#post-15439077)
 * Hello there, has anyone made any discoveries on this? I am running into the same
   problem, so I created a completely new and vanilla WordPress 5.9 installation
   on an Apache server running PHP 7.4. I still get the same issue:
 * > COULD NOT CONNECT TO THE WORDPRESS REST API
   >  Either a security plugin, custom
   > function, or rules in your .htaccess file is preventing the WordPress REST 
   > API from working properly. SiteGround Optimizer is using it to store its options
   > and other functionalities so please make sure it works properly.
 * My .htaccess is the one generated by WordPress on installation:
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       ```
   
 * Like I said, completely vanilla WordPress. No plugins installed; default theme.
   In other places (like the block editor) the REST API is working just fine. The
   server the site runs on has never given me any REST API related problems like
   this before. I am wondering what is going on? I would be happy to provide any
   additional info if needed.
    -  This reply was modified 4 years, 3 months ago by [Devomo](https://wordpress.org/support/users/devfirst/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Defender Security - Malware Scanner, Login Security & Firewall] admin-post.php and the login mask](https://wordpress.org/support/topic/admin-post-php-and-the-login-mask/)
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/admin-post-php-and-the-login-mask/#post-14771135)
 * Hi [@wpmudevsupport12](https://wordpress.org/support/users/wpmudevsupport12/)
   [@wpmudevsupport14](https://wordpress.org/support/users/wpmudevsupport14/),
 * Thanks for the reply! I was on vacation, that’s why it took me a while to respond.
   The solution Nebu suggested didn’t work for me, but it did point me in the right
   direction.
 * The `wp_async_save_post` hook does not run at the time when it is needed, which
   is when WP handles the request to `admin-post.php`. And that is where the problem
   is.
 * The problem is not specifically related to WP Async Task. It is related to all
   requests that use the `admin_post_nopriv` and `admin_post_nopriv_{$action}` hooks.
   These hooks are never reached as long as the login mask is enabled.
 * To solve this, I created a mu-plugin with the following code:
 *     ```
       <?php
   
       if ( isset( $_POST['action'] ) && $_POST['action'] === 'wp_async_my_action' ) {
           add_filter( 'wd_mask_login_enable', '__return_false' );
       }
       ```
   
 * (`my_action` has a different name in my project.)
 * So I look whether the request has a POST action, and if so, if it’s the correct
   one. And then it disables the mask. I realize that this is not the safest option
   ever, so I tried verifying the `_nonce` that WP_Async_Task sends along with its
   requests, but it seems the above code runs so early that the `wp_verify_nonce`
   function is not defined yet. Anyway, at least it gets the job done 😉
 * Thanks for helping me out!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Reviews and Rating – Google Reviews] Manual import of reviews does not import review text](https://wordpress.org/support/topic/manual-import-of-reviews-does-not-import-review-text/)
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/manual-import-of-reviews-does-not-import-review-text/#post-13724008)
 * [@designextreme](https://wordpress.org/support/users/designextreme/) That’s great
   news!
 * I tried it out immediately, and was able to import the full review text for all
   reviews. Thank you for resolving this issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Reviews and Rating – Google Reviews] Manual import of reviews does not import review text](https://wordpress.org/support/topic/manual-import-of-reviews-does-not-import-review-text/)
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/manual-import-of-reviews-does-not-import-review-text/#post-13624873)
 * That is great news! Thank you so much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Reviews and Rating – Google Reviews] Manual import of reviews does not import review text](https://wordpress.org/support/topic/manual-import-of-reviews-does-not-import-review-text/)
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/manual-import-of-reviews-does-not-import-review-text/#post-13624860)
 * > Are you saying that words like “Positief: Professionaliteit” are appearing 
   > rather than the review text: “First is goed in het creatief meedenken en het
   > neerzetten van mooie projecten.” once the first 6 are imported?
 * Exactly, that’s the problem.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/users/devfirst/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/devfirst/replies/page/2/?output_format=md)