WordPress.org

Make WordPress Core

Ticket #45849: 45849.diff

File 45849.diff, 533 bytes (added by subrataemfluence, 3 years ago)
  • plugin.php

    diff --git a/plugin.php b/plugin.php
    index 2dd58b3..2407293 100755
    a b function menu_page_url($menu_slug, $echo = true) { 
    15271527 * @global array $_wp_real_parent_file
    15281528 * @global array $_wp_menu_nopriv
    15291529 * @global array $_wp_submenu_nopriv
     1530 *
     1531 * @param string $parent. Name of the admin page parent. Default is empty when current page has no parent.
     1532 * @return string
    15301533 */
    15311534function get_admin_page_parent( $parent = '' ) {
    15321535        global $parent_file, $menu, $submenu, $pagenow, $typenow,