WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#36548 closed defect (bug) (fixed)

wp_cache_switch_to_blog typo in docblock - interal

Reported by: bobbingwide Owned by: swissspidy
Milestone: 4.6 Priority: normal
Severity: normal Version: 3.5
Component: Cache API Keywords: has-patch
Focuses: Cc:

Description

The short description for this function has always contained a typo.
Switches the interal blog ID.

It should be

Switches the internal blog ID.

In total, there are 6 misspellings of internal.

  • 2 in cache.php comments
  • 1 in jquery.countdown.js comments
  • 3 in tinymcs.js function name setMceInteralContent

Attachments (1)

36548.diff (568 bytes) - added by bobbingwide 3 years ago.
Correct 2 typos of interal to internal in wp-includes\cache.php

Download all attachments as: .zip

Change History (7)

@bobbingwide
3 years ago

Correct 2 typos of interal to internal in wp-includes\cache.php

#1 @bobbingwide
3 years ago

Oops, jquery.countdown.js is one of my files.

And it should have been tinymce.js

... but I won't submit a patch for that file either.

Last edited 3 years ago by bobbingwide (previous) (diff)

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


3 years ago

#3 @bobbingwide
3 years ago

I raised a question on TinyMCE's GitHub repo.

https://github.com/tinymce/tinymce/issues/2856

#4 @swissspidy
3 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.6
  • Owner set to swissspidy
  • Status changed from new to assigned

#5 @SergeyBiryukov
3 years ago

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

In 37216:

Docs: Fix typo in wp_cache_switch_to_blog() and WP_Object_Cache::switch_to_blog() description.

Props bobbingwide.
Fixes #36548.

#6 @bobbingwide
3 years ago

I've been advised that the TinyMCE issue has been fixed. https://github.com/tinymce/tinymce/issues/2856#event-632076750

Note: See TracTickets for help on using tickets.