Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#9718 closed enhancement (invalid)

use trailingslashit() in get_search_form(), theme's blog title URL, Classic theme search form.

Reported by: zeo Owned by: anonymous
Priority: lowest Milestone:
Component: Template Version:
Severity: trivial Keywords: needs-patch
Cc:

Description

Rather than manually insert trailing slash ( / ), use trailingslashit() function.

Attachments (1)

use-trailingslashit.diff (2.5 KB) - added by zeo 4 years ago.

Download all attachments as: .zip

Change History (10)

comment:1   zeo4 years ago

  • Keywords trailingslashit() removed

zeo4 years ago

comment:2   zeo4 years ago

  • Summary changed from use trailingslashit() in get_search_form(), theme's blog title URL to use trailingslashit() in get_search_form(), theme's blog title URL, Classic theme search form.
  • Component changed from Themes to Template
  • Milestone changed from Unassigned to 2.8
  • Owner set to anonymous

user_trailingslashit() might be a better option

  • Keywords needs-patch added; has-patch removed
  • Milestone changed from 2.8 to Future Release

broken patch

  • Milestone changed from Future Release to 2.9
  • Milestone changed from 2.9 to Future Release

comment:8   zeo3 years ago

  • Resolution set to invalid
  • Status changed from new to closed
  • Milestone Future Release deleted

This is now home_url('/').

Note: See TracTickets for help on using tickets.