Changeset 2986533
- Timestamp:
- 10/31/2023 06:03:30 AM (2 years ago)
- Location:
- realbig-media/trunk
- Files:
-
- 5 edited
-
README.MD (modified) (1 diff)
-
README.txt (modified) (1 diff)
-
RFWP_AdminPage.php (modified) (1 diff)
-
realbigForWP.php (modified) (1 diff)
-
templates/adminPage/info.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
realbig-media/trunk/README.MD
r2971623 r2986533 108 108 == Changelog == 109 109 110 = 1.0.4 = 111 112 Изменения версии: 113 114 * спрятали под аккордеон проблему последней деактивации спустя неделю после ошибки; 115 * исправили ошибку в админке при включенном плагине. 116 110 117 = 1.0.3 = 111 118 -
realbig-media/trunk/README.txt
r2971623 r2986533 108 108 == Changelog == 109 109 110 = 1.0.4 = 111 112 Изменения версии: 113 114 * спрятали под аккордеон проблему последней деактивации спустя неделю после ошибки; 115 * исправили ошибку в админке при включенном плагине. 116 110 117 = 1.0.3 = 111 118 -
realbig-media/trunk/RFWP_AdminPage.php
r2896400 r2986533 7 7 { 8 8 public static function settingsMenuCreate() { 9 global $wp_filesystem; 9 10 $iconUrl = ""; 10 11 11 12 try { 12 $arrContextOptions=array( 13 "ssl"=>array( 14 "verify_peer"=>false, 15 "verify_peer_name"=>false, 16 ), 17 ); 18 19 $iconUrl = file_get_contents(plugins_url().'/'.basename(__DIR__).'/assets/realbig_plugin_standart.svg' , 20 false, stream_context_create($arrContextOptions)); 21 $iconUrl = 'data:image/svg+xml;base64,' . base64_encode($iconUrl); 13 WP_Filesystem(); 14 $filePath = plugin_dir_path( __FILE__ ).'assets/realbig_plugin_standart.svg'; 15 if ( $wp_filesystem->exists( $filePath ) ) { 16 $iconUrl = $wp_filesystem->get_contents( $filePath ); 17 $iconUrl = 'data:image/svg+xml;base64,' . base64_encode($iconUrl); 18 } 22 19 } catch (Exception $ex) { 23 20 RFWP_Logs::saveLogs(RFWP_Logs::ERRORS_LOG, 'Error Load Menu Icon: ' . $ex->getMessage()); -
realbig-media/trunk/realbigForWP.php
r2971623 r2986533 6 6 Plugin name: Realbig Media 7 7 Description: Плагин для монетизации от RealBig.media 8 Version: 1.0. 38 Version: 1.0.4 9 9 Author: Realbig Team 10 10 Author URI: https://realbig.media -
realbig-media/trunk/templates/adminPage/info.php
r2971623 r2986533 4 4 5 5 <?php if (!empty($args['deacError'])): ?> 6 <div class="squads-blocks"> 6 <div class="squads-blocks" style="<?php echo (time() - strtotime($args['deacTime']) > 60 * 60 * 24 * 7) ? 'width: 100%' : ''; ?>"> 7 <?php if (time() - strtotime($args['deacTime']) > 60 * 60 * 24 * 7): ?> 8 <div class="element-separator most accordion-section"> 9 <div class="accordion-section-title">Последняя деактивация</div> 10 <div class="accordion-section-content"> 11 <?php endif; ?> 7 12 Причина последней деактивации: 8 13 <div> … … 10 15 Время: <?php echo $args['deacTime']?> <br> 11 16 </div> 17 <?php if (time() - strtotime($args['deacTime']) > 60 * 60 * 24 * 7): ?> 18 </div> 19 </div> 20 <?php endif; ?> 12 21 </div> 13 22 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.