Skip to content

Conversation

@pfefferle
Copy link
Owner

No description provided.

@stale
Copy link

stale bot commented Aug 12, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 12, 2023
@pfefferle
Copy link
Owner Author

Keep!

@stale stale bot removed the wontfix label Aug 12, 2023
@stale
Copy link

stale bot commented Feb 21, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Feb 21, 2024
@pfefferle
Copy link
Owner Author

keep!

@stale stale bot removed the wontfix label Feb 21, 2024
@stale
Copy link

stale bot commented Aug 30, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 30, 2024
@pfefferle
Copy link
Owner Author

Keep

@stale stale bot closed this Sep 7, 2024
@pfefferle pfefferle reopened this Sep 7, 2024
@stale stale bot removed the wontfix label Sep 7, 2024
@stale
Copy link

stale bot commented Dec 20, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Dec 20, 2024
@pfefferle
Copy link
Owner Author

keep!

@stale stale bot removed the wontfix label Dec 20, 2024
@stale
Copy link

stale bot commented Mar 30, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 30, 2025
@pfefferle
Copy link
Owner Author

keep

@stale stale bot removed the wontfix label Mar 30, 2025
@stale
Copy link

stale bot commented Jul 8, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 8, 2025
@stale stale bot closed this Jul 15, 2025
@pfefferle pfefferle reopened this Jul 16, 2025
@stale stale bot removed the wontfix label Jul 16, 2025
@pfefferle pfefferle requested a review from Copilot August 3, 2025 17:32
@pfefferle pfefferle self-assigned this Aug 3, 2025

This comment was marked as outdated.

pfefferle and others added 5 commits August 3, 2025 19:35
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@pfefferle pfefferle requested a review from Copilot August 3, 2025 17:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refurbishes the WebFinger WordPress plugin by introducing a major version bump to 4.0.0 and implementing a namespace-based architecture. The changes modernize the codebase by organizing classes under the Webfinger namespace and improving code structure.

  • Migrates from procedural function-based architecture to namespaced class-based structure
  • Splits functionality into dedicated classes (User, Admin, Legacy) with static initialization methods
  • Updates WordPress compatibility to version 6.7 and introduces user profile management features

Reviewed Changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
webfinger.php Main plugin file updated with namespace and refactored initialization
templates/profile-settings.php New user profile settings template for WebFinger resource management
readme.md Version bump to 4.0.0 and WordPress 6.7 compatibility
languages/webfinger.pot Added translation strings for new profile settings
includes/functions.php Updated function calls to use namespaced classes and improved comparisons
includes/deprecated.php New file with empty class stubs for backward compatibility
includes/class-webfinger.php Refactored with namespace and static initialization method
includes/class-user.php New class handling user-related WebFinger functionality
includes/class-legacy.php Refactored legacy support with namespace
includes/class-admin.php New admin interface class for user profile management
docker-compose.yml Added platform specification for cross-platform compatibility

*/
public static function is_same_host( $uri ) {
$blog_host = parse_url( home_url(), PHP_URL_HOST );
return true;
Copy link

Copilot AI Aug 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The is_same_host method always returns true instead of performing the actual host comparison. This bypasses all host validation and creates a security vulnerability.

Suggested change
return true;

Copilot uses AI. Check for mistakes.
Comment on lines +164 to +165
! empty( $user->user_url ) // &&
//self::is_same_host( $user->user_url )
Copy link

Copilot AI Aug 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commented out code //self::is_same_host( $user->user_url ) should either be implemented or removed entirely rather than left as a comment.

Suggested change
! empty( $user->user_url ) // &&
//self::is_same_host( $user->user_url )
! empty( $user->user_url )

Copilot uses AI. Check for mistakes.
pfefferle and others added 3 commits August 3, 2025 22:13
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@stale
Copy link

stale bot commented Nov 12, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 12, 2025
@stale stale bot closed this Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants