Changeset 2542127
- Timestamp:
- 06/03/2021 04:17:39 PM (5 years ago)
- Location:
- recommend/trunk
- Files:
-
- 2 deleted
- 3 edited
-
README.txt (modified) (1 diff)
-
admin.php (deleted)
-
inc/admin.php (modified) (1 diff)
-
recommend.php (modified) (1 diff)
-
wp-recommend.php (deleted)
Legend:
- Unmodified
- Added
- Removed
-
recommend/trunk/README.txt
r2542114 r2542127 6 6 Tested up to: 5.7 7 7 Requires PHP: 7.0 8 Stable tag: 0.6 8 Stable tag: 0.6.1 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
recommend/trunk/inc/admin.php
r2542100 r2542127 130 130 $options[$id] = esc_attr( $options[$id]); 131 131 $placeholder = (isset($placeholder)) ? $placeholder : ''; 132 $html = '<input class="regular-text" type="text" id="'.$id.'" name="'.$option_name.'['.$id.']" value="'.$options[$id].'" placeholder="'.$placeholder.'" '. disabled(1, $options['likes_disable_labels'], false ) .'/>'; 132 $disabled = ( $options['likes_disable_labels'] == 1 && ( $id == 'likes_singular_label' || $id == 'likes_plural_label' ) ) ? true : false; 133 $html = '<input class="regular-text" type="text" id="'.$id.'" name="'.$option_name.'['.$id.']" value="'.$options[$id].'" placeholder="'.$placeholder.'" '. disabled(true, $disabled, false ) .'/>'; 133 134 $html .= ($desc) ? '<p class="description">' . esc_html( $desc ) .'</p>' : ''; 134 135 echo $html; -
recommend/trunk/recommend.php
r2542100 r2542127 3 3 Plugin Name: Recommend 4 4 Description: Recommend allows you to add a like user action to your content. Unlike social sharing or commenting, the like action is simple and intuitive. The like count can then be used to return more relevant search results or a collection of most liked posts. 5 Version: 0.6 5 Version: 0.6.1 6 6 Author: Matt Litzinger 7 7 Author URI: http://mlitzinger.com
Note: See TracChangeset
for help on using the changeset viewer.