Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply-Post-Date needs a space after the word On

Viewing 10 replies - 1 through 10 (of 10 total)
  • @robin-w

    Moderator

    it looks like your theme or another plugin is heavily altering the display – what theme are you using ?

    @faithfl

    Participant

    @robin-w

    Moderator

    ok, I’d start by logging a ticket with them and see what they come back with

    @faithfl

    Participant

    I’m digging through php and can’t locate where the word “On” gets inserted.

    bbpress/includes/replies/template/php

    lines 660-680

    
    	function bbp_get_reply_post_date( $reply_id = 0, $humanize = false, $gmt = false ) {
    		$reply_id = bbp_get_reply_id( $reply_id );
    
    		// 4 days, 4 hours ago
    		if ( ! empty( $humanize ) ) {
    			$gmt_s  = ! empty( $gmt ) ? 'G' : 'U';
    			$date   = get_post_time( $gmt_s, $gmt, $reply_id );
    			$time   = false; // For filter below
    			$result = bbp_get_time_since( $date );
    
    		// August 4, 2012 at 2:37 pm
    		} else {
    			$date   = get_post_time( get_option( 'date_format' ), $gmt, $reply_id, true );
    			$time   = get_post_time( get_option( 'time_format' ), $gmt, $reply_id, true );
    			$result = sprintf( _x( '%1$s at %2$s', 'date at time', 'bbpress' ), $date, $time );
    		}
    
    		// Filter & return
    		return apply_filters( 'bbp_get_reply_post_date', $result, $reply_id, $humanize, $gmt, $date, $time );
    	}
    

    @faithfl

    Participant

    Robin,
    Doubtful they’d have a response. Is the ‘On’ atypical to normal bbPress installs?
    If so, I can start looking at the theme instead of bbP.

    -e

    @robin-w

    Moderator

    I suspect it is in an amended version in your theme

    so look in the theme for a folder called bbpress – their amended version should be in there

    @faithfl

    Participant

    Thank you Robin.
    Cheers
    🙂

    -e

    @faithfl

    Participant

    @faithfl

    Participant

    Thanks for your help, Robin.

    Issue resolved.

    The theme, Publisher, has a function buried in their visual editor, called ‘Theme Translations’, which let me change the “On” to “on ” (space).

    @robin-w

    Moderator

    Great – thanks, and thanks for posting the solution, this might help others finding this thread 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Skip to toolbar