Changeset 3257714
- Timestamp:
- 03/18/2025 10:36:51 AM (13 months ago)
- Location:
- author-box-for-divi
- Files:
-
- 4 edited
- 1 copied
-
tags/2.0.4 (copied) (copied from author-box-for-divi/trunk)
-
tags/2.0.4/index.php (modified) (4 diffs)
-
tags/2.0.4/readme.txt (modified) (5 diffs)
-
trunk/index.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
author-box-for-divi/tags/2.0.4/index.php
r3209293 r3257714 4 4 Plugin URI: https://wordpress.org/plugins/author-box-for-divi/ 5 5 Description: A plugin which provides an author box for your WordPress blog. 6 Version: 2.0. 36 Version: 2.0.4 7 7 Text Domain: author-box-for-divi 8 8 Domain Path: /languages … … 96 96 97 97 // update all keys old to new for all user_ids using a single query 98 $wpdb->query($wpdb->prepare( 99 "UPDATE $wpdb->usermeta SET meta_key = %s WHERE meta_key = %s AND user_id IN (" . implode(',', $user_ids) . ")", 100 'abfd-user-social-networks-' . $new, 101 'abfd-user-social-networks-' . $old 102 )); 98 if (!empty($user_ids)) { 99 $wpdb->query($wpdb->prepare( 100 "UPDATE $wpdb->usermeta SET meta_key = %s WHERE meta_key = %s AND user_id IN (" . implode(',', $user_ids) . ")", 101 'abfd-user-social-networks-' . $new, 102 'abfd-user-social-networks-' . $old 103 )); 104 } 103 105 } 104 106 } … … 406 408 static function wp_enqueue_scripts() 407 409 { 408 wp_enqueue_style('abfd-author', plugin s_url(null, __FILE__) . '/css/author.css');410 wp_enqueue_style('abfd-author', plugin_dir_url( __FILE__ ) . 'css/author.css'); 409 411 // enqueue fontwesome free brands from cdn 410 412 wp_enqueue_style('abfd-font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css'); … … 419 421 ($current_screen && ($current_screen->base === 'post' || $current_screen->base === 'post-new')) 420 422 ) { 421 wp_enqueue_style('abfd-author', plugin s_url(null, __FILE__) . '/css/author.css');423 wp_enqueue_style('abfd-author', plugin_dir_url( __FILE__ ) . 'css/author.css'); 422 424 // Load the color picker 423 425 wp_enqueue_style('wp-color-picker'); -
author-box-for-divi/tags/2.0.4/readme.txt
r3209365 r3257714 3 3 Donate link: http://www.rhyzz.com/donate.html 4 4 Tags: author-box-for-divi, author-box-divi, divi-author-box, divi-author, divi-author-bio 5 Requires PHP: 5.2 .45 Requires PHP: 5.2 6 6 Requires at least: 3.0 7 Stable tag: 2.0. 37 Stable tag: 2.0.4 8 8 Tested up to: 6.7 9 9 License: GPLv2 or later … … 14 14 == Description == 15 15 16 This plugin was originally known as “Author Box for Divi.”16 This plugin was originally known as "Author Box for Divi." 17 17 18 18 The [Author Box WP Lens](https://wplens.com/) plugin has been developed to work specifically with the Divi theme but has been upgraded to work with any WordPress theme or page builder. It will provide you with nice author boxes for your WordPress blog or website, whichever theme or page builder you use. … … 20 20 Using this plugin, a simple author box that will show the WordPress author bio will be displayed automatically at the bottom of all your blog posts, pages, projects, or media. You can choose in the plugin's settings on which post types you want it to show. 21 21 22 The plugin will show the author ’s gravatar icon by default. Or you can use your own image; just enter the URL of your profile image in Users > Your Profile. You can also specify the URLs for your social network profiles (only those that you enter will show in your author box).22 The plugin will show the author's gravatar icon by default. Or you can use your own image; just enter the URL of your profile image in Users > Your Profile. You can also specify the URLs for your social network profiles (only those that you enter will show in your author box). 23 23 24 Other features of this plugin allow you to specify the Name Prefix (you can write, e.g., “Author” or “Written by”), Text Color, Background Color and Border Color.24 Other features of this plugin allow you to specify the Name Prefix (you can write, e.g., "Author" or "Written by"), Text Color, Background Color and Border Color. 25 25 26 26 = Plugin Features: = … … 76 76 == Changelog == 77 77 78 = 2.0.4 = 79 * Fixed data migration process for existing users 80 * Updated CSS loading method for better compatibility 81 78 82 = 2.0.3 = 79 83 * Fixed a bug when migrating the data from v1* to v2 … … 114 118 * Tested with WP 6.2 115 119 * New feature added: to customize the color of the social media icons 116 * New feature added: The possibility to make the author ’s name to be a hyperlink to the author page120 * New feature added: The possibility to make the author's name to be a hyperlink to the author page 117 121 * Fixed Photo 118 122 -
author-box-for-divi/trunk/index.php
r3209293 r3257714 4 4 Plugin URI: https://wordpress.org/plugins/author-box-for-divi/ 5 5 Description: A plugin which provides an author box for your WordPress blog. 6 Version: 2.0. 36 Version: 2.0.4 7 7 Text Domain: author-box-for-divi 8 8 Domain Path: /languages … … 96 96 97 97 // update all keys old to new for all user_ids using a single query 98 $wpdb->query($wpdb->prepare( 99 "UPDATE $wpdb->usermeta SET meta_key = %s WHERE meta_key = %s AND user_id IN (" . implode(',', $user_ids) . ")", 100 'abfd-user-social-networks-' . $new, 101 'abfd-user-social-networks-' . $old 102 )); 98 if (!empty($user_ids)) { 99 $wpdb->query($wpdb->prepare( 100 "UPDATE $wpdb->usermeta SET meta_key = %s WHERE meta_key = %s AND user_id IN (" . implode(',', $user_ids) . ")", 101 'abfd-user-social-networks-' . $new, 102 'abfd-user-social-networks-' . $old 103 )); 104 } 103 105 } 104 106 } … … 406 408 static function wp_enqueue_scripts() 407 409 { 408 wp_enqueue_style('abfd-author', plugin s_url(null, __FILE__) . '/css/author.css');410 wp_enqueue_style('abfd-author', plugin_dir_url( __FILE__ ) . 'css/author.css'); 409 411 // enqueue fontwesome free brands from cdn 410 412 wp_enqueue_style('abfd-font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css'); … … 419 421 ($current_screen && ($current_screen->base === 'post' || $current_screen->base === 'post-new')) 420 422 ) { 421 wp_enqueue_style('abfd-author', plugin s_url(null, __FILE__) . '/css/author.css');423 wp_enqueue_style('abfd-author', plugin_dir_url( __FILE__ ) . 'css/author.css'); 422 424 // Load the color picker 423 425 wp_enqueue_style('wp-color-picker'); -
author-box-for-divi/trunk/readme.txt
r3209365 r3257714 3 3 Donate link: http://www.rhyzz.com/donate.html 4 4 Tags: author-box-for-divi, author-box-divi, divi-author-box, divi-author, divi-author-bio 5 Requires PHP: 5.2 .45 Requires PHP: 5.2 6 6 Requires at least: 3.0 7 Stable tag: 2.0. 37 Stable tag: 2.0.4 8 8 Tested up to: 6.7 9 9 License: GPLv2 or later … … 14 14 == Description == 15 15 16 This plugin was originally known as “Author Box for Divi.”16 This plugin was originally known as "Author Box for Divi." 17 17 18 18 The [Author Box WP Lens](https://wplens.com/) plugin has been developed to work specifically with the Divi theme but has been upgraded to work with any WordPress theme or page builder. It will provide you with nice author boxes for your WordPress blog or website, whichever theme or page builder you use. … … 20 20 Using this plugin, a simple author box that will show the WordPress author bio will be displayed automatically at the bottom of all your blog posts, pages, projects, or media. You can choose in the plugin's settings on which post types you want it to show. 21 21 22 The plugin will show the author ’s gravatar icon by default. Or you can use your own image; just enter the URL of your profile image in Users > Your Profile. You can also specify the URLs for your social network profiles (only those that you enter will show in your author box).22 The plugin will show the author's gravatar icon by default. Or you can use your own image; just enter the URL of your profile image in Users > Your Profile. You can also specify the URLs for your social network profiles (only those that you enter will show in your author box). 23 23 24 Other features of this plugin allow you to specify the Name Prefix (you can write, e.g., “Author” or “Written by”), Text Color, Background Color and Border Color.24 Other features of this plugin allow you to specify the Name Prefix (you can write, e.g., "Author" or "Written by"), Text Color, Background Color and Border Color. 25 25 26 26 = Plugin Features: = … … 76 76 == Changelog == 77 77 78 = 2.0.4 = 79 * Fixed data migration process for existing users 80 * Updated CSS loading method for better compatibility 81 78 82 = 2.0.3 = 79 83 * Fixed a bug when migrating the data from v1* to v2 … … 114 118 * Tested with WP 6.2 115 119 * New feature added: to customize the color of the social media icons 116 * New feature added: The possibility to make the author ’s name to be a hyperlink to the author page120 * New feature added: The possibility to make the author's name to be a hyperlink to the author page 117 121 * Fixed Photo 118 122
Note: See TracChangeset
for help on using the changeset viewer.