Changeset 1896830
- Timestamp:
- 06/22/2018 03:58:35 AM (8 years ago)
- Location:
- profile-tabs-for-ultimate-member
- Files:
-
- 10 edited
- 1 copied
-
tags/2.0.2 (copied) (copied from profile-tabs-for-ultimate-member/trunk)
-
tags/2.0.2/core.php (modified) (3 diffs)
-
tags/2.0.2/metabox.php (modified) (1 diff)
-
tags/2.0.2/pp-tabs.php (modified) (1 diff)
-
tags/2.0.2/readme.txt (modified) (2 diffs)
-
tags/2.0.2/shortcode.php (modified) (1 diff)
-
trunk/core.php (modified) (3 diffs)
-
trunk/metabox.php (modified) (1 diff)
-
trunk/pp-tabs.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/shortcode.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
profile-tabs-for-ultimate-member/tags/2.0.2/core.php
r1858191 r1896830 42 42 function show_profile_tab_content() { 43 43 44 global $ultimatemember;45 46 44 $tab = UM()->profile()->active_tab(); 47 45 … … 65 63 add_action( "um_profile_content_{$tab}_default", function () use ( $main_tab ) { 66 64 67 $tab_content = apply_filters( 'the_content', $main_tab[0]->post_content ); 65 $tab_content = $main_tab[0]->post_content; 66 67 if ( ( ! defined( 'PP_TABS_PRO_VERSION' ) ) && has_shortcode( $tab_content, 'ultimatemember' ) ) { 68 // The content has a [ultimatemember] short code; 69 // strip all shortcodes from the content to avoid recursion & timeout 70 $tab_content = strip_shortcodes( $tab_content ); 71 } 72 73 $tab_content = apply_filters( 'the_content', $tab_content ); 68 74 echo $tab_content; 69 75 … … 92 98 93 99 function add_profile_tabs( $tabs ) { 94 95 global $ultimatemember;96 100 97 101 $args = array( -
profile-tabs-for-ultimate-member/tags/2.0.2/metabox.php
r1858191 r1896830 15 15 16 16 function cmb2_pp_tabs_metabox() { 17 18 global $ultimatemember;19 17 20 18 $prefix = '_pp_'; -
profile-tabs-for-ultimate-member/tags/2.0.2/pp-tabs.php
r1858363 r1896830 5 5 * Description: Add custom profile tabs to your Ultimate Member site with content area and privacy settings. 6 6 * Author: PlusPlugins 7 * Version: 2.0. 17 * Version: 2.0.2 8 8 * Author URI: https://www.plusplugins.com 9 9 * Text Domain: profile-tabs-for-ultimate-member -
profile-tabs-for-ultimate-member/tags/2.0.2/readme.txt
r1858363 r1896830 4 4 Tags: ultimate member, ultimatemember, user profiles, tabs, profile tabs, custom tabs, user tabs, member tabs, reorder tabs, sort tabs, membership tabs, extra tabs 5 5 Requires at least: 4.1, Ultimate Member: 2.0.4 6 Tested up to: 4.9. 5, Ultimate Member: 2.0.86 Tested up to: 4.9.6, Ultimate Member: 2.0.17 7 7 Requires PHP: 5.6 8 Stable tag: 2.0. 18 Stable tag: 2.0.2 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 83 83 == Changelog == 84 84 85 = 2.0.2 = 86 * Fix: Timeout issue when UM Profile Form shortcode is used 87 85 88 = 2.0.0 = 86 89 * Update: Confirm UM 2.0 compatibility -
profile-tabs-for-ultimate-member/tags/2.0.2/shortcode.php
r1858191 r1896830 7 7 8 8 function output_field( $atts ) { 9 global $ultimatemember;10 9 11 10 $a = shortcode_atts( array( -
profile-tabs-for-ultimate-member/trunk/core.php
r1858191 r1896830 42 42 function show_profile_tab_content() { 43 43 44 global $ultimatemember;45 46 44 $tab = UM()->profile()->active_tab(); 47 45 … … 65 63 add_action( "um_profile_content_{$tab}_default", function () use ( $main_tab ) { 66 64 67 $tab_content = apply_filters( 'the_content', $main_tab[0]->post_content ); 65 $tab_content = $main_tab[0]->post_content; 66 67 if ( ( ! defined( 'PP_TABS_PRO_VERSION' ) ) && has_shortcode( $tab_content, 'ultimatemember' ) ) { 68 // The content has a [ultimatemember] short code; 69 // strip all shortcodes from the content to avoid recursion & timeout 70 $tab_content = strip_shortcodes( $tab_content ); 71 } 72 73 $tab_content = apply_filters( 'the_content', $tab_content ); 68 74 echo $tab_content; 69 75 … … 92 98 93 99 function add_profile_tabs( $tabs ) { 94 95 global $ultimatemember;96 100 97 101 $args = array( -
profile-tabs-for-ultimate-member/trunk/metabox.php
r1858191 r1896830 15 15 16 16 function cmb2_pp_tabs_metabox() { 17 18 global $ultimatemember;19 17 20 18 $prefix = '_pp_'; -
profile-tabs-for-ultimate-member/trunk/pp-tabs.php
r1858363 r1896830 5 5 * Description: Add custom profile tabs to your Ultimate Member site with content area and privacy settings. 6 6 * Author: PlusPlugins 7 * Version: 2.0. 17 * Version: 2.0.2 8 8 * Author URI: https://www.plusplugins.com 9 9 * Text Domain: profile-tabs-for-ultimate-member -
profile-tabs-for-ultimate-member/trunk/readme.txt
r1858363 r1896830 4 4 Tags: ultimate member, ultimatemember, user profiles, tabs, profile tabs, custom tabs, user tabs, member tabs, reorder tabs, sort tabs, membership tabs, extra tabs 5 5 Requires at least: 4.1, Ultimate Member: 2.0.4 6 Tested up to: 4.9. 5, Ultimate Member: 2.0.86 Tested up to: 4.9.6, Ultimate Member: 2.0.17 7 7 Requires PHP: 5.6 8 Stable tag: 2.0. 18 Stable tag: 2.0.2 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 83 83 == Changelog == 84 84 85 = 2.0.2 = 86 * Fix: Timeout issue when UM Profile Form shortcode is used 87 85 88 = 2.0.0 = 86 89 * Update: Confirm UM 2.0 compatibility -
profile-tabs-for-ultimate-member/trunk/shortcode.php
r1858191 r1896830 7 7 8 8 function output_field( $atts ) { 9 global $ultimatemember;10 9 11 10 $a = shortcode_atts( array(
Note: See TracChangeset
for help on using the changeset viewer.