| @@ -185,9 +185,9 @@ | ||
| 185 | 185 | global $post; |
| 186 | 186 | |
| 187 | 187 | $_post = $post; |
| 188 | 188 | |
| 189 | - $snippet_type = WINP_Plugin::app()->request->get( 'winp_item', WINP_SNIPPET_TYPE_PHP, 'sanitize_key' ); | |
| 189 | + $snippet_type = WINP_Plugin::app()->request->get( 'winp_item', WINP_SNIPPET_TYPE_PHP, true ); | |
| 190 | 190 | $get_post = WINP_Plugin::app()->request->get( 'post', '' ); |
| 191 | 191 | |
| 192 | 192 | if ( empty( $post_id ) && ! empty( $get_post ) && ! is_array( $get_post ) ) { |
| 193 | 193 | $post_id = esc_attr( $get_post ); |
| @@ -551,20 +551,20 @@ | ||
| 551 | 551 | * |
| 552 | 552 | * @return string |
| 553 | 553 | */ |
| 554 | 554 | public static function get_factory_class() { |
| 555 | - return "factory-bootstrap-423 factory-fontawesome-000"; | |
| 555 | + return "factory-bootstrap-420 factory-fontawesome-000"; | |
| 556 | 556 | } |
| 557 | 557 | |
| 558 | 558 | /** |
| 559 | - * Wrapper for Wbcr_FactoryForms420_OptionsValueProvider object | |
| 559 | + * Wrapper for Wbcr_FactoryForms417_OptionsValueProvider object | |
| 560 | 560 | * |
| 561 | 561 | * @param $plugin |
| 562 | 562 | * |
| 563 | - * @return Wbcr_FactoryForms420_OptionsValueProvider | |
| 563 | + * @return Wbcr_FactoryForms417_OptionsValueProvider | |
| 564 | 564 | */ |
| 565 | 565 | public static function get_options_value_provider( $plugin ) { |
| 566 | - return new Wbcr_FactoryForms420_OptionsValueProvider( $plugin ); | |
| 566 | + return new Wbcr_FactoryForms417_OptionsValueProvider( $plugin ); | |
| 567 | 567 | } |
| 568 | 568 | |
| 569 | 569 | /** |
| 570 | 570 | * Wrapper for get factory form object |
| @@ -571,12 +571,12 @@ | ||
| 571 | 571 | * |
| 572 | 572 | * @param $options |
| 573 | 573 | * @param $plugin |
| 574 | 574 | * |
| 575 | - * @return Wbcr_FactoryForms420_Form | |
| 575 | + * @return Wbcr_FactoryForms417_Form | |
| 576 | 576 | */ |
| 577 | 577 | public static function get_factory_form( $options, $plugin ) { |
| 578 | - return new Wbcr_FactoryForms420_Form( $options, $plugin ); | |
| 578 | + return new Wbcr_FactoryForms417_Form( $options, $plugin ); | |
| 579 | 579 | } |
| 580 | 580 | |
| 581 | 581 | /** |
| 582 | 582 | * Wrapper for register factory metaboxes |