Make WordPress Core

Changeset 5824


Ignore:
Timestamp:
07/30/2007 04:23:45 PM (18 years ago)
Author:
markjaquith
Message:

Use "home," not "siteurl" for widget dropdown category URLs. Props Pastinakel. fixes #4683 for 2.2.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-includes/widgets.php

    r5714 r5824  
    631631    function onCatChange() {
    632632        if ( dropdown.options[dropdown.selectedIndex].value > 0 ) {
    633             location.href = "<?php echo get_option('siteurl'); ?>/?cat="+dropdown.options[dropdown.selectedIndex].value;
     633            location.href = "<?php echo get_option('home'); ?>/?cat="+dropdown.options[dropdown.selectedIndex].value;
    634634        }
    635635    }
Note: See TracChangeset for help on using the changeset viewer.