Skip to content

Commit

Permalink
deploy: 648b674
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 29, 2025
1 parent 2a843be commit b7b7196
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions includes_metabox.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@
// Show metabox status buttons.
wpt_display_metabox_status_buttons( $is_pro );
}
?>
<div class="wpt-options wpt-updates">
<?php
wpt_display_metabox_service_picker( $post );
if ( current_user_can( 'wpt_twitter_custom' ) || current_user_can( 'manage_options' ) ) {
$custom_update = get_post_meta( $post->ID, '_jd_twitter', true );
Expand Down Expand Up @@ -152,6 +155,9 @@
</p>
<?php
}
?>
</div>
<?php
} else {
?>
<input type="hidden" name='_jd_twitter' value='<?php echo esc_attr( $template ); ?>' />
Expand All @@ -161,7 +167,7 @@
<?php
}
?>
<div class='wpt-options'>
<div class='wpt-options wpt-pro'>
<div class='wptab' id='custom'>
<?php
// XPoster Pro.
Expand Down Expand Up @@ -390,7 +396,7 @@
if ( 'pro' === $is_pro ) {
?>
<p>
<a href="<?php echo esc_url( add_query_arg( 'tab', 'support', admin_url( 'admin.php?page=wp-tweets-pro' ) ) ); ?>#get-support"><?php esc_html_e( 'Get Support', 'wp-to-twitter' ); ?></a>
<span class="dashicons dashicons-sos" aria-hidden="true"></span><a href="<?php echo esc_url( add_query_arg( 'tab', 'support', admin_url( 'admin.php?page=wp-tweets-pro' ) ) ); ?>#get-support"><?php esc_html_e( 'Get Support', 'wp-to-twitter' ); ?></a>
</p>
<?php
} else {
Expand Down
2 changes: 1 addition & 1 deletion wpt_after_meta_template_box.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="includes_metabox.php.html">includes/metabox.php</a>, <a href="includes_metabox.php.html#line112">line 112</a>
<a href="includes_metabox.php.html">includes/metabox.php</a>, <a href="includes_metabox.php.html#line115">line 115</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion wpt_custom_tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="includes_metabox.php.html">includes/metabox.php</a>, <a href="includes_metabox.php.html#line143">line 143</a>
<a href="includes_metabox.php.html">includes/metabox.php</a>, <a href="includes_metabox.php.html#line149">line 149</a>
</li></ul></dd>


Expand Down

0 comments on commit b7b7196

Please sign in to comment.