Skip to content

Deprecation message of function 'the_msls' points to new function name 'msls_the_msls()' which does not exist #545

Description

@lucasgirod

Describe the bug
Deprecation message of function the_msls() points to new function name msls_the_msls(). However this function does not exist. Should be msls_the_switcher().

The documentation also still has the old function in several places:
<?php if ( function_exists( 'the_msls' ) ) the_msls(); ?>

To Reproduce
Use <?php if ( function_exists( 'the_msls' ) ) the_msls(); ?> in a theme.

Expected behaviour
Depreciation message should point to msls_the_switcher()

Documentation should be <?php if ( function_exists( 'msls_the_switcher' ) ) msls_the_switcher(); ?>

Activity

  1. self-assigned this
    on Dec 7, 2025
  2. lloc commented on Dec 7, 2025

    @lloc
    Owner

    Thanks for opening the issue. 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions