Project

General

Profile

Actions

Bug #6082

closed

Sites down

Added by Matt Gold about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority name:
Immediate
Assignee:
Category name:
WordPress Themes
Target version:
Start date:
2016-09-23
Due date:
% Done:

0%

Estimated time:

Description

User report:

Hi. Three of our journal websites are down and we can't get access to the back end through the Commons:

jadtjournal.org
arabstages.org
europeanstages.org

Help!

Actions #1

Updated by Boone Gorges about 6 years ago

I've fixed the problem. Following up in a moment.

Actions #2

Updated by Matt Gold about 6 years ago

Huge thanks for attending to this so quickly

Actions #3

Updated by Boone Gorges about 6 years ago

  • Category name set to WordPress Themes
  • Status changed from New to Resolved
  • Target version set to 1.9.29

The issue was that the three themes in question defined the function `the_post_thumbnail_caption()`, which was introduced into WordPress in version 4.6.

Two notes for the theme author, to ensure that this doesn't happen again:

- Be sure that all custom functions are prefixed. Eg: `arabstages_the_post_thumbnail_caption()`
- Test your theme against the latest version of WordPress when it's announced that the Commons will update. See http://dev.commons.gc.cuny.edu/hosting-partner-handbook/ for more details about update schedules.

These three themes have been fixed in https://github.com/cuny-academic-commons/cac/commit/e19e6a5191fc149547b3552c090aab2ab97ec4ec. I searched the codebase and no other themes are affected by this specific issue.

Actions #4

Updated by Matt Gold about 6 years ago

Hi Alex,

I've added you as a watcher -- these are themes you're working on, right? If so, can you please let the theme developer know?

Actions #5

Updated by Alex Hills about 6 years ago

Yes, these are themes that I've been managing though didn't initially develop them--I think that Kimon created child themes based on another theme that had this function.

Thank to you both for working on this!

Actions

Also available in: Atom PDF