Changeset 3140716
- Timestamp:
- 08/24/2024 10:13:06 AM (19 months ago)
- Location:
- advanced-import
- Files:
-
- 39 added
- 4 edited
-
tags/1.4.3 (added)
-
tags/1.4.3/LICENSE.txt (added)
-
tags/1.4.3/admin (added)
-
tags/1.4.3/admin/class-advanced-import-admin.php (added)
-
tags/1.4.3/admin/class-advanced-import-tracking.php (added)
-
tags/1.4.3/admin/class-elementor-import.php (added)
-
tags/1.4.3/admin/class-reset.php (added)
-
tags/1.4.3/admin/index.php (added)
-
tags/1.4.3/advanced-import.php (added)
-
tags/1.4.3/assets (added)
-
tags/1.4.3/assets/css (added)
-
tags/1.4.3/assets/css/advanced-import-admin.min.css (added)
-
tags/1.4.3/assets/js (added)
-
tags/1.4.3/assets/js/advanced-import-admin.min.js (added)
-
tags/1.4.3/assets/library (added)
-
tags/1.4.3/assets/library/isotope (added)
-
tags/1.4.3/assets/library/isotope/isotope.pkgd.min.js (added)
-
tags/1.4.3/assets/library/sweetalert2 (added)
-
tags/1.4.3/assets/library/sweetalert2/sweetalert2.all.js (added)
-
tags/1.4.3/assets/library/sweetalert2/sweetalert2.all.min.js (added)
-
tags/1.4.3/example.php (added)
-
tags/1.4.3/includes (added)
-
tags/1.4.3/includes/class-advanced-import-activator.php (added)
-
tags/1.4.3/includes/class-advanced-import-cron.php (added)
-
tags/1.4.3/includes/class-advanced-import-deactivator.php (added)
-
tags/1.4.3/includes/class-advanced-import-i18n.php (added)
-
tags/1.4.3/includes/class-advanced-import-loader.php (added)
-
tags/1.4.3/includes/class-advanced-import.php (added)
-
tags/1.4.3/includes/class-theme-template-library-base.php (added)
-
tags/1.4.3/includes/functions-advanced-import.php (added)
-
tags/1.4.3/includes/index.php (added)
-
tags/1.4.3/includes/theme-template-library (added)
-
tags/1.4.3/includes/theme-template-library/acmethemes.php (added)
-
tags/1.4.3/includes/theme-template-library/cosmoswp.php (added)
-
tags/1.4.3/index.php (added)
-
tags/1.4.3/languages (added)
-
tags/1.4.3/languages/advanced-import.pot (added)
-
tags/1.4.3/readme.txt (added)
-
tags/1.4.3/uninstall.php (added)
-
trunk/admin/class-advanced-import-admin.php (modified) (1 diff)
-
trunk/advanced-import.php (modified) (2 diffs)
-
trunk/includes/class-advanced-import.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
advanced-import/trunk/admin/class-advanced-import-admin.php
r3136465 r3140716 184 184 // Always return the instance. 185 185 return $instance; 186 } 187 188 /** 189 * Add plugin menu items. 190 * 191 * @access public 192 * 193 * @since 1.0.0 194 * @param string[] $actions An array of plugin action links. By default this can include 195 * 'activate', 'deactivate', and 'delete'. With Multisite active 196 * this can also include 'network_active' and 'network_only' items. 197 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 198 * @param array $plugin_data An array of plugin data. See get_plugin_data() 199 * and the {@see 'plugin_row_meta'} filter for the list 200 * of possible values. 201 * @param string $context The plugin context. By default this can include 'all', 202 * 'active', 'inactive', 'recently_activated', 'upgrade', 203 * 'mustuse', 'dropins', and 'search'. 204 * @return array settings schema for this plugin. 205 */ 206 public function add_plugin_links( $actions, $plugin_file, $plugin_data, $context ) { 207 $actions[] = '<a href="' . esc_url( menu_page_url( 'advanced-import', false ) ) . '">' . esc_html__( 'Import', 'advanced-import' ) . '</a>'; 208 return $actions; 186 209 } 187 210 -
advanced-import/trunk/advanced-import.php
r3136465 r3140716 15 15 * Plugin URI: https://addonspress.com/item/advanced-import 16 16 * Description: Easily import demo data starter site packages or Migrate your site data 17 * Version: 1.4. 217 * Version: 1.4.3 18 18 * Author: AddonsPress 19 19 * Author URI: https://addonspress.com/ … … 25 25 26 26 /*Define Constants for this plugin*/ 27 define( 'ADVANCED_IMPORT_VERSION', '1.4. 2' );27 define( 'ADVANCED_IMPORT_VERSION', '1.4.3' ); 28 28 define( 'ADVANCED_IMPORT_PLUGIN_NAME', 'advanced-import' ); 29 29 define( 'ADVANCED_IMPORT_PATH', plugin_dir_path( __FILE__ ) ); -
advanced-import/trunk/includes/class-advanced-import.php
r3066245 r3140716 233 233 234 234 $this->loader = new Advanced_Import_Loader(); 235 236 235 } 237 236 … … 250 249 251 250 $this->loader->add_action( 'plugins_loaded', $this->plugin_i18n, 'load_plugin_textdomain' ); 252 253 251 } 254 252 … … 272 270 /*add menu*/ 273 271 $this->loader->add_action( 'admin_menu', $this->admin, 'import_menu' ); 272 $this->loader->add_filter( 'plugin_action_links_advanced-import/advanced-import.php', $this->admin, 'add_plugin_links', 10, 4 ); 274 273 $this->loader->add_action( 'current_screen', $this->admin, 'help_tabs' ); 275 274 … … 288 287 $this->loader->add_action( 'admin_notices', advanced_import_reset_wordpress(), 'reset_wizard_notice', -1 ); 289 288 $this->loader->add_action( 'wp_ajax_advanced_import_before_reset', advanced_import_reset_wordpress(), 'before_reset' ); 290 291 289 } 292 290 -
advanced-import/trunk/readme.txt
r3136466 r3140716 3 3 Contributors: addonspress, codersantosh, acmeit 4 4 Donate link: https://addonspress.com/ 5 Tags: import,advanced import, demo import, theme import, widget import, customizer import5 Tags: advanced import, demo import, theme import, widget import, customizer import 6 6 Requires at least: 5.0 7 7 Tested up to: 6.6 8 8 Requires PHP: 5.6.20 9 Stable tag: 1.4. 29 Stable tag: 1.4.3 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 114 114 'slug' => 'gutentor', 115 115 ), 116 array( 117 'name' => __( 'your plugin name', 'text-domain' ), 118 'slug' => 'plugin-slug', 119 'source' => 'https://downloads.wordpress.org/plugin/advanced-import.1.4.1.zip', //full url with zip, your theme url, or any site link with zip will work 120 ), 116 121 ) 117 122 ), … … 225 230 == Changelog == 226 231 232 = 1.4.3 - 2024-08-24 = 233 * Added: Plugin link to Import. 234 227 235 = 1.4.2 - 2024-08-16 = 228 236 * Added: Developers can now enable plugin installation from a URL by including source in the demo list array. This is ideal for plugins hosted outside of WordPress.org. Important: If a recommended plugin is already available on WordPress.org, there's no need to use the "source" option. … … 236 244 ), 237 245 ) 238 239 246 ` 240 247
Note: See TracChangeset
for help on using the changeset viewer.