Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update custom background support to current (3.4) method

  • Loading branch information...
commit 8263a640b1014beb2345bc89406b00b2a631c171 1 parent 23a8ce1
@Cais authored
Showing with 34 additions and 72 deletions.
  1. +33 −71 .idea/workspace.xml
  2. +1 −1  functions.php
View
104 .idea/workspace.xml
@@ -3,7 +3,7 @@
<component name="ChangeListManager">
<list default="true" id="83d593d7-4db7-4223-a0d1-7326e99a5cd8" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/index.php" afterPath="$PROJECT_DIR$/index.php" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/functions.php" afterPath="$PROJECT_DIR$/functions.php" />
</list>
<ignored path="desk-mess-mirrored.iws" />
<ignored path=".idea/workspace.xml" />
@@ -25,19 +25,10 @@
</component>
<component name="FileEditorManager">
<leaf>
- <file leaf-file-name="index.php" pinned="false" current="true" current-in-tab="true">
- <entry file="file://$PROJECT_DIR$/index.php">
+ <file leaf-file-name="functions.php" pinned="false" current="true" current-in-tab="true">
+ <entry file="file://$PROJECT_DIR$/functions.php">
<provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
- <folding />
- </state>
- </provider>
- </entry>
- </file>
- <file leaf-file-name="style.css" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/style.css">
- <provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <state line="242" column="0" selection-start="9491" selection-end="9491" vertical-scroll-proportion="0.10191847">
<folding />
</state>
</provider>
@@ -71,11 +62,11 @@
<option value="$PROJECT_DIR$/desk-mess-mirrored-status.php" />
<option value="$PROJECT_DIR$/desk-mess-mirrored-quote.php" />
<option value="$PROJECT_DIR$/desk-mess-mirrored-aside.php" />
- <option value="$PROJECT_DIR$/functions.php" />
<option value="$PROJECT_DIR$/readme.txt" />
<option value="$PROJECT_DIR$/changelog.txt" />
<option value="$PROJECT_DIR$/style.css" />
<option value="$PROJECT_DIR$/index.php" />
+ <option value="$PROJECT_DIR$/functions.php" />
</list>
</option>
</component>
@@ -83,8 +74,8 @@
<component name="ProjectFrameBounds">
<option name="x" value="-8" />
<option name="y" value="-8" />
- <option name="width" value="1616" />
- <option name="height" value="876" />
+ <option name="width" value="1936" />
+ <option name="height" value="1056" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
<OptionsSetting value="true" id="Add" />
@@ -175,39 +166,8 @@
</component>
<component name="PublishConfig" serverName="EAC" serverId="7a3f124a-16bc-416a-9279-f154dd3ab373">
<servers>
- <server id="0bd09985-baf8-478b-ab76-be72515b2b43">
- <serverdata>
- <mappings>
- <mapping deploy="/public_html/wp-content/themes/desk-mess-mirrored" local="$PROJECT_DIR$" web="wp-content/themes/desk-mess-mirrored" />
- <mapping deploy="/public_html/wp-includes" local="$PROJECT_DIR$/../../../wp-includes" web="wp-includes" />
- </mappings>
- <excludedPaths>
- <ExcludedPath>
- <option name="local" value="true" />
- <option name="path" value="C:\wamp\www\BNS-Projects\wp-includes" />
- </ExcludedPath>
- <ExcludedPath>
- <option name="path" value="/public_html/wp-includes" />
- </ExcludedPath>
- </excludedPaths>
- </serverdata>
- </server>
- <server id="7a3f124a-16bc-416a-9279-f154dd3ab373">
- <serverdata>
- <mappings>
- <mapping deploy="/public_html/wpthemes/wp-content/themes/desk-mess-mirrored" local="$PROJECT_DIR$" web="/wpthemes/wp-content/themes/desk-mess-mirrored" />
- <mapping deploy="/public_html/wpthemes/wp-includes" local="$PROJECT_DIR$/../../../wp-includes" web="/wpthemes/wp-includes" />
- </mappings>
- <excludedPaths>
- <ExcludedPath>
- <option name="local" value="true" />
- <option name="path" value="C:\wamp\www\BNS-Projects\wp-includes" />
- </ExcludedPath>
- <ExcludedPath>
- <option name="path" value="/public_html/wpthemes/wp-includes" />
- </ExcludedPath>
- </excludedPaths>
- </serverdata>
+ <server id="6b0c701b-a658-48a8-8c5e-07c5241f0c5f">
+ <serverdata />
</server>
</servers>
</component>
@@ -289,27 +249,27 @@
</todo-panel>
</component>
<component name="ToolWindowManager">
- <frame x="-8" y="-8" width="1616" height="876" extended-state="6" />
+ <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
<editor active="true" />
<layout>
- <window_info id="Data Sources" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="File Transfer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32962137" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
+ <window_info id="Data Sources" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32962137" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
- <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32962137" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
- <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32850778" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Remote Host" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.27770618" sideWeight="0.6713092" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
- <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3286908" sideWeight="0.0" order="7" side_tool="false" content_ui="tabs" />
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32962137" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2847222" sideWeight="0.6714922" order="0" side_tool="false" content_ui="tabs" />
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Phing Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32890365" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
- <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
@@ -393,11 +353,6 @@
<breakpoint-manager />
</component>
<component name="editorHistoryManager">
- <entry file="file://$PROJECT_DIR$/searchform.php">
- <provider selected="true" editor-type-id="text-editor">
- <state line="12" column="39" selection-start="382" selection-end="382" vertical-scroll-proportion="0.24460432" />
- </provider>
- </entry>
<entry file="file://$PROJECT_DIR$/sidebar.php">
<provider selected="true" editor-type-id="text-editor">
<state line="12" column="39" selection-start="387" selection-end="387" vertical-scroll-proportion="0.24460432" />
@@ -443,11 +398,6 @@
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/functions.php">
- <provider selected="true" editor-type-id="text-editor">
- <state line="201" column="15" selection-start="7436" selection-end="7436" vertical-scroll-proportion="0.25993884" />
- </provider>
- </entry>
<entry file="file://$PROJECT_DIR$/footer.php">
<provider selected="true" editor-type-id="text-editor">
<state line="11" column="27" selection-start="607" selection-end="743" vertical-scroll-proportion="0.28035983" />
@@ -463,16 +413,28 @@
<state line="16" column="28" selection-start="647" selection-end="647" vertical-scroll-proportion="0.13343328" />
</provider>
</entry>
+ <entry file="file://$PROJECT_DIR$/index.php">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
+ </provider>
+ </entry>
<entry file="file://$PROJECT_DIR$/style.css">
<provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <state line="228" column="0" selection-start="6786" selection-end="6972" vertical-scroll-proportion="0.019767443">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/index.php">
+ <entry file="file://$PROJECT_DIR$/../../../wp-includes/deprecated.php">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="3063" column="9" selection-start="87614" selection-end="87614" vertical-scroll-proportion="0.33274338">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/functions.php">
<provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <state line="242" column="0" selection-start="9491" selection-end="9491" vertical-scroll-proportion="0.10191847">
<folding />
</state>
</provider>
View
2  functions.php
@@ -268,7 +268,7 @@ function desk_mess_mirrored_setup(){
// Add theme support for editor-style
add_editor_style();
// This theme allows users to set a custom background
- add_custom_background();
+ add_theme_support( 'custom-background' );
// Add post-formats support for aside, quote, and status
add_theme_support( 'post-formats', array( 'aside', 'quote', 'status' ) );
Please sign in to comment.
Something went wrong with that request. Please try again.