Plugin Directory

Changeset 388596


Ignore:
Timestamp:
05/24/2011 02:22:35 PM (15 years ago)
Author:
jbalde
Message:
 
Location:
user-agent-theme-switcher
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • user-agent-theme-switcher/tags/2.1.0/UserAgentThemeSwitcherData.php

    r388592 r388596  
    285285        $this->addBrowser(new BrowserUA('wordpressweb', 'Wordpress Web', null, 'WordPress\/(.*\)$', 'spider'));
    286286        $this->addBrowser(new BrowserUA('wordpressandroid', 'Wordpress Android', null, 'wp-android\/(.*\)$', 'spider'));
    287         $this->addBrowser(new BrowserUA('googlebot', 'GoogleBot', null, '^Mozilla/5.0 \(compatible; Googlebot/.\..; +http://www.google.com/bot.html\)$', 'google'));
     287        $this->addBrowser(new BrowserUA('googlebot', 'GoogleBot', null, '^Mozilla/5.0 \(compatible; Googlebot/.\..; +http:\/\/www\.google\.com\/bot\.html\)$', 'google'));
    288288        $this->addBrowser(new BrowserUA('googlebotmobile', 'GoogleBot Mobile', null, '\(compatible; Googlebot-Mobile\/.\..; \+http:\/\/www\.google.com\/bot.html\)$', 'google,mobile'));
    289289
  • user-agent-theme-switcher/trunk/UserAgentThemeSwitcherData.php

    r388591 r388596  
    285285        $this->addBrowser(new BrowserUA('wordpressweb', 'Wordpress Web', null, 'WordPress\/(.*\)$', 'spider'));
    286286        $this->addBrowser(new BrowserUA('wordpressandroid', 'Wordpress Android', null, 'wp-android\/(.*\)$', 'spider'));
    287         $this->addBrowser(new BrowserUA('googlebot', 'GoogleBot', null, '^Mozilla/5.0 \(compatible; Googlebot/.\..; +http://www.google.com/bot.html\)$', 'google'));
     287        $this->addBrowser(new BrowserUA('googlebot', 'GoogleBot', null, '^Mozilla/5.0 \(compatible; Googlebot/.\..; +http:\/\/www\.google\.com\/bot\.html\)$', 'google'));
    288288        $this->addBrowser(new BrowserUA('googlebotmobile', 'GoogleBot Mobile', null, '\(compatible; Googlebot-Mobile\/.\..; \+http:\/\/www\.google.com\/bot.html\)$', 'google,mobile'));
    289289
Note: See TracChangeset for help on using the changeset viewer.