Support » Plugin: Contact Form 7 Phone Module » How to make it work on WP 4.1 ?

  • Any Idea how to add phone module on WP 4.1?

    i tried this and its not working:

    Adding to what Wbennet said this is what I did to make it work.

    Using CF7 3.8

    in wp-content/plugins/contact-form-7/includes/shortcodes.php
    line 171
    Change
    private function shortcode_parse_atts( $text ) {
    to
    public function shortcode_parse_atts( $text ) {

    Then in
    wp-content/plugins/contact-form-7-phone-mask-module/phone.php
    line 71 and 200

    Change

    global $wpcf7_shortcode_manager;
    $attr = $wpcf7_shortcode_manager->shortcode_parse_atts( $tag['attr'] );
    to
    $manager = WPCF7_ShortcodeManager::get_instance();
    $attr = $manager->shortcode_parse_atts( $tag['attr'] );

    https://wordpress.org/plugins/contact-form-7-phone-mask-module/

  • The topic ‘How to make it work on WP 4.1 ?’ is closed to new replies.