Typo in SEO extension file (class-seo.php)

Hey,

I hope you’re having a good weekend! :slight_smile:

I happened to notice that in the SEO extension, there are two typos in includes/components/class-seo.php. Both places that reference the option use the same misspelling, so it doesn’t surface as a bug, but in case another developer plans to integrate with or extend the SEO extension, it would make sense to correct it going forward.

The typo is of the word “description”, and the misspelt version is used twice as “descripton”.

The exact lines to search for are:

  • Line 160: 'meta_descripton' => [
  • Line 318: $description = get_option( hp\prefix( $model . '_meta_descripton' ) );

I hope this helps! :honeybee:

Cheers,
Chris :victory_hand:

2 Likes

Hi @ChrisB,

Thanks for letting us know!

We’ll fix this in the next SEO update. While it doesn’t affect the functionality, we’d like to address it for the sake of consistency.

1 Like