Пример #1
0
 /**
  * WordPress init action.
  *
  * init {@link http://codex.wordpress.org/Plugin_API/Action_Reference#Advanced_Actions action},
  * called by WordPress.
  *
  * @since 1.2
  */
 public static function init()
 {
     if (GEO_MASHUP_DB_VERSION != GeoMashupDB::installed_version()) {
         // We're active but not installed - try once more to install
         GeoMashupDB::install();
     }
     GeoMashup::load_styles();
     GeoMashup::load_scripts();
 }
Пример #2
0
 /**
  * WordPress init action.
  *
  * init {@link http://codex.wordpress.org/Plugin_API/Action_Reference#Advanced_Actions action},
  * called by WordPress.
  *
  * @since 1.2
  */
 public static function init()
 {
     GeoMashup::load_styles();
     GeoMashup::load_scripts();
 }