[wp-meta] [Making WordPress.org] #3680: Remove post_type_link filter from the WP Parser plugin

Making WordPress.org noreply at wordpress.org
Fri Jun 29 10:09:22 UTC 2018


#3680: Remove post_type_link filter from the WP Parser plugin
---------------------------+---------------------
 Reporter:  keesiemeijer   |       Owner:  (none)
     Type:  defect         |      Status:  new
 Priority:  normal         |   Milestone:
Component:  Developer Hub  |  Resolution:
 Keywords:  has-patch      |
---------------------------+---------------------

Comment (by keesiemeijer):

 They both use the `post_type_link` filter to change method permalinks .
 This is more of an annoyance type fix. After parsing you'll have to de-
 activate the WP Parser plugin for the method permalinks to be correct (and
 not 404).

 They use the filter here

 * [https://github.com/WordPress/phpdoc-
 parser/blob/42e4de3f4f2b78049d4b2a25e7fe303a10b3dbfb/lib/class-
 plugin.php#L198 WP Parser]
 * [https://github.com/WordPress/phpdoc-
 parser/blob/42e4de3f4f2b78049d4b2a25e7fe303a10b3dbfb/lib/class-
 plugin.php#L198 wporg-developer]

 To test it you can activate the WP Parser plugin (and update permalinks)
 and see if the method permalinks are wrong (without the patch). I assume
 the WP Parser registers the post types and changes the method permalink so
 it works without the wporg-developer theme.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3680#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list