Making WordPress.org

Ticket #4312: 4312.patch

File 4312.patch, 805 bytes (added by Kenshino, 5 years ago)
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    134134
    135135function init() {
    136136
    137         register_nav_menus();
     137        register_nav_menus( array(
     138            'reference-home-api'    => __( 'Reference API Menu', 'wporg' ),
     139    ) );
    138140
    139141        add_action( 'pre_get_posts', __NAMESPACE__ . '\\pre_get_posts' );
    140142        add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\\theme_scripts_styles' );