99 * Load classes.
1010 *
1111 * @since 0.2
12+ * @codeCoverageIgnore
1213 * @deprecated As of 0.6 since autoloading is now employed.
1314 */
1415function amp_load_classes () {
@@ -21,6 +22,7 @@ function amp_load_classes() {
2122 * If the request is for an AMP page and this is in 'canonical mode,' redirect to the non-AMP page.
2223 * It won't need this plugin's template system, nor the frontend actions like the 'rel' link.
2324 *
25+ * @codeCoverageIgnore
2426 * @deprecated This function is not used when 'amp' theme support is added.
2527 * @global WP_Query $wp_query
2628 * @since 0.2
@@ -85,6 +87,7 @@ function amp_maybe_add_actions() {
8587 * Add post template actions.
8688 *
8789 * @since 0.2
90+ * @codeCoverageIgnore
8891 * @deprecated This function is not used when 'amp' theme support is added.
8992 */
9093function amp_add_post_template_actions () {
@@ -98,6 +101,7 @@ function amp_add_post_template_actions() {
98101 *
99102 * @since 0.2
100103 * @since 1.0 The amp_render() function is called at template_redirect action priority 11 instead of priority 10.
104+ * @codeCoverageIgnore
101105 * @deprecated This function is not used when 'amp' theme support is added.
102106 */
103107function amp_prepare_render () {
@@ -109,6 +113,7 @@ function amp_prepare_render() {
109113 * Render AMP for queried post.
110114 *
111115 * @since 0.1
116+ * @codeCoverageIgnore
112117 * @deprecated This function is not used when 'amp' theme support is added.
113118 */
114119function amp_render () {
@@ -126,6 +131,7 @@ function amp_render() {
126131 * Render AMP post template.
127132 *
128133 * @since 0.5
134+ * @codeCoverageIgnore
129135 * @deprecated Rendering a post is now handled by AMP_Theme_Support.
130136 *
131137 * @param WP_Post|int $post Post.
@@ -181,6 +187,7 @@ function amp_render_post( $post ) {
181187/**
182188 * Print scripts.
183189 *
190+ * @codeCoverageIgnore
184191 * @deprecated Scripts are now automatically added.
185192 * @see amp_register_default_scripts()
186193 * @see amp_filter_script_loader_tag()
@@ -203,6 +210,7 @@ function amp_post_template_add_scripts( $amp_template ) {
203210/**
204211 * Print boilerplate CSS.
205212 *
213+ * @codeCoverageIgnore
206214 * @deprecated Boilerplate is now automatically added.
207215 * @since 0.3
208216 * @see amp_get_boilerplate_code()
@@ -215,6 +223,7 @@ function amp_post_template_add_boilerplate_css() {
215223/**
216224 * Print Schema.org metadata.
217225 *
226+ * @codeCoverageIgnore
218227 * @deprecated Since 0.7
219228 */
220229function amp_post_template_add_schemaorg_metadata () {
@@ -228,6 +237,7 @@ function amp_post_template_add_schemaorg_metadata() {
228237 * This function must be invoked only once through the 'wp_loaded' action.
229238 *
230239 * @since 0.6
240+ * @codeCoverageIgnore
231241 * @deprecated Since 1.5.0, as admin class bootstrapping is moved to amp_bootstrap_admin().
232242 */
233243function amp_post_meta_box () {
@@ -238,6 +248,7 @@ function amp_post_meta_box() {
238248 * Bootstrap the AMP admin pointer class.
239249 *
240250 * @since 1.0
251+ * @codeCoverageIgnore
241252 * @deprecated Since 1.5.0, as admin class bootstrapping is moved to amp_bootstrap_admin().
242253 */
243254function amp_admin_pointer () {
0 commit comments