Make WordPress Core

Opened 14 months ago

Last modified 6 months ago

#62199 new defect (bug)

Media attachment date filter dropdown text is not showing correctly

Reported by: josevarghese's profile josevarghese Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.6.2
Component: Media Keywords: has-patch has-test-info
Focuses: Cc:

Description

The text for the dropdown menu is not showing correctly if the media attachment date filter is used to select an image within the admin pages. If it works fine within the

Steps to replicate:
1) Install a plugin that outputs an option to select an image within any page other than the post editor > say, for eg: Minimal Coming Soon & Maintenance Mode plugin from WebFactory Ltd
2) Navigate to Settings > Maintenance Mode > Design
3) click on the Select button to select an image
4) You can notice that the date dropdown filter text "Add dates" is not showing fully

Attachments (2)

date-filter.png (17.1 KB) - added by josevarghese 14 months ago.
The dropdown filter text "All dates" is not showing correctly
62199.patch (522 bytes) - added by multidots1896 13 months ago.
Added patch

Download all attachments as: .zip

Change History (6)

@josevarghese
14 months ago

The dropdown filter text "All dates" is not showing correctly

@multidots1896
13 months ago

Added patch

#1 @multidots1896
13 months ago

  • Keywords has-patch added; needs-patch removed

#2 @mayanktripathi32
12 months ago

  • Keywords needs-testing added

#3 @sainathpoojary
12 months ago

  • Keywords has-testing-info added; needs-testing removed

Test Report

Description

This report validates whether the indicated patch works as expected.

Patch tested: https://core.trac.wordpress.org/attachment/ticket/62199/62199.patch

Environment

  • WordPress: 6.8-alpha-59274-src
  • PHP: 8.2.26
  • Server: nginx/1.27.3
  • Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.2.26)
  • Browser: Chrome 131.0.0.0
  • OS: macOS
  • Theme: Twenty Fifteen 3.9
  • MU Plugins: None activated
  • Plugins:
    • Maintenance 4.15
    • Test Reports 1.2.0

Actual Results

✅ Issue resolved with patch.

Supplemental Artifacts

Before:

https://utfs.io/f/PL8E4NiPUWyOvgfCe03QjZPNB0iLXhnA3WpCIRmudgwDkV1U

After:

https://utfs.io/f/PL8E4NiPUWyO4NIHwF1UDlJKwpCPLiEmr1dOSWk93yz07n2Z

#4 @wordpressdotorg
6 months ago

  • Keywords has-test-info added; has-testing-info removed
Note: See TracTickets for help on using tickets.