summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/tweet.php')
-rw-r--r--plugins/jetpack/modules/shortcodes/tweet.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/jetpack/modules/shortcodes/tweet.php b/plugins/jetpack/modules/shortcodes/tweet.php
index 44bca5fd..95a3dcdd 100644
--- a/plugins/jetpack/modules/shortcodes/tweet.php
+++ b/plugins/jetpack/modules/shortcodes/tweet.php
@@ -31,7 +31,7 @@ class Jetpack_Tweet {
*
* @return string
*/
- static public function jetpack_tweet_shortcode( $atts ) {
+ public static function jetpack_tweet_shortcode( $atts ) {
$default_atts = array(
'tweet' => '',
'align' => 'none',
@@ -93,7 +93,7 @@ class Jetpack_Tweet {
*
* @return string
*/
- static public function jetpack_tweet_url_extra_args( $provider, $url, $args = array() ) {
+ public static function jetpack_tweet_url_extra_args( $provider, $url, $args = array() ) {
foreach ( self::$provider_args as $key => $value ) {
switch ( $key ) {
case 'align':
@@ -135,7 +135,7 @@ class Jetpack_Tweet {
*
* @since 4.5.0
*/
- static public function jetpack_tweet_shortcode_script() {
+ public static function jetpack_tweet_shortcode_script() {
if ( ! wp_script_is( 'twitter-widgets', 'registered' ) ) {
wp_register_script( 'twitter-widgets', 'https://platform.twitter.com/widgets.js', array(), JETPACK__VERSION, true );
wp_print_scripts( 'twitter-widgets' );