[wp-trac] [WordPress Trac] #54233: Hardcoded wp-content instead of using WP_CONTENT_DIR

WordPress Trac noreply at wordpress.org
Fri Jun 17 11:18:52 UTC 2022


#54233: Hardcoded wp-content instead of using WP_CONTENT_DIR
--------------------------+------------------------------
 Reporter:  malthert      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"53518" 53518]:
 {{{
 #!CommitTicketReference repository="" revision="53518"
 General: Use `WPINC` as a shorter reference to `wp-includes` in some
 files.

 This brings more consistency with similar `require_once` statements and
 `_deprecated_file()` calls in other files.

 Follow-up to [601], [628], [36693], [44359], [45663], [45678], [52026],

 Props malthert.
 See #54233.
 }}}

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


More information about the wp-trac mailing list