[wp-trac] [WordPress Trac] #41179: Adding get_the_content-filter

WordPress Trac noreply at wordpress.org
Tue Apr 17 20:46:25 UTC 2018


#41179: Adding get_the_content-filter
--------------------------------------+------------------------------
 Reporter:  Ninos Ego                 |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Themes                    |     Version:  4.8
 Severity:  normal                    |  Resolution:
 Keywords:  needs-codex dev-feedback  |     Focuses:  docs, template
--------------------------------------+------------------------------
Changes (by joyously):

 * keywords:  has-patch needs-codex dev-feedback => needs-codex dev-feedback


Comment:

 This patch does not match the ticket description. The patch adds
 parameters to the `the_content` filter, which would break all kinds of
 themes, plugins, and core.

 Why do you think `get_the_content()` needs a filter? I thought the whole
 point of it was that it was returning the actual content, unfiltered. It
 is a reliable source of actual content.

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


More information about the wp-trac mailing list