Changeset 3590376
- Timestamp:
- 06/29/2026 04:09:58 PM (4 months ago)
- Location:
- hello-bruce-campbell
- Files:
-
- 2 deleted
- 4 edited
- 1 copied
-
tags/1.0.4 (copied) (copied from hello-bruce-campbell/trunk )
-
tags/1.0.4/README.md (deleted)
-
tags/1.0.4/hello-bruce-campbell.php (modified) (4 diffs)
-
tags/1.0.4/readme.txt (modified) (2 diffs)
-
trunk/README.md (deleted)
-
trunk/hello-bruce-campbell.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hello-bruce-campbell/tags/1.0.4/hello-bruce-campbell.php
r2940533 r3590376 5 5 * 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. 6 6 * Author: Pete Nelson 7 * Version: 1.0. 37 * Version: 1.0.4 8 8 * Author URI: https://github.com/petenelson/hello-bruce-campbell 9 9 * @package hello-bruce-campbell 10 * @version 1.0. 310 * @version 1.0.4 11 11 */ 12 12 13 /** 14 * Returns an array of Bruce Campbell quotes. 15 * 16 * @return array 17 */ 13 18 function hello_bruce_campbell_get_quotes() { 14 19 … … 37 42 38 43 return apply_filters( 'hello-bruce-campbell-quotes', $quotes ); 39 40 44 } 41 45 46 /** 47 * Returns a single randomly selected Bruce Campbell quote. 48 * 49 * @return string 50 */ 42 51 function hello_bruce_campbell_get_quote() { 43 52 … … 48 57 } 49 58 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 */ 51 64 function hello_bruce_campbell() { 52 65 $quote = wptexturize( apply_filters( 'hello-bruce-campbell-quote', hello_bruce_campbell_get_quote() ) ); … … 56 69 } 57 70 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 */ 59 76 function hello_bruce_campbell_css() { 60 77 // 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 2 2 Contributors: gungeekatx 3 3 Requires at least: 4.0 4 Stable tag: 1.0. 35 Tested up to: 6.24 Stable tag: 1.0.4 5 Tested up to: 7.0 6 6 Tags: hello, bruce campbell 7 7 Donate link: https://github.com/petenelson/hello-bruce-campbell … … 24 24 == Changelog == 25 25 26 = v1.0.4 Jun 29, 2024 = 27 * Added docblocks to PHP functions. No functional code changes. 28 26 29 = v1.0.2 Jul 19, 2023 = 27 30 * Added Dr. Strange quote -
hello-bruce-campbell/trunk/hello-bruce-campbell.php
r2940533 r3590376 5 5 * 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. 6 6 * Author: Pete Nelson 7 * Version: 1.0. 37 * Version: 1.0.4 8 8 * Author URI: https://github.com/petenelson/hello-bruce-campbell 9 9 * @package hello-bruce-campbell 10 * @version 1.0. 310 * @version 1.0.4 11 11 */ 12 12 13 /** 14 * Returns an array of Bruce Campbell quotes. 15 * 16 * @return array 17 */ 13 18 function hello_bruce_campbell_get_quotes() { 14 19 … … 37 42 38 43 return apply_filters( 'hello-bruce-campbell-quotes', $quotes ); 39 40 44 } 41 45 46 /** 47 * Returns a single randomly selected Bruce Campbell quote. 48 * 49 * @return string 50 */ 42 51 function hello_bruce_campbell_get_quote() { 43 52 … … 48 57 } 49 58 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 */ 51 64 function hello_bruce_campbell() { 52 65 $quote = wptexturize( apply_filters( 'hello-bruce-campbell-quote', hello_bruce_campbell_get_quote() ) ); … … 56 69 } 57 70 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 */ 59 76 function hello_bruce_campbell_css() { 60 77 // This makes sure that the positioning is also good for right-to-left languages -
hello-bruce-campbell/trunk/readme.txt
r2940533 r3590376 2 2 Contributors: gungeekatx 3 3 Requires at least: 4.0 4 Stable tag: 1.0. 35 Tested up to: 6.24 Stable tag: 1.0.4 5 Tested up to: 7.0 6 6 Tags: hello, bruce campbell 7 7 Donate link: https://github.com/petenelson/hello-bruce-campbell … … 24 24 == Changelog == 25 25 26 = v1.0.4 Jun 29, 2024 = 27 * Added docblocks to PHP functions. No functional code changes. 28 26 29 = v1.0.2 Jul 19, 2023 = 27 30 * Added Dr. Strange quote
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)