Reduce PHP/HTML mode-switch overhead 2
This commit is contained in:
parent
c384de6e01
commit
a851b13cb0
@ -14,9 +14,7 @@
|
||||
* @see taxonomy-fcn_fandom.php
|
||||
* @see taxonomy-fcn_genre.php
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -27,9 +27,7 @@
|
||||
* @internal $args['thumbnail'] Whether the image is rendered. Default true.
|
||||
* @internal $args['classes'] String of additional CSS classes. Default empty.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -13,9 +13,7 @@
|
||||
* @internal $args['seamless'] Whether to render the image seamless. Default false (Customizer).
|
||||
* @internal $args['thumbnail'] Whether the image is rendered. Default true (Customizer).
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -12,9 +12,7 @@
|
||||
* @internal $args['order'] Current order. Default 'desc'. Unsafe.
|
||||
* @internal $args['orderby'] Current orderby. Default 'modified'. Unsafe.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -11,9 +11,7 @@
|
||||
* @internal $args['order'] Current order. Default 'desc'. Unsafe.
|
||||
* @internal $args['orderby'] Current orderby. Default 'modified'. Unsafe.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -12,9 +12,7 @@
|
||||
* @internal $args['order'] Current order. Default 'desc'. Unsafe.
|
||||
* @internal $args['orderby'] Current orderby. Default 'modified'. Unsafe.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -9,9 +9,7 @@
|
||||
* @internal $args['show_type'] Whether to show the post type label. Unsafe.
|
||||
* @internal $args['cache'] Whether to account for active caching. Unsafe.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -9,9 +9,7 @@
|
||||
* @internal $args['show_type'] Whether to show the post type label. Unsafe.
|
||||
* @internal $args['cache'] Whether to account for active caching. Unsafe.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -11,9 +11,7 @@
|
||||
* @internal $args['order'] Current order. Default 'desc'. Unsafe.
|
||||
* @internal $args['orderby'] Current orderby. Default 'modified'. Unsafe.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -13,9 +13,7 @@
|
||||
* @internal $args['order'] Current order. Default 'desc'. Unsafe.
|
||||
* @internal $args['orderby'] Current orderby. Default 'modified'. Unsafe.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -16,9 +16,7 @@
|
||||
* @internal $args['chapter_title'] Safe chapter title.
|
||||
* @internal $args['chapter_password'] Chapter password or empty string.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -18,9 +18,7 @@
|
||||
* @internal $args['featured_list'] IDs of featured items in the collection.
|
||||
* @internal $args['featured_query'] Paginated query of featured items.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -19,9 +19,7 @@
|
||||
* @internal $args['featured_list'] IDs of featured items in the collection. Already cleaned.
|
||||
* @internal $args['featured_query'] Paginated query of featured items. Already cleaned.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -6,9 +6,7 @@
|
||||
* @subpackage Fictioneer
|
||||
* @since 4.0.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -8,9 +8,7 @@
|
||||
* @subpackage Fictioneer
|
||||
* @since 3.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -13,9 +13,7 @@
|
||||
* @internal $args['header_image_url'] URL of the filtered header image or false.
|
||||
* @internal $args['header_args'] Arguments passed to the header.php partial.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -13,9 +13,7 @@
|
||||
* @internal $args['header_image_url'] URL of the filtered header image or false.
|
||||
* @internal $args['header_args'] Arguments passed to the header.php partial.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -11,9 +11,7 @@
|
||||
*
|
||||
* @internal $args['location'] Either 'in-navigation' or 'in-mobile-menu'.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -30,9 +30,7 @@
|
||||
* @internal $args['thumbnail'] Whether the image is rendered. Default true (Customizer).
|
||||
* @internal $args['classes'] String of additional CSS classes. Default empty.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -31,9 +31,7 @@
|
||||
* @internal $args['thumbnail'] Whether the image is rendered. Default true (Customizer).
|
||||
* @internal $args['classes'] String of additional CSS classes. Default empty.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -21,9 +21,7 @@
|
||||
* @internal $args['relation'] Relationship between taxonomies.
|
||||
* @internal $args['classes'] Array of additional CSS classes. Default empty.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -28,9 +28,7 @@
|
||||
* @internal $args['thumbnail'] Whether the image is rendered. Default true (Customizer).
|
||||
* @internal $args['classes'] String of additional CSS classes. Default empty.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -28,9 +28,7 @@
|
||||
* @internal $args['thumbnail'] Whether the image is rendered. Default true (Customizer).
|
||||
* @internal $args['classes'] String of additional CSS classes. Default empty.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -29,9 +29,7 @@
|
||||
* @internal $args['thumbnail'] Whether the image is rendered. Default true (Customizer).
|
||||
* @internal $args['classes'] String of additional CSS classes. Default empty.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -29,9 +29,7 @@
|
||||
* @internal $args['thumbnail'] Whether the image is rendered. Default true (Customizer).
|
||||
* @internal $args['classes'] String of additional CSS classes. Default empty.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -30,9 +30,7 @@
|
||||
* @internal $args['thumbnail'] Whether the image is rendered. Default true (Customizer).
|
||||
* @internal $args['classes'] String of additional CSS classes. Default empty.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -32,9 +32,7 @@
|
||||
* @internal $args['thumbnail'] Whether the image is rendered. Default true (Customizer).
|
||||
* @internal $args['classes'] String of additional CSS classes. Default empty.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -10,9 +10,7 @@
|
||||
* @since 3.0
|
||||
* @see partials/_post.php
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -9,9 +9,7 @@
|
||||
* @internal $args['post_id'] The current post ID.
|
||||
* @internal $args['post_type'] The current post type.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -6,9 +6,7 @@
|
||||
* @subpackage Fictioneer
|
||||
* @since 4.0.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -6,9 +6,7 @@
|
||||
* @subpackage Fictioneer
|
||||
* @since 5.7.5
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -6,9 +6,7 @@
|
||||
* @subpackage Fictioneer
|
||||
* @since 4.0.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -6,9 +6,7 @@
|
||||
* @subpackage Fictioneer
|
||||
* @since 4.0.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -7,9 +7,7 @@
|
||||
* @since 4.0.0
|
||||
* @since 5.14.0 - Account for redirect link in story.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -6,9 +6,7 @@
|
||||
* @subpackage Fictioneer
|
||||
* @since 4.1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -6,9 +6,7 @@
|
||||
* @subpackage Fictioneer
|
||||
* @since 4.0.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -6,9 +6,7 @@
|
||||
* @subpackage Fictioneer
|
||||
* @since 5.4.6
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -15,9 +15,7 @@
|
||||
* @internal $args['header_args'] Arguments passed to the header.php partial.
|
||||
* @internal $args['tag'] Optional. Wrapping tag.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -12,9 +12,7 @@
|
||||
*
|
||||
* @internal $args['nested'] Whether the post is nested inside another query. Default null.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -14,9 +14,7 @@
|
||||
* @internal $args['recommendation_id'] Recommendation post ID.
|
||||
* @internal $args['title'] Safe recommendation title.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -26,9 +26,7 @@
|
||||
* @internal $args['relation'] Relationship between taxonomies.
|
||||
* @internal $args['classes'] String of additional CSS classes. Default empty.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -15,9 +15,7 @@
|
||||
* @internal $args['story_data'] Story data from fictioneer_get_story_data().
|
||||
* @internal $args['story_id'] Current story and post ID.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -14,9 +14,7 @@
|
||||
* @internal $args['story_id'] Current story and post ID.
|
||||
* @internal $args['context'] Render context. Default null.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -7,9 +7,7 @@
|
||||
* @since 5.4.5
|
||||
* @since 5.18.0 - Added 'seamless' and 'thumbnail' params.
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -6,9 +6,7 @@
|
||||
* @subpackage Fictioneer
|
||||
* @since 5.4.5
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -6,9 +6,7 @@
|
||||
* @subpackage Fictioneer
|
||||
* @since 5.4.5
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -6,9 +6,7 @@
|
||||
* @subpackage Fictioneer
|
||||
* @since 4.0.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -12,9 +12,7 @@
|
||||
* @internal $args['is_editor'] True if the user is an editor.
|
||||
* @internal $args['is_moderator'] True if the user is a moderator (by capabilities).
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -12,9 +12,7 @@
|
||||
* @internal $args['is_editor'] True if the user is an editor.
|
||||
* @internal $args['is_moderator'] True if the user is a moderator (by capabilities).
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -12,9 +12,7 @@
|
||||
* @internal $args['is_editor'] True if the user is an editor.
|
||||
* @internal $args['is_moderator'] True if the user is a moderator (by capabilities).
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -12,9 +12,7 @@
|
||||
* @internal $args['is_editor'] True if the user is an editor.
|
||||
* @internal $args['is_moderator'] True if the user is a moderator (by capabilities).
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
@ -12,9 +12,7 @@
|
||||
* @internal $args['is_editor'] True if the user is an editor.
|
||||
* @internal $args['is_moderator'] True if the user is a moderator (by capabilities).
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
// No direct access!
|
||||
defined( 'ABSPATH' ) OR exit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user