You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ wp wpcom-legacy-redirector insert-redirect /foo 5
Error: Couldn't insert /foo -> 5 (Redirect is pointing to a Post ID that does not exist.)
Th insert-redirect command fails when using a post ID as the To destination value. Removing a check for the $_POST superglobal, as per #115 fixes it, but then this breaks the UI view:
(The different redirect there is using a /bar To value, rather than a post ID)
#115 was reverted in #116, but the problem still likely lies in WPCOM_Legacy_Redirector::vip_legacy_redirect_parent_id().
The text was updated successfully, but these errors were encountered:
Th
insert-redirect
command fails when using a post ID as the To destination value. Removing a check for the $_POST superglobal, as per #115 fixes it, but then this breaks the UI view:(The different redirect there is using a
/bar
To value, rather than a post ID)#115 was reverted in #116, but the problem still likely lies in
WPCOM_Legacy_Redirector::vip_legacy_redirect_parent_id()
.The text was updated successfully, but these errors were encountered: