Skip to content

Commit

Permalink
FUCK YOU SEO FRAMEWORK
Browse files Browse the repository at this point in the history
For a long fucking time I've locked myself to a 2.x version of the seo framework because it took a turn in a shit direction in3, broke a lot of stuff and had HORRIBLE changelogs and NO MIGRATION GUIDE. 4.x has been out for some time and 2.x has started erroring in newer WP, so decied to give a shot at migrating...

Literal quote from changelog: Deprecated: with alternatives, refer to the source (search for your old method)

AND THEN YOU HAVE TO LOOK FOR THE SOURCE, USE THE SHITTY GITHUB SEARCH, GIVE UP AND DO THIS INSTEAD.

I'D MAKE A BETTER SEO PLUGIN IN A DAY BUT I DO NOT GIVE A SHIT ANYMORE
  • Loading branch information
k1sul1 committed Mar 7, 2022
1 parent 0c5d569 commit 0673624
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin name: k1 kit
* Plugin URI: https://github.com/k1sul1/k1kit
* Description: WordPress development toolkit
* Version: 0.12.2
* Version: 0.12.4
* Author: @k1sul1
* Author URI: https://github.com/k1sul1/
* License: MIT
Expand Down
2 changes: 1 addition & 1 deletion src/php/lib/rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function getSeoData($post) {
'description' => $seo->get_description($id),
'og:description' => $seo->get_open_graph_description($id),
'og:title' => $seo->get_open_graph_title($id),
'og:image' => $seo->get_social_image_url_from_post_thumbnail($id),
'og:image' => get_the_post_thumbnail_url($id, 'large'),
],
'canonical' => $seo->create_canonical_url(['id' => $id, 'get_custom_field' => true]),
];
Expand Down

0 comments on commit 0673624

Please sign in to comment.