[wp-trac] [WordPress Trac] #60639: Blank value with $order->get_meta()

WordPress Trac noreply at wordpress.org
Mon Feb 26 16:34:41 UTC 2024


#60639: Blank value with $order->get_meta()
-------------------------------+-----------------------------
 Reporter:  artprojectgroup    |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  trunk
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 == 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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60639>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list