~canonical-sysadmins/wordpress/4.9.1

« back to all changes in this revision

Viewing changes to wp-includes/customize/class-wp-customize-background-position-control.php

  • Committer: Barry Price
  • Date: 2017-11-17 04:49:02 UTC
  • mfrom: (1.1.30 upstream)
  • Revision ID: barry.price@canonical.com-20171117044902-5frux4ycbq6g9fyf
Merge WP4.9 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
         * Type.
21
21
         *
22
22
         * @since 4.7.0
23
 
         * @access public
24
23
         * @var string
25
24
         */
26
25
        public $type = 'background_position';
29
28
         * Don't render the control content from PHP, as it's rendered via JS on load.
30
29
         *
31
30
         * @since 4.7.0
32
 
         * @access public
33
31
         */
34
32
        public function render_content() {}
35
33
 
37
35
         * Render a JS template for the content of the position control.
38
36
         *
39
37
         * @since 4.7.0
40
 
         * @access public
41
38
         */
42
39
        public function content_template() {
43
40
                $options = array(