File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1212 fail-fast : false
1313 matrix :
1414 env : ["default","gutenberg", "gutenberg-datatable"]
15- runs-on : ubuntu-16.04
15+ runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v2
1818 - uses : actions/setup-node@v2
Original file line number Diff line number Diff line change @@ -740,7 +740,7 @@ public static final function get_features_for_license( $plan ) {
740740 */
741741 public static function get_chart_data ( $ chart , $ type , $ run_filter = true ) {
742742 // change HTML entities
743- $ data = unserialize ( html_entity_decode ( $ chart ->post_content ) );
743+ $ data = unserialize ( html_entity_decode ( htmlentities ( $ chart ->post_content ) ) );
744744 $ altered = array ();
745745 foreach ( $ data as $ index => $ array ) {
746746 if ( ! is_array ( $ index ) && is_array ( $ array ) ) {
You can’t perform that action at this time.
0 commit comments