Changeset 10522
- Timestamp:
- 12/16/2020 08:00:55 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wp-themes.com/public_html/wp-content/mu-plugins/pub/starter-content.php
r10496 r10522 13 13 private $starter_content = array(); 14 14 15 private $mapping = array(); 15 private $mapping = array( 16 'nav_menus' => array(), 17 'posts' => array(), 18 ); 16 19 17 20 public function __construct() { … … 110 113 111 114 public function cache_posts() { 115 if ( empty( $this->starter_content['posts'] ) ) { 116 return; 117 } 118 112 119 foreach ( $this->starter_content['posts'] as $post ) { 113 120
Note: See TracChangeset
for help on using the changeset viewer.