WordPress.org

Making WordPress.org

Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#4310 closed defect (fixed)

Dead link on "debug_fwrite" page

Reported by: Rahmohn Owned by: coffee2code
Milestone: Priority: normal
Component: Developer Hub Keywords:
Cc:

Description

The debug_fwrite function page has a link to error_log function that doesn't exists. Probably correct link is to the page error_log on PHP website.

Attachments (1)

Screen Shot 2019-03-21 at 17.34.20.png (30.3 KB) - added by Rahmohn 6 months ago.

Download all attachments as: .zip

Change History (4)

#1 @coffee2code
6 months ago

  • Owner set to coffee2code
  • Resolution set to fixed
  • Status changed from new to closed

In 8487:

Developer: Handle exception to deprecated item that refers to an externally-linked resource as its preferred alternative.

Specifically, debug_fwrite() had been deprecated in favor of PHP's error_log(). In every other case, the implicit assumption is that the preferred alternative is another WP resource.

Props rahmohn, coffee2code.
Fixes #4310.

#2 @Rahmohn
6 months ago

@coffee2code

There is one more dead link in section Descrition. Unfortunately I saw that after you had fixed the first one.

#3 @coffee2code
6 months ago

In 8525:

Developer: Move auto-link exception handling into link_internal_element() so as to apply in a broader range of contexts.

Previous implementation only affected auto-linking in deprecation notice, but the need for the exception could also apply in text, param descriptions, see alsos, etc.

Props rahmohn, coffee2code.
See #4310.

Note: See TracTickets for help on using tickets.