[wp-trac] [WordPress Trac] #28617: comments_popup should not be allowed to be access directly
WordPress Trac
noreply at wordpress.org
Thu Jan 14 22:02:00 UTC 2016
#28617: comments_popup should not be allowed to be access directly
--------------------------+--------------------------
Reporter: eduplessis | Owner: johnbillion
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.5
Component: Comments | Version: 0.71
Severity: minor | Resolution:
Keywords: | Focuses:
--------------------------+--------------------------
Comment (by drrobotnik):
Replying to [comment:6 johnbillion]:
> In [attachment:28617.diff]:
>
> * Deprecates and no-ops `get_comments_popup_template()`,
`is_comments_popup()`, `comments_popup_script()`, and `popuplinks()`.
> * Removes the `comments_popup` parameter in `WP_Query` and the public
`comments_popup` query var.
> * Removes the comments popup template from the template hierarchy.
> * Removes `theme-compat/comments-popup.php`.
>
> Combined, this entirely removes the popup comments template
functionality. If a theme is actually using popup comments, it's going to
stop functioning as expected with this change, but won't fatal.
>
> It's 2015, so if any theme is using popup comments then I don't care
enough about breaking it, but it would be good to know if there are any
themes around which are using this functionality (any which are need to
call the `comments_popup_script()` function, so that would be a good place
to start if anyone wants to run a search).
This thread is about comment_popups. I'm wondering if it makes sense to
remove popuplinks entirely since it's a general use fn, not specifically
related to comments.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28617#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list