Changeset 1859058
- Timestamp:
- 04/16/2018 12:26:08 PM (8 years ago)
- File:
-
- 1 edited
-
octify/trunk/Octify.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
octify/trunk/Octify.php
r1846576 r1859058 4 4 * Plugin URI: https://octify.io 5 5 * Description: Octify Image Compression for WordPress. 6 * Version: 1.1. 06 * Version: 1.1.1 7 7 * Author: Octify 8 8 * Author URI: https://octify.io … … 553 553 554 554 public function adminMenu() { 555 $svg = file_get_contents( $this->plugin_path . 'assets/octify-character-dashicon.svg' ); 556 $svg = 'data:image/svg+xml;base64,' . base64_encode( $svg ); 557 555 558 if ( \Octify\Libs\OctifyApi::getLicense() == false ) { 556 add_me dia_page( __( "Octify", $this->domain ), __( "Octify", $this->domain ), 'manage_options', 'octify', array(559 add_menu_page( __( "Octify", $this->domain ), __( "Octify", $this->domain ), 'manage_options', 'octify', array( 557 560 &$this, 558 561 'activator' 559 ) );560 } else { 561 add_me dia_page( __( "Octify", $this->domain ), __( "Octify", $this->domain ), 'manage_options', 'octify', array(562 ), $svg ); 563 } else { 564 add_menu_page( __( "Octify", $this->domain ), __( "Octify", $this->domain ), 'manage_options', 'octify', array( 562 565 &$this, 563 566 'showDashboard' 564 ) );567 ), $svg ); 565 568 } 566 569 }
Note: See TracChangeset
for help on using the changeset viewer.