Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/meks-sma.../inc
File: class-social-widget.php
<?php
[0] Fix | Delete
/*-----------------------------------------------------------------------------------*/
[1] Fix | Delete
/* Social Widget Class
[2] Fix | Delete
/*-----------------------------------------------------------------------------------*/
[3] Fix | Delete
[4] Fix | Delete
class MKS_Social_Widget extends WP_Widget {
[5] Fix | Delete
[6] Fix | Delete
public $defaults;
[7] Fix | Delete
[8] Fix | Delete
function __construct() {
[9] Fix | Delete
$widget_ops = array( 'classname' => 'mks_social_widget', 'description' => __( 'Display your social icons with this widget', 'meks-smart-social-widget' ) );
[10] Fix | Delete
$control_ops = array( 'id_base' => 'mks_social_widget' );
[11] Fix | Delete
parent::__construct( 'mks_social_widget', __( 'Meks Social Widget', 'meks-smart-social-widget' ), $widget_ops, $control_ops );
[12] Fix | Delete
[13] Fix | Delete
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
[14] Fix | Delete
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ) );
[15] Fix | Delete
add_filter( 'use_widgets_block_editor', '__return_false' );
[16] Fix | Delete
[17] Fix | Delete
$this->defaults = array(
[18] Fix | Delete
'title' => __( 'Follow Me', 'meks-smart-social-widget' ),
[19] Fix | Delete
'content' => '',
[20] Fix | Delete
'style' => 'square',
[21] Fix | Delete
'size' => 48,
[22] Fix | Delete
'font_size' => 16,
[23] Fix | Delete
'target' => '_blank',
[24] Fix | Delete
'social' => array()
[25] Fix | Delete
);
[26] Fix | Delete
[27] Fix | Delete
//Allow themes or plugins to modify default parameters
[28] Fix | Delete
$this->defaults = apply_filters( 'mks_social_widget_modify_defaults', $this->defaults );
[29] Fix | Delete
[30] Fix | Delete
}
[31] Fix | Delete
[32] Fix | Delete
function enqueue_scripts() {
[33] Fix | Delete
wp_register_style( 'meks-social-widget', MKS_SOCIAL_WIDGET_URL.'css/style.css', false, MKS_SOCIAL_WIDGET_VER );
[34] Fix | Delete
wp_enqueue_style( 'meks-social-widget' );
[35] Fix | Delete
}
[36] Fix | Delete
[37] Fix | Delete
function enqueue_admin_scripts() {
[38] Fix | Delete
wp_enqueue_script( 'meks-social-widget-js', MKS_SOCIAL_WIDGET_URL.'js/main.js', array( 'jquery', 'jquery-ui-sortable' ), MKS_SOCIAL_WIDGET_VER );
[39] Fix | Delete
wp_enqueue_style( 'mks-social-widget-css', MKS_SOCIAL_WIDGET_URL . 'css/admin.css', false, MKS_SOCIAL_WIDGET_VER );
[40] Fix | Delete
}
[41] Fix | Delete
[42] Fix | Delete
function widget( $args, $instance ) {
[43] Fix | Delete
[44] Fix | Delete
extract( $args );
[45] Fix | Delete
[46] Fix | Delete
$instance = wp_parse_args( (array) $instance, $this->defaults );
[47] Fix | Delete
[48] Fix | Delete
$title = apply_filters( 'widget_title', $instance['title'] );
[49] Fix | Delete
echo $before_widget;
[50] Fix | Delete
[51] Fix | Delete
if ( !empty( $title ) ) {
[52] Fix | Delete
echo $before_title . wp_kses_post($title) . $after_title;
[53] Fix | Delete
}
[54] Fix | Delete
?>
[55] Fix | Delete
[56] Fix | Delete
<?php if ( !empty( $instance['content'] ) ) : ?>
[57] Fix | Delete
<?php echo wp_kses_post( wpautop($instance['content'] ) ); ?>
[58] Fix | Delete
<?php endif; ?>
[59] Fix | Delete
[60] Fix | Delete
<?php if ( !empty( $instance['social'] ) ): ?>
[61] Fix | Delete
<?php
[62] Fix | Delete
$size_style = 'style="width: '.esc_attr( $instance['size'] ).'px; height: '.esc_attr( $instance['size'] ).'px; font-size: '.esc_attr( $instance['font_size'] ).'px;line-height:'.esc_attr( $instance['size']+ceil( $instance['font_size']/3.5 ) ).'px;"';
[63] Fix | Delete
[64] Fix | Delete
$target = $instance['target'] == '_blank' ? 'target="'.esc_attr( $instance['target'] ).'" rel="noopener"' : 'target="'.esc_attr( $instance['target'] ).'"' ;
[65] Fix | Delete
?>
[66] Fix | Delete
<ul class="mks_social_widget_ul">
[67] Fix | Delete
<?php foreach ( $instance['social'] as $item ) : ?>
[68] Fix | Delete
<li><a href="<?php echo esc_url($item['url']); ?>" title="<?php echo esc_attr( $this->get_social_title( $item['icon'] ) ); ?>" class="socicon-<?php echo esc_attr( $item['icon'] ); ?> <?php echo esc_attr( 'soc_'.$instance['style'] ); ?>" <?php echo $target; ?> <?php echo $size_style; ?>><span><?php echo esc_html($item['icon']); ?></span></a></li>
[69] Fix | Delete
<?php endforeach; ?>
[70] Fix | Delete
</ul>
[71] Fix | Delete
<?php endif; ?>
[72] Fix | Delete
[73] Fix | Delete
[74] Fix | Delete
<?php
[75] Fix | Delete
echo $after_widget;
[76] Fix | Delete
}
[77] Fix | Delete
[78] Fix | Delete
[79] Fix | Delete
[80] Fix | Delete
function update( $new_instance, $old_instance ) {
[81] Fix | Delete
$instance = $old_instance;
[82] Fix | Delete
$instance['title'] = wp_strip_all_tags( $new_instance['title'] );
[83] Fix | Delete
$instance['content'] = $new_instance['content'];
[84] Fix | Delete
$instance['style'] = $new_instance['style'];
[85] Fix | Delete
$instance['size'] = absint( $new_instance['size'] );
[86] Fix | Delete
$instance['font_size'] = absint( $new_instance['font_size'] );
[87] Fix | Delete
$instance['target'] = $new_instance['target'];
[88] Fix | Delete
$instance['social'] = array();
[89] Fix | Delete
if ( !empty( $new_instance['social_icon'] ) ) {
[90] Fix | Delete
$protocols = wp_allowed_protocols();
[91] Fix | Delete
$protocols[] = 'skype'; //allow skype call protocol
[92] Fix | Delete
for ( $i=0; $i < ( count( $new_instance['social_icon'] ) - 1 ); $i++ ) {
[93] Fix | Delete
$temp = array( 'icon' => $new_instance['social_icon'][$i], 'url' => esc_url( $new_instance['social_url'][$i], $protocols ) );
[94] Fix | Delete
$instance['social'][] = $temp;
[95] Fix | Delete
}
[96] Fix | Delete
}
[97] Fix | Delete
return $instance;
[98] Fix | Delete
}
[99] Fix | Delete
[100] Fix | Delete
function form( $instance ) {
[101] Fix | Delete
[102] Fix | Delete
$instance = wp_parse_args( (array) $instance, $this->defaults );
[103] Fix | Delete
[104] Fix | Delete
$social_links = $this->get_social();
[105] Fix | Delete
?>
[106] Fix | Delete
[107] Fix | Delete
<p>
[108] Fix | Delete
<label for="<?php echo esc_attr($this->get_field_id( 'title' )); ?>"><?php esc_html_e( 'Title', 'meks-smart-social-widget' ); ?>:</label>
[109] Fix | Delete
<input id="<?php echo esc_attr($this->get_field_id( 'title' )); ?>" type="text" name="<?php echo esc_attr($this->get_field_name( 'title' )); ?>" value="<?php echo esc_attr($instance['title']); ?>" class="widefat" />
[110] Fix | Delete
</p>
[111] Fix | Delete
<p>
[112] Fix | Delete
<label for="<?php echo esc_attr($this->get_field_id( 'content' )); ?>"><?php esc_html_e( 'Introduction text (optional)', 'meks-smart-social-widget' ); ?>:</label>
[113] Fix | Delete
<textarea id="<?php echo esc_attr($this->get_field_id( 'content' )); ?>" rows="5" name="<?php echo esc_attr($this->get_field_name( 'content' )); ?>" class="widefat"><?php echo wp_kses_post($instance['content']); ?></textarea>
[114] Fix | Delete
</p>
[115] Fix | Delete
[116] Fix | Delete
<p>
[117] Fix | Delete
<span class="mks-option-label mks-option-fl"><?php esc_html_e( 'Icon shape', 'meks-smart-social-widget' ); ?>:</span><br/>
[118] Fix | Delete
<div class="mks-option-radio-wrapper">
[119] Fix | Delete
[120] Fix | Delete
<label class="mks-option-radio"><input type="radio" name="<?php echo esc_attr($this->get_field_name( 'style' )); ?>" value="square" <?php checked( $instance['style'], 'square' ); ?>/><?php esc_html_e( 'Square', 'meks-smart-social-widget' ); ?></label><br/>
[121] Fix | Delete
<label class="mks-option-radio"><input type="radio" name="<?php echo esc_attr($this->get_field_name( 'style' )); ?>" value="circle" <?php checked( $instance['style'], 'circle' ); ?>/><?php esc_html_e( 'Circle', 'meks-smart-social-widget' ); ?></label><br/>
[122] Fix | Delete
<label class="mks-option-radio"><input type="radio" name="<?php echo esc_attr($this->get_field_name( 'style' )); ?>" value="rounded" <?php checked( $instance['style'], 'rounded' ); ?>/><?php esc_html_e( 'Rounded corners', 'meks-smart-social-widget' ); ?></label>
[123] Fix | Delete
</div>
[124] Fix | Delete
</p>
[125] Fix | Delete
[126] Fix | Delete
<p>
[127] Fix | Delete
<label class="mks-option-label" for="<?php echo esc_attr($this->get_field_id( 'size' )); ?>"><?php esc_html_e( 'Icon size', 'meks-smart-social-widget' ); ?>: </label>
[128] Fix | Delete
<input id="<?php echo esc_attr($this->get_field_id( 'size' )); ?>" type="text" name="<?php echo esc_attr($this->get_field_name( 'size' )); ?>" value="<?php echo absint( $instance['size'] ); ?>" class="small-text" /> px
[129] Fix | Delete
</p>
[130] Fix | Delete
[131] Fix | Delete
[132] Fix | Delete
<p>
[133] Fix | Delete
<label class="mks-option-label" for="<?php echo esc_attr($this->get_field_id( 'font_size' )); ?>"><?php esc_html_e( 'Icon font size', 'meks-smart-social-widget' ); ?>: </label>
[134] Fix | Delete
<input id="<?php echo esc_attr($this->get_field_id( 'font_size' )); ?>" type="text" name="<?php echo esc_attr($this->get_field_name( 'font_size' )); ?>" value="<?php echo absint( $instance['font_size'] ); ?>" class="small-text" /> px
[135] Fix | Delete
</p>
[136] Fix | Delete
[137] Fix | Delete
<p>
[138] Fix | Delete
<label class="mks-option-label" for="<?php echo esc_attr($this->get_field_id( 'target' )); ?>"><?php esc_html_e( 'Open links in', 'meks-smart-social-widget' ); ?>: </label>
[139] Fix | Delete
<select id="<?php echo esc_attr($this->get_field_id( 'target' )); ?>" name="<?php echo esc_attr($this->get_field_name( 'target' )); ?>">
[140] Fix | Delete
<option value="_blank" <?php selected( '_blank', $instance['target'] ); ?>><?php esc_html_e( 'New Window', 'meks-smart-social-widget' ); ?></option>
[141] Fix | Delete
<option value="_self" <?php selected( '_self', $instance['target'] ); ?>><?php esc_html_e( 'Same Window', 'meks-smart-social-widget' ); ?></option>
[142] Fix | Delete
</select>
[143] Fix | Delete
</p>
[144] Fix | Delete
[145] Fix | Delete
<h4 class="mks-icons-title"><?php esc_html_e( 'Icons', 'meks-smart-social-widget' ); ?>:</h4>
[146] Fix | Delete
[147] Fix | Delete
<ul class="mks_social_container mks-social-sortable">
[148] Fix | Delete
<?php foreach ( $instance['social'] as $link ) : ?>
[149] Fix | Delete
<li>
[150] Fix | Delete
<?php $this->draw_social( $this, $social_links, $link ); ?>
[151] Fix | Delete
</li>
[152] Fix | Delete
<?php endforeach; ?>
[153] Fix | Delete
</ul>
[154] Fix | Delete
[155] Fix | Delete
[156] Fix | Delete
<p>
[157] Fix | Delete
<a href="#" class="mks_add_social button"><?php esc_html_e( 'Add Icon', 'meks-smart-social-widget' ); ?></a>
[158] Fix | Delete
</p>
[159] Fix | Delete
[160] Fix | Delete
<div class="mks_social_clone" style="display:none">
[161] Fix | Delete
<?php $this->draw_social( $this, $social_links ); ?>
[162] Fix | Delete
</div>
[163] Fix | Delete
[164] Fix | Delete
[165] Fix | Delete
[166] Fix | Delete
<?php
[167] Fix | Delete
}
[168] Fix | Delete
[169] Fix | Delete
function draw_social( $widget, $social_links, $selected = array( 'icon' => '', 'url' => '' ) ) { ?>
[170] Fix | Delete
[171] Fix | Delete
<label class="mks-sw-icon"><?php esc_html_e( 'Icon', 'meks-smart-social-widget' ); ?> :</label>
[172] Fix | Delete
<select type="text" name="<?php echo esc_attr($widget->get_field_name( 'social_icon' )); ?>[]" value="<?php echo esc_attr($selected['icon']); ?>" style="width: 82%">
[173] Fix | Delete
<?php foreach ( $social_links as $key => $link ) : ?>
[174] Fix | Delete
<option value="<?php echo esc_attr($key); ?>" <?php selected( $key, $selected['icon'] ); ?>><?php echo esc_html($link); ?></option>
[175] Fix | Delete
<?php endforeach; ?>
[176] Fix | Delete
</select>
[177] Fix | Delete
[178] Fix | Delete
<label class="mks-sw-icon"><?php esc_html_e( 'Url', 'meks-smart-social-widget' ); ?> :</label>
[179] Fix | Delete
<input type="text" name="<?php echo esc_attr($widget->get_field_name( 'social_url' )); ?>[]" value="<?php echo esc_attr($selected['url']); ?>" style="width: 82%">
[180] Fix | Delete
[181] Fix | Delete
[182] Fix | Delete
<span class="mks-remove-social dashicons dashicons-no-alt"></span>
[183] Fix | Delete
[184] Fix | Delete
<?php }
[185] Fix | Delete
[186] Fix | Delete
[187] Fix | Delete
protected function get_social_title( $social_name ) {
[188] Fix | Delete
$items = $this->get_social();
[189] Fix | Delete
return $items[$social_name];
[190] Fix | Delete
}
[191] Fix | Delete
[192] Fix | Delete
function get_social() {
[193] Fix | Delete
$new_icons = array(
[194] Fix | Delete
'500px' => '500px',
[195] Fix | Delete
'8tracks' => '8tracks',
[196] Fix | Delete
'airbnb' => 'Airbnb',
[197] Fix | Delete
'alliance' => 'Alliance',
[198] Fix | Delete
'amazon' => 'Amazon',
[199] Fix | Delete
'amplement' => 'amplement',
[200] Fix | Delete
'android' => 'Android',
[201] Fix | Delete
'angellist' => 'AngelList',
[202] Fix | Delete
'apple' => 'Apple',
[203] Fix | Delete
'appnet' => 'appnet',
[204] Fix | Delete
'baidu' => 'baidu',
[205] Fix | Delete
'bandcamp' => 'bandcamp',
[206] Fix | Delete
'battlenet' => 'BATTLE.NET',
[207] Fix | Delete
'mixer' => 'Mixer',
[208] Fix | Delete
'bebee' => 'beBee',
[209] Fix | Delete
'bebo' => 'bebo',
[210] Fix | Delete
'behance' => 'Behance',
[211] Fix | Delete
'blizzard' => 'Blizzard',
[212] Fix | Delete
'blogger' => 'Blogger',
[213] Fix | Delete
'buffer' => 'Buffer',
[214] Fix | Delete
'chrome' => 'Chrome',
[215] Fix | Delete
'coderwall' => 'coderwall',
[216] Fix | Delete
'curse' => 'Curse',
[217] Fix | Delete
'dailymotion' => 'Dailymotion',
[218] Fix | Delete
'deezer' => 'DEEZER',
[219] Fix | Delete
'delicious' => 'Delicious',
[220] Fix | Delete
'deviantart' => 'deviantART',
[221] Fix | Delete
'diablo' => 'Diablo',
[222] Fix | Delete
'digg' => 'Digg',
[223] Fix | Delete
'discord' => 'Discord',
[224] Fix | Delete
'disqus' => 'DISQUS',
[225] Fix | Delete
'douban' => 'douban',
[226] Fix | Delete
'draugiem' => 'draugiem.lv',
[227] Fix | Delete
'dribbble' => 'dribbble',
[228] Fix | Delete
'drupal' => 'Drupal',
[229] Fix | Delete
'ebay' => 'ebay',
[230] Fix | Delete
'ello' => 'Ello',
[231] Fix | Delete
'endomondo' => 'endomondo',
[232] Fix | Delete
'envato' => 'Envato',
[233] Fix | Delete
'etsy' => 'Etsy',
[234] Fix | Delete
'facebook' => 'Facebook',
[235] Fix | Delete
'feedburner' => 'FeedBurner',
[236] Fix | Delete
'filmweb' => 'FILMWEB',
[237] Fix | Delete
'firefox' => 'Firefox',
[238] Fix | Delete
'flattr' => 'Flattr',
[239] Fix | Delete
'flickr' => 'flickr',
[240] Fix | Delete
'formulr' => 'FORMULR',
[241] Fix | Delete
'forrst' => 'Forrst',
[242] Fix | Delete
'foursquare' => 'foursquare',
[243] Fix | Delete
'friendfeed' => 'FriendFeed',
[244] Fix | Delete
'github' => 'GitHub',
[245] Fix | Delete
'goodreads' => 'goodreads',
[246] Fix | Delete
'google' => 'Google',
[247] Fix | Delete
'googlegroups' => 'Google Groups',
[248] Fix | Delete
'googlephotos' => 'Google Photos',
[249] Fix | Delete
'googlescholar' => 'Google Scholar',
[250] Fix | Delete
'grooveshark' => 'grooveshark',
[251] Fix | Delete
'hackerrank' => 'HackerRank',
[252] Fix | Delete
'hearthstone' => 'Hearthstone',
[253] Fix | Delete
'hellocoton' => 'Hellocoton',
[254] Fix | Delete
'heroes' => 'Hereos of the Storm',
[255] Fix | Delete
'hitbox' => 'hitbox',
[256] Fix | Delete
'horde' => 'Horde',
[257] Fix | Delete
'houzz' => 'houzz',
[258] Fix | Delete
'icq' => 'icq',
[259] Fix | Delete
'identica' => 'Identica',
[260] Fix | Delete
'imdb' => 'IMDb',
[261] Fix | Delete
'instagram' => 'Instagram',
[262] Fix | Delete
'issuu' => 'issuu',
[263] Fix | Delete
'istock' => 'iStock',
[264] Fix | Delete
'itunes' => 'iTunes',
[265] Fix | Delete
'keybase' => 'Keybase',
[266] Fix | Delete
'lanyrd' => 'Lanyrd',
[267] Fix | Delete
'lastfm' => 'last.fm',
[268] Fix | Delete
'line' => 'LINE',
[269] Fix | Delete
'linkedin' => 'Linkedin',
[270] Fix | Delete
'livejournal' => 'LiveJournal',
[271] Fix | Delete
'lyft' => 'lyft',
[272] Fix | Delete
'macos' => 'macOS',
[273] Fix | Delete
'mail' => 'Mail',
[274] Fix | Delete
'medium' => 'Medium',
[275] Fix | Delete
'meetup' => 'Meetup',
[276] Fix | Delete
'mixcloud' => 'Mixcloud',
[277] Fix | Delete
'modelmayhem' => 'Model Mayhem',
[278] Fix | Delete
'mumble' => 'mumble',
[279] Fix | Delete
'myspace' => 'Myspace',
[280] Fix | Delete
'newsvine' => 'NewsVine',
[281] Fix | Delete
'nintendo' => 'Nintendo Network',
[282] Fix | Delete
'npm' => 'npm',
[283] Fix | Delete
'odnoklassniki' => 'Odnoklassniki',
[284] Fix | Delete
'openid' => 'OpenID',
[285] Fix | Delete
'opera' => 'Opera',
[286] Fix | Delete
'outlook' => 'Outlook',
[287] Fix | Delete
'overwatch' => 'Overwatch',
[288] Fix | Delete
'patreon' => 'Patreon',
[289] Fix | Delete
'paypal' => 'Paypal',
[290] Fix | Delete
'periscope' => 'Periscope',
[291] Fix | Delete
'persona' => 'Mozilla Persona',
[292] Fix | Delete
'pinterest' => 'Pinterest',
[293] Fix | Delete
'play' => 'Google Play',
[294] Fix | Delete
'player' => 'Player.me',
[295] Fix | Delete
'playstation' => 'PlayStation',
[296] Fix | Delete
'pocket' => 'Pocket',
[297] Fix | Delete
'qq' => 'QQ',
[298] Fix | Delete
'quora' => 'Quora',
[299] Fix | Delete
'raidcall' => 'RaidCall',
[300] Fix | Delete
'ravelry' => 'Ravelry',
[301] Fix | Delete
'reddit' => 'reddit',
[302] Fix | Delete
'renren' => 'renren',
[303] Fix | Delete
'researchgate' => 'ResearchGate',
[304] Fix | Delete
'residentadvisor' => 'Resident Advisor',
[305] Fix | Delete
'reverbnation' => 'REVERBNATION',
[306] Fix | Delete
'rss' => 'RSS',
[307] Fix | Delete
'sharethis' => 'ShareThis',
[308] Fix | Delete
'skype' => 'skype',
[309] Fix | Delete
'slideshare' => 'SlideShare',
[310] Fix | Delete
'smugmug' => 'SmugMug',
[311] Fix | Delete
'snapchat' => 'Snapchat',
[312] Fix | Delete
'songkick' => 'songkick',
[313] Fix | Delete
'soundcloud' => 'soundcloud',
[314] Fix | Delete
'spotify' => 'Spotify',
[315] Fix | Delete
'stackexchange' => 'StackExchange',
[316] Fix | Delete
'stackoverflow' => 'stackoverflow',
[317] Fix | Delete
'starcraft' => 'Starcraft',
[318] Fix | Delete
'stayfriends' => 'StayFriends',
[319] Fix | Delete
'steam' => 'steam',
[320] Fix | Delete
'storehouse' => 'Storehouse',
[321] Fix | Delete
'strava' => 'STRAVA',
[322] Fix | Delete
'streamjar' => 'StreamJar',
[323] Fix | Delete
'stumbleupon' => 'StumbleUpon',
[324] Fix | Delete
'swarm' => 'Swarm',
[325] Fix | Delete
'teamspeak' => 'TeamSpeak',
[326] Fix | Delete
'teamviewer' => 'TeamViewer',
[327] Fix | Delete
'technorati' => 'Technorati',
[328] Fix | Delete
'telegram' => 'Telegram',
[329] Fix | Delete
'tiktok' => 'TikTok',
[330] Fix | Delete
'tripadvisor' => 'tripadvisor',
[331] Fix | Delete
'tripit' => 'Tripit',
[332] Fix | Delete
'triplej' => 'triplej',
[333] Fix | Delete
'tumblr' => 'tumblr',
[334] Fix | Delete
'twitch' => 'Twitch',
[335] Fix | Delete
'twitter' => 'X (ex Twitter)',
[336] Fix | Delete
'uber' => 'UBER',
[337] Fix | Delete
'ventrilo' => 'Ventrilo',
[338] Fix | Delete
'viadeo' => 'Viadeo',
[339] Fix | Delete
'viber' => 'Viber',
[340] Fix | Delete
'viewbug' => 'viewbug',
[341] Fix | Delete
'vimeo' => 'vimeo',
[342] Fix | Delete
'vine' => 'Vine',
[343] Fix | Delete
'vkontakte' => 'VKontakte',
[344] Fix | Delete
'warcraft' => 'Warcraft',
[345] Fix | Delete
'wechat' => 'WeChat',
[346] Fix | Delete
'weibo' => 'Sina Weibo',
[347] Fix | Delete
'whatsapp' => 'WhatsApp',
[348] Fix | Delete
'wikipedia' => 'Wikipedia',
[349] Fix | Delete
'windows' => 'Windows',
[350] Fix | Delete
'wordpress' => 'WordPress',
[351] Fix | Delete
'wykop' => 'wykop',
[352] Fix | Delete
'xbox' => 'XBOX',
[353] Fix | Delete
'xing' => 'Xing',
[354] Fix | Delete
'yahoo' => 'Yahoo!',
[355] Fix | Delete
'yammer' => 'Yammer',
[356] Fix | Delete
'yandex' => 'Yandex',
[357] Fix | Delete
'yelp' => 'yelp',
[358] Fix | Delete
'younow' => 'Younow',
[359] Fix | Delete
'youtube' => 'YouTube',
[360] Fix | Delete
'zapier' => 'Zapier',
[361] Fix | Delete
'zerply' => 'Zerply',
[362] Fix | Delete
'zomato' => 'zomato',
[363] Fix | Delete
'zynga' => 'zynga',
[364] Fix | Delete
'spreadshirt' => 'spreadshirt',
[365] Fix | Delete
'trello' => 'Trello',
[366] Fix | Delete
'gamejolt' => 'Game Jolt',
[367] Fix | Delete
'tunein' => 'tunein',
[368] Fix | Delete
'bloglovin' => 'BLOGLOVIN\'',
[369] Fix | Delete
'gamewisp' => 'GameWisp',
[370] Fix | Delete
'messenger' => 'Facebook Messenger',
[371] Fix | Delete
'pandora' => 'Pandora',
[372] Fix | Delete
'microsoft' => 'Microsoft',
[373] Fix | Delete
'mobcrush' => 'mobcrush',
[374] Fix | Delete
'sketchfab' => 'Sketchfab',
[375] Fix | Delete
'yt-gaming' => 'Youtube Gaming',
[376] Fix | Delete
'fyuse' => 'FYUSE',
[377] Fix | Delete
'bitbucket' => 'Bitbucket',
[378] Fix | Delete
'augment' => 'AUGMENT',
[379] Fix | Delete
'toneden' => 'ToneDen',
[380] Fix | Delete
'niconico' => 'niconico',
[381] Fix | Delete
'zillow' => 'Zillow',
[382] Fix | Delete
'googlemaps' => 'Google Maps',
[383] Fix | Delete
'booking' => 'Booking',
[384] Fix | Delete
'fundable' => 'Fundable',
[385] Fix | Delete
'upwork' => 'Upwork',
[386] Fix | Delete
'ghost' => 'ghost',
[387] Fix | Delete
'loomly' => 'loomly',
[388] Fix | Delete
'trulia' => 'Trulia',
[389] Fix | Delete
'ask' => 'Ask',
[390] Fix | Delete
'gust' => 'Gust',
[391] Fix | Delete
'toptal' => 'Toptal',
[392] Fix | Delete
'squarespace' => 'Squarespace',
[393] Fix | Delete
'bonanza' => 'bonanza',
[394] Fix | Delete
'doodle' => 'Doodle',
[395] Fix | Delete
'bing' => 'Bing',
[396] Fix | Delete
'seedrs' => 'Seedrs',
[397] Fix | Delete
'freelancer' => 'Freelancer',
[398] Fix | Delete
'shopify' => 'Shopify',
[399] Fix | Delete
'googlecalendar' => 'Google Calendar',
[400] Fix | Delete
'redfin' => 'Redfin',
[401] Fix | Delete
'wix' => 'Wix',
[402] Fix | Delete
'craigslist' => 'Craigslist',
[403] Fix | Delete
'alibaba' => 'Alibaba',
[404] Fix | Delete
'zoom' => 'Zoom',
[405] Fix | Delete
'homes' => 'Homes',
[406] Fix | Delete
'appstore' => 'Appstore',
[407] Fix | Delete
'guru' => 'Guru',
[408] Fix | Delete
'aliexpress' => 'Aliexpress',
[409] Fix | Delete
'gotomeeting' => 'GoToMeeting',
[410] Fix | Delete
'fiverr' => 'Fiverr',
[411] Fix | Delete
'logmein' => 'LogMeIn',
[412] Fix | Delete
'openaigym' => 'OpenAI Gym',
[413] Fix | Delete
'slack' => 'Slack',
[414] Fix | Delete
'codepen' => 'Codepen',
[415] Fix | Delete
'angieslist' => 'Angie\'s List',
[416] Fix | Delete
'homeadvisor' => 'HomeAdvisor',
[417] Fix | Delete
'unsplash' => 'Unsplash',
[418] Fix | Delete
'mastodon' => 'Mastodon',
[419] Fix | Delete
'natgeo' => 'Natgeo',
[420] Fix | Delete
'qobuz' => 'Qobuz',
[421] Fix | Delete
'tidal' => 'Tidal',
[422] Fix | Delete
'realtor' => 'Realtor',
[423] Fix | Delete
'calendly' => 'Calendly',
[424] Fix | Delete
'homify' => 'homify',
[425] Fix | Delete
'crunchbase' => 'crunchbase',
[426] Fix | Delete
'livemaster' => 'livemaster',
[427] Fix | Delete
'udemy' => 'udemy',
[428] Fix | Delete
'nextdoor' => 'Nextdoor',
[429] Fix | Delete
'origin' => 'Origin',
[430] Fix | Delete
'codered' => 'CodeRED',
[431] Fix | Delete
'portfolio' => 'Adobe Portfolio',
[432] Fix | Delete
'instructables' => 'instructables',
[433] Fix | Delete
'gitlab' => 'GitLab',
[434] Fix | Delete
'mailru' => 'Mail.ru',
[435] Fix | Delete
'bookbub' => 'BookBub',
[436] Fix | Delete
'kobo' => 'Kobo',
[437] Fix | Delete
'smashwords' => 'Smashwords',
[438] Fix | Delete
'hackernews' => 'Hacker News',
[439] Fix | Delete
'hackerone' => 'hackerone',
[440] Fix | Delete
'beatport' => 'beatport',
[441] Fix | Delete
'napster' => 'napster',
[442] Fix | Delete
'spip' => 'SPIP',
[443] Fix | Delete
'wickr' => 'Wickr',
[444] Fix | Delete
'blackberry' => 'BlackBerry',
[445] Fix | Delete
'myanimelist' => 'MyAnimeList',
[446] Fix | Delete
'pixiv' => 'pixiv',
[447] Fix | Delete
'gamefor' => 'GameFor',
[448] Fix | Delete
'traxsource' => 'Traxsource',
[449] Fix | Delete
'indiedb' => 'indie DB',
[450] Fix | Delete
'moddb' => 'Mod DB',
[451] Fix | Delete
'internet' => 'Internet',
[452] Fix | Delete
);
[453] Fix | Delete
[454] Fix | Delete
$old_icons = array(
[455] Fix | Delete
'aim' => 'Aim',
[456] Fix | Delete
'evernote' => 'Evernote',
[457] Fix | Delete
'cargo' => 'Cargo',
[458] Fix | Delete
'icloud' => 'iCloud',
[459] Fix | Delete
'picasa' => 'Picasa',
[460] Fix | Delete
'posterous' => 'Posterous',
[461] Fix | Delete
'tencent' => 'TenCent',
[462] Fix | Delete
'me2day' => 'Me2Day'
[463] Fix | Delete
);
[464] Fix | Delete
[465] Fix | Delete
$icons = array_merge( $new_icons, $old_icons );
[466] Fix | Delete
[467] Fix | Delete
ksort( $icons );
[468] Fix | Delete
[469] Fix | Delete
return $icons;
[470] Fix | Delete
}
[471] Fix | Delete
}
[472] Fix | Delete
[473] Fix | Delete
?>
[474] Fix | Delete
[475] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function