Although `add_action` and `add_filter` are internally the same, `pre_get_posts` is an action hook. This change updates the hook type to match what developers would expect when evaluating the code. Follow-up to [52316]. Props swissspidy, riccardodicurti. Fixes #57097. Built from https://develop.svn.wordpress.org/trunk@55335 git-svn-id: http://core.svn.wordpress.org/trunk@54868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
11 KiB
11 KiB