Changeset 3199100
- Timestamp:
- 11/28/2024 07:30:50 PM (16 months ago)
- Location:
- right-click-menu-hayati-kodla
- Files:
-
- 4 edited
-
tags/1.0.8/README.txt (modified) (1 diff)
-
tags/1.0.8/right-click-menu-hayatikodla.php (modified) (1 diff)
-
trunk/README.txt (modified) (1 diff)
-
trunk/right-click-menu-hayatikodla.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
right-click-menu-hayati-kodla/tags/1.0.8/README.txt
r3197649 r3199100 5 5 Requires at least: 6.7.1 6 6 Tested up to: 6.7.1 7 Stable tag: 1.0. 77 Stable tag: 1.0.8 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later -
right-click-menu-hayati-kodla/tags/1.0.8/right-click-menu-hayatikodla.php
r3197665 r3199100 1 1 <?php 2 2 3 /**4 * The plugin bootstrap file5 *6 * This file is read by WordPress to generate the plugin information in the plugin7 * admin area. This file also includes all of the dependencies used by the plugin,8 * registers the activation and deactivation functions, and defines a function9 * that starts the plugin.10 *11 * @link https://hayatikodla.net/hasan-yuksektepe-kimdir/12 * @since 1.0.013 * @package Right_Click_Menu_Hayatikodla14 *15 * @wordpress-plugin16 * Plugin Name: Right Click Menu (Like hayatikodla.net)17 * Plugin URI: https://hayatikodla.net18 * Description: When users coming to your website with this wordpress plugin right click, they will be greeted with a special menu for your website.19 * Version: 1.0.7 20 * Author: Hasan Yüksektepe21 * Author URI: https://hayatikodla.net/hasan-yuksektepe-kimdir/22 * License: GPL-2.0+23 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt24 * Text Domain: right-click-menu-hayati-kodla25 * Domain Path: /languages26 */3 /** 4 * The plugin bootstrap file 5 * 6 * This file is read by WordPress to generate the plugin information in the plugin 7 * admin area. This file also includes all of the dependencies used by the plugin, 8 * registers the activation and deactivation functions, and defines a function 9 * that starts the plugin. 10 * 11 * @link https://hayatikodla.net/hasan-yuksektepe-kimdir/ 12 * @since 1.0.0 13 * @package Right_Click_Menu_Hayatikodla 14 * 15 * @wordpress-plugin 16 * Plugin Name: Right Click Menu (Like hayatikodla.net) 17 * Plugin URI: https://hayatikodla.net 18 * Description: When users coming to your website with this wordpress plugin right click, they will be greeted with a special menu for your website. 19 * Version: 1.0.8 20 * Author: Hasan Yüksektepe 21 * Author URI: https://hayatikodla.net/hasan-yuksektepe-kimdir/ 22 * License: GPL-2.0+ 23 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 24 * Text Domain: right-click-menu-hayati-kodla 25 * Domain Path: /languages 26 */ 27 27 28 // If this file is called directly, abort.29 if ( ! defined( 'WPINC' ) ){30 die;31 }28 // If this file is called directly, abort. 29 if(!defined('WPINC')){ 30 die; 31 } 32 32 33 /**34 * Currently plugin version.35 * Start at version 1.0.0 and use SemVer - https://semver.org36 * Rename this for your plugin and update it as you release new versions.37 */38 define( 'RIGHT_CLICK_MENU_HAYATIKODLA_VERSION', '1.0.7');33 /** 34 * Currently plugin version. 35 * Start at version 1.0.0 and use SemVer - https://semver.org 36 * Rename this for your plugin and update it as you release new versions. 37 */ 38 define('RIGHT_CLICK_MENU_HAYATIKODLA_VERSION', '1.0.8'); 39 39 40 /**41 * The code that runs during plugin activation.42 * This action is documented in includes/class-right-click-menu-hayatikodla-activator.php43 */44 function activate_right_click_menu_hayatikodla(){45 require_once plugin_dir_path( __FILE__ ) .'includes/class-right-click-menu-hayatikodla-activator.php';46 Right_Click_Menu_Hayatikodla_Activator::activate();47 }40 /** 41 * The code that runs during plugin activation. 42 * This action is documented in includes/class-right-click-menu-hayatikodla-activator.php 43 */ 44 function activate_right_click_menu_hayatikodla(){ 45 require_once plugin_dir_path(__FILE__).'includes/class-right-click-menu-hayatikodla-activator.php'; 46 Right_Click_Menu_Hayatikodla_Activator::activate(); 47 } 48 48 49 /**50 * The code that runs during plugin deactivation.51 * This action is documented in includes/class-right-click-menu-hayatikodla-deactivator.php52 */53 function deactivate_right_click_menu_hayatikodla(){54 require_once plugin_dir_path( __FILE__ ) .'includes/class-right-click-menu-hayatikodla-deactivator.php';55 Right_Click_Menu_Hayatikodla_Deactivator::deactivate();56 }49 /** 50 * The code that runs during plugin deactivation. 51 * This action is documented in includes/class-right-click-menu-hayatikodla-deactivator.php 52 */ 53 function deactivate_right_click_menu_hayatikodla(){ 54 require_once plugin_dir_path(__FILE__).'includes/class-right-click-menu-hayatikodla-deactivator.php'; 55 Right_Click_Menu_Hayatikodla_Deactivator::deactivate(); 56 } 57 57 58 register_activation_hook( __FILE__, 'activate_right_click_menu_hayatikodla');59 register_deactivation_hook( __FILE__, 'deactivate_right_click_menu_hayatikodla');58 register_activation_hook(__FILE__, 'activate_right_click_menu_hayatikodla'); 59 register_deactivation_hook(__FILE__, 'deactivate_right_click_menu_hayatikodla'); 60 60 61 /**62 * The core plugin class that is used to define internationalization,63 * admin-specific hooks, and public-facing site hooks.64 */65 require plugin_dir_path( __FILE__ ) .'includes/class-right-click-menu-hayatikodla.php';61 /** 62 * The core plugin class that is used to define internationalization, 63 * admin-specific hooks, and public-facing site hooks. 64 */ 65 require plugin_dir_path(__FILE__).'includes/class-right-click-menu-hayatikodla.php'; 66 66 67 /**68 * Begins execution of the plugin.69 *70 * Since everything within the plugin is registered via hooks,71 * then kicking off the plugin from this point in the file does72 * not affect the page life cycle.73 *74 * @since 1.0.075 */76 function run_right_click_menu_hayatikodla(){67 /** 68 * Begins execution of the plugin. 69 * 70 * Since everything within the plugin is registered via hooks, 71 * then kicking off the plugin from this point in the file does 72 * not affect the page life cycle. 73 * 74 * @since 1.0.0 75 */ 76 function run_right_click_menu_hayatikodla(){ 77 77 78 $plugin = new Right_Click_Menu_Hayatikodla();79 $plugin->run();78 $plugin = new Right_Click_Menu_Hayatikodla(); 79 $plugin->run(); 80 80 81 } 82 run_right_click_menu_hayatikodla(); 81 } 82 83 run_right_click_menu_hayatikodla(); -
right-click-menu-hayati-kodla/trunk/README.txt
r3197649 r3199100 5 5 Requires at least: 6.7.1 6 6 Tested up to: 6.7.1 7 Stable tag: 1.0. 77 Stable tag: 1.0.8 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later -
right-click-menu-hayati-kodla/trunk/right-click-menu-hayatikodla.php
r3197665 r3199100 1 1 <?php 2 2 3 /**4 * The plugin bootstrap file5 *6 * This file is read by WordPress to generate the plugin information in the plugin7 * admin area. This file also includes all of the dependencies used by the plugin,8 * registers the activation and deactivation functions, and defines a function9 * that starts the plugin.10 *11 * @link https://hayatikodla.net/hasan-yuksektepe-kimdir/12 * @since 1.0.013 * @package Right_Click_Menu_Hayatikodla14 *15 * @wordpress-plugin16 * Plugin Name: Right Click Menu (Like hayatikodla.net)17 * Plugin URI: https://hayatikodla.net18 * Description: When users coming to your website with this wordpress plugin right click, they will be greeted with a special menu for your website.19 * Version: 1.0.7 20 * Author: Hasan Yüksektepe21 * Author URI: https://hayatikodla.net/hasan-yuksektepe-kimdir/22 * License: GPL-2.0+23 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt24 * Text Domain: right-click-menu-hayati-kodla25 * Domain Path: /languages26 */3 /** 4 * The plugin bootstrap file 5 * 6 * This file is read by WordPress to generate the plugin information in the plugin 7 * admin area. This file also includes all of the dependencies used by the plugin, 8 * registers the activation and deactivation functions, and defines a function 9 * that starts the plugin. 10 * 11 * @link https://hayatikodla.net/hasan-yuksektepe-kimdir/ 12 * @since 1.0.0 13 * @package Right_Click_Menu_Hayatikodla 14 * 15 * @wordpress-plugin 16 * Plugin Name: Right Click Menu (Like hayatikodla.net) 17 * Plugin URI: https://hayatikodla.net 18 * Description: When users coming to your website with this wordpress plugin right click, they will be greeted with a special menu for your website. 19 * Version: 1.0.8 20 * Author: Hasan Yüksektepe 21 * Author URI: https://hayatikodla.net/hasan-yuksektepe-kimdir/ 22 * License: GPL-2.0+ 23 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 24 * Text Domain: right-click-menu-hayati-kodla 25 * Domain Path: /languages 26 */ 27 27 28 // If this file is called directly, abort.29 if ( ! defined( 'WPINC' ) ){30 die;31 }28 // If this file is called directly, abort. 29 if(!defined('WPINC')){ 30 die; 31 } 32 32 33 /**34 * Currently plugin version.35 * Start at version 1.0.0 and use SemVer - https://semver.org36 * Rename this for your plugin and update it as you release new versions.37 */38 define( 'RIGHT_CLICK_MENU_HAYATIKODLA_VERSION', '1.0.7');33 /** 34 * Currently plugin version. 35 * Start at version 1.0.0 and use SemVer - https://semver.org 36 * Rename this for your plugin and update it as you release new versions. 37 */ 38 define('RIGHT_CLICK_MENU_HAYATIKODLA_VERSION', '1.0.8'); 39 39 40 /**41 * The code that runs during plugin activation.42 * This action is documented in includes/class-right-click-menu-hayatikodla-activator.php43 */44 function activate_right_click_menu_hayatikodla(){45 require_once plugin_dir_path( __FILE__ ) .'includes/class-right-click-menu-hayatikodla-activator.php';46 Right_Click_Menu_Hayatikodla_Activator::activate();47 }40 /** 41 * The code that runs during plugin activation. 42 * This action is documented in includes/class-right-click-menu-hayatikodla-activator.php 43 */ 44 function activate_right_click_menu_hayatikodla(){ 45 require_once plugin_dir_path(__FILE__).'includes/class-right-click-menu-hayatikodla-activator.php'; 46 Right_Click_Menu_Hayatikodla_Activator::activate(); 47 } 48 48 49 /**50 * The code that runs during plugin deactivation.51 * This action is documented in includes/class-right-click-menu-hayatikodla-deactivator.php52 */53 function deactivate_right_click_menu_hayatikodla(){54 require_once plugin_dir_path( __FILE__ ) .'includes/class-right-click-menu-hayatikodla-deactivator.php';55 Right_Click_Menu_Hayatikodla_Deactivator::deactivate();56 }49 /** 50 * The code that runs during plugin deactivation. 51 * This action is documented in includes/class-right-click-menu-hayatikodla-deactivator.php 52 */ 53 function deactivate_right_click_menu_hayatikodla(){ 54 require_once plugin_dir_path(__FILE__).'includes/class-right-click-menu-hayatikodla-deactivator.php'; 55 Right_Click_Menu_Hayatikodla_Deactivator::deactivate(); 56 } 57 57 58 register_activation_hook( __FILE__, 'activate_right_click_menu_hayatikodla');59 register_deactivation_hook( __FILE__, 'deactivate_right_click_menu_hayatikodla');58 register_activation_hook(__FILE__, 'activate_right_click_menu_hayatikodla'); 59 register_deactivation_hook(__FILE__, 'deactivate_right_click_menu_hayatikodla'); 60 60 61 /**62 * The core plugin class that is used to define internationalization,63 * admin-specific hooks, and public-facing site hooks.64 */65 require plugin_dir_path( __FILE__ ) .'includes/class-right-click-menu-hayatikodla.php';61 /** 62 * The core plugin class that is used to define internationalization, 63 * admin-specific hooks, and public-facing site hooks. 64 */ 65 require plugin_dir_path(__FILE__).'includes/class-right-click-menu-hayatikodla.php'; 66 66 67 /**68 * Begins execution of the plugin.69 *70 * Since everything within the plugin is registered via hooks,71 * then kicking off the plugin from this point in the file does72 * not affect the page life cycle.73 *74 * @since 1.0.075 */76 function run_right_click_menu_hayatikodla(){67 /** 68 * Begins execution of the plugin. 69 * 70 * Since everything within the plugin is registered via hooks, 71 * then kicking off the plugin from this point in the file does 72 * not affect the page life cycle. 73 * 74 * @since 1.0.0 75 */ 76 function run_right_click_menu_hayatikodla(){ 77 77 78 $plugin = new Right_Click_Menu_Hayatikodla();79 $plugin->run();78 $plugin = new Right_Click_Menu_Hayatikodla(); 79 $plugin->run(); 80 80 81 } 82 run_right_click_menu_hayatikodla(); 81 } 82 83 run_right_click_menu_hayatikodla();
Note: See TracChangeset
for help on using the changeset viewer.