Make WordPress Core

Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#57466 closed defect (bug) (fixed)

Typo in wp-includes/functions.wp-styles.php

Reported by: lanacodes's profile lanacodes Owned by: audrasjb's profile audrasjb
Milestone: 6.2 Priority: normal
Severity: trivial Version: 6.1.1
Component: Script Loader Keywords: has-patch commit
Focuses: Cc:


wp-includes/functions.wp-styles.php line 229:

load inline when 'path'' is set.

There are incorrectly two apostrophes after the path word.

Change History (7)

This ticket was mentioned in PR #3849 on WordPress/wordpress-develop by @ashrafulsarkar.

15 months ago

  • Keywords has-patch added

Updated incorrectly two apostrophes.

Trac ticket: 57466

#2 @SergeyBiryukov
15 months ago

  • Component changed from General to Script Loader
  • Keywords commit added
  • Milestone changed from Awaiting Review to 6.2

Hi there, welcome to WordPress Trac! Thanks for the ticket.

#3 @audrasjb
15 months ago

  • Owner set to audrasjb
  • Status changed from new to accepted

Welcome to WordPress Trac and thanks for the ticket @lanacodes,

Self assigning for commit.

Note: I also spotted a few docblock issues in this file. Let's fix them in #56792.

#4 follow-up: @audrasjb
15 months ago

Ah. Just saw that @SergeyBiryukov already checked this patch.
Sergey, since you didn't took ownership, I assume I can commit it directly :)

I will follow-up with other small docblock fixes regarding functions.wp-scripts.php and functions.wp-styles.php.

#5 in reply to: ↑ 4 @SergeyBiryukov
15 months ago

Replying to audrasjb:

I assume I can commit it directly :)

Sure, go ahead :)

#6 @audrasjb
15 months ago

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

In 55071:

Docs: Improve wp_style_add_data() function description.

This changeset removes an extra apostrophe in wp_style_add_data() DocBlock.

Props lanacodes, ashrafulsarkar, SergeyBiryukov.
Fixes #57466.
See #56792.

Note: See TracTickets for help on using tickets.