PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.5
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.5
16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 All 506 releases
← All changes | modules/theme-tools/content-options/post-details.php +12 -0 13.8.3 → 16.3-a.5 View file →
@@ -4,14 +4,21 @@
4 4 *
5 5 * @package automattic/jetpack
6 6 */
7 7
8 +if ( ! defined( 'ABSPATH' ) ) {
9 + exit( 0 );
10 +}
11 +
8 12 if ( ! function_exists( 'jetpack_post_details_enqueue_scripts' ) ) {
9 13
10 14 /**
11 15 * The function to include Post Details in a theme's stylesheet.
16 + *
17 + * @deprecated 13.9 Moved to Classic Theme Helper package.
12 18 */
13 19 function jetpack_post_details_enqueue_scripts() {
20 + _deprecated_function( __FUNCTION__, 'jetpack-13.9' );
14 21 // Make sure we can proceed.
15 22 list( $should_run, $options, $definied, $post_details ) = jetpack_post_details_should_run();
16 23
17 24 if ( ! $should_run ) {
@@ -70,11 +77,13 @@
70 77
71 78 /**
72 79 * Adds custom classes to the array of body classes.
73 80 *
81 + * @deprecated 13.9 Moved to Classic Theme Helper package.
74 82 * @param array $classes Classes for the body element.
75 83 */
76 84 function jetpack_post_details_body_classes( $classes ) {
85 + _deprecated_function( __FUNCTION__, 'jetpack-13.9' );
77 86 // Make sure we can proceed.
78 87 list( $should_run, $options, $definied ) = jetpack_post_details_should_run();
79 88
80 89 if ( ! $should_run ) {
@@ -118,10 +127,13 @@
118 127 if ( ! function_exists( 'jetpack_post_details_should_run' ) ) {
119 128
120 129 /**
121 130 * Determines if Post Details should run.
131 + *
132 + * @deprecated 13.9 Moved to Classic Theme Helper package.
122 133 */
123 134 function jetpack_post_details_should_run() {
135 + _deprecated_function( __FUNCTION__, 'jetpack-13.9' );
124 136 // Empty value representing falsy return value.
125 137 $void = array( false, null, null, null );
126 138
127 139 // If the theme doesn't support 'jetpack-content-options', don't continue.