Changeset 2629801
- Timestamp:
- 11/15/2021 12:46:15 PM (4 years ago)
- Location:
- contentstudio
- Files:
-
- 2 edited
- 1 copied
-
tags/1.1.4 (copied) (copied from contentstudio/trunk)
-
tags/1.1.4/contentstudio-plugin.php (modified) (5 diffs)
-
trunk/contentstudio-plugin.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
contentstudio/tags/1.1.4/contentstudio-plugin.php
r2603576 r2629801 3 3 Plugin Name: ContentStudio 4 4 Description: ContentStudio provides you with powerful blogging & social media tools to keep your audience hooked by streamlining the process for you to discover and share engaging content on multiple blogging & social media networks 5 Version: 1.1. 35 Version: 1.1.4 6 6 Author: ContentStudio 7 7 Author URI: http://contentstudio.io/ … … 12 12 * add the meta SEO title for the web page if the post has SEO title available 13 13 */ 14 include_once(ABSPATH . 'wp-includes/pluggable.php');14 // include_once(ABSPATH . 'wp-includes/pluggable.php'); 15 15 function cstu_add_wpseo_title() 16 16 { … … 40 40 protected $assets = 'https://contentstudio.io/img'; 41 41 42 private $version = "1.1. 3";42 private $version = "1.1.4"; 43 43 44 44 protected $contentstudio_id = ''; … … 101 101 public function add_menu() 102 102 { 103 add_menu_page('ContentStudio Publisher', 'ContentStudio', 'edit_posts', 'contentstudio_settings', [ 104 $this, 105 'connection_page', 106 ], 'https://storage.googleapis.com/lumotive-web-storage/favicon-16x16.png', '50.505'); 107 // Settings link to the plugin listing page. 103 if(current_user_can('editor') || current_user_can('administrator')){ 104 add_menu_page('ContentStudio Publisher', 'ContentStudio', 'edit_posts', 'contentstudio_settings', [ 105 $this, 106 'connection_page', 107 ], 'https://storage.googleapis.com/lumotive-web-storage/favicon-16x16.png', '50.505'); 108 // Settings link to the plugin listing page. 109 } 108 110 } 109 111 … … 172 174 public function register_admin_hooks() 173 175 { 174 if(current_user_can('editor') || current_user_can('administrator')){175 add_action('admin_menu', [$this, 'add_menu']);176 }176 177 add_action('admin_menu', [$this, 'add_menu']); 178 177 179 add_filter("plugin_action_links_$this->cstu_plugin", [$this, 'plugin_settings_link'], 2, 2); 178 180 -
contentstudio/trunk/contentstudio-plugin.php
r2603576 r2629801 3 3 Plugin Name: ContentStudio 4 4 Description: ContentStudio provides you with powerful blogging & social media tools to keep your audience hooked by streamlining the process for you to discover and share engaging content on multiple blogging & social media networks 5 Version: 1.1. 35 Version: 1.1.4 6 6 Author: ContentStudio 7 7 Author URI: http://contentstudio.io/ … … 12 12 * add the meta SEO title for the web page if the post has SEO title available 13 13 */ 14 include_once(ABSPATH . 'wp-includes/pluggable.php');14 // include_once(ABSPATH . 'wp-includes/pluggable.php'); 15 15 function cstu_add_wpseo_title() 16 16 { … … 40 40 protected $assets = 'https://contentstudio.io/img'; 41 41 42 private $version = "1.1. 3";42 private $version = "1.1.4"; 43 43 44 44 protected $contentstudio_id = ''; … … 101 101 public function add_menu() 102 102 { 103 add_menu_page('ContentStudio Publisher', 'ContentStudio', 'edit_posts', 'contentstudio_settings', [ 104 $this, 105 'connection_page', 106 ], 'https://storage.googleapis.com/lumotive-web-storage/favicon-16x16.png', '50.505'); 107 // Settings link to the plugin listing page. 103 if(current_user_can('editor') || current_user_can('administrator')){ 104 add_menu_page('ContentStudio Publisher', 'ContentStudio', 'edit_posts', 'contentstudio_settings', [ 105 $this, 106 'connection_page', 107 ], 'https://storage.googleapis.com/lumotive-web-storage/favicon-16x16.png', '50.505'); 108 // Settings link to the plugin listing page. 109 } 108 110 } 109 111 … … 172 174 public function register_admin_hooks() 173 175 { 174 if(current_user_can('editor') || current_user_can('administrator')){175 add_action('admin_menu', [$this, 'add_menu']);176 }176 177 add_action('admin_menu', [$this, 'add_menu']); 178 177 179 add_filter("plugin_action_links_$this->cstu_plugin", [$this, 'plugin_settings_link'], 2, 2); 178 180
Note: See TracChangeset
for help on using the changeset viewer.