Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#57466 closed defect (bug) (fixed)

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

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

Description

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.


4 years ago
#1

  • Keywords has-patch added

Updated incorrectly two apostrophes.

Trac ticket: 57466

#2 @SergeyBiryukov
4 years ago

  • Component GeneralScript Loader
  • Keywords commit added
  • Milestone Awaiting Review6.2

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

#3 @audrasjb
4 years ago

  • Owner set to audrasjb
  • Status newaccepted

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
4 years 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
4 years ago

Replying to audrasjb:

I assume I can commit it directly :)

Sure, go ahead :)

#6 @audrasjb
4 years ago

  • Resolutionfixed
  • Status acceptedclosed

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.