[buddypress-trac] [BuddyPress] #4141: Wrapper Function for getting the currently displayed page url.

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Apr 13 12:47:31 UTC 2012


#4141: Wrapper Function for getting the currently displayed page url.
--------------------------+------------------------------
 Reporter:  chrisclayton  |       Owner:  chrisclayton
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by boonebgorges):

 Yes, you're right that the canonical logic should be separated out and not
 repeated. `bp_get_permalink()` may not be the best name for such a
 function, though, as it's not really parallel to `get_permalink()` (which
 is used inside of the post loop or can be fed a post/post_id, and does not
 refer to the current page).

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4141#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list