Changeset 1819310
- Timestamp:
- 02/09/2018 07:20:51 PM (8 years ago)
- Location:
- wp-reporter/trunk
- Files:
-
- 2 added
- 3 edited
-
includes/all.php (added)
-
includes/categories.php (modified) (1 diff)
-
includes/tags.php (added)
-
includes/users.php (modified) (1 diff)
-
wp-reporter.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-reporter/trunk/includes/categories.php
r1818474 r1819310 1 1 <h2>Top level categories: <a href="edit-tags.php?taxonomy=category"><?php echo $total_categories; ?></a></h2> 2 <p>Covers top level categories only.</p> 3 2 4 <table class="wp-list-table widefat"> 3 5 <thead> -
wp-reporter/trunk/includes/users.php
r1818474 r1819310 1 1 <h2>Users and roles: <a href="users.php"><?php echo $users['total_users']; ?></a></h2> 2 <p>List of users.</p> 3 2 4 <table class="wp-list-table widefat"> 3 5 <thead> -
wp-reporter/trunk/wp-reporter.php
r1818474 r1819310 25 25 function print_reports_page() 26 26 { 27 echo "<div class='wrap'>"; 28 echo "<h1>WP Reporter</h1>"; 29 wpreporter_report_posts(); 30 wpreporter_report_pages(); 31 wpreporter_report_comments(); 32 wpreporter_report_users(); 33 wpreporter_report_categories(); 34 echo "</div>"; 27 require_once "includes/all.php"; 35 28 } 36 29 … … 48 41 49 42 require_once "includes/posts.php"; 50 } # report_pages()43 } 51 44 52 45 /** … … 63 56 64 57 require_once "includes/pages.php"; 65 } # report_pages()58 } 66 59 67 60 /** … … 72 65 $comments_count = wp_count_comments(); 73 66 require_once "includes/pages.php"; 74 } # report_comments()67 } 75 68 76 69 /** … … 81 74 $users = count_users(); 82 75 require_once "includes/users.php"; 83 } # report_users()76 } 84 77 85 78 /** … … 96 89 97 90 require_once "includes/categories.php"; 98 } # report_categories() 91 } 92 93 /** 94 * Report tags 95 * @see https://codex.wordpress.org/Function_Reference/get_tags 96 */ 97 function wpreporter_report_tags() 98 { 99 $tags = get_tags(); 100 require_once "includes/tags.php"; 101 }
Note: See TracChangeset
for help on using the changeset viewer.