WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#36551 closed defect (bug) (fixed)

Add embed.php file descriptions to the Theme Editor

Reported by: ramiy Owned by: SergeyBiryukov
Milestone: 4.6 Priority: normal
Severity: normal Version:
Component: Themes Keywords: has-patch
Focuses: administration Cc:
PR Number:

Description

The newly added embed.php theme file is missing a file description, when you browse the files from Appearance > Editor.

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

Related: #35223

Attachments (2)

36551.patch (545 bytes) - added by ramiy 4 years ago.
36551.2.patch (741 bytes) - added by Frozzare 4 years ago.

Download all attachments as: .zip

Change History (9)

@ramiy
4 years ago

#1 @ramiy
4 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
4 years ago

  • Milestone changed from Awaiting Review to 4.6

#3 @SergeyBiryukov
4 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 37217:

Theme Editor: Add embed.php to file descriptions.

Props ramiy.
Fixes #36551.

#4 @swissspidy
4 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

There are more embed templates, we should add them to the list as well.

#5 @swissspidy
4 years ago

  • Keywords needs-patch added; has-patch removed

@Frozzare
4 years ago

#6 @Frozzare
4 years ago

  • Keywords has-patch added; needs-patch removed

Added embed-404.php, embed-content.php, header-embed.php and footer-embed.php

#7 @SergeyBiryukov
4 years ago

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

In 37232:

Theme Editor: After [37217], add other embed templates to file descriptions.

Props Frozzare.
Fixes #36551. See #34561.

Note: See TracTickets for help on using tickets.