himaartjp
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: About pattern title display in version 6.4.3Thank you for your comment.
I’m not a github user and have no plans to register at the moment, so I’ll wait for it to be fixed, hoping that someone who notices it will raise it as a bug.
This forum marks the issue as resolved.
thank you.
Forum: Plugins
In reply to: [Download Monitor] Reports remain in spinner state after V4.9.6I added the code you suggested and it seems to be working fine now.
if( strpos( $namespaces, ' wp/v2/dlm_download ' ) === 1 ){ return $result; }I apologize to you for a fuss over.
thank you very much.
Forum: Plugins
In reply to: [Download Monitor] Reports remain in spinner state after V4.9.6thank you for your reply.
From what I can understand, I think that something like the page below (cannot access because login cannot be determined) is related.
https://qiita.com/shima0218/items/d9f7d11bc6712f5e45f9
Since this is a story on the management screen side, it seems like the access is being denied because you don’t have permission to access the REST API (as evidence, other accesses are checked with Nonce and are passed without any problems).
It seems to be a special case only for me, so I will try to revert the code each time to deal with it.
Thank You
Forum: Plugins
In reply to: [Download Monitor] Reports remain in spinner state after V4.9.6thank you for your reply.
The introduced code denies access to “https:mydomain/wp-json/wp/v2/” and excludes (passes through) only those that match “$route_namespace” registered in “register_rest_route”. (I’m sorry I don’t know much about REST API).
Therefore, accessing “https:mydomain/wp-json/wp/v2/” will be refused.
I’ve been using this code for quite some time and haven’t had any problems.
What is currently excluded (passed)
“Contact Form 7” plugin
“oembed”
“Jetpack” plugin
“Redirection” plugin
And only in the block editor, it’s working fine.I would like to somehow achieve both, but since this is a problem with code outside the plug-in (third party), if it seems difficult, please feel free to tell me that it is not supported.
thank you
Forum: Plugins
In reply to: [Download Monitor] Reports remain in spinner state after V4.9.6This is an additional message.
I checked the differences between v4.9.5 and v4.9.6 on the page below.
When I tried undoing the code below that was changed in “download-monitor/trunk/src/Admin/Reports/class-dlm-reports.php”, I found that regardless of whether or not the REST API restrictions are applied, The report was displayed successfully.
v4.9.5
$rest_rout_downloadscpt = rest_url( 'wp/v2/dlm_download' . $separator . '_fields=' . implode( ',', $cpt_fields ) . '&_wpnonce=' . wp_create_nonce( 'wp_rest' ) . $current_user_can );v4.9.6
$rest_rout_downloadscpt = rest_url( 'wp/v2/dlm_download' . $separator . '_fields=' . implode( ',', $cpt_fields ) . $current_user_can );The URL that returns the error “Failed to load resource: the server responded with a status of 401 ()” in the console also seems to point to this description as shown below.
[URL of the REST API page where the error is returned] https:mydomain/wp-json/wp/v2/dlm_download?_fields=author,id,title,slug&user_can_view_reports=1At the same time, the following error message is also displayed on the console.
Uncaught (in promise) Error: Something went wrong! Reports response did not come OK - at DLM_Reports.fetchDownloadsCPT (reports.min.js?ver=4.9.7:1:39235)I would appreciate it if this could be a clue to a solution.
Forum: Plugins
In reply to: [Advanced Query Loop] Translation does not seem to applyI have updated the plugin and verified that the translations are being applied successfully.
Thank you for your response.
Forum: Plugins
In reply to: [User Login History] About plugin translation (textdomain)Thanks for the reply.
Regarding Japanese, it is already 100% translated, and I personally rename the file name to “faulh” and apply it, but if possible, I can use it in Japanese without doing anything. I hope it will be useful for others as well.
Also, other languages will work in the same way, and I think that people around the world will be able to use it thanks to translations by volunteers.
There is no excuse. Was self resolved.
There was an error in inserting a space in the following line of the po file.
Messages <span class="%s">%s</span>I apologize to you for a fuss over.
Additional matter.
This phenomenon does not occur when the language of the site is English (default) and the button is displayed, but it occurs only when translated to other languages (Japanese in my case).
I used the “Loco Translate” plugin for the translation.
However, the word “message” is in “/assets/js/bp-messages-free.js”, and it is probably applied, but there is no translatable string in the pot file corresponding to this (there are multiple “message” words, but none were assigned to this file).
I also synced the pot file with “Loco Translate” and edited the po file, but the result was the same.
I am sorry to trouble you, but I would appreciate it if you could guide me on how to deal with it.
Forum: Plugins
In reply to: [NSFW] [WP Ultimate Review] Problems with Japanese (multibyte characters)Thanks for the reply.
Thank you for your positive response.
I hope it will be improved.
Thanks for the reply.
Thank you for understanding the contents.
Currently, the counter display is turned off as suggested.
We are not in a hurry, so we would appreciate it if you could respond when possible.
Thank you for providing such a great plugin.