From b3246b8549c69f2eacbbff718d640fbed511a65a Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 20 Jun 2024 14:47:10 +0200 Subject: [PATCH] feat(meta): consolidate save logic for article meta boxes Merged saving logic for article authors and DOI into a single function to streamline and reduce redundant code. This ensures that both meta fields are consistently handled during post save operations. --- functions.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index b9cb8d5..f28450c 100644 --- a/functions.php +++ b/functions.php @@ -334,16 +334,21 @@ function render_article_doi_meta_box($post)