WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 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
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: Themes Keywords: has-patch
Focuses: Cc:

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 4 years ago.
35223-styled.patch (3.5 KB) - added by ramiy 4 years ago.
35223-styled-reordered.patch (3.7 KB) - added by ramiy 4 years ago.
google535aeb22db660030.html (53 bytes) - added by Asajoarder 4 years ago.
my veryfide

Download all attachments as: .zip

Change History (9)

@ramiy
4 years ago

@ramiy
4 years ago

#1 @ramiy
4 years ago

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

#2 @ramiy
4 years ago

  • Keywords has-patch added

#3 @SergeyBiryukov
4 years ago

  • Component changed from Filesystem API to Themes
  • Milestone changed from Awaiting Review to 4.5

#4 @SergeyBiryukov
4 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.

@Asajoarder
4 years ago

my veryfide

#5 @SergeyBiryukov
4 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to 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.