LoginSignup
0
0

More than 5 years have passed since last update.

【WordPress】custom_permalinks_post_linkが使えなくなった件

Posted at

WordPress運用メモ書き

事象

Custom Permalinksプラグインを最新(1.2.17)にアップデートしたらPHPエラーが発生した。
PHP Fatal error: Uncaught Error: Call to undefined function custom_permalinks_post_link()
Custom PermalinksプラグインでURLをカスタマイズしているサイトのため、記事のURLを取得するときはcustom_permalinks_post_linkを使っていた。

時期

最後にアップデートしてから時間が経ってしまったので、どのバージョンからかは不明。

回避策

古いバージョン(1.0.2)に手動で戻した。

本番で発生しなくて良かった。。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0