fix slow mode not working#448
Conversation
|
Claude finished @arpit-instawp's task —— View job Pull Request Review: Fix Slow Mode Not Working
SummaryThis PR contains two small but important fixes to address slow mode functionality:
Code Quality Assessment✅ Strengths
|
| if ( empty( $res['serve_url'] ) || empty( $accessible_file ) || ( ! $accessible_file['is_accessible'] && ! $accessible_file['error'] ) ) { | ||
| if ( empty( $res['serve_url'] ) || empty( $accessible_file ) || ! $accessible_file['is_accessible'] ) { | ||
| // Serve through WordPress | ||
| $res['serve_url'] = Helper::wp_site_url( 'serve-instawp/', true ); |
There was a problem hiding this comment.
Please check if url is accessible or not $res['serve_url'] = Helper::wp_site_url( 'serve-instawp/', true ); using prebuilt function is_migrate_file_accessible()
Verify WordPress serve URL is accessible using is_migrate_file_accessible() before setting serve_with_wp flag to prevent issues with unreachable URLs. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Claude finished @arpit-instawp's task —— View job Pull Request Review: Fix Slow Mode Not Working
SummaryThis PR addresses slow mode functionality with two targeted fixes:
Code Quality Assessment✅ Strengths
|
https://app.clickup.com/t/86czexv7e