PluginProbe
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP / 1.2.11
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP v1.2.11
1.2.73 1.2.72 1.2.71 1.2.70 1.2.69 1.2.68 1.2.67 1.2.66 1.2.65 1.2.64 1.2.63 trunk 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 1.0.22 All 173 releases
← All changes | includes/class-uwp-defaults.php +10 -14 trunk1.2.11 View file →
@@ -362,9 +362,9 @@
362 362 <div class="media-figure">
363 363 <a href="[#author_link#]">[#author_image#]</a>
364 364 </div>
365 365 <div class="media-body">
366 - <h3>Author: <a href="[#author_link#]">[#author_display_name#]</a></h3>
366 + <h3>Author: <a href="[#author_link#]">[#author_name#]</a></h3>
367 367 <p>[#author_bio#]</p>
368 368 </div>
369 369 </div>'
370 370 );
@@ -374,22 +374,18 @@
374 374 * Returns default author box content for bootstrap
375 375 *
376 376 * @return string
377 377 */
378 - public static function author_box_content_bootstrap($args = array()) {
379 - global $aui_bs5;
380 -
381 - $wrap_class = $aui_bs5 ? sd_build_aui_class($args) : '';
382 -
378 + public static function author_box_content_bootstrap() {
383 379 return apply_filters( 'uwp_author_box_content_bootstrap',
384 - '<div class="d-block text-center text-md-left d-md-flex p-3 bg-light ' . esc_attr($wrap_class) . '">
385 - <a href="[#author_link#]"><img src="[#author_image_url#]" class="rounded-circle shadow border border-white border-width-4 mr-3" width="60" height="60" alt="[#author_name#]"></a>
386 - <div class="media-body">
387 - <h5 class="mt-0">Author: <a href="[#author_link#]">[#author_display_name#]</a></h5>
388 - [uwp_button_group user_id="post_author"]
389 - <p>[#author_bio#]</p>
390 - </div>
391 - </div>'
380 + '<div class="d-block text-center text-md-left d-md-flex p-3 bg-light">
381 + <a href="[#author_link#]"><img src="[#author_image_url#]" class="rounded-circle shadow border border-white border-width-4 mr-3" width="60" height="60" alt="[#author_name#]"></a>
382 + <div class="media-body">
383 + <h5 class="mt-0">Author: <a href="[#author_link#]">[#author_name#]</a></h5>
384 + [uwp_button_group user_id="post_author"]
385 + <p>[#author_bio#]</p>
386 + </div>
387 +</div>'
392 388 );
393 389 }
394 390
395 391 /**