WordPress.org

Make WordPress Core

Opened 21 months ago

Last modified 3 months ago

#42645 new enhancement

Support passing version number to add_editor_style()

Reported by: danielbachhuber Owned by:
Milestone: 5.3 Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch needs-testing
Focuses: Cc:

Description

For automagically flushing browser cache, it would be helpful if add_editor_style() supported a version number argument.

Attachments (4)

42645.diff (1.2 KB) - added by danieltj 18 months ago.
Add a version parameter which falls back to wp version
42645.1.patch (1.3 KB) - added by aytac 18 months ago.
42645.2.patch (1.4 KB) - added by aytac 18 months ago.
The fallback check was not properly set.
42645.3.diff (1.4 KB) - added by danieltj 15 months ago.
Refreshed the patch and fixed CS issues.

Download all attachments as: .zip

Change History (13)

This ticket was mentioned in Slack in #core by jeffpaul. View the logs.


18 months ago

@danieltj
18 months ago

Add a version parameter which falls back to wp version

#2 @danieltj
18 months ago

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

Added 42645.diff which includes a new parameter to accept a version number in the array which defaults to the WP version number.

#3 @SergeyBiryukov
18 months ago

  • Milestone changed from Future Release to 5.0

#4 @aytac
18 months ago

Diff needed refreshed

@aytac
18 months ago

@aytac
18 months ago

The fallback check was not properly set.

@danieltj
15 months ago

Refreshed the patch and fixed CS issues.

This ticket was mentioned in Slack in #core by danieltj. View the logs.


15 months ago

#6 @pento
11 months ago

  • Milestone changed from 5.0 to 5.1

#7 @pento
8 months ago

  • Milestone changed from 5.1 to 5.2

#8 @desrosj
5 months ago

  • Milestone changed from 5.2 to 5.3

This still needs testing and feedback.

This ticket was mentioned in Slack in #core-editor by benoitchantre. View the logs.


3 months ago

Note: See TracTickets for help on using tickets.