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

    @robin-w

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


    Longbow
    Participant

    @faithfl


    Robin W
    Moderator

    @robin-w

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


    Longbow
    Participant

    @faithfl

    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 );
    	}
    

    Longbow
    Participant

    @faithfl

    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

    @robin-w

    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


    Longbow
    Participant

    @faithfl

    Thank you Robin.
    Cheers
    🙂

    -e


    Longbow
    Participant

    @faithfl


    Longbow
    Participant

    @faithfl

    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

    @robin-w

    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