Plugin Directory

Changeset 412697


Ignore:
Timestamp:
07/20/2011 04:47:20 PM (15 years ago)
Author:
jaredh123
Message:

check for P2 functions before running them, for people running p3 who haven't disabled plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • prophoto2-compatibility-patches/trunk/p2-wp-compatibility.php

    r412200 r412697  
    55Description: Only for users of version 2 of the ProPhoto theme. Contains patches required for compatibility with WordPress 3.0+
    66Author: ProPhotoBlogs
    7 Version: 1.1
     7Version: 1.2
    88*/
    99
     
    1414
    1515function p2_update_img_protection_opts() {
     16    if ( !function_exists( 'p2_test' ) ) {
     17        return;
     18    }
     19   
    1620    global $p2;
    1721    $storeNew = false;
     
    3640
    3741function p2_update_img_protection_js() {
     42    if ( !function_exists( 'p2_test' ) ) {
     43        return;
     44    }
     45   
    3846    $newJS = null;
    3947   
Note: See TracChangeset for help on using the changeset viewer.