Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#35223 closed defect (bug) (fixed)

Add home.php & front-page.php to the theme-specific files list ($wp_file_descriptions)

Reported by: ramiy Owned by: SergeyBiryukov
Priority: normal Milestone: 4.5
Component: Themes Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

When browsing the theme files from the Appearance > Editor screen (wp-admin/theme-editor.php), you see the theme files on the right side.

Two files in the list are missing description - home.php & front-page.php.

The attached patch adds file description to those files by updating the $wp_file_descriptions variable that lists all theme-specific files.

Attachments (4)

35223.patch​ (551 bytes ) - added by ramiy 11 years ago.
35223-styled.patch​ (3.5 KB ) - added by ramiy 11 years ago.
35223-styled-reordered.patch​ (3.7 KB ) - added by ramiy 11 years ago.
google535aeb22db660030.html​ (53 bytes ) - added by Asajoarder 11 years ago.
my veryfide

Download all attachments as: .zip

Change History (9)

#1 @ramiy
11 years ago

Found 3 more missing files - taxonomy.php, singular.php and date.php.

#2 @ramiy
11 years ago

  • Keywords has-patch added

#3 @SergeyBiryukov
11 years ago

  • Component Filesystem API → Themes
  • Milestone Awaiting Review → 4.5

#4 @SergeyBiryukov
11 years ago

In 36087:

Theme Editor: Add taxonomy.php, home.php, front-page.php, date.php, and singular.php to file descriptions.

Props ramiy.
See #35223.

#5 @SergeyBiryukov
11 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 36088:

Theme Editor: Break $wp_file_descriptions array into sections and reorder for consistency and readability.

Props ramiy.
Fixes #35223.

Note: See TracTickets for help on using tickets.