Make WordPress Core

Opened 2 years ago

Last modified 19 months ago

#62199 new defect (bug)

Media attachment date filter dropdown text is not showing correctly

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

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 2 years ago.
The dropdown filter text "All dates" is not showing correctly
62199.patch​ (522 bytes ) - added by multidots1896 2 years ago.
Added patch

Download all attachments as: .zip

Change History (6)

@josevarghese
2 years ago

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

#1 @multidots1896
2 years ago

  • Keywords has-patch added; needs-patch removed

#2 @mayanktripathi32
2 years ago

  • Keywords needs-testing added

#3 @sainathpoojary
2 years 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
19 months ago

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