Changeset 3155411
- Timestamp:
- 09/20/2024 08:36:29 PM (19 months ago)
- Location:
- gf-sort-export
- Files:
-
- 4 edited
- 1 copied
-
tags/1.1.2 (copied) (copied from gf-sort-export/trunk)
-
tags/1.1.2/gf-sort-export.php (modified) (1 diff)
-
tags/1.1.2/src/SortExportPlugin.php (modified) (2 diffs)
-
trunk/gf-sort-export.php (modified) (1 diff)
-
trunk/src/SortExportPlugin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gf-sort-export/tags/1.1.2/gf-sort-export.php
r3139709 r3155411 8 8 * License: GPL2 9 9 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 * Version: 1.1. 110 * Version: 1.1.2 11 11 */ 12 12 -
gf-sort-export/tags/1.1.2/src/SortExportPlugin.php
r2606867 r3155411 19 19 add_action('wp_ajax_gf-sort-export-store-order', \Closure::fromCallable([$this, 'storeOrder'])); 20 20 add_action('wp_ajax_gf-sort-export-get-order', \Closure::fromCallable([$this, 'getOrder'])); 21 add_action('gform_noconflict_scripts', \Closure::fromCallable([$this, 'registerNoConflictHandles'])); 22 add_action('gform_noconflict_styles', \Closure::fromCallable([$this, 'registerNoConflictHandles'])); 23 } 24 25 /** 26 * Adds the required handles to the no conflict lists. 27 * @since 1.1.2 28 */ 29 private function registerNoConflictHandles(array $handles): array 30 { 31 $handles[] = 'gf-sort-export'; 32 33 return $handles; 21 34 } 22 35 … … 27 40 private function loadScripts(): void 28 41 { 29 if (rgget('page') !== 'gf_export' || !in_array(rgget(' view'), ['', 'export_entry'], true)) {42 if (rgget('page') !== 'gf_export' || !in_array(rgget('subview'), ['', 'export_entry'], true)) { 30 43 return; 31 44 } -
gf-sort-export/trunk/gf-sort-export.php
r3139709 r3155411 8 8 * License: GPL2 9 9 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 * Version: 1.1. 110 * Version: 1.1.2 11 11 */ 12 12 -
gf-sort-export/trunk/src/SortExportPlugin.php
r2606867 r3155411 19 19 add_action('wp_ajax_gf-sort-export-store-order', \Closure::fromCallable([$this, 'storeOrder'])); 20 20 add_action('wp_ajax_gf-sort-export-get-order', \Closure::fromCallable([$this, 'getOrder'])); 21 add_action('gform_noconflict_scripts', \Closure::fromCallable([$this, 'registerNoConflictHandles'])); 22 add_action('gform_noconflict_styles', \Closure::fromCallable([$this, 'registerNoConflictHandles'])); 23 } 24 25 /** 26 * Adds the required handles to the no conflict lists. 27 * @since 1.1.2 28 */ 29 private function registerNoConflictHandles(array $handles): array 30 { 31 $handles[] = 'gf-sort-export'; 32 33 return $handles; 21 34 } 22 35 … … 27 40 private function loadScripts(): void 28 41 { 29 if (rgget('page') !== 'gf_export' || !in_array(rgget(' view'), ['', 'export_entry'], true)) {42 if (rgget('page') !== 'gf_export' || !in_array(rgget('subview'), ['', 'export_entry'], true)) { 30 43 return; 31 44 }
Note: See TracChangeset
for help on using the changeset viewer.