Make WordPress Core

Opened 18 years ago

Closed 16 years ago

Last modified 16 years ago

#895 closed defect (bug) (fixed)

search doesn't work with subdomains

Reported by: anonymousbugger's profile anonymousbugger Owned by: mdawaffe's profile mdawaffe
Milestone: Priority: normal
Severity: trivial Version: 1.5
Component: General Keywords: has-patch commit
Focuses: Cc:

Description

when I access my blog via http://blog.mydomain.net (instead of http://mydomain.net/blog), the search doesn't work because it tries to go to http://blog.mydomain.net/blog/index.php .
I think it can be solved by replacing: action="<?php echo $_SERVERPHP_SELF?; ?> (in the searchform.php) by: action="<?php echo get_settings(’siteurl’); ?>

Attachments (1)

895.diff (662 bytes) - added by mdawaffe 16 years ago.
classic

Download all attachments as: .zip

Change History (10)

#1 @anonymousbugger
18 years ago

  • Patch set to No

#2 @ryan
18 years ago

  • Patch changed from No to Yes

#3 @anonymousbugger
18 years ago

<?php echo $PHP_SELF; ?>

#4 @Zeo
18 years ago

<?php echo $PHP_SELF; ?>

@mdawaffe
16 years ago

classic

#5 @mdawaffe
16 years ago

  • Keywords has-patch commit added
  • Milestone set to 2.1
  • Owner changed from anonymous to mdawaffe
  • Status changed from new to assigned

895.diff

  1. Get classic in line.

See [2884]

#6 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [4152]) Use home instead of PHP_SELF. Props mdawaffe. fixes #895

#7 @ryan
16 years ago

(In [4238]) Use home instead of PHP_SELF. Props mdawaffe. fixes #895

#8 @foolswisdom
16 years ago

  • Milestone changed from 2.1 to 2.0.5

#9 @(none)
16 years ago

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.