From c84240081636a41bcbe4369ef79a30160eea8409 Mon Sep 17 00:00:00 2001 From: shiro96 <1479132+shiro96@users.noreply.github.com> Date: Fri, 3 Oct 2025 12:44:09 +0900 Subject: [PATCH] =?UTF-8?q?wp=5Frewrite=5Frules()=E3=81=A7=E5=8F=96?= =?UTF-8?q?=E5=BE=97=E3=81=97=E3=81=9F=E3=83=AA=E3=83=A9=E3=82=A4=E3=83=88?= =?UTF-8?q?=E3=83=AB=E3=83=BC=E3=83=AB=E3=81=AB=E3=80=81=E5=90=A6=E5=AE=9A?= =?UTF-8?q?=E5=85=88=E8=AA=AD=E3=81=BF(=3F!regex)=E3=81=AE=E6=AD=A3?= =?UTF-8?q?=E8=A6=8F=E8=A1=A8=E7=8F=BE=E3=81=8C=E5=90=AB=E3=81=BE=E3=82=8C?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=81=9F=E5=A0=B4=E5=90=88=E3=81=AB=E7=99=BA?= =?UTF-8?q?=E7=94=9F=E3=81=99=E3=82=8B=E3=83=87=E3=83=AA=E3=83=9F=E3=82=BF?= =?UTF-8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/functions.php b/modules/functions.php index 29bcf72..2b66fdf 100644 --- a/modules/functions.php +++ b/modules/functions.php @@ -366,7 +366,7 @@ function sga_ranking_url_to_postid( $url ) { $request_match = $url . '/' . $request; } - if ( preg_match( "!^$match!", $request_match, $matches ) ) { + if ( preg_match( "#^$match#", $request_match, $matches ) ) { // Got a match. // Trim the query of everything up to the '?'. $query = preg_replace( "!^.+\?!", '', $query );