Completed
Push — plugin-submission ( 01c658...832c1a )
by LA
01:51
created
imgix.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -15,25 +15,25 @@
 block discarded – undo
15 15
  * Author URI:  http://github.com/wladston
16 16
  */
17 17
 
18
-define('IMGIX_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
18
+define('IMGIX_PLUGIN_URL', plugin_dir_url(__FILE__));
19 19
 
20
-$imgix_options = get_option( 'imgix_settings' );
20
+$imgix_options = get_option('imgix_settings');
21 21
 
22
-include( 'includes/do-functions.php' );
23
-include( 'includes/options-page.php' );
22
+include('includes/do-functions.php');
23
+include('includes/options-page.php');
24 24
 
25
-function imgix_plugin_admin_action_links( $links, $file ) {
25
+function imgix_plugin_admin_action_links($links, $file) {
26 26
 	static $my_plugin;
27 27
 
28
-	if ( ! $my_plugin ) {
29
-		$my_plugin = plugin_basename( __FILE__ );
28
+	if ( ! $my_plugin) {
29
+		$my_plugin = plugin_basename(__FILE__);
30 30
 	}
31 31
 
32
-	if ( $file === $my_plugin ) {
32
+	if ($file === $my_plugin) {
33 33
 		$settings_link = '<a href="options-general.php?page=imgix-options">Settings</a>';
34
-		array_unshift( $links, $settings_link );
34
+		array_unshift($links, $settings_link);
35 35
 	}
36 36
 	return $links;
37 37
 }
38 38
 
39
-add_filter( 'plugin_action_links', 'imgix_plugin_admin_action_links', 10, 2 );
39
+add_filter('plugin_action_links', 'imgix_plugin_admin_action_links', 10, 2);
Please login to merge, or discard this patch.