- Rename generate_bisected_image, handle_image_request, serve_image,
save_image_to_cache, add_image_generator_endpoint to tony_sportspress_*
to avoid global namespace collisions
- Guard $team1/$team2 against null before accessing ->post_modified
- Unify the two logo-placement loops into a single foreach
- Normalize indentation to tabs throughout
- Fix missing space before => in sp-event-export normalize_request_args
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- open-graph-tags.php: replace Plugin Name header with package docblock
- featured-image-generator.php: same cleanup
- sp-event-permalink.php: same cleanup, normalize indentation to tabs,
collapse redundant switch cases (league/tournament both map to 'game')
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Fix null-dereference: check !$post with || before accessing post_type
- Sanitize $_GET['post'] with absint() before use
- Escape OG tag attribute values with esc_attr()/esc_url()
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>