WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#39002 closed defect (bug) (worksforme)

Issue with $post and have_post() function

Reported by: tadaimushi Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7
Component: General Keywords:
Focuses: Cc:

Description

We find a few bugs when trying the WordPress version 4.7. $post and have_post() functions don’t work as they should be when we tried the version in our themes.

two of our themes use woo_framework version 5.5.5, is there any chance that the version 4.7 isn’t fully compatible with the older version of woo framework?

Could you check this issue in version 4.7?

Change History (3)

#1 @swissspidy
4 years ago

  • Keywords reporter-feedback added

Hey there,

Can you give us some example code to demonstrate what exactly isn't working? Also, can you reproduce this behaviour when running Twenty Seventeen and no plugins active?

#2 @tadaimushi
4 years ago

thankfully in RC2 all of $post and have_post() value are back to normal, its working in our themes unlike in the previous version, where all $post and have_post() was declaring NULL value

#3 @swissspidy
4 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.