Plugin Directory

Changeset 1694460


Ignore:
Timestamp:
07/11/2017 01:23:02 PM (9 years ago)
Author:
seoptix
Message:

Update

Location:
offen/trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • offen/trunk/Admin/AdminArea.php

    r1694366 r1694460  
    1818function register_plugin_business_hours_settings()
    1919{
     20    load_plugin_textdomain("offen",false,BUSINESS_HOURS_PLUGIN_LANG_PATH);
    2021    // Register our settings
    2122    // General
  • offen/trunk/offen.php

    r1694366 r1694460  
    88Author URI: https://www.oeffnungszeitenbuch.de/
    99Text Domain: offen
    10 Domain Path: /lang
     10Domain Path: /languages
    1111*/
    1212
    13 load_plugin_textdomain("offen");
     13
    1414
    1515# Define constants
    1616define('BUSINESS_HOURS_PLUGIN_BASE_URL',   plugins_url('',  __FILE__ ));
    1717define('BUSINESS_HOURS_PLUGIN_BASE_PATH',  plugin_dir_path( __FILE__ ));
     18define('BUSINESS_HOURS_PLUGIN_LANG_PATH',  dirname( plugin_basename( __FILE__ ) ) . "/lang");
    1819
    1920# Include Helpers
Note: See TracChangeset for help on using the changeset viewer.