Changeset 3388801
- Timestamp:
- 11/03/2025 11:15:19 AM (5 months ago)
- Location:
- wp-mapit/trunk
- Files:
-
- 2 edited
-
wp_mapit.php (modified) (2 diffs)
-
wp_mapit/classes/class-wp-mapit-metabox.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-mapit/trunk/wp_mapit.php
r3055151 r3388801 44 44 */ 45 45 function wp_mapit_init() { 46 47 /* Loading the textdomain */48 load_plugin_textdomain( 'wp-mapit', false, basename( dirname( __DIR__ ) ) . '/wp_mapit/languages' );49 50 46 /* Initialize the base class of the plugin */ 51 47 return Wp_Mapit::instance(); … … 57 53 */ 58 54 add_action( 'plugins_loaded', 'wp_mapit_init' ); 55 56 add_action( 57 'init', 58 function () { 59 /* Loading the textdomain */ 60 load_plugin_textdomain( 'wp-mapit', false, WP_MAPIT_DIR . 'languages' ); 61 }, 62 99 63 ); -
wp-mapit/trunk/wp_mapit/classes/class-wp-mapit-metabox.php
r3005528 r3388801 26 26 */ 27 27 public static function init() { 28 /* Create metaboxes */ 29 add_action( 30 'init', 31 array( 32 __CLASS__, 33 'init_hook', 34 ) 35 ); 36 } 37 38 /** 39 * Handle init hook for the metaboxes 40 * 41 * @since 1.0 42 * @static 43 * @access public 44 */ 45 public static function init_hook() { 28 46 $arr_allowed_post_types = wp_mapit_admin_settings::get_allowed_posttypes(); 29 47
Note: See TracChangeset
for help on using the changeset viewer.