Changeset 1844009
- Timestamp:
- 03/21/2018 09:20:39 AM (8 years ago)
- Location:
- already-existing-tags/trunk
- Files:
-
- 5 edited
-
admin/already-existing-tags-admin.css (modified) (1 diff)
-
admin/already-existing-tags-admin.php (modified) (1 diff)
-
already-existing-tags-core.php (modified) (2 diffs)
-
already-existing-tags.php (modified) (3 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
already-existing-tags/trunk/admin/already-existing-tags-admin.css
r1612403 r1844009 3 3 font-weight: bold; 4 4 } 5 6 5 .wrap h3 { 7 6 color: #FF8000; 8 7 } 9 10 8 .form-table td { 11 9 text-align: left; 12 10 } 13 14 11 #categories-container .categories-block { 15 12 display: inline-block; -
already-existing-tags/trunk/admin/already-existing-tags-admin.php
r1612403 r1844009 62 62 63 63 <?php 64 $cat_args = array(64 $cat_args = array( 65 65 'hide_empty' => 0, 66 66 ); -
already-existing-tags/trunk/already-existing-tags-core.php
r1612403 r1844009 2 2 defined( 'ABSPATH' ) || die( 'Cannot access pages directly.' ); 3 3 4 get_option( 'aet_included_categories' ) ? $aet_included_categories = array_map( function( $cat_id ) { 5 return + $cat_id; 6 }, get_option( 'aet_included_categories' ) ) : $aet_included_categories = array(); 4 get_option( 'aet_included_categories' ) ? $aet_included_categories = array_map( 5 function( $cat_id ) { 6 return + $cat_id; 7 }, get_option( 'aet_included_categories' ) 8 ) : $aet_included_categories = array(); 7 9 8 10 function automatic_tagging( $the_post_id ) { … … 22 24 $the_post_content = get_post( $the_post_id )->post_content; 23 25 $the_post_content = wp_strip_all_tags( $the_post_content ); 24 $existing_tags = get_terms( 'post_tag', array( 25 'hide_empty' => false, 26 ) ); 26 $existing_tags = get_terms( 27 'post_tag', array( 28 'hide_empty' => false, 29 ) 30 ); 27 31 28 32 if ( $existing_tags && array_intersect( $post_categories, $aet_included_categories ) ) { -
already-existing-tags/trunk/already-existing-tags.php
r1612403 r1844009 4 4 Plugin URI: http://www.digitalemphasis.com/wordpress-plugins/already-existing-tags/ 5 5 Description: Looks for already existing tags within your posts. 6 Version: 1.96 Version: 2.0 7 7 Author: digitalemphasis 8 8 Author URI: http://www.digitalemphasis.com/ … … 28 28 29 29 function aet_settings_page() { 30 include ( 'admin/already-existing-tags-admin.php' );30 include 'admin/already-existing-tags-admin.php'; 31 31 } 32 32 … … 87 87 register_uninstall_hook( __FILE__, 'aet_uninstall' ); 88 88 89 include ( 'already-existing-tags-core.php' );89 include 'already-existing-tags-core.php'; -
already-existing-tags/trunk/readme.txt
r1612403 r1844009 4 4 Donate link: http://www.digitalemphasis.com/donate/ 5 5 Tags: admin, administration, automatic, automatic tagging, automatic tags, auto tagger, auto tagging, content, post, posts, tagger, tagging, tags, title 6 Requires at least: 3.57 Tested up to: 4. 78 Stable tag: 1.96 Requires at least: 4.0 7 Tested up to: 4.9 8 Stable tag: 2.0 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 16 16 17 17 This plugin finds your 'already existing tags' into your post each time you create or edit/save one. The found tags will be automatically assigned. 18 19 18 20 19 = Features = … … 43 42 Yes. The post content will always be examined. 44 43 44 = My language uses a non latin script. Can I use this plugin? = 45 Yes, as long as you use valid UTF-8 characters, the plugin will work. 46 45 47 46 48 == Screenshots == … … 50 52 51 53 == Changelog == 54 55 = 2.0 = 56 * Ensure compatibility with WordPress 4.8 and 4.9 57 * Improved adherence to WordPress Coding Standards. 52 58 53 59 = 1.9 =
Note: See TracChangeset
for help on using the changeset viewer.