Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#58151 closed defect (bug) (invalid)

next_post() function is deprecated so need to change on the following file.

Reported by: rajanpanchal2028's profile rajanpanchal2028 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

I have find out that there is still using next_post() function on wp-admin/nav-menu.php & /wp-includes/template-part.php file so i have changed that from next_post() to next_post_link().

Attachments (1)

58151.patch (2.5 KB) - added by rajanpanchal2028 2 years ago.

Download all attachments as: .zip

Change History (4)

#1 @rajanpanchal2028
2 years ago

  • Component changed from Administration to Posts, Post Types

#2 @audrasjb
2 years ago

  • Keywords changes-requested added; needs-patch removed
  • Severity changed from major to normal
  • Version 6.2 deleted

Hello and thanks for the ticket and patch,

However, wp-includes/blocks/template-part.php has to be modified upstream on Gutenberg repository, not directly in Core.

#3 @ocean90
2 years ago

  • Focuses administration template coding-standards removed
  • Keywords changes-requested removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

WP_Query::next_post() is not deprecated, only the function next_post() which isn't used here.

Note: See TracTickets for help on using tickets.