[wp-trac] [WordPress Trac] #64087: Deprecated urlencode() passing null warning during load-styles.php because get_stylesheet_directory() returns empty

WordPress Trac noreply at wordpress.org
Tue Feb 24 16:22:17 UTC 2026


#64087: Deprecated urlencode() passing null warning during load-styles.php because
get_stylesheet_directory() returns empty
-------------------------+-------------------------------------------------
 Reporter:  jerclarke    |       Owner:  (none)
     Type:  defect       |      Status:  new
  (bug)                  |
 Priority:  normal       |   Milestone:  7.0
Component:  Script       |     Version:
  Loader                 |
 Severity:  minor        |  Resolution:
 Keywords:  php8         |     Focuses:  administration, performance, php-
  reporter-feedback      |  compatibility
-------------------------+-------------------------------------------------
Changes (by westonruter):

 * keywords:  php8 => php8 reporter-feedback


Comment:

 @jerclarke Hey, it seems there was a duplicate opened of this in #64620.
 Can you check of if the [https://github.com/WordPress/wordpress-
 develop/pull/10898 associated PR] fixes the issue for you?

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


More information about the wp-trac mailing list