Plugin Directory

Changeset 3590376


Ignore:
Timestamp:
06/29/2026 04:09:58 PM (4 months ago)
Author:
GunGeekATX
Message:

Update to version 1.0.4 from GitHub

Location:
hello-bruce-campbell
Files:
2 deleted
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • hello-bruce-campbell/tags/1.0.4/hello-bruce-campbell.php

    r2940533 r3590376  
    55 * Description: When activated you will randomly see a quote from a Bruce Campbell movie or TV show in the upper right of your admin screen on every page. A tip of the hat to Matt Mullenweg for the original code.
    66 * Author: Pete Nelson
    7  * Version: 1.0.3
     7 * Version: 1.0.4
    88 * Author URI: https://github.com/petenelson/hello-bruce-campbell
    99 * @package hello-bruce-campbell
    10  * @version 1.0.3
     10 * @version 1.0.4
    1111*/
    1212
     13/**
     14 * Returns an array of Bruce Campbell quotes.
     15 *
     16 * @return array
     17 */
    1318function hello_bruce_campbell_get_quotes() {
    1419
    … …  
    3742
    3843        return apply_filters( 'hello-bruce-campbell-quotes', $quotes );
    39 
    4044}
    4145
     46/**
     47 * Returns a single randomly selected Bruce Campbell quote.
     48 *
     49 * @return string
     50 */
    4251function hello_bruce_campbell_get_quote() {
    4352
    … …  
    4857}
    4958
    50 /* This just echoes the chosen quote, we'll position it later */
     59/**
     60 * Outputs the Bruce Campbell quote HTML for display in the admin area.
     61 *
     62 * @return void
     63 */
    5164function hello_bruce_campbell() {
    5265        $quote = wptexturize( apply_filters( 'hello-bruce-campbell-quote', hello_bruce_campbell_get_quote() ) );
    … …  
    5669}
    5770
    58 /* We need some CSS to position the paragraph */
     71/**
     72 * Outputs inline CSS to position the quote in the admin header.
     73 *
     74 * @return void
     75 */
    5976function hello_bruce_campbell_css() {
    6077        // This makes sure that the positioning is also good for right-to-left languages
  • hello-bruce-campbell/tags/1.0.4/readme.txt

    r2940533 r3590376  
    22Contributors: gungeekatx
    33Requires at least: 4.0
    4 Stable tag: 1.0.3
    5 Tested up to: 6.2
     4Stable tag: 1.0.4
     5Tested up to: 7.0
    66Tags: hello, bruce campbell
    77Donate link: https://github.com/petenelson/hello-bruce-campbell
    … …  
    2424== Changelog ==
    2525
     26= v1.0.4 Jun 29, 2024 =
     27* Added docblocks to PHP functions. No functional code changes.
     28
    2629= v1.0.2 Jul 19, 2023 =
    2730* Added Dr. Strange quote
  • hello-bruce-campbell/trunk/hello-bruce-campbell.php

    r2940533 r3590376  
    55 * Description: When activated you will randomly see a quote from a Bruce Campbell movie or TV show in the upper right of your admin screen on every page. A tip of the hat to Matt Mullenweg for the original code.
    66 * Author: Pete Nelson
    7  * Version: 1.0.3
     7 * Version: 1.0.4
    88 * Author URI: https://github.com/petenelson/hello-bruce-campbell
    99 * @package hello-bruce-campbell
    10  * @version 1.0.3
     10 * @version 1.0.4
    1111*/
    1212
     13/**
     14 * Returns an array of Bruce Campbell quotes.
     15 *
     16 * @return array
     17 */
    1318function hello_bruce_campbell_get_quotes() {
    1419
    … …  
    3742
    3843        return apply_filters( 'hello-bruce-campbell-quotes', $quotes );
    39 
    4044}
    4145
     46/**
     47 * Returns a single randomly selected Bruce Campbell quote.
     48 *
     49 * @return string
     50 */
    4251function hello_bruce_campbell_get_quote() {
    4352
    … …  
    4857}
    4958
    50 /* This just echoes the chosen quote, we'll position it later */
     59/**
     60 * Outputs the Bruce Campbell quote HTML for display in the admin area.
     61 *
     62 * @return void
     63 */
    5164function hello_bruce_campbell() {
    5265        $quote = wptexturize( apply_filters( 'hello-bruce-campbell-quote', hello_bruce_campbell_get_quote() ) );
    … …  
    5669}
    5770
    58 /* We need some CSS to position the paragraph */
     71/**
     72 * Outputs inline CSS to position the quote in the admin header.
     73 *
     74 * @return void
     75 */
    5976function hello_bruce_campbell_css() {
    6077        // This makes sure that the positioning is also good for right-to-left languages
  • hello-bruce-campbell/trunk/readme.txt

    r2940533 r3590376  
    22Contributors: gungeekatx
    33Requires at least: 4.0
    4 Stable tag: 1.0.3
    5 Tested up to: 6.2
     4Stable tag: 1.0.4
     5Tested up to: 7.0
    66Tags: hello, bruce campbell
    77Donate link: https://github.com/petenelson/hello-bruce-campbell
    … …  
    2424== Changelog ==
    2525
     26= v1.0.4 Jun 29, 2024 =
     27* Added docblocks to PHP functions. No functional code changes.
     28
    2629= v1.0.2 Jul 19, 2023 =
    2730* Added Dr. Strange quote
Note: See TracChangeset for help on using the changeset viewer.