Plugin Directory

Changeset 667044


Ignore:
Timestamp:
02/12/2013 08:01:58 PM (13 years ago)
Author:
writecraft
Message:

Bug Fix: Change store closed message to only appear on store pages, and only to logged in merchants and administrators.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wce-close-shopp-store/trunk/wce-close-shopp-store.php

    r666973 r667044  
    282282                    } // end external link oe closed page
    283283                } else {
    284                         add_filter('the_title','wce_admin_title', 10, 1);
     284                        if ( wce_is_shopp_pages() && $isAllowed) {
     285                            add_filter('the_title','wce_admin_title', 10, 1);
     286                        }
    285287                    } // end detect shopp pages and who is allowed     
    286288            } // end if Open/Closed
Note: See TracChangeset for help on using the changeset viewer.