PluginProbe
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts / 2.2.7
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts v2.2.7
2.7.7 2.7.6 2.7.5 2.7.4 trunk 1.3 2.0.4 2.0.6 2.1.91 2.2.4 2.2.7 2.2.9 2.3.1 2.3.10 2.4.10 2.4.2 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.6.0 2.6.1 2.7.0 All 28 releases
← All changes | includes/class.helpers.php +7 -7 2.2.92.2.7 View file →
@@ -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-422 factory-fontawesome-000";
555 + return "factory-bootstrap-420 factory-fontawesome-000";
556 556 }
557 557
558 558 /**
559 - * Wrapper for Wbcr_FactoryForms419_OptionsValueProvider object
559 + * Wrapper for Wbcr_FactoryForms417_OptionsValueProvider object
560 560 *
561 561 * @param $plugin
562 562 *
563 - * @return Wbcr_FactoryForms419_OptionsValueProvider
563 + * @return Wbcr_FactoryForms417_OptionsValueProvider
564 564 */
565 565 public static function get_options_value_provider( $plugin ) {
566 - return new Wbcr_FactoryForms419_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_FactoryForms419_Form
575 + * @return Wbcr_FactoryForms417_Form
576 576 */
577 577 public static function get_factory_form( $options, $plugin ) {
578 - return new Wbcr_FactoryForms419_Form( $options, $plugin );
578 + return new Wbcr_FactoryForms417_Form( $options, $plugin );
579 579 }
580 580
581 581 /**
582 582 * Wrapper for register factory metaboxes