Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Unknown format specifier in admin-meta-boxes.php #23

Open
theosche opened this issue Jan 31, 2022 · 1 comment
Open

Unknown format specifier in admin-meta-boxes.php #23

theosche opened this issue Jan 31, 2022 · 1 comment

Comments

@theosche
Copy link

theosche commented Jan 31, 2022

Hello,

In admin-meta-boxes.php:302 there is a missing format specifier "s", that should be added in translations files too :
$this->info = sprintf( __('<strong>Configure the SEO settings for this page (Front Page) in the Padma Search Engine Optimization settings tab in <a href="%" target="_blank">Padma &raquo; Configuration</a>.</strong>','padma'), admin_url('admin.php?page=padma-options#tab-seo') );
Should be href="%s"

(Wordpress sends me emails for this php error)

@devipainter
Copy link

Thank you. This just saved me. It worked fine in php 7.4 but broke in php 8.x. - href="%s" - fixed the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants