boonebgorges / buddypress-docs

GNU General Public License v3.0
106 stars 44 forks source link

`bp_docs_get_doc_link()` should use `bp_docs_get_current_doc()` to determine current doc #661

Closed boonebgorges closed 4 years ago

boonebgorges commented 4 years ago

Previously: #612. That ticket didn't touch bp_docs_get_doc_link()'s default-doc logic. This can result in bugs like https://github.com/boonebgorges/buddypress-docs/issues/612, where buddypress-docs-in-group is unable to filter the Delete link on single docs.