[wp-trac] [WordPress Trac] #35983: Better support for "singular" endpoints

WordPress Trac noreply at wordpress.org
Sun Feb 28 10:07:46 UTC 2016


#35983: Better support for "singular" endpoints
---------------------------+------------------------------
 Reporter:  dd32           |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------------

Comment (by tyxla):

 +1 - I've used such name-only endpoints several times and it will be very
 nice if they're easy to work with. Checking for `global $wp_query; if (
 isset( $wp_query->query_var['single-endpoint'] ) )` works, but is not very
 friendly.

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


More information about the wp-trac mailing list