wp/wp-content/plugins/portfolio/bws_menu/bws_include.php
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
--- a/wp/wp-content/plugins/portfolio/bws_menu/bws_include.php	Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-content/plugins/portfolio/bws_menu/bws_include.php	Fri Sep 05 18:40:08 2025 +0200
@@ -1,9 +1,15 @@
 <?php
-/**
- * Get latest version
- */
+if ( ! defined( 'ABSPATH' ) ) {
+	exit;
+}
 
 if ( ! function_exists( 'bws_include_init' ) ) {
+	/**
+	 * Get latest version
+	 *
+	 * @param string $base            Base name for plugin.
+	 * @param string $bws_menu_source BWS product.
+	 */
 	function bws_include_init( $base, $bws_menu_source = 'plugins' ) {
 		global $bstwbsftwppdtplgns_options, $bstwbsftwppdtplgns_added_menu, $bstwbsftwppdtplgns_active_plugins;
 		if ( ! function_exists( 'get_plugin_data' ) ) {