Changeset 1672096
- Timestamp:
- 06/06/2017 09:06:40 PM (9 years ago)
- Location:
- futusign/trunk
- Files:
-
- 1 added
- 5 edited
-
futusign.php (modified) (1 diff)
-
includes/class-futusign.php (modified) (1 diff)
-
public/class-futusign-public.php (modified) (1 diff)
-
public/partials/futusign-endpoint-debug.php (added)
-
public/partials/futusign-endpoint.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
futusign/trunk/futusign.php
r1671968 r1672096 11 11 * Plugin URI: https://github.com/larkintuckerllc/futusign 12 12 * Description: Manage and display digital signage content 13 * Version: 2.2. 613 * Version: 2.2.7 14 14 * Author: John Tucker 15 15 * Author URI: https://github.com/larkintuckerllc -
futusign/trunk/includes/class-futusign.php
r1671968 r1672096 93 93 public function __construct() { 94 94 $this->plugin_name = 'futusign'; 95 $this->version = '2.2. 6';95 $this->version = '2.2.7'; 96 96 $this->load_dependencies(); 97 97 $this->set_locale(); -
futusign/trunk/public/class-futusign-public.php
r1671968 r1672096 79 79 die(); 80 80 } 81 if ($futusign_debug === 'debug') { 82 require_once plugin_dir_path( __FILE__ ) . 'partials/futusign-endpoint-debug.php'; 83 futusign_endpoint($query_vars['futusign_screen_id']); 84 die(); 85 } 81 86 require_once plugin_dir_path( __FILE__ ) . 'partials/futusign-endpoint.php'; 82 87 // DEGUG 5 -
futusign/trunk/public/partials/futusign-endpoint.php
r1671968 r1672096 24 24 } 25 25 /** 26 * futusign term to id 27 * @param object $o The term 28 * @return number the id 29 * 30 * @since 2.2.7 31 */ 32 function futusign_term_to_id($o) { 33 return $o->term_id; 34 } 35 /** 26 36 * futusign endpoint 27 37 * @param number $screen_id The screen id … … 35 45 echo 6; 36 46 die(); 37 }38 function term_to_id($o) {39 return $o->term_id;40 47 } 41 48 $screen = null; … … 78 85 // SUBSCRIBED PLAYLISTS 79 86 $playlist_terms = get_the_terms( $id, 'futusign_playlist'); 80 $subscribed_playlist_ids = $playlist_terms ? array_map(' term_to_id', $playlist_terms) : [];87 $subscribed_playlist_ids = $playlist_terms ? array_map('futusign_term_to_id', $playlist_terms) : []; 81 88 // SUBSCRIBED OVERRIDES 82 89 if (class_exists( 'Futusign_Override' )) { 83 90 $override_terms = get_the_terms( $id, 'futusign_override'); 84 $subscribed_override_ids = $override_terms ? array_map(' term_to_id', $override_terms) : [];91 $subscribed_override_ids = $override_terms ? array_map('futusign_term_to_id', $override_terms) : []; 85 92 } 86 93 // POLLING -
futusign/trunk/readme.txt
r1671968 r1672096 4 4 Requires at least: 4.3 5 5 Tested up to: 4.7 6 Stable tag: 2.2. 66 Stable tag: 2.2.7 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl.html … … 22 22 23 23 == Changelog == 24 25 = 2.2.7 = 26 27 Still tracking down bug with customer site; adding more debugging. 24 28 25 29 = 2.2.6 =
Note: See TracChangeset
for help on using the changeset viewer.