Make WordPress Core

Opened 3 months ago

Closed 3 months ago

#60639 closed defect (bug) (invalid)

Blank value with $order->get_meta()

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


Bug Report


It is not possible to read any custom fields from the order as $order->get_meta() always returns an empty value.

However get_post_meta does return the correct value.


  • WordPress: 6.5-beta2-57707
  • PHP: 8.1.27
  • Server: LiteSpeed
  • Database: mysqli (Server: 10.3.39-MariaDB / Client: mysqlnd 8.1.27)
  • Browser: Safari 17.3.1 (macOS)
  • Theme: Storefront 4.5.4
  • MU-Plugins: Ninguno activado
  • Plugins:
    • Query Monitor 3.15.0
    • WC - APG Campo NIF/CIF/NIE
    • WooCommerce 8.6.1
    • WordPress Beta Tester 3.5.5

Change History (1)

#1 @swissspidy
3 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Please note that Trac is exclusively for bugs and enhancements in WordPress itself. For reporting bugs in third-party plugins like WooCommerce, please report them at

Note: See TracTickets for help on using tickets.