Skip to:
Content

bbPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1872 closed defect (bug) (fixed)

Changeset 4036 appears to break widget layout

Reported by: enderandrew's profile enderandrew Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0
Component: API - Widgets Keywords:
Cc:

Description

http://bbpress.trac.wordpress.org/changeset/4036 - This did fix the issue with content from the private forums showing up in widgets, however once I updated to the latest SVN copy of bbPress, the widget itself was broken and it affected my site layout. Removing the widget fixed my site layout.

Change History (10)

#1 @johnjamesjacoby
13 years ago

  • Milestone changed from Awaiting Review to 2.1

Confirmed.

#2 @enderandrew
13 years ago

It looks like the widget has one div, but two div close tags which is causing the issue. Here is the HTML the widget created post changeset 4036.

'<aside id="bbp_topics_widget-2" class="dbx-box suf-widget widget_display_topics"><div class="dbx-content"><h3 class="dbx-handle plain">Ye Olde Forums</h3><ul><li><a class="bbp-forum-title" href="http://blindscribblings.com/topic/american-health-care-reform/" title="American Health Care Reform">American Health Care Reform</a></div></li><li><a class="bbp-forum-title" href="http://blindscribblings.com/topic/movies-based-on-books/" title="Movies Based On Books.">Movies Based On Books.</a></div></li><li><a class="bbp-forum-title" href="http://blindscribblings.com/forums/groups/whedon-ites/forums/topic/avengers-2/" title="Avengers 2">Avengers 2</a></div></li><li><a class="bbp-forum-title" href="http://blindscribblings.com/topic/misnomer-and-fan-fic/" title="Misnomer and Fan-Fic">Misnomer and Fan-Fic</a></div></li><li><a class="bbp-forum-title" href="http://blindscribblings.com/topic/new-villain/" title="Who&#039;s Going to be the NBA&#039;s New Villian?">Who&#039;s Going to be the NBA&#039;s New Villian?</a></div></li></ul></div></aside>'

#3 @johnjamesjacoby
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4037]) Widgets:

  • Fix layout issue introduced in r4036.
  • Fixes #1872.

#4 follow-up: @enderandrew
13 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

I'm still having the issue with the extra </div> close tags before each </li> even after downloading this fix.

#5 in reply to: ↑ 4 @johnjamesjacoby
13 years ago

Replying to enderandrew:

I'm still having the issue with the extra </div> close tags before each </li> even after downloading this fix.

Topics widget, or replies widget? It appears fixed in both for me.

#6 @enderandrew
13 years ago

Topics widget. I cleared my browser and server cache. I downloaded the updated bbp-core-widgets.php and it produced this HMTL. Maybe something else was still cached somewhere?

'<aside id="bbp_topics_widget-2" class="dbx-box suf-widget widget_display_topics">
<div class="dbx-content">
<h3 class="dbx-handle plain">Ye Olde Forums</h3>
<ul>
<li><a class="bbp-forum-title" href="http://blindscribblings.com/topic/american-health-care-reform/" title="American Health Care Reform">American Health Care Reform</a>
</div></li>
<li><a class="bbp-forum-title" href="http://blindscribblings.com/topic/movies-based-on-books/" title="Movies Based On Books.">Movies Based On Books.</a></div></li>
<li><a class="bbp-forum-title" href="http://blindscribblings.com/forums/groups/whedon-ites/forums/topic/avengers-2/" title="Avengers 2">Avengers 2</a></div></li><li><a class="bbp-forum-title" href="http://blindscribblings.com/topic/misnomer-and-fan-fic/" title="Misnomer and Fan-Fic">Misnomer and Fan-Fic</a></div></li>
<li><a class="bbp-forum-title" href="http://blindscribblings.com/topic/new-villain/" title="Who&#039;s Going to be the NBA&#039;s New Villian?">Who&#039;s Going to be the NBA&#039;s New Villian?</a></div></li>
</ul></div></aside>'

#7 @johnjamesjacoby
13 years ago

Unclear. Possible you're not downloading the correct file? You'll also have much better luck working with Subversion directly for this kind of thing, as manually downloading files and using FTP can be error prone.

#8 @enderandrew
13 years ago

I was at work at the time and couldn't connect directly via subversion. I just downloaded the file from the "original format" link on here, and uploaded it to my site to test the change:

http://bbpress.trac.wordpress.org/browser/branches/plugin/bbp-includes/bbp-core-widgets.php?rev=4037

#9 follow-up: @enderandrew
13 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

I did a full SVN checkout of the plugin branch, uploaded again and now its working.

#10 in reply to: ↑ 9 @johnjamesjacoby
13 years ago

  • Component changed from Actions/Filters to Widgets

Replying to enderandrew:

I did a full SVN checkout of the plugin branch, uploaded again and now its working.

Great thanks!

Note: See TracTickets for help on using tickets.