Make WordPress Core

#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:

Description

Bug Report

Description

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.

Environment

  • 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 2.1.0.2
    • WooCommerce 8.6.1
    • WordPress Beta Tester 3.5.5

Change History (1)

#1 @swissspidy
14 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 https://github.com/woocommerce/woocommerce.

Note: See TracTickets for help on using tickets.