Feature Request: add `RANK_MATH_REGISTRATION_SKIP` constant

#432292
  • Resolved Anonymous
    Rank Math free

    Running WPLoader tests causes most RankMath methods to fail, since Helper::is_invalid_registration() checks to see if the rank_math_registration_skip option is set.

    Since RankMath::$instance is static with no way to reinitialize the containers, the only workaround is to run more time-consuming WPDb tests, calling wp option update rank_math_registration_skip 1 before the test database is exported for use.

    It would be much better for for developers creating RankMath extensions if there was a PHP constant RANK_MATH_REGISTRATION_SKIP that we could use when running tests.

    I will submit a PR to the GitHub repo for consideration shortly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anonymous
    Rank Math free

    Hello,

    Thank you for contacting Rank Math support today and bringing your concern to our attention.

    Allow me to share your input directly with our dev team. You should hear from us shortly.

    We appreciate your time and patience on this one.

    Hello,

    Thank you for your patience.

    Just a quick update that we have fixed this issue on one of our recent releases.

    Please update Rank Math & all other plugins, themes and WordPress to the latest version.

    The issue should be fixed.

    If not, please feel free to open a support topic or reply to this message and we will be more than happy to assist.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Feature Request: add `RANK_MATH_REGISTRATION_SKIP` constant’ is closed to new replies.