Update Broken links functions

This commit is contained in:
Thang Hoang Van 2014-07-22 23:51:47 +07:00
parent db87370add
commit 9ca356c2b5
19 changed files with 21 additions and 11 deletions

BIN
images/blue_dot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1,10 @@
This directory contains icons from the Font Awesome 3.2.1 icon font:
http://fortawesome.github.io/Font-Awesome/

The Font Awesome font is licensed under SIL OFL 1.1:
http://scripts.sil.org/OFL

------------------------------------------------------------------------------

The icons have been converted to PNG and in some cases minor adjustments have
been made, such as adding a background colour or a drop shadow.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
images/mwp250_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
images/red_highlight.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

BIN
images/vimeo-embed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 B

BIN
images/youtube-embed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

BIN
images/youtube-iframe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

View file

@ -9,20 +9,21 @@ Author URI:
Icon URI: http://extensions.mainwp.com/wp-content/uploads/2014/07/mainwp-broken-links-checker-extension.png
*/

if (!defined('MWP_BROKEN_LINKS_CHECKER_DIR'))
define ('MWP_BROKEN_LINKS_CHECKER_DIR', plugin_dir_path(__FILE__));

if (!defined('MWP_BROKEN_LINKS_CHECKER_URL'))
define ('MWP_BROKEN_LINKS_CHECKER_URL', plugin_dir_url(__FILE__));


class MainWPLinksCheckerExtension
{
public $plugin_handle = "mainwp-links-checker-extension";
public static $plugin_url;
public $plugin_slug;
public $plugin_dir;
public function __construct()
{
$this->plugin_dir = plugin_dir_path(__FILE__);
self::$plugin_url = plugin_dir_url(__FILE__);
$this->plugin_slug = plugin_basename(__FILE__);
{
$this->plugin_slug = plugin_basename(__FILE__);
add_action('init', array(&$this, 'init'));
add_filter('plugin_row_meta', array(&$this, 'plugin_row_meta'), 10, 2);
add_action('admin_init', array(&$this, 'admin_init'));
@ -46,9 +47,8 @@ class MainWPLinksCheckerExtension

public function admin_init()
{
wp_enqueue_style('mainwp-linkschecker-extension', self::$plugin_url . 'css/mainwp-linkschecker.css');
wp_enqueue_script('mainwp-linkschecker-extension', self::$plugin_url . 'js/mainwp-linkschecker.js');
$translation_array = array( 'dashboard_sitename' => get_bloginfo( 'name' ));
wp_enqueue_style('mainwp-linkschecker-extension', MWP_BROKEN_LINKS_CHECKER_URL . 'css/mainwp-linkschecker.css');
wp_enqueue_script('mainwp-linkschecker-extension', MWP_BROKEN_LINKS_CHECKER_URL . 'js/mainwp-linkschecker.js');
MainWPLinksChecker::Instance()->admin_init();
MainWPLinksCheckerDashboard::Instance()->admin_init();
}

View file

@ -1 +1 @@
=== MainWP Broken Links Checker Extension === Plugin Name: MainWP Broken Links Checker Extension Plugin URI: http://extensions.mainwp.com Description: MainWP Broken Links Checker Extension. Version: 0.0.1 Author: MainWP Author URI: Icon URI: == Installation == 1. Please install plugin "MainWPNetwork main system" and active it before install MainWP Broken Links Checker Extension plugin (get MainWP system plugin from url:http://mainwp.com/) 2. Upload the `mainwp-broken-links-checker-extension` folder to the `/wp-content/plugins/` directory 3. Activate the MainWP Broken Links Checker Extension plugin through the 'Plugins' menu in WordPress == Screenshots == 1. Enable or Disable extension on the "Extensions" page in the dashboard == Changelog == = 0.0.1 = * First version
=== MainWP Broken Links Checker Extension === Plugin Name: MainWP Broken Links Checker Extension Plugin URI: http://extensions.mainwp.com Description: MainWP Broken Links Checker Extension. Version: 0.0.1 Author: MainWP Author URI: Icon URI: == Installation == 1. Please install plugin the MainWP Dasbhoard and active it before install MainWP Broken Links Checker Extension plugin (get the MainWP Dashboard plugin from url:http://mainwp.com/) 2. Upload the `mainwp-broken-links-checker-extension` folder to the `/wp-content/plugins/` directory 3. Activate the MainWP Broken Links Checker Extension plugin through the 'Plugins' menu in WordPress == Screenshots == 1. Enable or Disable extension on the "Extensions" page in the dashboard == Changelog == = 0.0.1 = * First version