[wp-trac] [WordPress Trac] #64483: Core Abilities getting error when execution

WordPress Trac noreply at wordpress.org
Fri Jan 16 08:16:42 UTC 2026


#64483: Core Abilities getting error when execution
-------------------------------------------------+-------------------------
 Reporter:  arkenon                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  General                              |     Version:  6.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by hbhalodia):

 Hi @solankisoftware, Thanks for the test.

 Yes it would be great if you add the detail reproduction report, because
 in my testing I am unable to reproduce the issue. I am not sure what am I
 missing, or not sure if I am executing the API correctly.

 To share what I said, I am using something like this,

 {{{#!php
 $ability = wp_get_ability( 'core/get-environment-info' );
 $result = $ability->execute();
 print_r( $result );
 }}}

 The above block is executing as expected without error as shown in ticket
 description.

 Thank You,

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64483#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list