[wp-trac] [WordPress Trac] #36428: Weird default value of option 'default_link_category'

WordPress Trac noreply at wordpress.org
Fri May 16 07:06:36 UTC 2025


#36428: Weird default value of option 'default_link_category'
----------------------------------------+---------------------
 Reporter:  JanVoracek                  |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:
Component:  Upgrade/Install             |     Version:  3.5
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+---------------------

Comment (by vishalkakadiya):

 I have raised the PR for this ticket - https://github.com/WordPress
 /wordpress-develop/pull/8811

 **Changes in PR:**
 - Update the default link category to be populated as 0, not as 2, as when
 WordPress is installed, there will not be any default link categories
 added, unlike the Category taxonomy.
 - The above change makes sense to me, as the link feature is not widely
 used in many WordPress sites and is not default-enabled.

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


More information about the wp-trac mailing list