Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#54735 closed defect (bug) (duplicate)

get_sample_permalink unsets $post->filter even though this is a public property.

Reported by: herregroen Owned by:
Priority: normal Milestone:
Component: General Version: 2.7.1
Severity: normal Keywords:
Cc: Focuses:

Description

The property should be set to null rather than being unset.

Unsetting it removes it entirely which means if it's later requested ( such as in WP_Post::__get ) this causes a notice to be thrown that the property doesn't exist.

Change History (2)

#1 @hellofromTonya
5 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

Hmm a duplicate of #54736. Closing.

#2 @hellofromTonya
5 years ago

  • Version trunk2.7.1
Note: See TracTickets for help on using tickets.