• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
    • Help
      • Online help
      • Learn Git
      • Welcome to Bitbucket
      • Keyboard shortcuts
    • Log In
    Blackrock
    1. Blackrock

    main

    Public
    Actions
    • Clone

    Learn more about cloning repositories

    You have read-only access

    Navigation
    • Source
    • Commits
    • Branches
    • All Branches Graph
    • Graphs
    • Forks
    1. Blackrock
    2. main

    Source

    main/wp-content/plugins/mailchimp-for-wp/includes/deprecated-functions.php
    Артем ШиряевАртем Ширяев committed 554847ddcb906 Apr 2021
    Raw file
    Source viewDiff to previous
     
    1
    <?php
    2
    ​
    3
    /**
    4
     * @use mc4wp_add_name_merge_vars()
    5
     * @deprecated 4.0
    6
     * @ignore
    7
     *
    8
     * @param array $merge_vars
    9
     * @return array
    10
     */
    11
    function mc4wp_guess_merge_vars( $merge_vars = array() ) {
    12
        _deprecated_function( __FUNCTION__, 'Mailchimp for WordPress v4.0' );
    13
        $merge_vars = mc4wp_add_name_data( $merge_vars );
    14
        $merge_vars = _mc4wp_update_groupings_data( $merge_vars );
    15
        return $merge_vars;
    16
    }
    17
    ​
    18
    /**
    19
     * Echoes a sign-up checkbox.
    20
     *
    21
     * @ignore
    22
     * @deprecated 3.0
    23
     *
    24
     * @use mc4wp_get_integration()
    25
     */
    26
    function mc4wp_checkbox() {
    27
        _deprecated_function( __FUNCTION__, 'Mailchimp for WordPress v3.0' );
    28
        mc4wp_get_integration( 'wp-comment-form' )->output_checkbox();
    29
    }
    30
    ​
    31
    /**
    32
     * Echoes a Mailchimp for WordPress form
    33
     *
    34
     * @ignore
    35
     * @deprecated 3.0
    36
     * @use mc4wp_show_form()
    37
     *
    38
     * @param int $id
    39
     * @param array $attributes
    40
     *
    41
     * @return string
    42
     *
    43
     */
    44
    function mc4wp_form( $id = 0, $attributes = array() ) {
    45
        _deprecated_function( __FUNCTION__, 'Mailchimp for WordPress v3.0', 'mc4wp_show_form' );
    46
        return mc4wp_show_form( $id, $attributes );
    47
    }
    48
    ​
    49
    /**
    50
     * @deprecated 4.1.12
    51
     * @return string
    52
     */
    53
    function mc4wp_get_current_url() {
    54
        return $mc4wp_get_current_url();
    55
    }
    • Git repository management for enterprise teams powered by Atlassian Bitbucket
    • Atlassian Bitbucket v5.10.1
    • Documentation
    • Contact Support
    • Request a feature
    • About
    • Contact Atlassian
    Atlassian

    Everything looks good. Well let you know here if theres anything you should know about.