[wp-trac] [WordPress Trac] #59169: Deprecated arguments description is a bit misleading.

WordPress Trac noreply at wordpress.org
Wed Aug 23 09:39:10 UTC 2023


#59169: Deprecated arguments description is a bit misleading.
-----------------------------+------------------------------
 Reporter:  sulemanhelp      |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  trivial          |  Resolution:
 Keywords:  has-patch close  |     Focuses:  docs
-----------------------------+------------------------------

Comment (by SergeyBiryukov):

 Hi there, welcome to WordPress Trac! Thanks for the PR.

 This might be a bit confusing, but as noted above, both `home` and
 `siteurl` fall through to the `url` value for backward compatibility, so
 the current documentation is correct.

 Some history here:
 * [1157] added the `siteurl` value.
 * [1731] added the `home` and `wpurl` values.
 * [4983] / #3623 deprecated the `home` and `siteurl` values.
 * [12587] / #11652 added the `_deprecated_argument()` call.
 * [36382] / #35581 added the documentation for deprecated values.
 * [44565] / #45934 documented the intentional fall-through to the `url`
 value.

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


More information about the wp-trac mailing list