The following code is producing 2x menus with identical names. Why is the second-menu name "Primary Navigation" in the screenshot below? I would expect it to be "Single-Page Navigation"

    'primary_navigation' => __('Primary Navigation', 'sage'),
    'single_page_navigation' => __('Single-Page Navigation', 'sage'),

enter image description here

  • 2
    Does the issue still occur if you don't use the translation functions? So that'd be just 'Single-Page Navigation' instead of __('Single-Page Navigation', 'sage'). – Jacob Peattie Feb 14 '18 at 15:34
  • Bingo, thanks @JacobPeattie! Hadn't seen that symptom before :) – admcfajn Feb 14 '18 at 15:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.