Changeset 964699
- Timestamp:
- 08/12/2014 06:23:39 PM (12 years ago)
- Location:
- better-links/trunk
- Files:
-
- 3 edited
-
better-links.php (modified) (2 diffs)
-
modules/better-links/better-links.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
better-links/trunk/better-links.php
r943480 r964699 4 4 Plugin URI: http://boostwp.com/products/better-links/ 5 5 Description: Quickly and easily create a variety of links for your site. 6 Version: 1.1. 36 Version: 1.1.4 7 7 Author: BoostWP 8 8 Author URI: http://boostwp.com/ … … 15 15 // This constant can be overridden by a prior define statement 16 16 // for development purposes (to prevent caching of resources) 17 define('BETTER_LINKS_VERSION', '1.1. 3');17 define('BETTER_LINKS_VERSION', '1.1.4'); 18 18 } 19 19 -
better-links/trunk/modules/better-links/better-links.php
r943480 r964699 399 399 400 400 public static function enqueue_scripts() { 401 wp_register_script('zero-clipboard', plugins_url('resources/vendor/zero-clipboard.min.js', __FILE__), array(), '1.3.5', true); 402 403 wp_enqueue_style('better-links-backend', plugins_url('resources/backend/better-links.css', __FILE__), array('media-views'), BETTER_LINKS_VERSION); 404 405 wp_enqueue_script('knockout', plugins_url('resources/vendor/knockout.min.js', __FILE__), array(), '3.0.0', true); 406 wp_enqueue_script('better-links-backend', plugins_url('resources/backend/better-links.js', __FILE__), array('knockout', 'jquery', 'zero-clipboard'), BETTER_LINKS_VERSION, true); 407 wp_localize_script('better-links-backend', 'Better_Links', apply_filters('better_links_localize_script', array( 408 'ajaxAction' => 'better-links', 409 410 'copiedText' => __('Copied!'), 411 'copyText' => __('Copy'), 412 413 'shortcode' => 'bl', 414 415 'stateName' => 'iframe:better_links', 416 'stateTitle' => __('EasyAzon'), 417 418 'zeroClipboardSwfUrl' => plugins_url('resources/vendor/zero-clipboard.swf', __FILE__), 419 ))); 420 421 do_action('better_links_enqueue_scripts'); 401 $screen = get_current_screen(); 402 403 if( 404 (isset($screen->post_type) && self::TYPE_LINK === $screen->post_type) 405 || 406 (isset($screen->base) && 'post' === $screen->base) 407 || 408 (isset($screen->base) && 'media-upload' === $screen->base && isset($_GET['tab']) && 'better_links' === $_GET['tab']) 409 ) { 410 411 wp_register_script('zero-clipboard', plugins_url('resources/vendor/zero-clipboard.min.js', __FILE__), array(), '1.3.5', true); 412 413 wp_enqueue_style('better-links-backend', plugins_url('resources/backend/better-links.css', __FILE__), array('media-views'), BETTER_LINKS_VERSION); 414 415 wp_enqueue_script('knockout', plugins_url('resources/vendor/knockout.min.js', __FILE__), array(), '3.0.0', true); 416 wp_enqueue_script('better-links-backend', plugins_url('resources/backend/better-links.js', __FILE__), array('knockout', 'jquery', 'zero-clipboard'), BETTER_LINKS_VERSION, true); 417 wp_localize_script('better-links-backend', 'Better_Links', apply_filters('better_links_localize_script', array( 418 'ajaxAction' => 'better-links', 419 420 'copiedText' => __('Copied!'), 421 'copyText' => __('Copy'), 422 423 'shortcode' => 'bl', 424 425 'stateName' => 'iframe:better_links', 426 'stateTitle' => __('EasyAzon'), 427 428 'zeroClipboardSwfUrl' => plugins_url('resources/vendor/zero-clipboard.swf', __FILE__), 429 ))); 430 431 do_action('better_links_enqueue_scripts'); 432 } 422 433 } 423 434 -
better-links/trunk/readme.txt
r943485 r964699 3 3 Tags: admin, links, editor 4 4 Requires at least: 3.9 5 Tested up to: 3.9. 16 Stable tag: 1.1. 35 Tested up to: 3.9.2 6 Stable tag: 1.1.4 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 10 Easily create, manage and insert shortened Better Links that originate from your WordPress domain name. Forget link shortening services - use Better Links instead.10 Easily create, manage and insert shortened Better Links that originate from your WordPress domain. Forget link shortening services - use Better Links. 11 11 12 12 == Description == … … 64 64 65 65 1. Easily add new links for your WordPress powered website and control link behavior on a link by link basis if you choose. 66 67 66 2. Better Links also has a link dashboard which lets you see all of your links along with the clicks in the last 30 days, overall clicks and when the link was created. 68 69 67 3. Better Links can be copy and pasted for use anywhere on the web, but to make it easy for you we offer a way to insert your Better Links from within the WordPress post / page editor at the click of a button. 70 71 68 4. When inserting links from within the WordPress post / page editor you can easily search or sort for your Better Links before inserting them into your content. 72 73 69 5. After clicking the Better Links button in the WordPress post / page editor you can even create links from within your post editor instead of having to head back to the link creation screen. 74 75 70 6. Better Links are added to your content area using raw HTML code or short codes - your choice. Using short codes allows you to update all of the link behavior at once or if you insert via HTML and want to change later you'd need to manually make changes for no follow, new window etc 76 77 71 7. To help better manage all of your links you can also create link categories for your links as well. 78 79 72 8. Our link tools make it easier to get started using Better Links. You can even import your links from Pretty Link if you were using that plugin before. 80 81 73 9. Managing site wide link settings is a breeze. Simply select your settings once and you're on your way. 82 74 83 75 == Changelog == 76 77 = 1.1.4 = 78 * Minor text changes 84 79 85 80 = 1.1.2 = … … 96 91 == Upgrade Notice == 97 92 93 = 1.1.4 = 94 * Fixed tag in WordPress repository 95 98 96 = 1.1.2 = 99 97 * Miscellaneous bug fixes
Note: See TracChangeset
for help on using the changeset viewer.