Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log file link doesn't update (minor issue) #27

Open
2 tasks done
cdhassell opened this issue Nov 27, 2023 · 2 comments
Open
2 tasks done

Log file link doesn't update (minor issue) #27

cdhassell opened this issue Nov 27, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@cdhassell
Copy link

Bug Report

Describe the current, buggy behavior

On the logs page, when the "Log date" dropdown is changed, the text following "Displaying log file at" changes, but the actual file link does not. The link continues to point to the original file that was displayed for the current date.

Describe how other contributors can replicate this bug

  • Vistit /wp-admin/admin.php?page=bh-wc-checkout-rate-limiter-logs
  • Note that the log file for today's date is displayed, for example, 2023-11-26
  • Change the dropdown to a different date, for example 2023-11-24
  • Note that the text following "Displaying log file at" changes to the file for 11-24
  • Hover over the file link and note that it still points to the file for 11-26
// You can also use code snippets if needed.

Describe what you would expect as the correct outcome

Update the file link to download the log for the selected date.

Let us know what environment you are running this on

OS:	Linux 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
Shell:	/bin/bash
PHP binary:	/usr/bin/php7.4
PHP version:	7.4.33
php.ini used:	/etc/php/7.4/cli/php.ini
MySQL binary:	/usr/bin/mysql
MySQL version:	mysql  Ver 15.1 Distrib 10.6.12-MariaDB, for debian-linux-gnu (x86_64) using  EditLine wrapper
SQL modes:	
WP-CLI root dir:	phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir:	phar://wp-cli.phar/vendor
WP_CLI phar path:	/var/www/html
WP-CLI packages dir:	
WP-CLI global config:	
WP-CLI project config:	
WP-CLI version:	2.5.0

Provide additional context/Screenshots
checkoutratelimiter

Add any other context about the problem here.

If applicable, add screenshots to help explain (you can just drag&drop images into the Github issue).

@BrianHenryIE BrianHenryIE added the bug Something isn't working label Nov 27, 2023
@BrianHenryIE
Copy link
Owner

Thanks. There's JavaScript in the log library that was unintentionally excluded from the plugin zip file. I have it fixed and will get a release out soon: 3d56a35

@cdhassell
Copy link
Author

Thanks! It's an excellent plugin and a big help for fending off card checking scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants