Changeset 3078973
- Timestamp:
- 04/29/2024 07:39:10 PM (2 years ago)
- Location:
- ultimate-member-job-manager
- Files:
-
- 23 added
- 4 edited
-
tags/1.0.1.2 (added)
-
tags/1.0.1.2/assets (added)
-
tags/1.0.1.2/contributors.txt (added)
-
tags/1.0.1.2/languages (added)
-
tags/1.0.1.2/languages/ultimate-member-job-manager-en_US.mo (added)
-
tags/1.0.1.2/languages/ultimate-member-job-manager-en_US.po (added)
-
tags/1.0.1.2/languages/ultimate-member-job-manager.pot (added)
-
tags/1.0.1.2/readme.txt (added)
-
tags/1.0.1.2/templates (added)
-
tags/1.0.1.2/templates/um-job-alerts-content.php (added)
-
tags/1.0.1.2/templates/um-job-dashboard-content.php (added)
-
tags/1.0.1.2/templates/um-jobs-content.php (added)
-
tags/1.0.1.2/templates/um-my-bookmarks-content.php (added)
-
tags/1.0.1.2/templates/um-submit-job-form-content.php (added)
-
tags/1.0.1.2/ultimate-member-components (added)
-
tags/1.0.1.2/ultimate-member-components/wp-job-manager (added)
-
tags/1.0.1.2/ultimate-member-components/wp-job-manager/class-um-wp-job-manager.php (added)
-
tags/1.0.1.2/ultimate-member-components/wp-job-manager/shortcode-action-handler (added)
-
tags/1.0.1.2/ultimate-member-components/wp-job-manager/shortcode-action-handler/class-um-wp-job-manager-shortcode-action-handler.php (added)
-
tags/1.0.1.2/ultimate-member-components/wp-job-manager/um-wp-job-manager (added)
-
tags/1.0.1.2/ultimate-member-components/wp-job-manager/um-wp-job-manager/um-wp-job-manager-functions.php (added)
-
tags/1.0.1.2/ultimate-member-components/wp-job-manager/um-wp-job-manager/um-wp-job-manager-loader.php (added)
-
tags/1.0.1.2/ultimate-member-job-manager.php (added)
-
trunk/contributors.txt (modified) (previous)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/ultimate-member-components/wp-job-manager/shortcode-action-handler/class-um-wp-job-manager-shortcode-action-handler.php (modified) (8 diffs)
-
trunk/ultimate-member-job-manager.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ultimate-member-job-manager/trunk/readme.txt
r2172651 r3078973 1 1 === Ultimate Member & Job Manager === 2 Contributors: suiteplugins ,kishores2 Contributors: suiteplugins 3 3 Donate link: https://www.suiteplugins.com 4 4 Tags: ultimate-member,ultimate-member-job-manager, wp-job-manager, wp-job-manager-applications, wp-job-manager-bookmarks, wp-job-manager-job-alerts, wp-job-manager-resume-manager, ultimatemember 5 Requires at least: WP 3.86 Tested up to: 5.2.37 Stable tag: 1.0.1. 18 Requires PHP: 5.65 Requires at least: WP 6.5 6 Tested up to: 6.5.2 7 Stable tag: 1.0.1.2 8 Requires PHP: 6.7 9 9 License: v3.0 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 61 61 * Tested on WordPress 5.2.3 and WP Job Manager 1.34.0 62 62 63 = 1.0.1.2 = 64 65 * Fixed: Quick fix to breaking changes from latest WP Job Manager update 63 66 64 67 == Upgrade Notice == -
ultimate-member-job-manager/trunk/ultimate-member-components/wp-job-manager/shortcode-action-handler/class-um-wp-job-manager-shortcode-action-handler.php
r2047410 r3078973 1 1 <?php 2 /** 3 * WP Job Manager Shortcode Action Handler 4 * 5 * @package Ultimate Member Job Manager 6 */ 2 7 3 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 8 if ( ! defined( 'ABSPATH' ) ) { 9 exit; // Exit if accessed directly 10 } 4 11 5 12 if ( class_exists( 'WP_Job_Manager_Shortcodes' ) ) { … … 8 15 */ 9 16 class UM_WP_Job_Manager_Shortcode_Action_Handler extends WP_Job_Manager_Shortcodes { 10 17 11 18 /** 12 19 * __construct function. … … 18 25 add_action( 'wp', array( $this, 'shortcode_action_handler' ) ); 19 26 } 20 27 21 28 /** 22 29 * Handle actions which need to be run before the shortcode e.g. post actions … … 24 31 public function shortcode_action_handler() { 25 32 global $post; 26 $this->job_dashboard_handler(); 33 // gracefull stop if method exists. 34 if ( method_exists( $this, 'output_job_dashboard' ) ) { 35 $this->output_job_dashboard(); 36 } 27 37 } 28 38 } 29 39 30 40 new UM_WP_Job_Manager_Shortcode_Action_Handler(); 31 41 } … … 36 46 */ 37 47 class UM_WP_Job_Manager_Alerts_Shortcodes_Action_Handler extends WP_Job_Manager_Alerts_Shortcodes { 38 48 39 49 /** 40 50 * __construct function. … … 46 56 parent::__construct(); 47 57 add_action( 'wp', array( $this, 'shortcode_action_handler' ) ); 48 58 49 59 $this->action = isset( $_REQUEST['action'] ) ? sanitize_title( $_REQUEST['action'] ) : ''; 50 60 } 51 61 52 62 /** 53 63 * Handle actions which need to be run before the shortcode e.g. post actions … … 55 65 public function shortcode_action_handler() { 56 66 global $post; 57 58 $this->job_alerts_handler(); 67 68 // gracefull stop if method exists. 69 if ( method_exists( $this, 'job_alerts_handler' ) ) { 70 $this->job_alerts_handler(); 71 } 59 72 } 60 73 } 61 74 62 75 new UM_WP_Job_Manager_Alerts_Shortcodes_Action_Handler(); 63 76 } 64 77 65 78 if ( class_exists( 'WP_Job_Manager_Applications_Dashboard' ) ) { 66 79 67 80 /** 68 81 * UM_WP_Job_Manager_Applications_Dashboard_Shortcodes_CSV_Handler class. 69 82 */ 70 class UM_WP_Job_Manager_Applications_Dashboard_Shortcodes_CSV_Handler extends WP_Job_Manager_Applications_Dashboard {71 83 class UM_WP_Job_Manager_Applications_Dashboard_Shortcodes_CSV_Handler extends WP_Job_Manager_Applications_Dashboard { 84 72 85 /** 73 86 * __construct function. … … 78 91 } 79 92 } 80 93 81 94 new UM_WP_Job_Manager_Applications_Dashboard_Shortcodes_CSV_Handler(); 82 95 } -
ultimate-member-job-manager/trunk/ultimate-member-job-manager.php
r2172651 r3078973 1 1 <?php 2 /* 3 Plugin Name: Ultimate Member Job Manager 4 Plugin URI: http://suiteplugins.com/ 5 Description: This plugin integrates WP Job Manager and its extensions into your Ultimate Member user profiles. This plugin needs Ultimate Member and WP Job Manager to be installed. Ultimate Member Job Manager is compatible with the following WP Job Manager extensions: Applications, Bookmarks and Job Alerts. 6 Author: SuitePlugins 7 Author URI: http://suiteplugins.com 8 Version: 1.0.1.1 9 Requires at least: 3.8 10 Tested up to: 5.2.3 11 Network: true 12 Text Domain: ultimate-member-job-manager 13 Domain Path: /languages/ 14 15 License: GNU General Public License v3.0 16 License URI: http://www.gnu.org/licenses/gpl-3.0.html 2 /** 3 * Plugin Name: Ultimate Member Job Manager 4 * Plugin URI: http://suiteplugins.com/ 5 * Description: This plugin integrates WP Job Manager and Ultimate Member user profiles. 6 * Author: SuitePlugins 7 * Author URI: http://suiteplugins.com 8 * Version: 1.0.1.2 9 * Requires at least: 7.0.0 10 * Tested up to: 6.5.2 11 * Network: true 12 * Text Domain: ultimate-member-job-manager 13 * Domain Path: /languages/ 14 * License: GNU General Public License v3.0 15 * License URI: http://www.gnu.org/licenses/gpl-3.0.html 16 * 17 * @package Ultimate Member Job Manager 17 18 */ 18 19 19 20 // Exit if accessed directly 20 if ( ! defined( 'ABSPATH' ) ) exit; 21 21 if ( ! defined( 'ABSPATH' ) ) { 22 exit; 23 } 22 24 23 25 if ( ! defined( 'ULTIMATE_MEMBER_WP_JOB_MANAGER_PLUGIN_DIR ' ) ) { … … 41 43 42 44 // wp-content/plugins/um-events/languages/plugin-name-de_DE.mo 43 load_plugin_textdomain( $domain, false, basename( dirname( __FILE__ )) . '/languages/' );45 load_plugin_textdomain( $domain, false, basename( __DIR__ ) . '/languages/' ); 44 46 } 45 47 46 48 function init_um_wp_job_manager_component() { 47 include ( ULTIMATE_MEMBER_WP_JOB_MANAGER . 'class-um-wp-job-manager.php' );49 include ULTIMATE_MEMBER_WP_JOB_MANAGER . 'class-um-wp-job-manager.php'; 48 50 } 49 51 50 52 add_action( 'init', 'init_um_wp_job_manager_component', 40 ); 51 52
Note: See TracChangeset
for help on using the changeset viewer.