• Resolved cshenkan

    (@cshenkan)


    When the season ended for hockey the message said No scheduled games found for 1. I went into mstw-game-schedule.php in the plugins folder and changed the text on line 698 to $output = '<h3>' . __( 'No scheduled games found.', 'mstw-loc-domain' ) . '</h3>'; This fixed my problem, however about an hour later when I went to check it had reverted to the old behavior. I’m not sure how since the code is still changed but nonetheless it’s saying No scheduled games found for 1 again.

    Any idea why that would be?

    https://www.ads-software.com/plugins/game-schedules/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cshenkan

    (@cshenkan)

    Nevermind just took some time to propagate.

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Cool. I believe the reason it says “1” is because your schedule ID was 1. Just trying to give you more info. Something like “2013-girls-varsity-soccer” might be a more helpful ID. Perhaps I should change the message to be the schedule name instead of the slug.

    -Mark

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing the Output When No Schedule Detected’ is closed to new replies.