Nitpick: `foreach( ` should be `foreach ( `, according to the WP standards. (several instances of this in the current PR)