[wp-trac] [WordPress Trac] #27494: Posts page appears into search results

WordPress Trac noreply at wordpress.org
Tue Mar 3 22:43:51 UTC 2020


#27494: Posts page appears into search results
-------------------------------------------------+-------------------------
 Reporter:  SGr33n                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Posts, Post Types                    |     Version:  3.8.1
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback needs-patch 2nd-        |     Focuses:
  opinion                                        |
-------------------------------------------------+-------------------------
Changes (by Howdy_McGee):

 * keywords:  dev-feedback needs-patch => dev-feedback needs-patch 2nd-
               opinion


Comment:

 I think at this point flat out hiding the Posts Page and Front Page from
 search may be unexpected to most users. Adding a `get_content` filter for
 some kind of default content may be a better solution. A simple snippet
 such as:

 > Posts archive.

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


More information about the wp-trac mailing list