Plugin Directory

Changeset 2185886


Ignore:
Timestamp:
11/05/2019 12:16:42 AM (6 years ago)
Author:
flynsarmy
Message:

Don't allow spaces in IDs

Location:
multisite-admin-bar-switcher/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • multisite-admin-bar-switcher/trunk/multisite-admin-bar-switcher.php

    r2096184 r2185886  
    44    Plugin URI: http://www.flynsarmy.com
    55    Description: Replaces the built in 'My Sites' drop down with a better layed out one
    6     Version: 1.3.3
     6    Version: 1.3.4
    77    Author: Flyn San
    88    Author URI: http://www.flynsarmy.com/
     
    253253            $wp_admin_bar->add_menu(array(
    254254                'parent' => 'mabs_'.$id,
    255                 'id' =>'mabs_'.$id.'_'.$key,
     255                'id' =>str_replace(' ', '_', 'mabs_'.$id.'_'.$key),
    256256                'title'=> isset($details['title']) ? $details['title'] : __(ucfirst($key)),
    257257                'href' => strpos($details['url'], 'http') !== false ? $details['url'] : $admin_url.$details['url'],
  • multisite-admin-bar-switcher/trunk/readme.txt

    r2096184 r2185886  
    33Tags: multisite, toolbar, switcher, switch, network, admin, wpmu
    44Requires at least: 3.2.1
    5 Tested up to: 5.2.1
    6 Stable tag: 1.3.3
     5Tested up to: 5.2.4
     6Stable tag: 1.3.4
    77
    88== Description ==
     
    7878
    7979== Changelog ==
     80
     81= 1.3.4 =
     82* Don't allow spaces in IDs
    8083
    8184= 1.3.3 =
Note: See TracChangeset for help on using the changeset viewer.