[wp-trac] [WordPress Trac] #65128: Warning on the post page.

WordPress Trac noreply at wordpress.org
Sun Apr 26 07:48:15 UTC 2026


#65128: Warning on the post page.
-----------------------------------------+------------------------------
 Reporter:  gautammkgarg                 |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Administration               |     Version:  trunk
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+------------------------------

Comment (by gautammkgarg):

 @sabernhardt and @mukeshpanchal27

 I got this warning while working with our Plugin "Knit Pay". I thought if
 this warning is getting triggered in Knit Pay, then it can get triggered
 in other plugins/themes also. That's why I planned to fix it.

 Here are the complete steps I followed, where I got this error.

 1. I installed [Knit Pay](https://wordpress.org/plugins/knit-pay/) plugin.
 2. Created new Configuration. **Knit Pay >> Configurations >> Add new
 Payment Gateway Configuration**.
 3. In Payment Provider, I chose "UPI QR".
 4. In "UPI VPA ID" field, write anything, like "abc".
 5. Publish the configuration.
 6. After page loads, scroll to the bottom of page, and in "Test" box,
 enter any amount, eg. 5 INR.
 7. Click on "Test" button.
 8. On this page, you will get the warning I mentioned.

 I just realized, that I am getting one more Deprecated code message

 {{{#!php
 <?php
 Deprecated: Function print_emoji_styles is deprecated since version 6.4.0!
 Use wp_enqueue_emoji_styles instead. in public\wp-includes\functions.php
 on line 6170
 }}}
 I am not sure if we should fix both these warning and deprecated message
 in same PR or keep 2 separate PR.

 ----
 **Environment I am using.**
 ----
 PHP: 8.1.29 - 8.5.1 (Getting warning on all the PHP versions)
 WordPress: 7.0-RC2
 Web server: nginx/1.26.1

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


More information about the wp-trac mailing list