WordPress.org

Plugin Directory

Changeset 569382


Ignore:
Timestamp:
07/09/12 12:47:10 (22 months ago)
Author:
PeteMall
Message:

Check if function exists for backward compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • daylife/trunk/inc/options.php

    r523314 r569382  
    1717    public function help() { 
    1818        $screen = get_current_screen(); 
     19        if ( ! method_exists( $screen, 'add_help_tab' ) ) 
     20            return; 
     21 
    1922        $screen->add_help_tab( array( 
    2023            'id'      => 'daylife-about', 
Note: See TracChangeset for help on using the changeset viewer.